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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,7 +8,7 @@
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
10
  import sys
11
- from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
12
12
  import urllib.parse
13
13
 
14
14
  from azure.core.async_paging import AsyncItemPaged, AsyncList
@@ -49,10 +49,10 @@ from ...operations._storage_accounts_operations import (
49
49
  build_update_request,
50
50
  )
51
51
 
52
- if sys.version_info >= (3, 8):
53
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
52
+ if sys.version_info >= (3, 9):
53
+ from collections.abc import MutableMapping
54
54
  else:
55
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
55
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
56
56
  T = TypeVar("T")
57
57
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
58
58
 
@@ -95,7 +95,6 @@ class StorageAccountsOperations:
95
95
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
96
96
  Default value is "application/json".
97
97
  :paramtype content_type: str
98
- :keyword callable cls: A custom type or function that will be passed the direct response
99
98
  :return: CheckNameAvailabilityResult or the result of cls(response)
100
99
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
101
100
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -103,18 +102,17 @@ class StorageAccountsOperations:
103
102
 
104
103
  @overload
105
104
  async def check_name_availability(
106
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
105
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
107
106
  ) -> _models.CheckNameAvailabilityResult:
108
107
  """Checks that the storage account name is valid and is not already in use.
109
108
 
110
109
  :param account_name: The name of the storage account within the specified resource group.
111
110
  Storage account names must be between 3 and 24 characters in length and use numbers and
112
111
  lower-case letters only. Required.
113
- :type account_name: IO
112
+ :type account_name: IO[bytes]
114
113
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
115
114
  Default value is "application/json".
116
115
  :paramtype content_type: str
117
- :keyword callable cls: A custom type or function that will be passed the direct response
118
116
  :return: CheckNameAvailabilityResult or the result of cls(response)
119
117
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
120
118
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -122,26 +120,22 @@ class StorageAccountsOperations:
122
120
 
123
121
  @distributed_trace_async
124
122
  async def check_name_availability(
125
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
123
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
126
124
  ) -> _models.CheckNameAvailabilityResult:
127
125
  """Checks that the storage account name is valid and is not already in use.
128
126
 
129
127
  :param account_name: The name of the storage account within the specified resource group.
130
128
  Storage account names must be between 3 and 24 characters in length and use numbers and
131
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
132
- type. Required.
129
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
130
+ IO[bytes] type. Required.
133
131
  :type account_name:
134
132
  ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
135
- IO
136
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
137
- Default value is None.
138
- :paramtype content_type: str
139
- :keyword callable cls: A custom type or function that will be passed the direct response
133
+ IO[bytes]
140
134
  :return: CheckNameAvailabilityResult or the result of cls(response)
141
135
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.CheckNameAvailabilityResult
142
136
  :raises ~azure.core.exceptions.HttpResponseError:
