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.
@@ -8,7 +8,7 @@
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
10
  import sys
11
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
12
12
  import urllib.parse
13
13
 
14
14
  from azure.core.exceptions import (
@@ -33,10 +33,10 @@ from .. import models as _models
33
33
  from ..._serialization import Serializer
34
34
  from .._vendor import _convert_request
35
35
 
36
- if sys.version_info >= (3, 8):
37
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
38
38
  else:
39
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
40
40
  T = TypeVar("T")
41
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
42
42
 
@@ -300,7 +300,7 @@ def build_clear_legal_hold_request(
300
300
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
301
301
 
302
302
 
303
- def build_create_or_update_immutability_policy_request(
303
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
304
304
  resource_group_name: str,
305
305
  account_name: str,
306
306
  container_name: str,
@@ -639,7 +639,6 @@ class BlobContainersOperations:
639
639
  :param include: Optional, used to include the properties for soft deleted blob containers.
640
640
  "deleted" Default value is None.
641
641
  :type include: str or ~azure.mgmt.storage.v2021_08_01.models.ListContainersInclude
642
- :keyword callable cls: A custom type or function that will be passed the direct response
643
642
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
644
643
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_08_01.models.ListContainerItem]
645
644
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -650,7 +649,7 @@ class BlobContainersOperations:
650
649
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
651
650
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
652
651
 
653
- error_map = {
652
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
654
653
  401: ClientAuthenticationError,
655
654
  404: ResourceNotFoundError,
656
655
  409: ResourceExistsError,
@@ -661,7 +660,7 @@ class BlobContainersOperations:
661
660
  def prepare_request(next_link=None):
662
661
  if not next_link:
663
662
 
664
- request = build_list_request(
663
+ _request = build_list_request(
665
664
  resource_group_name=resource_group_name,
666
665
  account_name=account_name,
667
666
  subscription_id=self._config.subscription_id,
@@ -669,12 +668,11 @@ class BlobContainersOperations:
669
668
  filter=filter,
670
669
  include=include,
671
670
  api_version=api_version,
672
- template_url=self.list.metadata["url"],
673
671
  headers=_headers,
674
672
  params=_params,
675
673
  )
676
- request = _convert_request(request)
677
- request.url = self._client.format_url(request.url)
674
+ _request = _convert_request(_request)
675
+ _request.url = self._client.format_url(_request.url)
678
676
 
679
677
  else:
680
678
  # make call to next link with the client's api-version
@@ -685,14 +683,14 @@ class BlobContainersOperations:
685
683
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
686
684
  }
687
685
  )
688
- _next_request_params["api-version"] = self._config.api_version
689
- request = HttpRequest(
686
+ _next_request_params["api-version"] = self._api_version
687
+ _request = HttpRequest(
690
688
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
691
689
  )
692
- request = _convert_request(request)
693
- request.url = self._client.format_url(request.url)
694
- request.method = "GET"
695
- return request
690
+ _request = _convert_request(_request)
691
+ _request.url = self._client.format_url(_request.url)
692
+ _request.method = "GET"
693
+ return _request
696
694
 
697
695
  def extract_data(pipeline_response):
698
696
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -702,11 +700,11 @@ class BlobContainersOperations:
702
700
  return deserialized.next_link or None, iter(list_of_elem)
703
701
 
704
702
  def get_next(next_link=None):
705
- request = prepare_request(next_link)
703
+ _request = prepare_request(next_link)
706
704
 
707
705
  _stream = False
708
706
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
709
- request, stream=_stream, **kwargs
707
+ _request, stream=_stream, **kwargs
710
708
  )
711
709
  response = pipeline_response.http_response
712
710
 
@@ -718,10 +716,6 @@ class BlobContainersOperations:
718
716
 
719
717
  return ItemPaged(get_next, extract_data)
720
718
 
721
- list.metadata = {
722
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
723
- }
724
-
725
719
  @overload
726
720
  def create(
727
721
  self,
@@ -754,7 +748,6 @@ class BlobContainersOperations:
754
748
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
755
749
  Default value is "application/json".
756
750
  :paramtype content_type: str
757
- :keyword callable cls: A custom type or function that will be passed the direct response
758
751
  :return: BlobContainer or the result of cls(response)
759
752
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
760
753
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -766,7 +759,7 @@ class BlobContainersOperations:
766
759
  resource_group_name: str,
767
760
  account_name: str,
768
761
  container_name: str,
769
- blob_container: IO,
762
+ blob_container: IO[bytes],
770
763
  *,
771
764
  content_type: str = "application/json",
772
765
  **kwargs: Any
@@ -788,11 +781,10 @@ class BlobContainersOperations:
788
781
  by a letter or number. Required.
789
782
  :type container_name: str
790
783
  :param blob_container: Properties of the blob container to create. Required.
791
- :type blob_container: IO
784
+ :type blob_container: IO[bytes]
792
785
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
793
786
  Default value is "application/json".
794
787
  :paramtype content_type: str
795
- :keyword callable cls: A custom type or function that will be passed the direct response
796
788
  :return: BlobContainer or the result of cls(response)
797
789
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
798
790
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -804,7 +796,7 @@ class BlobContainersOperations:
804
796
  resource_group_name: str,
805
797
  account_name: str,
806
798
  container_name: str,
807
- blob_container: Union[_models.BlobContainer, IO],
799
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
808
800
  **kwargs: Any
809
801
  ) -> _models.BlobContainer:
810
802
  """Creates a new container under the specified account as described by request body. The container
@@ -824,17 +816,13 @@ class BlobContainersOperations:
824
816
  by a letter or number. Required.
825
817
  :type container_name: str
826
818
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
827
- type or a IO type. Required.
828
- :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO
829
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
830
- Default value is None.
831
- :paramtype content_type: str
832
- :keyword callable cls: A custom type or function that will be passed the direct response
819
+ type or a IO[bytes] type. Required.
820
+ :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO[bytes]
833
821
  :return: BlobContainer or the result of cls(response)
834
822
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
835
823
  :raises ~azure.core.exceptions.HttpResponseError:
836
824
  """
837
- error_map = {
825
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
838
826
  401: ClientAuthenticationError,
839
827
  404: ResourceNotFoundError,
840
828
  409: ResourceExistsError,
@@ -857,7 +845,7 @@ class BlobContainersOperations:
857
845
  else:
858
846
  _json = self._serialize.body(blob_container, "BlobContainer")
859
847
 
860
- request = build_create_request(
848
+ _request = build_create_request(
861
849
  resource_group_name=resource_group_name,
862
850
  account_name=account_name,
863
851
  container_name=container_name,
@@ -866,16 +854,15 @@ class BlobContainersOperations:
866
854
  content_type=content_type,
867
855
  json=_json,
868
856
  content=_content,
869
- template_url=self.create.metadata["url"],
870
857
  headers=_headers,
871
858
  params=_params,
872
859
  )
873
- request = _convert_request(request)
874
- request.url = self._client.format_url(request.url)
860
+ _request = _convert_request(_request)
861
+ _request.url = self._client.format_url(_request.url)
875
862
 
876
863
  _stream = False
877
864
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
878
- request, stream=_stream, **kwargs
865
+ _request, stream=_stream, **kwargs
879
866
  )
880
867
 
881
868
  response = pipeline_response.http_response
@@ -895,10 +882,6 @@ class BlobContainersOperations:
895
882
 
896
883
  return deserialized # type: ignore
897
884
 
898
- create.metadata = {
899
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
900
- }
901
-
902
885
  @overload
903
886
  def update(
904
887
  self,
@@ -930,7 +913,6 @@ class BlobContainersOperations:
930
913
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
931
914
  Default value is "application/json".
932
915
  :paramtype content_type: str
933
- :keyword callable cls: A custom type or function that will be passed the direct response
934
916
  :return: BlobContainer or the result of cls(response)
935
917
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
936
918
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -942,7 +924,7 @@ class BlobContainersOperations:
942
924
  resource_group_name: str,
943
925
  account_name: str,
944
926
  container_name: str,
945
- blob_container: IO,
927
+ blob_container: IO[bytes],
946
928
  *,
947
929
  content_type: str = "application/json",
948
930
  **kwargs: Any
@@ -963,11 +945,10 @@ class BlobContainersOperations:
963
945
  by a letter or number. Required.
964
946
  :type container_name: str
965
947
  :param blob_container: Properties to update for the blob container. Required.
966
- :type blob_container: IO
948
+ :type blob_container: IO[bytes]
967
949
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
968
950
  Default value is "application/json".
969
951
  :paramtype content_type: str
970
- :keyword callable cls: A custom type or function that will be passed the direct response
971
952
  :return: BlobContainer or the result of cls(response)
972
953
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
973
954
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -979,7 +960,7 @@ class BlobContainersOperations:
979
960
  resource_group_name: str,
980
961
  account_name: str,
981
962
  container_name: str,
982
- blob_container: Union[_models.BlobContainer, IO],
963
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
983
964
  **kwargs: Any
984
965
  ) -> _models.BlobContainer:
985
966
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -998,17 +979,13 @@ class BlobContainersOperations:
998
979
  by a letter or number. Required.
999
980
  :type container_name: str
1000
981
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
1001
- type or a IO type. Required.
1002
- :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO
1003
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1004
- Default value is None.
1005
- :paramtype content_type: str
1006
- :keyword callable cls: A custom type or function that will be passed the direct response
982
+ type or a IO[bytes] type. Required.
983
+ :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO[bytes]
1007
984
  :return: BlobContainer or the result of cls(response)
1008
985
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
1009
986
  :raises ~azure.core.exceptions.HttpResponseError:
1010
987
  """
1011
- error_map = {
988
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1012
989
  401: ClientAuthenticationError,
1013
990
  404: ResourceNotFoundError,
1014
991
  409: ResourceExistsError,
@@ -1031,7 +1008,7 @@ class BlobContainersOperations:
1031
1008
  else:
1032
1009
  _json = self._serialize.body(blob_container, "BlobContainer")
1033
1010
 
1034
- request = build_update_request(
1011
+ _request = build_update_request(
1035
1012
  resource_group_name=resource_group_name,
1036
1013
  account_name=account_name,
1037
1014
  container_name=container_name,
@@ -1040,16 +1017,15 @@ class BlobContainersOperations:
1040
1017
  content_type=content_type,
1041
1018
  json=_json,
1042
1019
  content=_content,
1043
- template_url=self.update.metadata["url"],
1044
1020
  headers=_headers,
1045
1021
  params=_params,
1046
1022
  )
1047
- request = _convert_request(request)
1048
- request.url = self._client.format_url(request.url)
1023
+ _request = _convert_request(_request)
1024
+ _request.url = self._client.format_url(_request.url)
1049
1025
 
1050
1026
  _stream = False
1051
1027
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1052
- request, stream=_stream, **kwargs
1028
+ _request, stream=_stream, **kwargs
1053
1029
  )
1054
1030
 
1055
1031
  response = pipeline_response.http_response
@@ -1061,13 +1037,9 @@ class BlobContainersOperations:
1061
1037
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1062
1038
 
1063
1039
  if cls:
1064
- return cls(pipeline_response, deserialized, {})
1065
-
1066
- return deserialized
1040
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1067
1041
 
1068
- update.metadata = {
1069
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1070
- }
1042
+ return deserialized # type: ignore
1071
1043
 
1072
1044
  @distributed_trace
1073
1045
  def get(
@@ -1087,12 +1059,11 @@ class BlobContainersOperations:
1087
1059
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1088
1060
  by a letter or number. Required.
1089
1061
  :type container_name: str
1090
- :keyword callable cls: A custom type or function that will be passed the direct response
1091
1062
  :return: BlobContainer or the result of cls(response)
1092
1063
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
1093
1064
  :raises ~azure.core.exceptions.HttpResponseError:
1094
1065
  """
1095
- error_map = {
1066
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1096
1067
  401: ClientAuthenticationError,
1097
1068
  404: ResourceNotFoundError,
1098
1069
  409: ResourceExistsError,
@@ -1106,22 +1077,21 @@ class BlobContainersOperations:
1106
1077
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1107
1078
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1108
1079
 
1109
- request = build_get_request(
1080
+ _request = build_get_request(
1110
1081
  resource_group_name=resource_group_name,
1111
1082
  account_name=account_name,
1112
1083
  container_name=container_name,
1113
1084
  subscription_id=self._config.subscription_id,
1114
1085
  api_version=api_version,
1115
- template_url=self.get.metadata["url"],
1116
1086
  headers=_headers,
1117
1087
  params=_params,
1118
1088
  )
1119
- request = _convert_request(request)
1120
- request.url = self._client.format_url(request.url)
1089
+ _request = _convert_request(_request)
1090
+ _request.url = self._client.format_url(_request.url)
1121
1091
 
1122
1092
  _stream = False
1123
1093
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1124
- request, stream=_stream, **kwargs
1094
+ _request, stream=_stream, **kwargs
1125
1095
  )
1126
1096
 
1127
1097
  response = pipeline_response.http_response
@@ -1133,13 +1103,9 @@ class BlobContainersOperations:
1133
1103
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1134
1104
 
1135
1105
  if cls:
1136
- return cls(pipeline_response, deserialized, {})
1137
-
1138
- return deserialized
1106
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1139
1107
 
1140
- get.metadata = {
1141
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1142
- }
1108
+ return deserialized # type: ignore
1143
1109
 
1144
1110
  @distributed_trace
1145
1111
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1159,12 +1125,11 @@ class BlobContainersOperations:
1159
1125
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1160
1126
  by a letter or number. Required.
1161
1127
  :type container_name: str
1162
- :keyword callable cls: A custom type or function that will be passed the direct response
1163
1128
  :return: None or the result of cls(response)
1164
1129
  :rtype: None
1165
1130
  :raises ~azure.core.exceptions.HttpResponseError:
1166
1131
  """
1167
- error_map = {
1132
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1168
1133
  401: ClientAuthenticationError,
1169
1134
  404: ResourceNotFoundError,
1170
1135
  409: ResourceExistsError,
@@ -1178,22 +1143,21 @@ class BlobContainersOperations:
1178
1143
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1179
1144
  cls: ClsType[None] = kwargs.pop("cls", None)
1180
1145
 
1181
- request = build_delete_request(
1146
+ _request = build_delete_request(
1182
1147
  resource_group_name=resource_group_name,
1183
1148
  account_name=account_name,
1184
1149
  container_name=container_name,
1185
1150
  subscription_id=self._config.subscription_id,
1186
1151
  api_version=api_version,
1187
- template_url=self.delete.metadata["url"],
1188
1152
  headers=_headers,
1189
1153
  params=_params,
1190
1154
  )
1191
- request = _convert_request(request)
1192
- request.url = self._client.format_url(request.url)
1155
+ _request = _convert_request(_request)
1156
+ _request.url = self._client.format_url(_request.url)
1193
1157
 
1194
1158
  _stream = False
1195
1159
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1196
- request, stream=_stream, **kwargs
1160
+ _request, stream=_stream, **kwargs
1197
1161
  )
1198
1162
 
1199
1163
  response = pipeline_response.http_response
@@ -1203,11 +1167,7 @@ class BlobContainersOperations:
1203
1167
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1204
1168
 
1205
1169
  if cls:
1206
- return cls(pipeline_response, None, {})
1207
-
1208
- delete.metadata = {
1209
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1210
- }
1170
+ return cls(pipeline_response, None, {}) # type: ignore
1211
1171
 
1212
1172
  @overload
1213
1173
  def set_legal_hold(
@@ -1241,7 +1201,6 @@ class BlobContainersOperations:
1241
1201
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1242
1202
  Default value is "application/json".
1243
1203
  :paramtype content_type: str
1244
- :keyword callable cls: A custom type or function that will be passed the direct response
1245
1204
  :return: LegalHold or the result of cls(response)
1246
1205
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1247
1206
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1253,7 +1212,7 @@ class BlobContainersOperations:
1253
1212
  resource_group_name: str,
1254
1213
  account_name: str,
1255
1214
  container_name: str,
1256
- legal_hold: IO,
1215
+ legal_hold: IO[bytes],
1257
1216
  *,
1258
1217
  content_type: str = "application/json",
1259
1218
  **kwargs: Any
@@ -1275,11 +1234,10 @@ class BlobContainersOperations:
1275
1234
  by a letter or number. Required.
1276
1235
  :type container_name: str
1277
1236
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1278
- :type legal_hold: IO
1237
+ :type legal_hold: IO[bytes]
1279
1238
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1280
1239
  Default value is "application/json".
1281
1240
  :paramtype content_type: str
1282
- :keyword callable cls: A custom type or function that will be passed the direct response
1283
1241
  :return: LegalHold or the result of cls(response)
1284
1242
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1285
1243
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1291,7 +1249,7 @@ class BlobContainersOperations:
1291
1249
  resource_group_name: str,
1292
1250
  account_name: str,
1293
1251
  container_name: str,
1294
- legal_hold: Union[_models.LegalHold, IO],
1252
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1295
1253
  **kwargs: Any
1296
1254
  ) -> _models.LegalHold:
1297
1255
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1311,17 +1269,13 @@ class BlobContainersOperations:
1311
1269
  by a letter or number. Required.
1312
1270
  :type container_name: str
1313
1271
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1314
- LegalHold type or a IO type. Required.
1315
- :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO
1316
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1317
- Default value is None.
1318
- :paramtype content_type: str
1319
- :keyword callable cls: A custom type or function that will be passed the direct response
1272
+ LegalHold type or a IO[bytes] type. Required.
1273
+ :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO[bytes]
1320
1274
  :return: LegalHold or the result of cls(response)
1321
1275
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1322
1276
  :raises ~azure.core.exceptions.HttpResponseError:
1323
1277
  """
1324
- error_map = {
1278
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1325
1279
  401: ClientAuthenticationError,
1326
1280
  404: ResourceNotFoundError,
1327
1281
  409: ResourceExistsError,
@@ -1344,7 +1298,7 @@ class BlobContainersOperations:
1344
1298
  else:
1345
1299
  _json = self._serialize.body(legal_hold, "LegalHold")
1346
1300
 
1347
- request = build_set_legal_hold_request(
1301
+ _request = build_set_legal_hold_request(
1348
1302
  resource_group_name=resource_group_name,
1349
1303
  account_name=account_name,
1350
1304
  container_name=container_name,
@@ -1353,16 +1307,15 @@ class BlobContainersOperations:
1353
1307
  content_type=content_type,
1354
1308
  json=_json,
1355
1309
  content=_content,
1356
- template_url=self.set_legal_hold.metadata["url"],
1357
1310
  headers=_headers,
1358
1311
  params=_params,
1359
1312
  )
1360
- request = _convert_request(request)
1361
- request.url = self._client.format_url(request.url)
1313
+ _request = _convert_request(_request)
1314
+ _request.url = self._client.format_url(_request.url)
1362
1315
 
1363
1316
  _stream = False
1364
1317
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1365
- request, stream=_stream, **kwargs
1318
+ _request, stream=_stream, **kwargs
1366
1319
  )
1367
1320
 
1368
1321
  response = pipeline_response.http_response
@@ -1374,13 +1327,9 @@ class BlobContainersOperations:
1374
1327
  deserialized = self._deserialize("LegalHold", pipeline_response)
1375
1328
 
1376
1329
  if cls:
1377
- return cls(pipeline_response, deserialized, {})
1378
-
1379
- return deserialized
1330
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1380
1331
 
1381
- set_legal_hold.metadata = {
1382
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1383
- }
1332
+ return deserialized # type: ignore
1384
1333
 
1385
1334
  @overload
1386
1335
  def clear_legal_hold(
@@ -1413,7 +1362,6 @@ class BlobContainersOperations:
1413
1362
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1414
1363
  Default value is "application/json".
1415
1364
  :paramtype content_type: str
1416
- :keyword callable cls: A custom type or function that will be passed the direct response
1417
1365
  :return: LegalHold or the result of cls(response)
1418
1366
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1419
1367
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1425,7 +1373,7 @@ class BlobContainersOperations:
1425
1373
  resource_group_name: str,
1426
1374
  account_name: str,
1427
1375
  container_name: str,
1428
- legal_hold: IO,
1376
+ legal_hold: IO[bytes],
1429
1377
  *,
1430
1378
  content_type: str = "application/json",
1431
1379
  **kwargs: Any
@@ -1446,11 +1394,10 @@ class BlobContainersOperations:
1446
1394
  by a letter or number. Required.
1447
1395
  :type container_name: str
1448
1396
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1449
- :type legal_hold: IO
1397
+ :type legal_hold: IO[bytes]
1450
1398
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1451
1399
  Default value is "application/json".
1452
1400
  :paramtype content_type: str
1453
- :keyword callable cls: A custom type or function that will be passed the direct response
1454
1401
  :return: LegalHold or the result of cls(response)
1455
1402
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1456
1403
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1462,7 +1409,7 @@ class BlobContainersOperations:
1462
1409
  resource_group_name: str,
1463
1410
  account_name: str,
1464
1411
  container_name: str,
1465
- legal_hold: Union[_models.LegalHold, IO],
1412
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1466
1413
  **kwargs: Any
1467
1414
  ) -> _models.LegalHold:
1468
1415
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1481,17 +1428,13 @@ class BlobContainersOperations:
1481
1428
  by a letter or number. Required.
1482
1429
  :type container_name: str
1483
1430
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1484
- LegalHold type or a IO type. Required.
1485
- :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO
1486
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1487
- Default value is None.
1488
- :paramtype content_type: str
1489
- :keyword callable cls: A custom type or function that will be passed the direct response
1431
+ LegalHold type or a IO[bytes] type. Required.
1432
+ :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO[bytes]
1490
1433
  :return: LegalHold or the result of cls(response)
1491
1434
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1492
1435
  :raises ~azure.core.exceptions.HttpResponseError:
1493
1436
  """
1494
- error_map = {
1437
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1495
1438
  401: ClientAuthenticationError,
1496
1439
  404: ResourceNotFoundError,
1497
1440
  409: ResourceExistsError,
@@ -1514,7 +1457,7 @@ class BlobContainersOperations:
1514
1457
  else:
1515
1458
  _json = self._serialize.body(legal_hold, "LegalHold")
1516
1459
 
1517
- request = build_clear_legal_hold_request(
1460
+ _request = build_clear_legal_hold_request(
1518
1461
  resource_group_name=resource_group_name,
1519
1462
  account_name=account_name,
1520
1463
  container_name=container_name,
@@ -1523,16 +1466,15 @@ class BlobContainersOperations:
1523
1466
  content_type=content_type,
1524
1467
  json=_json,
1525
1468
  content=_content,
1526
- template_url=self.clear_legal_hold.metadata["url"],
1527
1469
  headers=_headers,
1528
1470
  params=_params,
1529
1471
  )
1530
- request = _convert_request(request)
1531
- request.url = self._client.format_url(request.url)
1472
+ _request = _convert_request(_request)
1473
+ _request.url = self._client.format_url(_request.url)
1532
1474
 
1533
1475
  _stream = False
1534
1476
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1535
- request, stream=_stream, **kwargs
1477
+ _request, stream=_stream, **kwargs
1536
1478
  )
1537
1479
 
1538
1480
  response = pipeline_response.http_response
@@ -1544,13 +1486,9 @@ class BlobContainersOperations:
1544
1486
  deserialized = self._deserialize("LegalHold", pipeline_response)
1545
1487
 
1546
1488
  if cls:
1547
- return cls(pipeline_response, deserialized, {})
1548
-
1549
- return deserialized
1489
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1550
1490
 
1551
- clear_legal_hold.metadata = {
1552
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1553
- }
1491
+ return deserialized # type: ignore
1554
1492
 
1555
1493
  @overload
1556
1494
  def create_or_update_immutability_policy(
@@ -1589,11 +1527,6 @@ class BlobContainersOperations:
1589
1527
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1590
1528
  Default value is "application/json".
1591
1529
  :paramtype content_type: str
1592
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1593
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1594
- "default". Note that overriding this default value may result in unsupported behavior.
1595
- :paramtype immutability_policy_name: str
1596
- :keyword callable cls: A custom type or function that will be passed the direct response
1597
1530
  :return: ImmutabilityPolicy or the result of cls(response)
1598
1531
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1599
1532
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1606,7 +1539,7 @@ class BlobContainersOperations:
1606
1539
  account_name: str,
1607
1540
  container_name: str,
1608
1541
  if_match: Optional[str] = None,
1609
- parameters: Optional[IO] = None,
1542
+ parameters: Optional[IO[bytes]] = None,
1610
1543
  *,
1611
1544
  content_type: str = "application/json",
1612
1545
  **kwargs: Any
@@ -1632,15 +1565,10 @@ class BlobContainersOperations:
1632
1565
  :type if_match: str
1633
1566
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1634
1567
  container. Default value is None.
1635
- :type parameters: IO
1568
+ :type parameters: IO[bytes]
1636
1569
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1637
1570
  Default value is "application/json".
1638
1571
  :paramtype content_type: str
1639
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1640
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1641
- "default". Note that overriding this default value may result in unsupported behavior.
1642
- :paramtype immutability_policy_name: str
1643
- :keyword callable cls: A custom type or function that will be passed the direct response
1644
1572
  :return: ImmutabilityPolicy or the result of cls(response)
1645
1573
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1646
1574
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1653,7 +1581,7 @@ class BlobContainersOperations:
1653
1581
  account_name: str,
1654
1582
  container_name: str,
1655
1583
  if_match: Optional[str] = None,
1656
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1584
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1657
1585
  **kwargs: Any
1658
1586
  ) -> _models.ImmutabilityPolicy:
1659
1587
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1676,21 +1604,13 @@ class BlobContainersOperations:
1676
1604
  omitted, this operation will always be applied. Default value is None.
1677
1605
  :type if_match: str
1678
1606
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1679
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1680
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO
1681
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1682
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1683
- "default". Note that overriding this default value may result in unsupported behavior.
1684
- :paramtype immutability_policy_name: str
1685
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1686
- Default value is None.
1687
- :paramtype content_type: str
1688
- :keyword callable cls: A custom type or function that will be passed the direct response
1607
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1608
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO[bytes]
1689
1609
  :return: ImmutabilityPolicy or the result of cls(response)
1690
1610
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1691
1611
  :raises ~azure.core.exceptions.HttpResponseError:
1692
1612
  """
1693
- error_map = {
1613
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1694
1614
  401: ClientAuthenticationError,
1695
1615
  404: ResourceNotFoundError,
1696
1616
  409: ResourceExistsError,
@@ -1717,7 +1637,7 @@ class BlobContainersOperations:
1717
1637
  else:
1718
1638
  _json = None
1719
1639
 
1720
- request = build_create_or_update_immutability_policy_request(
1640
+ _request = build_create_or_update_immutability_policy_request(
1721
1641
  resource_group_name=resource_group_name,
1722
1642
  account_name=account_name,
1723
1643
  container_name=container_name,
@@ -1728,16 +1648,15 @@ class BlobContainersOperations:
1728
1648
  content_type=content_type,
1729
1649
  json=_json,
1730
1650
  content=_content,
1731
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1732
1651
  headers=_headers,
1733
1652
  params=_params,
1734
1653
  )
1735
- request = _convert_request(request)
1736
- request.url = self._client.format_url(request.url)
1654
+ _request = _convert_request(_request)
1655
+ _request.url = self._client.format_url(_request.url)
1737
1656
 
1738
1657
  _stream = False
1739
1658
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1740
- request, stream=_stream, **kwargs
1659
+ _request, stream=_stream, **kwargs
1741
1660
  )
1742
1661
 
1743
1662
  response = pipeline_response.http_response
@@ -1752,13 +1671,9 @@ class BlobContainersOperations:
1752
1671
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1753
1672
 
1754
1673
  if cls:
1755
- return cls(pipeline_response, deserialized, response_headers)
1756
-
1757
- return deserialized
1674
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1758
1675
 
1759
- create_or_update_immutability_policy.metadata = {
1760
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1761
- }
1676
+ return deserialized # type: ignore
1762
1677
 
1763
1678
  @distributed_trace
1764
1679
  def get_immutability_policy(
@@ -1788,16 +1703,11 @@ class BlobContainersOperations:
1788
1703
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1789
1704
  omitted, this operation will always be applied. Default value is None.
1790
1705
  :type if_match: str
1791
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1792
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1793
- "default". Note that overriding this default value may result in unsupported behavior.
1794
- :paramtype immutability_policy_name: str
1795
- :keyword callable cls: A custom type or function that will be passed the direct response
1796
1706
  :return: ImmutabilityPolicy or the result of cls(response)
1797
1707
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1798
1708
  :raises ~azure.core.exceptions.HttpResponseError:
1799
1709
  """
1800
- error_map = {
1710
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1801
1711
  401: ClientAuthenticationError,
1802
1712
  404: ResourceNotFoundError,
1803
1713
  409: ResourceExistsError,
@@ -1812,7 +1722,7 @@ class BlobContainersOperations:
1812
1722
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1813
1723
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1814
1724
 
1815
- request = build_get_immutability_policy_request(
1725
+ _request = build_get_immutability_policy_request(
1816
1726
  resource_group_name=resource_group_name,
1817
1727
  account_name=account_name,
1818
1728
  container_name=container_name,
@@ -1820,16 +1730,15 @@ class BlobContainersOperations:
1820
1730
  if_match=if_match,
1821
1731
  immutability_policy_name=immutability_policy_name,
1822
1732
  api_version=api_version,
1823
- template_url=self.get_immutability_policy.metadata["url"],
1824
1733
  headers=_headers,
1825
1734
  params=_params,
1826
1735
  )
1827
- request = _convert_request(request)
1828
- request.url = self._client.format_url(request.url)
1736
+ _request = _convert_request(_request)
1737
+ _request.url = self._client.format_url(_request.url)
1829
1738
 
1830
1739
  _stream = False
1831
1740
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1832
- request, stream=_stream, **kwargs
1741
+ _request, stream=_stream, **kwargs
1833
1742
  )
1834
1743
 
1835
1744
  response = pipeline_response.http_response
@@ -1844,13 +1753,9 @@ class BlobContainersOperations:
1844
1753
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1845
1754
 
1846
1755
  if cls:
1847
- return cls(pipeline_response, deserialized, response_headers)
1756
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1848
1757
 
1849
- return deserialized
1850
-
1851
- get_immutability_policy.metadata = {
1852
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1853
- }
1758
+ return deserialized # type: ignore
1854
1759
 
1855
1760
  @distributed_trace
1856
1761
  def delete_immutability_policy(
@@ -1877,16 +1782,11 @@ class BlobContainersOperations:
1877
1782
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1878
1783
  omitted, this operation will always be applied. Required.
1879
1784
  :type if_match: str
1880
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1881
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1882
- "default". Note that overriding this default value may result in unsupported behavior.
1883
- :paramtype immutability_policy_name: str
1884
- :keyword callable cls: A custom type or function that will be passed the direct response
1885
1785
  :return: ImmutabilityPolicy or the result of cls(response)
1886
1786
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1887
1787
  :raises ~azure.core.exceptions.HttpResponseError:
1888
1788
  """
1889
- error_map = {
1789
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1890
1790
  401: ClientAuthenticationError,
1891
1791
  404: ResourceNotFoundError,
1892
1792
  409: ResourceExistsError,
@@ -1901,7 +1801,7 @@ class BlobContainersOperations:
1901
1801
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1902
1802
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1903
1803
 
1904
- request = build_delete_immutability_policy_request(
1804
+ _request = build_delete_immutability_policy_request(
1905
1805
  resource_group_name=resource_group_name,
1906
1806
  account_name=account_name,
1907
1807
  container_name=container_name,
@@ -1909,16 +1809,15 @@ class BlobContainersOperations:
1909
1809
  if_match=if_match,
1910
1810
  immutability_policy_name=immutability_policy_name,
1911
1811
  api_version=api_version,
1912
- template_url=self.delete_immutability_policy.metadata["url"],
1913
1812
  headers=_headers,
1914
1813
  params=_params,
1915
1814
  )
1916
- request = _convert_request(request)
1917
- request.url = self._client.format_url(request.url)
1815
+ _request = _convert_request(_request)
1816
+ _request.url = self._client.format_url(_request.url)
1918
1817
 
1919
1818
  _stream = False
1920
1819
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1921
- request, stream=_stream, **kwargs
1820
+ _request, stream=_stream, **kwargs
1922
1821
  )
1923
1822
 
1924
1823
  response = pipeline_response.http_response
@@ -1933,13 +1832,9 @@ class BlobContainersOperations:
1933
1832
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1934
1833
 
1935
1834
  if cls:
1936
- return cls(pipeline_response, deserialized, response_headers)
1835
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1937
1836
 
1938
- return deserialized
1939
-
1940
- delete_immutability_policy.metadata = {
1941
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1942
- }
1837
+ return deserialized # type: ignore
1943
1838
 
1944
1839
  @distributed_trace
1945
1840
  def lock_immutability_policy(
@@ -1964,12 +1859,11 @@ class BlobContainersOperations:
1964
1859
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1965
1860
  omitted, this operation will always be applied. Required.
1966
1861
  :type if_match: str
1967
- :keyword callable cls: A custom type or function that will be passed the direct response
1968
1862
  :return: ImmutabilityPolicy or the result of cls(response)
1969
1863
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1970
1864
  :raises ~azure.core.exceptions.HttpResponseError:
1971
1865
  """
1972
- error_map = {
1866
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1973
1867
  401: ClientAuthenticationError,
1974
1868
  404: ResourceNotFoundError,
1975
1869
  409: ResourceExistsError,
@@ -1983,23 +1877,22 @@ class BlobContainersOperations:
1983
1877
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1984
1878
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1985
1879
 
1986
- request = build_lock_immutability_policy_request(
1880
+ _request = build_lock_immutability_policy_request(
1987
1881
  resource_group_name=resource_group_name,
1988
1882
  account_name=account_name,
1989
1883
  container_name=container_name,
1990
1884
  subscription_id=self._config.subscription_id,
1991
1885
  if_match=if_match,
1992
1886
  api_version=api_version,
1993
- template_url=self.lock_immutability_policy.metadata["url"],
1994
1887
  headers=_headers,
1995
1888
  params=_params,
1996
1889
  )
1997
- request = _convert_request(request)
1998
- request.url = self._client.format_url(request.url)
1890
+ _request = _convert_request(_request)
1891
+ _request.url = self._client.format_url(_request.url)
1999
1892
 
2000
1893
  _stream = False
2001
1894
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2002
- request, stream=_stream, **kwargs
1895
+ _request, stream=_stream, **kwargs
2003
1896
  )
2004
1897
 
2005
1898
  response = pipeline_response.http_response
@@ -2014,13 +1907,9 @@ class BlobContainersOperations:
2014
1907
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2015
1908
 
2016
1909
  if cls:
2017
- return cls(pipeline_response, deserialized, response_headers)
1910
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2018
1911
 
2019
- return deserialized
2020
-
2021
- lock_immutability_policy.metadata = {
2022
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
2023
- }
1912
+ return deserialized # type: ignore
2024
1913
 
2025
1914
  @overload
2026
1915
  def extend_immutability_policy(
@@ -2060,7 +1949,6 @@ class BlobContainersOperations:
2060
1949
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2061
1950
  Default value is "application/json".
2062
1951
  :paramtype content_type: str
2063
- :keyword callable cls: A custom type or function that will be passed the direct response
2064
1952
  :return: ImmutabilityPolicy or the result of cls(response)
2065
1953
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2066
1954
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2073,7 +1961,7 @@ class BlobContainersOperations:
2073
1961
  account_name: str,
2074
1962
  container_name: str,
2075
1963
  if_match: str,
2076
- parameters: Optional[IO] = None,
1964
+ parameters: Optional[IO[bytes]] = None,
2077
1965
  *,
2078
1966
  content_type: str = "application/json",
2079
1967
  **kwargs: Any
@@ -2100,11 +1988,10 @@ class BlobContainersOperations:
2100
1988
  :type if_match: str
2101
1989
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2102
1990
  container. Default value is None.
2103
- :type parameters: IO
1991
+ :type parameters: IO[bytes]
2104
1992
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2105
1993
  Default value is "application/json".
2106
1994
  :paramtype content_type: str
2107
- :keyword callable cls: A custom type or function that will be passed the direct response
2108
1995
  :return: ImmutabilityPolicy or the result of cls(response)
2109
1996
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2110
1997
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2117,7 +2004,7 @@ class BlobContainersOperations:
2117
2004
  account_name: str,
2118
2005
  container_name: str,
2119
2006
  if_match: str,
2120
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
2007
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2121
2008
  **kwargs: Any
2122
2009
  ) -> _models.ImmutabilityPolicy:
2123
2010
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2141,17 +2028,13 @@ class BlobContainersOperations:
2141
2028
  omitted, this operation will always be applied. Required.
2142
2029
  :type if_match: str
2143
2030
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2144
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2145
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO
2146
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2147
- Default value is None.
2148
- :paramtype content_type: str
2149
- :keyword callable cls: A custom type or function that will be passed the direct response
2031
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2032
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO[bytes]
2150
2033
  :return: ImmutabilityPolicy or the result of cls(response)
2151
2034
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2152
2035
  :raises ~azure.core.exceptions.HttpResponseError:
2153
2036
  """
2154
- error_map = {
2037
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2155
2038
  401: ClientAuthenticationError,
2156
2039
  404: ResourceNotFoundError,
2157
2040
  409: ResourceExistsError,
@@ -2177,7 +2060,7 @@ class BlobContainersOperations:
2177
2060
  else:
2178
2061
  _json = None
2179
2062
 
2180
- request = build_extend_immutability_policy_request(
2063
+ _request = build_extend_immutability_policy_request(
2181
2064
  resource_group_name=resource_group_name,
2182
2065
  account_name=account_name,
2183
2066
  container_name=container_name,
@@ -2187,16 +2070,15 @@ class BlobContainersOperations:
2187
2070
  content_type=content_type,
2188
2071
  json=_json,
2189
2072
  content=_content,
2190
- template_url=self.extend_immutability_policy.metadata["url"],
2191
2073
  headers=_headers,
2192
2074
  params=_params,
2193
2075
  )
2194
- request = _convert_request(request)
2195
- request.url = self._client.format_url(request.url)
2076
+ _request = _convert_request(_request)
2077
+ _request.url = self._client.format_url(_request.url)
2196
2078
 
2197
2079
  _stream = False
2198
2080
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2199
- request, stream=_stream, **kwargs
2081
+ _request, stream=_stream, **kwargs
2200
2082
  )
2201
2083
 
2202
2084
  response = pipeline_response.http_response
@@ -2211,13 +2093,9 @@ class BlobContainersOperations:
2211
2093
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2212
2094
 
2213
2095
  if cls:
2214
- return cls(pipeline_response, deserialized, response_headers)
2215
-
2216
- return deserialized
2096
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2217
2097
 
2218
- extend_immutability_policy.metadata = {
2219
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2220
- }
2098
+ return deserialized # type: ignore
2221
2099
 
2222
2100
  @overload
2223
2101
  def lease(
@@ -2250,7 +2128,6 @@ class BlobContainersOperations:
2250
2128
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2251
2129
  Default value is "application/json".
2252
2130
  :paramtype content_type: str
2253
- :keyword callable cls: A custom type or function that will be passed the direct response
2254
2131
  :return: LeaseContainerResponse or the result of cls(response)
2255
2132
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2256
2133
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2262,7 +2139,7 @@ class BlobContainersOperations:
2262
2139
  resource_group_name: str,
2263
2140
  account_name: str,
2264
2141
  container_name: str,
2265
- parameters: Optional[IO] = None,
2142
+ parameters: Optional[IO[bytes]] = None,
2266
2143
  *,
2267
2144
  content_type: str = "application/json",
2268
2145
  **kwargs: Any
@@ -2283,11 +2160,10 @@ class BlobContainersOperations:
2283
2160
  by a letter or number. Required.
2284
2161
  :type container_name: str
2285
2162
  :param parameters: Lease Container request body. Default value is None.
2286
- :type parameters: IO
2163
+ :type parameters: IO[bytes]
2287
2164
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2288
2165
  Default value is "application/json".
2289
2166
  :paramtype content_type: str
2290
- :keyword callable cls: A custom type or function that will be passed the direct response
2291
2167
  :return: LeaseContainerResponse or the result of cls(response)
2292
2168
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2293
2169
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2299,7 +2175,7 @@ class BlobContainersOperations:
2299
2175
  resource_group_name: str,
2300
2176
  account_name: str,
2301
2177
  container_name: str,
2302
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2178
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2303
2179
  **kwargs: Any
2304
2180
  ) -> _models.LeaseContainerResponse:
2305
2181
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2317,18 +2193,14 @@ class BlobContainersOperations:
2317
2193
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2318
2194
  by a letter or number. Required.
2319
2195
  :type container_name: str
2320
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2321
- type. Default value is None.
2322
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerRequest or IO
2323
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2324
- Default value is None.
2325
- :paramtype content_type: str
2326
- :keyword callable cls: A custom type or function that will be passed the direct response
2196
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2197
+ IO[bytes] type. Default value is None.
2198
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerRequest or IO[bytes]
2327
2199
  :return: LeaseContainerResponse or the result of cls(response)
2328
2200
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2329
2201
  :raises ~azure.core.exceptions.HttpResponseError:
2330
2202
  """
2331
- error_map = {
2203
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2332
2204
  401: ClientAuthenticationError,
2333
2205
  404: ResourceNotFoundError,
2334
2206
  409: ResourceExistsError,
@@ -2354,7 +2226,7 @@ class BlobContainersOperations:
2354
2226
  else:
2355
2227
  _json = None
2356
2228
 
2357
- request = build_lease_request(
2229
+ _request = build_lease_request(
2358
2230
  resource_group_name=resource_group_name,
2359
2231
  account_name=account_name,
2360
2232
  container_name=container_name,
@@ -2363,16 +2235,15 @@ class BlobContainersOperations:
2363
2235
  content_type=content_type,
2364
2236
  json=_json,
2365
2237
  content=_content,
2366
- template_url=self.lease.metadata["url"],
2367
2238
  headers=_headers,
2368
2239
  params=_params,
2369
2240
  )
2370
- request = _convert_request(request)
2371
- request.url = self._client.format_url(request.url)
2241
+ _request = _convert_request(_request)
2242
+ _request.url = self._client.format_url(_request.url)
2372
2243
 
2373
2244
  _stream = False
2374
2245
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2375
- request, stream=_stream, **kwargs
2246
+ _request, stream=_stream, **kwargs
2376
2247
  )
2377
2248
 
2378
2249
  response = pipeline_response.http_response
@@ -2384,18 +2255,14 @@ class BlobContainersOperations:
2384
2255
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2385
2256
 
2386
2257
  if cls:
2387
- return cls(pipeline_response, deserialized, {})
2388
-
2389
- return deserialized
2258
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2390
2259
 
2391
- lease.metadata = {
2392
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2393
- }
2260
+ return deserialized # type: ignore
2394
2261
 
2395
2262
  def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
2396
2263
  self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
2397
2264
  ) -> None:
2398
- error_map = {
2265
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2399
2266
  401: ClientAuthenticationError,
2400
2267
  404: ResourceNotFoundError,
2401
2268
  409: ResourceExistsError,
@@ -2409,22 +2276,21 @@ class BlobContainersOperations:
2409
2276
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
2410
2277
  cls: ClsType[None] = kwargs.pop("cls", None)
2411
2278
 
2412
- request = build_object_level_worm_request(
2279
+ _request = build_object_level_worm_request(
2413
2280
  resource_group_name=resource_group_name,
2414
2281
  account_name=account_name,
2415
2282
  container_name=container_name,
2416
2283
  subscription_id=self._config.subscription_id,
2417
2284
  api_version=api_version,
2418
- template_url=self._object_level_worm_initial.metadata["url"],
2419
2285
  headers=_headers,
2420
2286
  params=_params,
2421
2287
  )
2422
- request = _convert_request(request)
2423
- request.url = self._client.format_url(request.url)
2288
+ _request = _convert_request(_request)
2289
+ _request.url = self._client.format_url(_request.url)
2424
2290
 
2425
2291
  _stream = False
2426
2292
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2427
- request, stream=_stream, **kwargs
2293
+ _request, stream=_stream, **kwargs
2428
2294
  )
2429
2295
 
2430
2296
  response = pipeline_response.http_response
@@ -2434,11 +2300,7 @@ class BlobContainersOperations:
2434
2300
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2435
2301
 
2436
2302
  if cls:
2437
- return cls(pipeline_response, None, {})
2438
-
2439
- _object_level_worm_initial.metadata = {
2440
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2441
- }
2303
+ return cls(pipeline_response, None, {}) # type: ignore
2442
2304
 
2443
2305
  @distributed_trace
2444
2306
  def begin_object_level_worm(
@@ -2461,14 +2323,6 @@ class BlobContainersOperations:
2461
2323
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2462
2324
  by a letter or number. Required.
2463
2325
  :type container_name: str
2464
- :keyword callable cls: A custom type or function that will be passed the direct response
2465
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2466
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2467
- operation to not poll, or pass in your own initialized polling object for a personal polling
2468
- strategy.
2469
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2470
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2471
- Retry-After header is present.
2472
2326
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2473
2327
  :rtype: ~azure.core.polling.LROPoller[None]
2474
2328
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2496,7 +2350,7 @@ class BlobContainersOperations:
2496
2350
 
2497
2351
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2498
2352
  if cls:
2499
- return cls(pipeline_response, None, {})
2353
+ return cls(pipeline_response, None, {}) # type: ignore
2500
2354
 
2501
2355
  if polling is True:
2502
2356
  polling_method: PollingMethod = cast(
@@ -2507,14 +2361,10 @@ class BlobContainersOperations:
2507
2361
  else:
2508
2362
  polling_method = polling
2509
2363
  if cont_token:
2510
- return LROPoller.from_continuation_token(
2364
+ return LROPoller[None].from_continuation_token(
2511
2365
  polling_method=polling_method,
2512
2366
  continuation_token=cont_token,
2513
2367
  client=self._client,
2514
2368
  deserialization_callback=get_long_running_output,
2515
2369
  )
2516
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2517
-
2518
- begin_object_level_worm.metadata = {
2519
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2520
- }
2370
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore