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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
10
+ import sys
11
+ from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, cast, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.async_paging import AsyncItemPaged, AsyncList
@@ -48,6 +49,10 @@ from ...operations._storage_accounts_operations import (
48
49
  build_update_request,
49
50
  )
50
51
 
52
+ if sys.version_info >= (3, 9):
53
+ from collections.abc import MutableMapping
54
+ else:
55
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
51
56
  T = TypeVar("T")
52
57
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
53
58
 
@@ -90,7 +95,6 @@ class StorageAccountsOperations:
90
95
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
91
96
  Default value is "application/json".
92
97
  :paramtype content_type: str
93
- :keyword callable cls: A custom type or function that will be passed the direct response
94
98
  :return: CheckNameAvailabilityResult or the result of cls(response)
95
99
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
96
100
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -98,18 +102,17 @@ class StorageAccountsOperations:
98
102
 
99
103
  @overload
100
104
  async def check_name_availability(
101
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
105
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
102
106
  ) -> _models.CheckNameAvailabilityResult:
103
107
  """Checks that the storage account name is valid and is not already in use.
104
108
 
105
109
  :param account_name: The name of the storage account within the specified resource group.
106
110
  Storage account names must be between 3 and 24 characters in length and use numbers and
107
111
  lower-case letters only. Required.
108
- :type account_name: IO
112
+ :type account_name: IO[bytes]
109
113
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
110
114
  Default value is "application/json".
111
115
  :paramtype content_type: str
112
- :keyword callable cls: A custom type or function that will be passed the direct response
113
116
  :return: CheckNameAvailabilityResult or the result of cls(response)
114
117
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
115
118
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -117,26 +120,22 @@ class StorageAccountsOperations:
117
120
 
118
121
  @distributed_trace_async
119
122
  async def check_name_availability(
120
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
123
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
121
124
  ) -> _models.CheckNameAvailabilityResult:
122
125
  """Checks that the storage account name is valid and is not already in use.
123
126
 
124
127
  :param account_name: The name of the storage account within the specified resource group.
125
128
  Storage account names must be between 3 and 24 characters in length and use numbers and
126
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
127
- type. Required.
129
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
130
+ IO[bytes] type. Required.
128
131
  :type account_name:
129
132
  ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
130
- IO
131
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
132
- Default value is None.
133
- :paramtype content_type: str
134
- :keyword callable cls: A custom type or function that will be passed the direct response
133
+ IO[bytes]
135
134
  :return: CheckNameAvailabilityResult or the result of cls(response)
136
135
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
137
136
  :raises ~azure.core.exceptions.HttpResponseError:
138
137
  """
139
- error_map = {
138
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
140
139
  401: ClientAuthenticationError,
141
140
  404: ResourceNotFoundError,
142
141
  409: ResourceExistsError,
@@ -161,22 +160,21 @@ class StorageAccountsOperations:
161
160
  else:
162
161
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
163
162
 
164
- request = build_check_name_availability_request(
163
+ _request = build_check_name_availability_request(
165
164
  subscription_id=self._config.subscription_id,
166
165
  api_version=api_version,
167
166
  content_type=content_type,
168
167
  json=_json,
169
168
  content=_content,
170
- template_url=self.check_name_availability.metadata["url"],
171
169
  headers=_headers,
172
170
  params=_params,
173
171
  )
174
- request = _convert_request(request)
175
- request.url = self._client.format_url(request.url)
172
+ _request = _convert_request(_request)
173
+ _request.url = self._client.format_url(_request.url)
176
174
 
177
175
  _stream = False
178
176
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
179
- request, stream=_stream, **kwargs
177
+ _request, stream=_stream, **kwargs
180
178
  )
181
179
 
182
180
  response = pipeline_response.http_response
@@ -188,22 +186,18 @@ class StorageAccountsOperations:
188
186
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
189
187
 
190
188
  if cls:
191
- return cls(pipeline_response, deserialized, {})
192
-
193
- return deserialized
189
+ return cls(pipeline_response, deserialized, {}) # type: ignore
194
190
 
195
- check_name_availability.metadata = {
196
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
197
- }
191
+ return deserialized # type: ignore
198
192
 
199
193
  async def _create_initial(
200
194
  self,
201
195
  resource_group_name: str,
202
196
  account_name: str,
203
- parameters: Union[_models.StorageAccountCreateParameters, IO],
197
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
204
198
  **kwargs: Any
205
199
  ) -> Optional[_models.StorageAccount]:
206
- error_map = {
200
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
207
201
  401: ClientAuthenticationError,
208
202
  404: ResourceNotFoundError,
209
203
  409: ResourceExistsError,
@@ -228,7 +222,7 @@ class StorageAccountsOperations:
228
222
  else:
229
223
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
230
224
 
231
- request = build_create_request(
225
+ _request = build_create_request(
232
226
  resource_group_name=resource_group_name,
233
227
  account_name=account_name,
234
228
  subscription_id=self._config.subscription_id,
@@ -236,16 +230,15 @@ class StorageAccountsOperations:
236
230
  content_type=content_type,
237
231
  json=_json,
238
232
  content=_content,
239
- template_url=self._create_initial.metadata["url"],
240
233
  headers=_headers,
241
234
  params=_params,
242
235
  )
243
- request = _convert_request(request)
244
- request.url = self._client.format_url(request.url)
236
+ _request = _convert_request(_request)
237
+ _request.url = self._client.format_url(_request.url)
245
238
 
246
239
  _stream = False
247
240
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
248
- request, stream=_stream, **kwargs
241
+ _request, stream=_stream, **kwargs
249
242
  )
250
243
 
251
244
  response = pipeline_response.http_response
@@ -259,13 +252,9 @@ class StorageAccountsOperations:
259
252
  deserialized = self._deserialize("StorageAccount", pipeline_response)
260
253
 
261
254
  if cls:
262
- return cls(pipeline_response, deserialized, {})
263
-
264
- return deserialized
255
+ return cls(pipeline_response, deserialized, {}) # type: ignore
265
256
 
266
- _create_initial.metadata = {
267
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
268
- }
257
+ return deserialized # type: ignore
269
258
 
270
259
  @overload
271
260
  async def begin_create(
@@ -294,14 +283,6 @@ class StorageAccountsOperations:
294
283
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
295
284
  Default value is "application/json".
296
285
  :paramtype content_type: str
297
- :keyword callable cls: A custom type or function that will be passed the direct response
298
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
299
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
300
- this operation to not poll, or pass in your own initialized polling object for a personal
301
- polling strategy.
302
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
303
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
304
- Retry-After header is present.
305
286
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
306
287
  cls(response)
307
288
  :rtype:
@@ -314,7 +295,7 @@ class StorageAccountsOperations:
314
295
  self,
315
296
  resource_group_name: str,
316
297
  account_name: str,
317
- parameters: IO,
298
+ parameters: IO[bytes],
318
299
  *,
319
300
  content_type: str = "application/json",
320
301
  **kwargs: Any
@@ -332,18 +313,10 @@ class StorageAccountsOperations:
332
313
  lower-case letters only. Required.
333
314
  :type account_name: str
334
315
  :param parameters: The parameters to provide for the created account. Required.
335
- :type parameters: IO
316
+ :type parameters: IO[bytes]
336
317
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
337
318
  Default value is "application/json".
338
319
  :paramtype content_type: str
339
- :keyword callable cls: A custom type or function that will be passed the direct response
340
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
341
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
342
- this operation to not poll, or pass in your own initialized polling object for a personal
343
- polling strategy.
344
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
345
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
346
- Retry-After header is present.
347
320
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
348
321
  cls(response)
349
322
  :rtype:
@@ -356,7 +329,7 @@ class StorageAccountsOperations:
356
329
  self,
357
330
  resource_group_name: str,
358
331
  account_name: str,
359
- parameters: Union[_models.StorageAccountCreateParameters, IO],
332
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
360
333
  **kwargs: Any
361
334
  ) -> AsyncLROPoller[_models.StorageAccount]:
362
335
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -372,20 +345,9 @@ class StorageAccountsOperations:
372
345
  lower-case letters only. Required.
373
346
  :type account_name: str
374
347
  :param parameters: The parameters to provide for the created account. Is either a
375
- StorageAccountCreateParameters type or a IO type. Required.
348
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
376
349
  :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters
377
- or IO
378
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
379
- Default value is None.
380
- :paramtype content_type: str
381
- :keyword callable cls: A custom type or function that will be passed the direct response
382
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
383
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
384
- this operation to not poll, or pass in your own initialized polling object for a personal
385
- polling strategy.
386
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
387
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
388
- Retry-After header is present.
350
+ or IO[bytes]
389
351
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
390
352
  cls(response)
391
353
  :rtype:
@@ -420,7 +382,7 @@ class StorageAccountsOperations:
420
382
  def get_long_running_output(pipeline_response):
421
383
  deserialized = self._deserialize("StorageAccount", pipeline_response)
422
384
  if cls:
423
- return cls(pipeline_response, deserialized, {})
385
+ return cls(pipeline_response, deserialized, {}) # type: ignore
424
386
  return deserialized
425
387
 
426
388
  if polling is True:
@@ -430,17 +392,15 @@ class StorageAccountsOperations:
430
392
  else:
431
393
  polling_method = polling
432
394
  if cont_token:
433
- return AsyncLROPoller.from_continuation_token(
395
+ return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
434
396
  polling_method=polling_method,
435
397
  continuation_token=cont_token,
436
398
  client=self._client,
437
399
  deserialization_callback=get_long_running_output,
438
400
  )
439
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
440
-
441
- begin_create.metadata = {
442
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
443
- }
401
+ return AsyncLROPoller[_models.StorageAccount](
402
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
403
+ )
444
404
 
445
405
  @distributed_trace_async
446
406
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -455,12 +415,11 @@ class StorageAccountsOperations:
455
415
  Storage account names must be between 3 and 24 characters in length and use numbers and
456
416
  lower-case letters only. Required.
457
417
  :type account_name: str
458
- :keyword callable cls: A custom type or function that will be passed the direct response
459
418
  :return: None or the result of cls(response)
460
419
  :rtype: None
461
420
  :raises ~azure.core.exceptions.HttpResponseError:
462
421
  """
463
- error_map = {
422
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
464
423
  401: ClientAuthenticationError,
465
424
  404: ResourceNotFoundError,
466
425
  409: ResourceExistsError,
@@ -476,21 +435,20 @@ class StorageAccountsOperations:
476
435
  )
477
436
  cls: ClsType[None] = kwargs.pop("cls", None)
478
437
 
479
- request = build_delete_request(
438
+ _request = build_delete_request(
480
439
  resource_group_name=resource_group_name,
481
440
  account_name=account_name,
482
441
  subscription_id=self._config.subscription_id,
483
442
  api_version=api_version,
484
- template_url=self.delete.metadata["url"],
485
443
  headers=_headers,
486
444
  params=_params,
487
445
  )
488
- request = _convert_request(request)
489
- request.url = self._client.format_url(request.url)
446
+ _request = _convert_request(_request)
447
+ _request.url = self._client.format_url(_request.url)
490
448
 
491
449
  _stream = False
492
450
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
493
- request, stream=_stream, **kwargs
451
+ _request, stream=_stream, **kwargs
494
452
  )
495
453
 
496
454
  response = pipeline_response.http_response
@@ -500,11 +458,7 @@ class StorageAccountsOperations:
500
458
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
501
459
 
502
460
  if cls:
503
- return cls(pipeline_response, None, {})
504
-
505
- delete.metadata = {
506
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
507
- }
461
+ return cls(pipeline_response, None, {}) # type: ignore
508
462
 
509
463
  @distributed_trace_async
510
464
  async def get_properties(
@@ -521,12 +475,11 @@ class StorageAccountsOperations:
521
475
  Storage account names must be between 3 and 24 characters in length and use numbers and
522
476
  lower-case letters only. Required.
523
477
  :type account_name: str
524
- :keyword callable cls: A custom type or function that will be passed the direct response
525
478
  :return: StorageAccount or the result of cls(response)
526
479
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
527
480
  :raises ~azure.core.exceptions.HttpResponseError:
528
481
  """
529
- error_map = {
482
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
530
483
  401: ClientAuthenticationError,
531
484
  404: ResourceNotFoundError,
532
485
  409: ResourceExistsError,
@@ -542,21 +495,20 @@ class StorageAccountsOperations:
542
495
  )
543
496
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
544
497
 
545
- request = build_get_properties_request(
498
+ _request = build_get_properties_request(
546
499
  resource_group_name=resource_group_name,
547
500
  account_name=account_name,
548
501
  subscription_id=self._config.subscription_id,
549
502
  api_version=api_version,
550
- template_url=self.get_properties.metadata["url"],
551
503
  headers=_headers,
552
504
  params=_params,
553
505
  )
554
- request = _convert_request(request)
555
- request.url = self._client.format_url(request.url)
506
+ _request = _convert_request(_request)
507
+ _request.url = self._client.format_url(_request.url)
556
508
 
557
509
  _stream = False
558
510
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
559
- request, stream=_stream, **kwargs
511
+ _request, stream=_stream, **kwargs
560
512
  )
561
513
 
562
514
  response = pipeline_response.http_response
@@ -568,13 +520,9 @@ class StorageAccountsOperations:
568
520
  deserialized = self._deserialize("StorageAccount", pipeline_response)
569
521
 
570
522
  if cls:
571
- return cls(pipeline_response, deserialized, {})
572
-
573
- return deserialized
523
+ return cls(pipeline_response, deserialized, {}) # type: ignore
574
524
 
575
- get_properties.metadata = {
576
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
577
- }
525
+ return deserialized # type: ignore
578
526
 
579
527
  @overload
580
528
  async def update(
@@ -607,7 +555,6 @@ class StorageAccountsOperations:
607
555
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
608
556
  Default value is "application/json".
609
557
  :paramtype content_type: str
610
- :keyword callable cls: A custom type or function that will be passed the direct response
611
558
  :return: StorageAccount or the result of cls(response)
612
559
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
613
560
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -618,7 +565,7 @@ class StorageAccountsOperations:
618
565
  self,
619
566
  resource_group_name: str,
620
567
  account_name: str,
621
- parameters: IO,
568
+ parameters: IO[bytes],
622
569
  *,
623
570
  content_type: str = "application/json",
624
571
  **kwargs: Any
@@ -640,11 +587,10 @@ class StorageAccountsOperations:
640
587
  lower-case letters only. Required.
641
588
  :type account_name: str
642
589
  :param parameters: The parameters to provide for the updated account. Required.
643
- :type parameters: IO
590
+ :type parameters: IO[bytes]
644
591
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
645
592
  Default value is "application/json".
646
593
  :paramtype content_type: str
647
- :keyword callable cls: A custom type or function that will be passed the direct response
648
594
  :return: StorageAccount or the result of cls(response)
649
595
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
650
596
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -655,7 +601,7 @@ class StorageAccountsOperations:
655
601
  self,
656
602
  resource_group_name: str,
657
603
  account_name: str,
658
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
604
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
659
605
  **kwargs: Any
660
606
  ) -> _models.StorageAccount:
661
607
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -675,18 +621,14 @@ class StorageAccountsOperations:
675
621
  lower-case letters only. Required.
676
622
  :type account_name: str
677
623
  :param parameters: The parameters to provide for the updated account. Is either a
678
- StorageAccountUpdateParameters type or a IO type. Required.
624
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
679
625
  :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountUpdateParameters
680
- or IO
681
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
682
- Default value is None.
683
- :paramtype content_type: str
684
- :keyword callable cls: A custom type or function that will be passed the direct response
626
+ or IO[bytes]
685
627
  :return: StorageAccount or the result of cls(response)
686
628
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
687
629
  :raises ~azure.core.exceptions.HttpResponseError:
688
630
  """
689
- error_map = {
631
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
690
632
  401: ClientAuthenticationError,
691
633
  404: ResourceNotFoundError,
692
634
  409: ResourceExistsError,
@@ -711,7 +653,7 @@ class StorageAccountsOperations:
711
653
  else:
712
654
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
713
655
 
714
- request = build_update_request(
656
+ _request = build_update_request(
715
657
  resource_group_name=resource_group_name,
716
658
  account_name=account_name,
717
659
  subscription_id=self._config.subscription_id,
@@ -719,16 +661,15 @@ class StorageAccountsOperations:
719
661
  content_type=content_type,
720
662
  json=_json,
721
663
  content=_content,
722
- template_url=self.update.metadata["url"],
723
664
  headers=_headers,
724
665
  params=_params,
725
666
  )
726
- request = _convert_request(request)
727
- request.url = self._client.format_url(request.url)
667
+ _request = _convert_request(_request)
668
+ _request.url = self._client.format_url(_request.url)
728
669
 
729
670
  _stream = False
730
671
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
731
- request, stream=_stream, **kwargs
672
+ _request, stream=_stream, **kwargs
732
673
  )
733
674
 
734
675
  response = pipeline_response.http_response
@@ -740,20 +681,15 @@ class StorageAccountsOperations:
740
681
  deserialized = self._deserialize("StorageAccount", pipeline_response)
741
682
 
742
683
  if cls:
743
- return cls(pipeline_response, deserialized, {})
684
+ return cls(pipeline_response, deserialized, {}) # type: ignore
744
685
 
745
- return deserialized
746
-
747
- update.metadata = {
748
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
749
- }
686
+ return deserialized # type: ignore
750
687
 
751
688
  @distributed_trace
752
689
  def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
753
690
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
754
691
  returned; use the ListKeys operation for this.
755
692
 
756
- :keyword callable cls: A custom type or function that will be passed the direct response
757
693
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
758
694
  :rtype:
759
695
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
@@ -767,7 +703,7 @@ class StorageAccountsOperations:
767
703
  )
768
704
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
769
705
 
770
- error_map = {
706
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
771
707
  401: ClientAuthenticationError,
772
708
  404: ResourceNotFoundError,
773
709
  409: ResourceExistsError,
@@ -778,15 +714,14 @@ class StorageAccountsOperations:
778
714
  def prepare_request(next_link=None):
779
715
  if not next_link:
780
716
 
781
- request = build_list_request(
717
+ _request = build_list_request(
782
718
  subscription_id=self._config.subscription_id,
783
719
  api_version=api_version,
784
- template_url=self.list.metadata["url"],
785
720
  headers=_headers,
786
721
  params=_params,
787
722
  )
788
- request = _convert_request(request)
789
- request.url = self._client.format_url(request.url)
723
+ _request = _convert_request(_request)
724
+ _request.url = self._client.format_url(_request.url)
790
725
 
791
726
  else:
792
727
  # make call to next link with the client's api-version
@@ -797,14 +732,14 @@ class StorageAccountsOperations:
797
732
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
798
733
  }
799
734
  )
800
- _next_request_params["api-version"] = self._config.api_version
801
- request = HttpRequest(
735
+ _next_request_params["api-version"] = self._api_version
736
+ _request = HttpRequest(
802
737
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
803
738
  )
804
- request = _convert_request(request)
805
- request.url = self._client.format_url(request.url)
806
- request.method = "GET"
807
- return request
739
+ _request = _convert_request(_request)
740
+ _request.url = self._client.format_url(_request.url)
741
+ _request.method = "GET"
742
+ return _request
808
743
 
809
744
  async def extract_data(pipeline_response):
810
745
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -814,11 +749,11 @@ class StorageAccountsOperations:
814
749
  return None, AsyncList(list_of_elem)
815
750
 
816
751
  async def get_next(next_link=None):
817
- request = prepare_request(next_link)
752
+ _request = prepare_request(next_link)
818
753
 
819
754
  _stream = False
820
755
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
821
- request, stream=_stream, **kwargs
756
+ _request, stream=_stream, **kwargs
822
757
  )
823
758
  response = pipeline_response.http_response
824
759
 
@@ -830,8 +765,6 @@ class StorageAccountsOperations:
830
765
 
831
766
  return AsyncItemPaged(get_next, extract_data)
832
767
 
833
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
834
-
835
768
  @distributed_trace
836
769
  def list_by_resource_group(
837
770
  self, resource_group_name: str, **kwargs: Any
@@ -842,7 +775,6 @@ class StorageAccountsOperations:
842
775
  :param resource_group_name: The name of the resource group within the user's subscription. The
843
776
  name is case insensitive. Required.
844
777
  :type resource_group_name: str
845
- :keyword callable cls: A custom type or function that will be passed the direct response
846
778
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
847
779
  :rtype:
848
780
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
@@ -856,7 +788,7 @@ class StorageAccountsOperations:
856
788
  )
857
789
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
858
790
 
859
- error_map = {
791
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
860
792
  401: ClientAuthenticationError,
861
793
  404: ResourceNotFoundError,
862
794
  409: ResourceExistsError,
@@ -867,16 +799,15 @@ class StorageAccountsOperations:
867
799
  def prepare_request(next_link=None):
868
800
  if not next_link:
869
801
 
870
- request = build_list_by_resource_group_request(
802
+ _request = build_list_by_resource_group_request(
871
803
  resource_group_name=resource_group_name,
872
804
  subscription_id=self._config.subscription_id,
873
805
  api_version=api_version,
874
- template_url=self.list_by_resource_group.metadata["url"],
875
806
  headers=_headers,
876
807
  params=_params,
877
808
  )
878
- request = _convert_request(request)
879
- request.url = self._client.format_url(request.url)
809
+ _request = _convert_request(_request)
810
+ _request.url = self._client.format_url(_request.url)
880
811
 
881
812
  else:
882
813
  # make call to next link with the client's api-version
@@ -887,14 +818,14 @@ class StorageAccountsOperations:
887
818
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
888
819
  }
889
820
  )
890
- _next_request_params["api-version"] = self._config.api_version
891
- request = HttpRequest(
821
+ _next_request_params["api-version"] = self._api_version
822
+ _request = HttpRequest(
892
823
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
893
824
  )
894
- request = _convert_request(request)
895
- request.url = self._client.format_url(request.url)
896
- request.method = "GET"
897
- return request
825
+ _request = _convert_request(_request)
826
+ _request.url = self._client.format_url(_request.url)
827
+ _request.method = "GET"
828
+ return _request
898
829
 
899
830
  async def extract_data(pipeline_response):
900
831
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -904,11 +835,11 @@ class StorageAccountsOperations:
904
835
  return None, AsyncList(list_of_elem)
905
836
 
906
837
  async def get_next(next_link=None):
907
- request = prepare_request(next_link)
838
+ _request = prepare_request(next_link)
908
839
 
909
840
  _stream = False
910
841
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
911
- request, stream=_stream, **kwargs
842
+ _request, stream=_stream, **kwargs
912
843
  )
913
844
  response = pipeline_response.http_response
914
845
 
@@ -920,10 +851,6 @@ class StorageAccountsOperations:
920
851
 
921
852
  return AsyncItemPaged(get_next, extract_data)
922
853
 
923
- list_by_resource_group.metadata = {
924
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
925
- }
926
-
927
854
  @distributed_trace_async
928
855
  async def list_keys(
929
856
  self, resource_group_name: str, account_name: str, **kwargs: Any
@@ -937,12 +864,11 @@ class StorageAccountsOperations:
937
864
  Storage account names must be between 3 and 24 characters in length and use numbers and
938
865
  lower-case letters only. Required.
939
866
  :type account_name: str
940
- :keyword callable cls: A custom type or function that will be passed the direct response
941
867
  :return: StorageAccountListKeysResult or the result of cls(response)
942
868
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
943
869
  :raises ~azure.core.exceptions.HttpResponseError:
944
870
  """
945
- error_map = {
871
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
946
872
  401: ClientAuthenticationError,
947
873
  404: ResourceNotFoundError,
948
874
  409: ResourceExistsError,
@@ -958,21 +884,20 @@ class StorageAccountsOperations:
958
884
  )
959
885
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
960
886
 
961
- request = build_list_keys_request(
887
+ _request = build_list_keys_request(
962
888
  resource_group_name=resource_group_name,
963
889
  account_name=account_name,
964
890
  subscription_id=self._config.subscription_id,
965
891
  api_version=api_version,
966
- template_url=self.list_keys.metadata["url"],
967
892
  headers=_headers,
968
893
  params=_params,
969
894
  )
970
- request = _convert_request(request)
971
- request.url = self._client.format_url(request.url)
895
+ _request = _convert_request(_request)
896
+ _request.url = self._client.format_url(_request.url)
972
897
 
973
898
  _stream = False
974
899
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
975
- request, stream=_stream, **kwargs
900
+ _request, stream=_stream, **kwargs
976
901
  )
977
902
 
978
903
  response = pipeline_response.http_response
@@ -984,13 +909,9 @@ class StorageAccountsOperations:
984
909
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
985
910
 
986
911
  if cls:
987
- return cls(pipeline_response, deserialized, {})
912
+ return cls(pipeline_response, deserialized, {}) # type: ignore
988
913
 
989
- return deserialized
990
-
991
- list_keys.metadata = {
992
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
993
- }
914
+ return deserialized # type: ignore
994
915
 
995
916
  @overload
996
917
  async def regenerate_key(
@@ -1018,7 +939,6 @@ class StorageAccountsOperations:
1018
939
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1019
940
  Default value is "application/json".
1020
941
  :paramtype content_type: str
1021
- :keyword callable cls: A custom type or function that will be passed the direct response
1022
942
  :return: StorageAccountListKeysResult or the result of cls(response)
1023
943
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
1024
944
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1029,7 +949,7 @@ class StorageAccountsOperations:
1029
949
  self,
1030
950
  resource_group_name: str,
1031
951
  account_name: str,
1032
- regenerate_key: IO,
952
+ regenerate_key: IO[bytes],
1033
953
  *,
1034
954
  content_type: str = "application/json",
1035
955
  **kwargs: Any
@@ -1045,11 +965,10 @@ class StorageAccountsOperations:
1045
965
  :type account_name: str
1046
966
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1047
967
  Required.
1048
- :type regenerate_key: IO
968
+ :type regenerate_key: IO[bytes]
1049
969
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1050
970
  Default value is "application/json".
1051
971
  :paramtype content_type: str
1052
- :keyword callable cls: A custom type or function that will be passed the direct response
1053
972
  :return: StorageAccountListKeysResult or the result of cls(response)
1054
973
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
1055
974
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1060,7 +979,7 @@ class StorageAccountsOperations:
1060
979
  self,
1061
980
  resource_group_name: str,
1062
981
  account_name: str,
1063
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
982
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1064
983
  **kwargs: Any
1065
984
  ) -> _models.StorageAccountListKeysResult:
1066
985
  """Regenerates one of the access keys for the specified storage account.
@@ -1073,18 +992,15 @@ class StorageAccountsOperations:
1073
992
  lower-case letters only. Required.
1074
993
  :type account_name: str
1075
994
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1076
- Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
995
+ Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
1077
996
  :type regenerate_key:
1078
- ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or IO
1079
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1080
- Default value is None.
1081
- :paramtype content_type: str
1082
- :keyword callable cls: A custom type or function that will be passed the direct response
997
+ ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or
998
+ IO[bytes]
1083
999
  :return: StorageAccountListKeysResult or the result of cls(response)
1084
1000
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
1085
1001
  :raises ~azure.core.exceptions.HttpResponseError:
1086
1002
  """
1087
- error_map = {
1003
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1088
1004
  401: ClientAuthenticationError,
1089
1005
  404: ResourceNotFoundError,
1090
1006
  409: ResourceExistsError,
@@ -1109,7 +1025,7 @@ class StorageAccountsOperations:
1109
1025
  else:
1110
1026
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1111
1027
 
1112
- request = build_regenerate_key_request(
1028
+ _request = build_regenerate_key_request(
1113
1029
  resource_group_name=resource_group_name,
1114
1030
  account_name=account_name,
1115
1031
  subscription_id=self._config.subscription_id,
@@ -1117,16 +1033,15 @@ class StorageAccountsOperations:
1117
1033
  content_type=content_type,
1118
1034
  json=_json,
1119
1035
  content=_content,
1120
- template_url=self.regenerate_key.metadata["url"],
1121
1036
  headers=_headers,
1122
1037
  params=_params,
1123
1038
  )
1124
- request = _convert_request(request)
1125
- request.url = self._client.format_url(request.url)
1039
+ _request = _convert_request(_request)
1040
+ _request.url = self._client.format_url(_request.url)
1126
1041
 
1127
1042
  _stream = False
1128
1043
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1129
- request, stream=_stream, **kwargs
1044
+ _request, stream=_stream, **kwargs
1130
1045
  )
1131
1046
 
1132
1047
  response = pipeline_response.http_response
@@ -1138,13 +1053,9 @@ class StorageAccountsOperations:
1138
1053
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1139
1054
 
1140
1055
  if cls:
1141
- return cls(pipeline_response, deserialized, {})
1142
-
1143
- return deserialized
1056
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1144
1057
 
1145
- regenerate_key.metadata = {
1146
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1147
- }
1058
+ return deserialized # type: ignore
1148
1059
 
1149
1060
  @overload
1150
1061
  async def list_account_sas(
@@ -1171,7 +1082,6 @@ class StorageAccountsOperations:
1171
1082
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1172
1083
  Default value is "application/json".
1173
1084
  :paramtype content_type: str
1174
- :keyword callable cls: A custom type or function that will be passed the direct response
1175
1085
  :return: ListAccountSasResponse or the result of cls(response)
1176
1086
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
1177
1087
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1182,7 +1092,7 @@ class StorageAccountsOperations:
1182
1092
  self,
1183
1093
  resource_group_name: str,
1184
1094
  account_name: str,
1185
- parameters: IO,
1095
+ parameters: IO[bytes],
1186
1096
  *,
1187
1097
  content_type: str = "application/json",
1188
1098
  **kwargs: Any
@@ -1198,11 +1108,10 @@ class StorageAccountsOperations:
1198
1108
  :type account_name: str
1199
1109
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1200
1110
  Required.
1201
- :type parameters: IO
1111
+ :type parameters: IO[bytes]
1202
1112
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1203
1113
  Default value is "application/json".
1204
1114
  :paramtype content_type: str
1205
- :keyword callable cls: A custom type or function that will be passed the direct response
1206
1115
  :return: ListAccountSasResponse or the result of cls(response)
1207
1116
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
1208
1117
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1213,7 +1122,7 @@ class StorageAccountsOperations:
1213
1122
  self,
1214
1123
  resource_group_name: str,
1215
1124
  account_name: str,
1216
- parameters: Union[_models.AccountSasParameters, IO],
1125
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1217
1126
  **kwargs: Any
1218
1127
  ) -> _models.ListAccountSasResponse:
1219
1128
  """List SAS credentials of a storage account.
@@ -1226,17 +1135,14 @@ class StorageAccountsOperations:
1226
1135
  lower-case letters only. Required.
1227
1136
  :type account_name: str
1228
1137
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1229
- Is either a AccountSasParameters type or a IO type. Required.
1230
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or IO
1231
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1232
- Default value is None.
1233
- :paramtype content_type: str
1234
- :keyword callable cls: A custom type or function that will be passed the direct response
1138
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1139
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or
1140
+ IO[bytes]
1235
1141
  :return: ListAccountSasResponse or the result of cls(response)
1236
1142
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
1237
1143
  :raises ~azure.core.exceptions.HttpResponseError:
1238
1144
  """
1239
- error_map = {
1145
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1240
1146
  401: ClientAuthenticationError,
1241
1147
  404: ResourceNotFoundError,
1242
1148
  409: ResourceExistsError,
@@ -1261,7 +1167,7 @@ class StorageAccountsOperations:
1261
1167
  else:
1262
1168
  _json = self._serialize.body(parameters, "AccountSasParameters")
1263
1169
 
1264
- request = build_list_account_sas_request(
1170
+ _request = build_list_account_sas_request(
1265
1171
  resource_group_name=resource_group_name,
1266
1172
  account_name=account_name,
1267
1173
  subscription_id=self._config.subscription_id,
@@ -1269,16 +1175,15 @@ class StorageAccountsOperations:
1269
1175
  content_type=content_type,
1270
1176
  json=_json,
1271
1177
  content=_content,
1272
- template_url=self.list_account_sas.metadata["url"],
1273
1178
  headers=_headers,
1274
1179
  params=_params,
1275
1180
  )
1276
- request = _convert_request(request)
1277
- request.url = self._client.format_url(request.url)
1181
+ _request = _convert_request(_request)
1182
+ _request.url = self._client.format_url(_request.url)
1278
1183
 
1279
1184
  _stream = False
1280
1185
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1281
- request, stream=_stream, **kwargs
1186
+ _request, stream=_stream, **kwargs
1282
1187
  )
1283
1188
 
1284
1189
  response = pipeline_response.http_response
@@ -1290,13 +1195,9 @@ class StorageAccountsOperations:
1290
1195
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1291
1196
 
1292
1197
  if cls:
1293
- return cls(pipeline_response, deserialized, {})
1294
-
1295
- return deserialized
1198
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1296
1199
 
1297
- list_account_sas.metadata = {
1298
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1299
- }
1200
+ return deserialized # type: ignore
1300
1201
 
1301
1202
  @overload
1302
1203
  async def list_service_sas(
@@ -1322,7 +1223,6 @@ class StorageAccountsOperations:
1322
1223
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1323
1224
  Default value is "application/json".
1324
1225
  :paramtype content_type: str
1325
- :keyword callable cls: A custom type or function that will be passed the direct response
1326
1226
  :return: ListServiceSasResponse or the result of cls(response)
1327
1227
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
1328
1228
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1333,7 +1233,7 @@ class StorageAccountsOperations:
1333
1233
  self,
1334
1234
  resource_group_name: str,
1335
1235
  account_name: str,
1336
- parameters: IO,
1236
+ parameters: IO[bytes],
1337
1237
  *,
1338
1238
  content_type: str = "application/json",
1339
1239
  **kwargs: Any
@@ -1348,11 +1248,10 @@ class StorageAccountsOperations:
1348
1248
  lower-case letters only. Required.
1349
1249
  :type account_name: str
1350
1250
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1351
- :type parameters: IO
1251
+ :type parameters: IO[bytes]
1352
1252
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1353
1253
  Default value is "application/json".
1354
1254
  :paramtype content_type: str
1355
- :keyword callable cls: A custom type or function that will be passed the direct response
1356
1255
  :return: ListServiceSasResponse or the result of cls(response)
1357
1256
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
1358
1257
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1363,7 +1262,7 @@ class StorageAccountsOperations:
1363
1262
  self,
1364
1263
  resource_group_name: str,
1365
1264
  account_name: str,
1366
- parameters: Union[_models.ServiceSasParameters, IO],
1265
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1367
1266
  **kwargs: Any
1368
1267
  ) -> _models.ListServiceSasResponse:
1369
1268
  """List service SAS credentials of a specific resource.
@@ -1376,17 +1275,14 @@ class StorageAccountsOperations:
1376
1275
  lower-case letters only. Required.
1377
1276
  :type account_name: str
1378
1277
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1379
- ServiceSasParameters type or a IO type. Required.
1380
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or IO
1381
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1382
- Default value is None.
1383
- :paramtype content_type: str
1384
- :keyword callable cls: A custom type or function that will be passed the direct response
1278
+ ServiceSasParameters type or a IO[bytes] type. Required.
1279
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or
1280
+ IO[bytes]
1385
1281
  :return: ListServiceSasResponse or the result of cls(response)
1386
1282
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
1387
1283
  :raises ~azure.core.exceptions.HttpResponseError:
1388
1284
  """
1389
- error_map = {
1285
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1390
1286
  401: ClientAuthenticationError,
1391
1287
  404: ResourceNotFoundError,
1392
1288
  409: ResourceExistsError,
@@ -1411,7 +1307,7 @@ class StorageAccountsOperations:
1411
1307
  else:
1412
1308
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1413
1309
 
1414
- request = build_list_service_sas_request(
1310
+ _request = build_list_service_sas_request(
1415
1311
  resource_group_name=resource_group_name,
1416
1312
  account_name=account_name,
1417
1313
  subscription_id=self._config.subscription_id,
@@ -1419,16 +1315,15 @@ class StorageAccountsOperations:
1419
1315
  content_type=content_type,
1420
1316
  json=_json,
1421
1317
  content=_content,
1422
- template_url=self.list_service_sas.metadata["url"],
1423
1318
  headers=_headers,
1424
1319
  params=_params,
1425
1320
  )
1426
- request = _convert_request(request)
1427
- request.url = self._client.format_url(request.url)
1321
+ _request = _convert_request(_request)
1322
+ _request.url = self._client.format_url(_request.url)
1428
1323
 
1429
1324
  _stream = False
1430
1325
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1431
- request, stream=_stream, **kwargs
1326
+ _request, stream=_stream, **kwargs
1432
1327
  )
1433
1328
 
1434
1329
  response = pipeline_response.http_response
@@ -1440,13 +1335,9 @@ class StorageAccountsOperations:
1440
1335
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1441
1336
 
1442
1337
  if cls:
1443
- return cls(pipeline_response, deserialized, {})
1338
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1444
1339
 
1445
- return deserialized
1446
-
1447
- list_service_sas.metadata = {
1448
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1449
- }
1340
+ return deserialized # type: ignore
1450
1341
 
1451
1342
  @distributed_trace_async
1452
1343
  async def get_management_policies(
@@ -1469,12 +1360,11 @@ class StorageAccountsOperations:
1469
1360
  always be 'default'. "default" Required.
1470
1361
  :type management_policy_name: str or
1471
1362
  ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
1472
- :keyword callable cls: A custom type or function that will be passed the direct response
1473
1363
  :return: StorageAccountManagementPolicies or the result of cls(response)
1474
1364
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
1475
1365
  :raises ~azure.core.exceptions.HttpResponseError:
1476
1366
  """
1477
- error_map = {
1367
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1478
1368
  401: ClientAuthenticationError,
1479
1369
  404: ResourceNotFoundError,
1480
1370
  409: ResourceExistsError,
@@ -1490,22 +1380,21 @@ class StorageAccountsOperations:
1490
1380
  )
1491
1381
  cls: ClsType[_models.StorageAccountManagementPolicies] = kwargs.pop("cls", None)
1492
1382
 
1493
- request = build_get_management_policies_request(
1383
+ _request = build_get_management_policies_request(
1494
1384
  resource_group_name=resource_group_name,
1495
1385
  account_name=account_name,
1496
1386
  management_policy_name=management_policy_name,
1497
1387
  subscription_id=self._config.subscription_id,
1498
1388
  api_version=api_version,
1499
- template_url=self.get_management_policies.metadata["url"],
1500
1389
  headers=_headers,
1501
1390
  params=_params,
1502
1391
  )
1503
- request = _convert_request(request)
1504
- request.url = self._client.format_url(request.url)
1392
+ _request = _convert_request(_request)
1393
+ _request.url = self._client.format_url(_request.url)
1505
1394
 
1506
1395
  _stream = False
1507
1396
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1508
- request, stream=_stream, **kwargs
1397
+ _request, stream=_stream, **kwargs
1509
1398
  )
1510
1399
 
1511
1400
  response = pipeline_response.http_response
@@ -1517,13 +1406,9 @@ class StorageAccountsOperations:
1517
1406
  deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
1518
1407
 
1519
1408
  if cls:
1520
- return cls(pipeline_response, deserialized, {})
1521
-
1522
- return deserialized
1409
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1523
1410
 
1524
- get_management_policies.metadata = {
1525
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
1526
- }
1411
+ return deserialized # type: ignore
1527
1412
 
1528
1413
  @overload
1529
1414
  async def create_or_update_management_policies(
@@ -1555,7 +1440,6 @@ class StorageAccountsOperations:
1555
1440
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1556
1441
  Default value is "application/json".
1557
1442
  :paramtype content_type: str
1558
- :keyword callable cls: A custom type or function that will be passed the direct response
1559
1443
  :return: StorageAccountManagementPolicies or the result of cls(response)
1560
1444
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
1561
1445
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1567,7 +1451,7 @@ class StorageAccountsOperations:
1567
1451
  resource_group_name: str,
1568
1452
  account_name: str,
1569
1453
  management_policy_name: Union[str, _models.ManagementPolicyName],
1570
- properties: IO,
1454
+ properties: IO[bytes],
1571
1455
  *,
1572
1456
  content_type: str = "application/json",
1573
1457
  **kwargs: Any
@@ -1586,11 +1470,10 @@ class StorageAccountsOperations:
1586
1470
  :type management_policy_name: str or
1587
1471
  ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
1588
1472
  :param properties: The data policy rules to set to a storage account. Required.
1589
- :type properties: IO
1473
+ :type properties: IO[bytes]
1590
1474
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1591
1475
  Default value is "application/json".
1592
1476
  :paramtype content_type: str
1593
- :keyword callable cls: A custom type or function that will be passed the direct response
1594
1477
  :return: StorageAccountManagementPolicies or the result of cls(response)
1595
1478
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
1596
1479
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1602,7 +1485,7 @@ class StorageAccountsOperations:
1602
1485
  resource_group_name: str,
1603
1486
  account_name: str,
1604
1487
  management_policy_name: Union[str, _models.ManagementPolicyName],
1605
- properties: Union[_models.ManagementPoliciesRulesSetParameter, IO],
1488
+ properties: Union[_models.ManagementPoliciesRulesSetParameter, IO[bytes]],
1606
1489
  **kwargs: Any
1607
1490
  ) -> _models.StorageAccountManagementPolicies:
1608
1491
  """Sets the data policy rules associated with the specified storage account.
@@ -1619,18 +1502,14 @@ class StorageAccountsOperations:
1619
1502
  :type management_policy_name: str or
1620
1503
  ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
1621
1504
  :param properties: The data policy rules to set to a storage account. Is either a
1622
- ManagementPoliciesRulesSetParameter type or a IO type. Required.
1505
+ ManagementPoliciesRulesSetParameter type or a IO[bytes] type. Required.
1623
1506
  :type properties:
1624
- ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO
1625
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1626
- Default value is None.
1627
- :paramtype content_type: str
1628
- :keyword callable cls: A custom type or function that will be passed the direct response
1507
+ ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO[bytes]
1629
1508
  :return: StorageAccountManagementPolicies or the result of cls(response)
1630
1509
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
1631
1510
  :raises ~azure.core.exceptions.HttpResponseError:
1632
1511
  """
1633
- error_map = {
1512
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1634
1513
  401: ClientAuthenticationError,
1635
1514
  404: ResourceNotFoundError,
1636
1515
  409: ResourceExistsError,
@@ -1655,7 +1534,7 @@ class StorageAccountsOperations:
1655
1534
  else:
1656
1535
  _json = self._serialize.body(properties, "ManagementPoliciesRulesSetParameter")
1657
1536
 
1658
- request = build_create_or_update_management_policies_request(
1537
+ _request = build_create_or_update_management_policies_request(
1659
1538
  resource_group_name=resource_group_name,
1660
1539
  account_name=account_name,
1661
1540
  management_policy_name=management_policy_name,
@@ -1664,16 +1543,15 @@ class StorageAccountsOperations:
1664
1543
  content_type=content_type,
1665
1544
  json=_json,
1666
1545
  content=_content,
1667
- template_url=self.create_or_update_management_policies.metadata["url"],
1668
1546
  headers=_headers,
1669
1547
  params=_params,
1670
1548
  )
1671
- request = _convert_request(request)
1672
- request.url = self._client.format_url(request.url)
1549
+ _request = _convert_request(_request)
1550
+ _request.url = self._client.format_url(_request.url)
1673
1551
 
1674
1552
  _stream = False
1675
1553
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1676
- request, stream=_stream, **kwargs
1554
+ _request, stream=_stream, **kwargs
1677
1555
  )
1678
1556
 
1679
1557
  response = pipeline_response.http_response
@@ -1685,13 +1563,9 @@ class StorageAccountsOperations:
1685
1563
  deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
1686
1564
 
1687
1565
  if cls:
1688
- return cls(pipeline_response, deserialized, {})
1566
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1689
1567
 
1690
- return deserialized
1691
-
1692
- create_or_update_management_policies.metadata = {
1693
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
1694
- }
1568
+ return deserialized # type: ignore
1695
1569
 
1696
1570
  @distributed_trace_async
1697
1571
  async def delete_management_policies( # pylint: disable=inconsistent-return-statements
@@ -1714,12 +1588,11 @@ class StorageAccountsOperations:
1714
1588
  always be 'default'. "default" Required.
1715
1589
  :type management_policy_name: str or
1716
1590
  ~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
1717
- :keyword callable cls: A custom type or function that will be passed the direct response
1718
1591
  :return: None or the result of cls(response)
1719
1592
  :rtype: None
1720
1593
  :raises ~azure.core.exceptions.HttpResponseError:
1721
1594
  """
1722
- error_map = {
1595
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1723
1596
  401: ClientAuthenticationError,
1724
1597
  404: ResourceNotFoundError,
1725
1598
  409: ResourceExistsError,
@@ -1735,22 +1608,21 @@ class StorageAccountsOperations:
1735
1608
  )
1736
1609
  cls: ClsType[None] = kwargs.pop("cls", None)
1737
1610
 
1738
- request = build_delete_management_policies_request(
1611
+ _request = build_delete_management_policies_request(
1739
1612
  resource_group_name=resource_group_name,
1740
1613
  account_name=account_name,
1741
1614
  management_policy_name=management_policy_name,
1742
1615
  subscription_id=self._config.subscription_id,
1743
1616
  api_version=api_version,
1744
- template_url=self.delete_management_policies.metadata["url"],
1745
1617
  headers=_headers,
1746
1618
  params=_params,
1747
1619
  )
1748
- request = _convert_request(request)
1749
- request.url = self._client.format_url(request.url)
1620
+ _request = _convert_request(_request)
1621
+ _request.url = self._client.format_url(_request.url)
1750
1622
 
1751
1623
  _stream = False
1752
1624
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1753
- request, stream=_stream, **kwargs
1625
+ _request, stream=_stream, **kwargs
1754
1626
  )
1755
1627
 
1756
1628
  response = pipeline_response.http_response
@@ -1760,8 +1632,4 @@ class StorageAccountsOperations:
1760
1632
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1761
1633
 
1762
1634
  if cls:
1763
- return cls(pipeline_response, None, {})
1764
-
1765
- delete_management_policies.metadata = {
1766
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
1767
- }
1635
+ return cls(pipeline_response, None, {}) # type: ignore