143
137
  """
144
- error_map = {
138
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
145
139
  401: ClientAuthenticationError,
146
140
  404: ResourceNotFoundError,
147
141
  409: ResourceExistsError,
@@ -166,22 +160,21 @@ class StorageAccountsOperations:
166
160
  else:
167
161
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
168
162
 
169
- request = build_check_name_availability_request(
163
+ _request = build_check_name_availability_request(
170
164
  subscription_id=self._config.subscription_id,
171
165
  api_version=api_version,
172
166
  content_type=content_type,
173
167
  json=_json,
174
168
  content=_content,
175
- template_url=self.check_name_availability.metadata["url"],
176
169
  headers=_headers,
177
170
  params=_params,
178
171
  )
179
- request = _convert_request(request)
180
- request.url = self._client.format_url(request.url)
172
+ _request = _convert_request(_request)
173
+ _request.url = self._client.format_url(_request.url)
181
174
 
182
175
  _stream = False
183
176
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
184
- request, stream=_stream, **kwargs
177
+ _request, stream=_stream, **kwargs
185
178
  )
186
179
 
187
180
  response = pipeline_response.http_response
@@ -193,22 +186,18 @@ class StorageAccountsOperations:
193
186
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
194
187
 
195
188
  if cls:
196
- return cls(pipeline_response, deserialized, {})
197
-
198
- return deserialized
189
+ return cls(pipeline_response, deserialized, {}) # type: ignore
199
190
 
200
- check_name_availability.metadata = {
201
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
202
- }
191
+ return deserialized # type: ignore
203
192
 
204
193
  async def _create_initial(
205
194
  self,
206
195
  resource_group_name: str,
207
196
  account_name: str,
208
- parameters: Union[_models.StorageAccountCreateParameters, IO],
197
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
209
198
  **kwargs: Any
210
199
  ) -> Optional[_models.StorageAccount]:
211
- error_map = {
200
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
212
201
  401: ClientAuthenticationError,
213
202
  404: ResourceNotFoundError,
214
203
  409: ResourceExistsError,
@@ -233,7 +222,7 @@ class StorageAccountsOperations:
233
222
  else:
234
223
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
235
224
 
236
- request = build_create_request(
225
+ _request = build_create_request(
237
226
  resource_group_name=resource_group_name,
238
227
  account_name=account_name,
239
228
  subscription_id=self._config.subscription_id,
@@ -241,16 +230,15 @@ class StorageAccountsOperations:
241
230
  content_type=content_type,
242
231
  json=_json,
243
232
  content=_content,
244
- template_url=self._create_initial.metadata["url"],
245
233
  headers=_headers,
246
234
  params=_params,
247
235
  )
248
- request = _convert_request(request)
249
- request.url = self._client.format_url(request.url)
236
+ _request = _convert_request(_request)
237
+ _request.url = self._client.format_url(_request.url)
250
238
 
251
239
  _stream = False
252
240
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
253
- request, stream=_stream, **kwargs
241
+ _request, stream=_stream, **kwargs
254
242
  )
255
243
 
256
244
  response = pipeline_response.http_response
@@ -264,13 +252,9 @@ class StorageAccountsOperations:
264
252
  deserialized = self._deserialize("StorageAccount", pipeline_response)
265
253
 
266
254
  if cls:
267
- return cls(pipeline_response, deserialized, {})
268
-
269
- return deserialized
255
+ return cls(pipeline_response, deserialized, {}) # type: ignore
270
256
 
271
- _create_initial.metadata = {
272
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
273
- }
257
+ return deserialized # type: ignore
274
258
 
275
259
  @overload
276
260
  async def begin_create(
@@ -299,14 +283,6 @@ class StorageAccountsOperations:
299
283
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
300
284
  Default value is "application/json".
301
285
  :paramtype content_type: str
302
- :keyword callable cls: A custom type or function that will be passed the direct response
303
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
304
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
305
- this operation to not poll, or pass in your own initialized polling object for a personal
306
- polling strategy.
307
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
308
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
309
- Retry-After header is present.
310
286
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
311
287
  cls(response)
312
288
  :rtype:
@@ -319,7 +295,7 @@ class StorageAccountsOperations:
319
295
  self,
320
296
  resource_group_name: str,
321
297
  account_name: str,
322
- parameters: IO,
298
+ parameters: IO[bytes],
323
299
  *,
324
300
  content_type: str = "application/json",
325
301
  **kwargs: Any
@@ -337,18 +313,10 @@ class StorageAccountsOperations:
337
313
  lower-case letters only. Required.
338
314
  :type account_name: str
339
315
  :param parameters: The parameters to provide for the created account. Required.
340
- :type parameters: IO
316
+ :type parameters: IO[bytes]
341
317
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
342
318
  Default value is "application/json".
343
319
  :paramtype content_type: str
344
- :keyword callable cls: A custom type or function that will be passed the direct response
345
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
346
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
347
- this operation to not poll, or pass in your own initialized polling object for a personal
348
- polling strategy.
349
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
350
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
351
- Retry-After header is present.
352
320
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
353
321
  cls(response)
354
322
  :rtype:
@@ -361,7 +329,7 @@ class StorageAccountsOperations:
361
329
  self,
362
330
  resource_group_name: str,
363
331
  account_name: str,
364
- parameters: Union[_models.StorageAccountCreateParameters, IO],
332
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
365
333
  **kwargs: Any
366
334
  ) -> AsyncLROPoller[_models.StorageAccount]:
367
335
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -377,20 +345,9 @@ class StorageAccountsOperations:
377
345
  lower-case letters only. Required.
378
346
  :type account_name: str
379
347
  :param parameters: The parameters to provide for the created account. Is either a
380
- StorageAccountCreateParameters type or a IO type. Required.
348
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
381
349
  :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountCreateParameters
382
- or IO
383
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
384
- Default value is None.
385
- :paramtype content_type: str
386
- :keyword callable cls: A custom type or function that will be passed the direct response
387
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
388
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
389
- this operation to not poll, or pass in your own initialized polling object for a personal
390
- polling strategy.
391
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
392
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
393
- Retry-After header is present.
350
+ or IO[bytes]
394
351
  :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
395
352
  cls(response)
396
353
  :rtype:
@@ -425,7 +382,7 @@ class StorageAccountsOperations:
425
382
  def get_long_running_output(pipeline_response):
426
383
  deserialized = self._deserialize("StorageAccount", pipeline_response)
427
384
  if cls:
428
- return cls(pipeline_response, deserialized, {})
385
+ return cls(pipeline_response, deserialized, {}) # type: ignore
429
386
  return deserialized
430
387
 
431
388
  if polling is True:
@@ -435,17 +392,15 @@ class StorageAccountsOperations:
435
392
  else:
436
393
  polling_method = polling
437
394
  if cont_token:
438
- return AsyncLROPoller.from_continuation_token(
395
+ return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
439
396
  polling_method=polling_method,
440
397
  continuation_token=cont_token,
441
398
  client=self._client,
442
399
  deserialization_callback=get_long_running_output,
443
400
  )
444
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
445
-
446
- begin_create.metadata = {
447
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
448
- }
401
+ return AsyncLROPoller[_models.StorageAccount](
402
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
403
+ )
449
404
 
450
405
  @distributed_trace_async
451
406
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -460,12 +415,11 @@ class StorageAccountsOperations:
460
415
  Storage account names must be between 3 and 24 characters in length and use numbers and
461
416
  lower-case letters only. Required.
462
417
  :type account_name: str
463
- :keyword callable cls: A custom type or function that will be passed the direct response
464
418
  :return: None or the result of cls(response)
465
419
  :rtype: None
466
420
  :raises ~azure.core.exceptions.HttpResponseError:
467
421
  """
468
- error_map = {
422
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
469
423
  401: ClientAuthenticationError,
470
424
  404: ResourceNotFoundError,
471
425
  409: ResourceExistsError,
@@ -481,21 +435,20 @@ class StorageAccountsOperations:
481
435
  )
482
436
  cls: ClsType[None] = kwargs.pop("cls", None)
483
437
 
484
- request = build_delete_request(
438
+ _request = build_delete_request(
485
439
  resource_group_name=resource_group_name,
486
440
  account_name=account_name,
487
441
  subscription_id=self._config.subscription_id,
488
442
  api_version=api_version,
489
- template_url=self.delete.metadata["url"],
490
443
  headers=_headers,
491
444
  params=_params,
492
445
  )
493
- request = _convert_request(request)
494
- request.url = self._client.format_url(request.url)
446
+ _request = _convert_request(_request)
447
+ _request.url = self._client.format_url(_request.url)
495
448
 
496
449
  _stream = False
497
450
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
498
- request, stream=_stream, **kwargs
451
+ _request, stream=_stream, **kwargs
499
452
  )
500
453
 
501
454
  response = pipeline_response.http_response
@@ -505,11 +458,7 @@ class StorageAccountsOperations:
505
458
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
506
459
 
507
460
  if cls:
508
- return cls(pipeline_response, None, {})
509
-
510
- delete.metadata = {
511
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
512
- }
461
+ return cls(pipeline_response, None, {}) # type: ignore
513
462
 
514
463
  @distributed_trace_async
515
464
  async def get_properties(
@@ -535,12 +484,11 @@ class StorageAccountsOperations:
535
484
  and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
536
485
  value is None.
537
486
  :type expand: str or ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountExpand
538
- :keyword callable cls: A custom type or function that will be passed the direct response
539
487
  :return: StorageAccount or the result of cls(response)
540
488
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
541
489
  :raises ~azure.core.exceptions.HttpResponseError:
542
490
  """
543
- error_map = {
491
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
544
492
  401: ClientAuthenticationError,
545
493
  404: ResourceNotFoundError,
546
494
  409: ResourceExistsError,
@@ -556,22 +504,21 @@ class StorageAccountsOperations:
556
504
  )
557
505
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
558
506
 
559
- request = build_get_properties_request(
507
+ _request = build_get_properties_request(
560
508
  resource_group_name=resource_group_name,
561
509
  account_name=account_name,
562
510
  subscription_id=self._config.subscription_id,
563
511
  expand=expand,
564
512
  api_version=api_version,
565
- template_url=self.get_properties.metadata["url"],
566
513
  headers=_headers,
567
514
  params=_params,
568
515
  )
569
- request = _convert_request(request)
570
- request.url = self._client.format_url(request.url)
516
+ _request = _convert_request(_request)
517
+ _request.url = self._client.format_url(_request.url)
571
518
 
572
519
  _stream = False
573
520
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
574
- request, stream=_stream, **kwargs
521
+ _request, stream=_stream, **kwargs
575
522
  )
576
523
 
577
524
  response = pipeline_response.http_response
@@ -583,13 +530,9 @@ class StorageAccountsOperations:
583
530
  deserialized = self._deserialize("StorageAccount", pipeline_response)
584
531
 
585
532
  if cls:
586
- return cls(pipeline_response, deserialized, {})
587
-
588
- return deserialized
533
+ return cls(pipeline_response, deserialized, {}) # type: ignore
589
534
 
590
- get_properties.metadata = {
591
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
592
- }
535
+ return deserialized # type: ignore
593
536
 
594
537
  @overload
595
538
  async def update(
@@ -622,7 +565,6 @@ class StorageAccountsOperations:
622
565
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
623
566
  Default value is "application/json".
624
567
  :paramtype content_type: str
625
- :keyword callable cls: A custom type or function that will be passed the direct response
626
568
  :return: StorageAccount or the result of cls(response)
627
569
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
628
570
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -633,7 +575,7 @@ class StorageAccountsOperations:
633
575
  self,
634
576
  resource_group_name: str,
635
577
  account_name: str,
636
- parameters: IO,
578
+ parameters: IO[bytes],
637
579
  *,
638
580
  content_type: str = "application/json",
639
581
  **kwargs: Any
@@ -655,11 +597,10 @@ class StorageAccountsOperations:
655
597
  lower-case letters only. Required.
656
598
  :type account_name: str
657
599
  :param parameters: The parameters to provide for the updated account. Required.
658
- :type parameters: IO
600
+ :type parameters: IO[bytes]
659
601
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
660
602
  Default value is "application/json".
661
603
  :paramtype content_type: str
662
- :keyword callable cls: A custom type or function that will be passed the direct response
663
604
  :return: StorageAccount or the result of cls(response)
664
605
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
665
606
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -670,7 +611,7 @@ class StorageAccountsOperations:
670
611
  self,
671
612
  resource_group_name: str,
672
613
  account_name: str,
673
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
614
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
674
615
  **kwargs: Any
675
616
  ) -> _models.StorageAccount:
676
617
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -690,18 +631,14 @@ class StorageAccountsOperations:
690
631
  lower-case letters only. Required.
691
632
  :type account_name: str
692
633
  :param parameters: The parameters to provide for the updated account. Is either a
693
- StorageAccountUpdateParameters type or a IO type. Required.
634
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
694
635
  :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountUpdateParameters
695
- or IO
696
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
697
- Default value is None.
698
- :paramtype content_type: str
699
- :keyword callable cls: A custom type or function that will be passed the direct response
636
+ or IO[bytes]
700
637
  :return: StorageAccount or the result of cls(response)
701
638
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount
702
639
  :raises ~azure.core.exceptions.HttpResponseError:
703
640
  """
704
- error_map = {
641
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
705
642
  401: ClientAuthenticationError,
706
643
  404: ResourceNotFoundError,
707
644
  409: ResourceExistsError,
@@ -726,7 +663,7 @@ class StorageAccountsOperations:
726
663
  else:
727
664
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
728
665
 
729
- request = build_update_request(
666
+ _request = build_update_request(
730
667
  resource_group_name=resource_group_name,
731
668
  account_name=account_name,
732
669
  subscription_id=self._config.subscription_id,
@@ -734,16 +671,15 @@ class StorageAccountsOperations:
734
671
  content_type=content_type,
735
672
  json=_json,
736
673
  content=_content,
737
- template_url=self.update.metadata["url"],
738
674
  headers=_headers,
739
675
  params=_params,
740
676
  )
741
- request = _convert_request(request)
742
- request.url = self._client.format_url(request.url)
677
+ _request = _convert_request(_request)
678
+ _request.url = self._client.format_url(_request.url)
743
679
 
744
680
  _stream = False
745
681
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
746
- request, stream=_stream, **kwargs
682
+ _request, stream=_stream, **kwargs
747
683
  )
748
684
 
749
685
  response = pipeline_response.http_response
@@ -755,20 +691,15 @@ class StorageAccountsOperations:
755
691
  deserialized = self._deserialize("StorageAccount", pipeline_response)
756
692
 
757
693
  if cls:
758
- return cls(pipeline_response, deserialized, {})
759
-
760
- return deserialized
694
+ return cls(pipeline_response, deserialized, {}) # type: ignore
761
695
 
762
- update.metadata = {
763
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
764
- }
696
+ return deserialized # type: ignore
765
697
 
766
698
  @distributed_trace
767
699
  def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
768
700
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
769
701
  returned; use the ListKeys operation for this.
770
702
 
771
- :keyword callable cls: A custom type or function that will be passed the direct response
772
703
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
773
704
  :rtype:
774
705
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
@@ -782,7 +713,7 @@ class StorageAccountsOperations:
782
713
  )
783
714
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
784
715
 
785
- error_map = {
716
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
786
717
  401: ClientAuthenticationError,
787
718
  404: ResourceNotFoundError,
788
719
  409: ResourceExistsError,
@@ -793,15 +724,14 @@ class StorageAccountsOperations:
793
724
  def prepare_request(next_link=None):
794
725
  if not next_link:
795
726
 
796
- request = build_list_request(
727
+ _request = build_list_request(
797
728
  subscription_id=self._config.subscription_id,
798
729
  api_version=api_version,
799
- template_url=self.list.metadata["url"],
800
730
  headers=_headers,
801
731
  params=_params,
802
732
  )
803
- request = _convert_request(request)
804
- request.url = self._client.format_url(request.url)
733
+ _request = _convert_request(_request)
734
+ _request.url = self._client.format_url(_request.url)
805
735
 
806
736
  else:
807
737
  # make call to next link with the client's api-version
@@ -812,14 +742,14 @@ class StorageAccountsOperations:
812
742
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
813
743
  }
814
744
  )
815
- _next_request_params["api-version"] = self._config.api_version
816
- request = HttpRequest(
745
+ _next_request_params["api-version"] = self._api_version
746
+ _request = HttpRequest(
817
747
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
818
748
  )
819
- request = _convert_request(request)
820
- request.url = self._client.format_url(request.url)
821
- request.method = "GET"
822
- return request
749
+ _request = _convert_request(_request)
750
+ _request.url = self._client.format_url(_request.url)
751
+ _request.method = "GET"
752
+ return _request
823
753
 
824
754
  async def extract_data(pipeline_response):
825
755
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -829,11 +759,11 @@ class StorageAccountsOperations:
829
759
  return deserialized.next_link or None, AsyncList(list_of_elem)
830
760
 
831
761
  async def get_next(next_link=None):
832
- request = prepare_request(next_link)
762
+ _request = prepare_request(next_link)
833
763
 
834
764
  _stream = False
835
765
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
836
- request, stream=_stream, **kwargs
766
+ _request, stream=_stream, **kwargs
837
767
  )
838
768
  response = pipeline_response.http_response
839
769
 
@@ -845,8 +775,6 @@ class StorageAccountsOperations:
845
775
 
846
776
  return AsyncItemPaged(get_next, extract_data)
847
777
 
848
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
849
-
850
778
  @distributed_trace
851
779
  def list_by_resource_group(
852
780
  self, resource_group_name: str, **kwargs: Any
@@ -857,7 +785,6 @@ class StorageAccountsOperations:
857
785
  :param resource_group_name: The name of the resource group within the user's subscription. The
858
786
  name is case insensitive. Required.
859
787
  :type resource_group_name: str
860
- :keyword callable cls: A custom type or function that will be passed the direct response
861
788
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
862
789
  :rtype:
863
790
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccount]
@@ -871,7 +798,7 @@ class StorageAccountsOperations:
871
798
  )
872
799
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
873
800
 
874
- error_map = {
801
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
875
802
  401: ClientAuthenticationError,
876
803
  404: ResourceNotFoundError,
877
804
  409: ResourceExistsError,
@@ -882,16 +809,15 @@ class StorageAccountsOperations:
882
809
  def prepare_request(next_link=None):
883
810
  if not next_link:
884
811
 
885
- request = build_list_by_resource_group_request(
812
+ _request = build_list_by_resource_group_request(
886
813
  resource_group_name=resource_group_name,
887
814
  subscription_id=self._config.subscription_id,
888
815
  api_version=api_version,
889
- template_url=self.list_by_resource_group.metadata["url"],
890
816
  headers=_headers,
891
817
  params=_params,
892
818
  )
893
- request = _convert_request(request)
894
- request.url = self._client.format_url(request.url)
819
+ _request = _convert_request(_request)
820
+ _request.url = self._client.format_url(_request.url)
895
821
 
896
822
  else:
897
823
  # make call to next link with the client's api-version
@@ -902,14 +828,14 @@ class StorageAccountsOperations:
902
828
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
903
829
  }
904
830
  )
905
- _next_request_params["api-version"] = self._config.api_version
906
- request = HttpRequest(
831
+ _next_request_params["api-version"] = self._api_version
832
+ _request = HttpRequest(
907
833
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
908
834
  )
909
- request = _convert_request(request)
910
- request.url = self._client.format_url(request.url)
911
- request.method = "GET"
912
- return request
835
+ _request = _convert_request(_request)
836
+ _request.url = self._client.format_url(_request.url)
837
+ _request.method = "GET"
838
+ return _request
913
839
 
914
840
  async def extract_data(pipeline_response):
915
841
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -919,11 +845,11 @@ class StorageAccountsOperations:
919
845
  return deserialized.next_link or None, AsyncList(list_of_elem)
920
846
 
921
847
  async def get_next(next_link=None):
922
- request = prepare_request(next_link)
848
+ _request = prepare_request(next_link)
923
849
 
924
850
  _stream = False
925
851
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
926
- request, stream=_stream, **kwargs
852
+ _request, stream=_stream, **kwargs
927
853
  )
928
854
  response = pipeline_response.http_response
929
855
 
@@ -935,10 +861,6 @@ class StorageAccountsOperations:
935
861
 
936
862
  return AsyncItemPaged(get_next, extract_data)
937
863
 
938
- list_by_resource_group.metadata = {
939
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
940
- }
941
-
942
864
  @distributed_trace_async
943
865
  async def list_keys(
944
866
  self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
@@ -956,12 +878,11 @@ class StorageAccountsOperations:
956
878
  :param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
957
879
  "kerb" and None. Default value is "kerb".
958
880
  :type expand: str
959
- :keyword callable cls: A custom type or function that will be passed the direct response
960
881
  :return: StorageAccountListKeysResult or the result of cls(response)
961
882
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
962
883
  :raises ~azure.core.exceptions.HttpResponseError:
963
884
  """
964
- error_map = {
885
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
965
886
  401: ClientAuthenticationError,
966
887
  404: ResourceNotFoundError,
967
888
  409: ResourceExistsError,
@@ -977,22 +898,21 @@ class StorageAccountsOperations:
977
898
  )
978
899
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
979
900
 
980
- request = build_list_keys_request(
901
+ _request = build_list_keys_request(
981
902
  resource_group_name=resource_group_name,
982
903
  account_name=account_name,
983
904
  subscription_id=self._config.subscription_id,
984
905
  expand=expand,
985
906
  api_version=api_version,
986
- template_url=self.list_keys.metadata["url"],
987
907
  headers=_headers,
988
908
  params=_params,
989
909
  )
990
- request = _convert_request(request)
991
- request.url = self._client.format_url(request.url)
910
+ _request = _convert_request(_request)
911
+ _request.url = self._client.format_url(_request.url)
992
912
 
993
913
  _stream = False
994
914
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
995
- request, stream=_stream, **kwargs
915
+ _request, stream=_stream, **kwargs
996
916
  )
997
917
 
998
918
  response = pipeline_response.http_response
@@ -1004,13 +924,9 @@ class StorageAccountsOperations:
1004
924
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1005
925
 
1006
926
  if cls:
1007
- return cls(pipeline_response, deserialized, {})
1008
-
1009
- return deserialized
927
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1010
928
 
1011
- list_keys.metadata = {
1012
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1013
- }
929
+ return deserialized # type: ignore
1014
930
 
1015
931
  @overload
1016
932
  async def regenerate_key(
@@ -1038,7 +954,6 @@ class StorageAccountsOperations:
1038
954
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1039
955
  Default value is "application/json".
1040
956
  :paramtype content_type: str
1041
- :keyword callable cls: A custom type or function that will be passed the direct response
1042
957
  :return: StorageAccountListKeysResult or the result of cls(response)
1043
958
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
1044
959
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1049,7 +964,7 @@ class StorageAccountsOperations:
1049
964
  self,
1050
965
  resource_group_name: str,
1051
966
  account_name: str,
1052
- regenerate_key: IO,
967
+ regenerate_key: IO[bytes],
1053
968
  *,
1054
969
  content_type: str = "application/json",
1055
970
  **kwargs: Any
@@ -1065,11 +980,10 @@ class StorageAccountsOperations:
1065
980
  :type account_name: str
1066
981
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1067
982
  kerb1, kerb2. Required.
1068
- :type regenerate_key: IO
983
+ :type regenerate_key: IO[bytes]
1069
984
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1070
985
  Default value is "application/json".
1071
986
  :paramtype content_type: str
1072
- :keyword callable cls: A custom type or function that will be passed the direct response
1073
987
  :return: StorageAccountListKeysResult or the result of cls(response)
1074
988
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
1075
989
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1080,7 +994,7 @@ class StorageAccountsOperations:
1080
994
  self,
1081
995
  resource_group_name: str,
1082
996
  account_name: str,
1083
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
997
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1084
998
  **kwargs: Any
1085
999
  ) -> _models.StorageAccountListKeysResult:
1086
1000
  """Regenerates one of the access keys or Kerberos keys for the specified storage account.
@@ -1093,18 +1007,16 @@ class StorageAccountsOperations:
1093
1007
  lower-case letters only. Required.
1094
1008
  :type account_name: str
1095
1009
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1096
- kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1010
+ kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
1011
+ Required.
1097
1012
  :type regenerate_key:
1098
- ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or IO
1099
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1100
- Default value is None.
1101
- :paramtype content_type: str
1102
- :keyword callable cls: A custom type or function that will be passed the direct response
1013
+ ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountRegenerateKeyParameters or
1014
+ IO[bytes]
1103
1015
  :return: StorageAccountListKeysResult or the result of cls(response)
1104
1016
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.StorageAccountListKeysResult
1105
1017
  :raises ~azure.core.exceptions.HttpResponseError:
1106
1018
  """
1107
- error_map = {
1019
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1108
1020
  401: ClientAuthenticationError,
1109
1021
  404: ResourceNotFoundError,
1110
1022
  409: ResourceExistsError,
@@ -1129,7 +1041,7 @@ class StorageAccountsOperations:
1129
1041
  else:
1130
1042
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1131
1043
 
1132
- request = build_regenerate_key_request(
1044
+ _request = build_regenerate_key_request(
1133
1045
  resource_group_name=resource_group_name,
1134
1046
  account_name=account_name,
1135
1047
  subscription_id=self._config.subscription_id,
@@ -1137,16 +1049,15 @@ class StorageAccountsOperations:
1137
1049
  content_type=content_type,
1138
1050
  json=_json,
1139
1051
  content=_content,
1140
- template_url=self.regenerate_key.metadata["url"],
1141
1052
  headers=_headers,
1142
1053
  params=_params,
1143
1054
  )
1144
- request = _convert_request(request)
1145
- request.url = self._client.format_url(request.url)
1055
+ _request = _convert_request(_request)
1056
+ _request.url = self._client.format_url(_request.url)
1146
1057
 
1147
1058
  _stream = False
1148
1059
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1149
- request, stream=_stream, **kwargs
1060
+ _request, stream=_stream, **kwargs
1150
1061
  )
1151
1062
 
1152
1063
  response = pipeline_response.http_response
@@ -1158,13 +1069,9 @@ class StorageAccountsOperations:
1158
1069
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1159
1070
 
1160
1071
  if cls:
1161
- return cls(pipeline_response, deserialized, {})
1162
-
1163
- return deserialized
1072
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1164
1073
 
1165
- regenerate_key.metadata = {
1166
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1167
- }
1074
+ return deserialized # type: ignore
1168
1075
 
1169
1076
  @overload
1170
1077
  async def list_account_sas(
@@ -1191,7 +1098,6 @@ class StorageAccountsOperations:
1191
1098
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1192
1099
  Default value is "application/json".
1193
1100
  :paramtype content_type: str
1194
- :keyword callable cls: A custom type or function that will be passed the direct response
1195
1101
  :return: ListAccountSasResponse or the result of cls(response)
1196
1102
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
1197
1103
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1202,7 +1108,7 @@ class StorageAccountsOperations:
1202
1108
  self,
1203
1109
  resource_group_name: str,
1204
1110
  account_name: str,
1205
- parameters: IO,
1111
+ parameters: IO[bytes],
1206
1112
  *,
1207
1113
  content_type: str = "application/json",
1208
1114
  **kwargs: Any
@@ -1218,11 +1124,10 @@ class StorageAccountsOperations:
1218
1124
  :type account_name: str
1219
1125
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1220
1126
  Required.
1221
- :type parameters: IO
1127
+ :type parameters: IO[bytes]
1222
1128
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1223
1129
  Default value is "application/json".
1224
1130
  :paramtype content_type: str
1225
- :keyword callable cls: A custom type or function that will be passed the direct response
1226
1131
  :return: ListAccountSasResponse or the result of cls(response)
1227
1132
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
1228
1133
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1233,7 +1138,7 @@ class StorageAccountsOperations:
1233
1138
  self,
1234
1139
  resource_group_name: str,
1235
1140
  account_name: str,
1236
- parameters: Union[_models.AccountSasParameters, IO],
1141
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1237
1142
  **kwargs: Any
1238
1143
  ) -> _models.ListAccountSasResponse:
1239
1144
  """List SAS credentials of a storage account.
@@ -1246,17 +1151,14 @@ class StorageAccountsOperations:
1246
1151
  lower-case letters only. Required.
1247
1152
  :type account_name: str
1248
1153
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1249
- Is either a AccountSasParameters type or a IO type. Required.
1250
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or IO
1251
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1252
- Default value is None.
1253
- :paramtype content_type: str
1254
- :keyword callable cls: A custom type or function that will be passed the direct response
1154
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1155
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.AccountSasParameters or
1156
+ IO[bytes]
1255
1157
  :return: ListAccountSasResponse or the result of cls(response)
1256
1158
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListAccountSasResponse
1257
1159
  :raises ~azure.core.exceptions.HttpResponseError:
1258
1160
  """
1259
- error_map = {
1161
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1260
1162
  401: ClientAuthenticationError,
1261
1163
  404: ResourceNotFoundError,
1262
1164
  409: ResourceExistsError,
@@ -1281,7 +1183,7 @@ class StorageAccountsOperations:
1281
1183
  else:
1282
1184
  _json = self._serialize.body(parameters, "AccountSasParameters")
1283
1185
 
1284
- request = build_list_account_sas_request(
1186
+ _request = build_list_account_sas_request(
1285
1187
  resource_group_name=resource_group_name,
1286
1188
  account_name=account_name,
1287
1189
  subscription_id=self._config.subscription_id,
@@ -1289,16 +1191,15 @@ class StorageAccountsOperations:
1289
1191
  content_type=content_type,
1290
1192
  json=_json,
1291
1193
  content=_content,
1292
- template_url=self.list_account_sas.metadata["url"],
1293
1194
  headers=_headers,
1294
1195
  params=_params,
1295
1196
  )
1296
- request = _convert_request(request)
1297
- request.url = self._client.format_url(request.url)
1197
+ _request = _convert_request(_request)
1198
+ _request.url = self._client.format_url(_request.url)
1298
1199
 
1299
1200
  _stream = False
1300
1201
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1301
- request, stream=_stream, **kwargs
1202
+ _request, stream=_stream, **kwargs
1302
1203
  )
1303
1204
 
1304
1205
  response = pipeline_response.http_response
@@ -1310,13 +1211,9 @@ class StorageAccountsOperations:
1310
1211
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1311
1212
 
1312
1213
  if cls:
1313
- return cls(pipeline_response, deserialized, {})
1314
-
1315
- return deserialized
1214
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1316
1215
 
1317
- list_account_sas.metadata = {
1318
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1319
- }
1216
+ return deserialized # type: ignore
1320
1217
 
1321
1218
  @overload
1322
1219
  async def list_service_sas(
@@ -1342,7 +1239,6 @@ class StorageAccountsOperations:
1342
1239
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1343
1240
  Default value is "application/json".
1344
1241
  :paramtype content_type: str
1345
- :keyword callable cls: A custom type or function that will be passed the direct response
1346
1242
  :return: ListServiceSasResponse or the result of cls(response)
1347
1243
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
1348
1244
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1353,7 +1249,7 @@ class StorageAccountsOperations:
1353
1249
  self,
1354
1250
  resource_group_name: str,
1355
1251
  account_name: str,
1356
- parameters: IO,
1252
+ parameters: IO[bytes],
1357
1253
  *,
1358
1254
  content_type: str = "application/json",
1359
1255
  **kwargs: Any
@@ -1368,11 +1264,10 @@ class StorageAccountsOperations:
1368
1264
  lower-case letters only. Required.
1369
1265
  :type account_name: str
1370
1266
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1371
- :type parameters: IO
1267
+ :type parameters: IO[bytes]
1372
1268
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1373
1269
  Default value is "application/json".
1374
1270
  :paramtype content_type: str
1375
- :keyword callable cls: A custom type or function that will be passed the direct response
1376
1271
  :return: ListServiceSasResponse or the result of cls(response)
1377
1272
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
1378
1273
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1383,7 +1278,7 @@ class StorageAccountsOperations:
1383
1278
  self,
1384
1279
  resource_group_name: str,
1385
1280
  account_name: str,
1386
- parameters: Union[_models.ServiceSasParameters, IO],
1281
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1387
1282
  **kwargs: Any
1388
1283
  ) -> _models.ListServiceSasResponse:
1389
1284
  """List service SAS credentials of a specific resource.
@@ -1396,17 +1291,14 @@ class StorageAccountsOperations:
1396
1291
  lower-case letters only. Required.
1397
1292
  :type account_name: str
1398
1293
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1399
- ServiceSasParameters type or a IO type. Required.
1400
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or IO
1401
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1402
- Default value is None.
1403
- :paramtype content_type: str
1404
- :keyword callable cls: A custom type or function that will be passed the direct response
1294
+ ServiceSasParameters type or a IO[bytes] type. Required.
1295
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ServiceSasParameters or
1296
+ IO[bytes]
1405
1297
  :return: ListServiceSasResponse or the result of cls(response)
1406
1298
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ListServiceSasResponse
1407
1299
  :raises ~azure.core.exceptions.HttpResponseError:
1408
1300
  """
1409
- error_map = {
1301
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1410
1302
  401: ClientAuthenticationError,
1411
1303
  404: ResourceNotFoundError,
1412
1304
  409: ResourceExistsError,
@@ -1431,7 +1323,7 @@ class StorageAccountsOperations:
1431
1323
  else:
1432
1324
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1433
1325
 
1434
- request = build_list_service_sas_request(
1326
+ _request = build_list_service_sas_request(
1435
1327
  resource_group_name=resource_group_name,
1436
1328
  account_name=account_name,
1437
1329
  subscription_id=self._config.subscription_id,
@@ -1439,16 +1331,15 @@ class StorageAccountsOperations:
1439
1331
  content_type=content_type,
1440
1332
  json=_json,
1441
1333
  content=_content,
1442
- template_url=self.list_service_sas.metadata["url"],
1443
1334
  headers=_headers,
1444
1335
  params=_params,
1445
1336
  )
1446
- request = _convert_request(request)
1447
- request.url = self._client.format_url(request.url)
1337
+ _request = _convert_request(_request)
1338
+ _request.url = self._client.format_url(_request.url)
1448
1339
 
1449
1340
  _stream = False
1450
1341
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1451
- request, stream=_stream, **kwargs
1342
+ _request, stream=_stream, **kwargs
1452
1343
  )
1453
1344
 
1454
1345
  response = pipeline_response.http_response
@@ -1460,18 +1351,14 @@ class StorageAccountsOperations:
1460
1351
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1461
1352
 
1462
1353
  if cls:
1463
- return cls(pipeline_response, deserialized, {})
1464
-
1465
- return deserialized
1354
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1466
1355
 
1467
- list_service_sas.metadata = {
1468
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1469
- }
1356
+ return deserialized # type: ignore
1470
1357
 
1471
1358
  async def _failover_initial( # pylint: disable=inconsistent-return-statements
1472
1359
  self, resource_group_name: str, account_name: str, **kwargs: Any
1473
1360
  ) -> None:
1474
- error_map = {
1361
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1475
1362
  401: ClientAuthenticationError,
1476
1363
  404: ResourceNotFoundError,
1477
1364
  409: ResourceExistsError,
@@ -1487,21 +1374,20 @@ class StorageAccountsOperations:
1487
1374
  )
1488
1375
  cls: ClsType[None] = kwargs.pop("cls", None)
1489
1376
 
1490
- request = build_failover_request(
1377
+ _request = build_failover_request(
1491
1378
  resource_group_name=resource_group_name,
1492
1379
  account_name=account_name,
1493
1380
  subscription_id=self._config.subscription_id,
1494
1381
  api_version=api_version,
1495
- template_url=self._failover_initial.metadata["url"],
1496
1382
  headers=_headers,
1497
1383
  params=_params,
1498
1384
  )
1499
- request = _convert_request(request)
1500
- request.url = self._client.format_url(request.url)
1385
+ _request = _convert_request(_request)
1386
+ _request.url = self._client.format_url(_request.url)
1501
1387
 
1502
1388
  _stream = False
1503
1389
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1504
- request, stream=_stream, **kwargs
1390
+ _request, stream=_stream, **kwargs
1505
1391
  )
1506
1392
 
1507
1393
  response = pipeline_response.http_response
@@ -1511,11 +1397,7 @@ class StorageAccountsOperations:
1511
1397
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1512
1398
 
1513
1399
  if cls:
1514
- return cls(pipeline_response, None, {})
1515
-
1516
- _failover_initial.metadata = {
1517
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1518
- }
1400
+ return cls(pipeline_response, None, {}) # type: ignore
1519
1401
 
1520
1402
  @distributed_trace_async
1521
1403
  async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
@@ -1530,14 +1412,6 @@ class StorageAccountsOperations:
1530
1412
  Storage account names must be between 3 and 24 characters in length and use numbers and
1531
1413
  lower-case letters only. Required.
1532
1414
  :type account_name: str
1533
- :keyword callable cls: A custom type or function that will be passed the direct response
1534
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1535
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1536
- this operation to not poll, or pass in your own initialized polling object for a personal
1537
- polling strategy.
1538
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1539
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1540
- Retry-After header is present.
1541
1415
  :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1542
1416
  :rtype: ~azure.core.polling.AsyncLROPoller[None]
1543
1417
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1566,7 +1440,7 @@ class StorageAccountsOperations:
1566
1440
 
1567
1441
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1568
1442
  if cls:
1569
- return cls(pipeline_response, None, {})
1443
+ return cls(pipeline_response, None, {}) # type: ignore
1570
1444
 
1571
1445
  if polling is True:
1572
1446
  polling_method: AsyncPollingMethod = cast(
@@ -1577,26 +1451,22 @@ class StorageAccountsOperations:
1577
1451
  else:
1578
1452
  polling_method = polling
1579
1453
  if cont_token:
1580
- return AsyncLROPoller.from_continuation_token(
1454
+ return AsyncLROPoller[None].from_continuation_token(
1581
1455
  polling_method=polling_method,
1582
1456
  continuation_token=cont_token,
1583
1457
  client=self._client,
1584
1458
  deserialization_callback=get_long_running_output,
1585
1459
  )
1586
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1587
-
1588
- begin_failover.metadata = {
1589
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1590
- }
1460
+ return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1591
1461
 
1592
1462
  async def _restore_blob_ranges_initial(
1593
1463
  self,
1594
1464
  resource_group_name: str,
1595
1465
  account_name: str,
1596
- parameters: Union[_models.BlobRestoreParameters, IO],
1466
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1597
1467
  **kwargs: Any
1598
1468
  ) -> _models.BlobRestoreStatus:
1599
- error_map = {
1469
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1600
1470
  401: ClientAuthenticationError,
1601
1471
  404: ResourceNotFoundError,
1602
1472
  409: ResourceExistsError,
@@ -1621,7 +1491,7 @@ class StorageAccountsOperations:
1621
1491
  else:
1622
1492
  _json = self._serialize.body(parameters, "BlobRestoreParameters")
1623
1493
 
1624
- request = build_restore_blob_ranges_request(
1494
+ _request = build_restore_blob_ranges_request(
1625
1495
  resource_group_name=resource_group_name,
1626
1496
  account_name=account_name,
1627
1497
  subscription_id=self._config.subscription_id,
@@ -1629,16 +1499,15 @@ class StorageAccountsOperations:
1629
1499
  content_type=content_type,
1630
1500
  json=_json,
1631
1501
  content=_content,
1632
- template_url=self._restore_blob_ranges_initial.metadata["url"],
1633
1502
  headers=_headers,
1634
1503
  params=_params,
1635
1504
  )
1636
- request = _convert_request(request)
1637
- request.url = self._client.format_url(request.url)
1505
+ _request = _convert_request(_request)
1506
+ _request.url = self._client.format_url(_request.url)
1638
1507
 
1639
1508
  _stream = False
1640
1509
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1641
- request, stream=_stream, **kwargs
1510
+ _request, stream=_stream, **kwargs
1642
1511
  )
1643
1512
 
1644
1513
  response = pipeline_response.http_response
@@ -1658,10 +1527,6 @@ class StorageAccountsOperations:
1658
1527
 
1659
1528
  return deserialized # type: ignore
1660
1529
 
1661
- _restore_blob_ranges_initial.metadata = {
1662
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
1663
- }
1664
-
1665
1530
  @overload
1666
1531
  async def begin_restore_blob_ranges(
1667
1532
  self,
@@ -1686,14 +1551,6 @@ class StorageAccountsOperations:
1686
1551
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1687
1552
  Default value is "application/json".
1688
1553
  :paramtype content_type: str
1689
- :keyword callable cls: A custom type or function that will be passed the direct response
1690
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1691
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1692
- this operation to not poll, or pass in your own initialized polling object for a personal
1693
- polling strategy.
1694
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1695
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1696
- Retry-After header is present.
1697
1554
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1698
1555
  cls(response)
1699
1556
  :rtype:
@@ -1706,7 +1563,7 @@ class StorageAccountsOperations:
1706
1563
  self,
1707
1564
  resource_group_name: str,
1708
1565
  account_name: str,
1709
- parameters: IO,
1566
+ parameters: IO[bytes],
1710
1567
  *,
1711
1568
  content_type: str = "application/json",
1712
1569
  **kwargs: Any
@@ -1721,18 +1578,10 @@ class StorageAccountsOperations:
1721
1578
  lower-case letters only. Required.
1722
1579
  :type account_name: str
1723
1580
  :param parameters: The parameters to provide for restore blob ranges. Required.
1724
- :type parameters: IO
1581
+ :type parameters: IO[bytes]
1725
1582
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1726
1583
  Default value is "application/json".
1727
1584
  :paramtype content_type: str
1728
- :keyword callable cls: A custom type or function that will be passed the direct response
1729
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1730
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1731
- this operation to not poll, or pass in your own initialized polling object for a personal
1732
- polling strategy.
1733
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1734
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1735
- Retry-After header is present.
1736
1585
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1737
1586
  cls(response)
1738
1587
  :rtype:
@@ -1745,7 +1594,7 @@ class StorageAccountsOperations:
1745
1594
  self,
1746
1595
  resource_group_name: str,
1747
1596
  account_name: str,
1748
- parameters: Union[_models.BlobRestoreParameters, IO],
1597
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1749
1598
  **kwargs: Any
1750
1599
  ) -> AsyncLROPoller[_models.BlobRestoreStatus]:
1751
1600
  """Restore blobs in the specified blob ranges.
@@ -1758,19 +1607,9 @@ class StorageAccountsOperations:
1758
1607
  lower-case letters only. Required.
1759
1608
  :type account_name: str
1760
1609
  :param parameters: The parameters to provide for restore blob ranges. Is either a
1761
- BlobRestoreParameters type or a IO type. Required.
1762
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or IO
1763
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1764
- Default value is None.
1765
- :paramtype content_type: str
1766
- :keyword callable cls: A custom type or function that will be passed the direct response
1767
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1768
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1769
- this operation to not poll, or pass in your own initialized polling object for a personal
1770
- polling strategy.
1771
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1772
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1773
- Retry-After header is present.
1610
+ BlobRestoreParameters type or a IO[bytes] type. Required.
1611
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobRestoreParameters or
1612
+ IO[bytes]
1774
1613
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1775
1614
  cls(response)
1776
1615
  :rtype:
@@ -1805,7 +1644,7 @@ class StorageAccountsOperations:
1805
1644
  def get_long_running_output(pipeline_response):
1806
1645
  deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
1807
1646
  if cls:
1808
- return cls(pipeline_response, deserialized, {})
1647
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1809
1648
  return deserialized
1810
1649
 
1811
1650
  if polling is True:
@@ -1817,17 +1656,15 @@ class StorageAccountsOperations:
1817
1656
  else:
1818
1657
  polling_method = polling
1819
1658
  if cont_token:
1820
- return AsyncLROPoller.from_continuation_token(
1659
+ return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
1821
1660
  polling_method=polling_method,
1822
1661
  continuation_token=cont_token,
1823
1662
  client=self._client,
1824
1663
  deserialization_callback=get_long_running_output,
1825
1664
  )
1826
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1827
-
1828
- begin_restore_blob_ranges.metadata = {
1829
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
1830
- }
1665
+ return AsyncLROPoller[_models.BlobRestoreStatus](
1666
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
1667
+ )
1831
1668
 
1832
1669
  @distributed_trace_async
1833
1670
  async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -1842,12 +1679,11 @@ class StorageAccountsOperations:
1842
1679
  Storage account names must be between 3 and 24 characters in length and use numbers and
1843
1680
  lower-case letters only. Required.
1844
1681
  :type account_name: str
1845
- :keyword callable cls: A custom type or function that will be passed the direct response
1846
1682
  :return: None or the result of cls(response)
1847
1683
  :rtype: None
1848
1684
  :raises ~azure.core.exceptions.HttpResponseError:
1849
1685
  """
1850
- error_map = {
1686
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1851
1687
  401: ClientAuthenticationError,
1852
1688
  404: ResourceNotFoundError,
1853
1689
  409: ResourceExistsError,
@@ -1863,21 +1699,20 @@ class StorageAccountsOperations:
1863
1699
  )
1864
1700
  cls: ClsType[None] = kwargs.pop("cls", None)
1865
1701
 
1866
- request = build_revoke_user_delegation_keys_request(
1702
+ _request = build_revoke_user_delegation_keys_request(
1867
1703
  resource_group_name=resource_group_name,
1868
1704
  account_name=account_name,
1869
1705
  subscription_id=self._config.subscription_id,
1870
1706
  api_version=api_version,
1871
- template_url=self.revoke_user_delegation_keys.metadata["url"],
1872
1707
  headers=_headers,
1873
1708
  params=_params,
1874
1709
  )
1875
- request = _convert_request(request)
1876
- request.url = self._client.format_url(request.url)
1710
+ _request = _convert_request(_request)
1711
+ _request.url = self._client.format_url(_request.url)
1877
1712
 
1878
1713
  _stream = False
1879
1714
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1880
- request, stream=_stream, **kwargs
1715
+ _request, stream=_stream, **kwargs
1881
1716
  )
1882
1717
 
1883
1718
  response = pipeline_response.http_response
@@ -1887,8 +1722,4 @@ class StorageAccountsOperations:
1887
1722
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1888
1723
 
1889
1724
  if cls:
1890
- return cls(pipeline_response, None, {})
1891
-
1892
- revoke_user_delegation_keys.metadata = {
1893
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
1894
- }
1725
+ return cls(pipeline_response, None, {}) # type: ignore