azure-mgmt-storage 21.2.1__py3-none-any.whl → 22.1.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 (963) hide show
  1. azure/mgmt/storage/_serialization.py +281 -168
  2. azure/mgmt/storage/_storage_management_client.py +90 -869
  3. azure/mgmt/storage/_version.py +1 -1
  4. azure/mgmt/storage/aio/_storage_management_client.py +90 -869
  5. azure/mgmt/storage/models.py +2 -2
  6. azure/mgmt/storage/v2016_01_01/__init__.py +9 -3
  7. azure/mgmt/storage/v2016_01_01/_configuration.py +1 -2
  8. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +3 -3
  9. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  10. azure/mgmt/storage/v2016_01_01/aio/__init__.py +9 -3
  11. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +1 -2
  12. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +3 -3
  13. azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +10 -4
  14. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +32 -41
  15. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +4 -9
  16. azure/mgmt/storage/v2016_01_01/models/__init__.py +43 -32
  17. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +1 -3
  18. azure/mgmt/storage/v2016_01_01/operations/__init__.py +10 -4
  19. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +31 -38
  20. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +4 -9
  21. azure/mgmt/storage/v2016_01_01/py.typed +1 -0
  22. azure/mgmt/storage/v2017_10_01/__init__.py +9 -3
  23. azure/mgmt/storage/v2017_10_01/_configuration.py +1 -2
  24. azure/mgmt/storage/v2017_10_01/_storage_management.py +3 -3
  25. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  26. azure/mgmt/storage/v2017_10_01/aio/__init__.py +9 -3
  27. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +1 -2
  28. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +3 -3
  29. azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +12 -6
  30. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +4 -9
  31. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +4 -9
  32. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +36 -47
  33. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +4 -9
  34. azure/mgmt/storage/v2017_10_01/models/__init__.py +69 -58
  35. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +3 -4
  36. azure/mgmt/storage/v2017_10_01/operations/__init__.py +12 -6
  37. azure/mgmt/storage/v2017_10_01/operations/_operations.py +4 -9
  38. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +4 -9
  39. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +35 -44
  40. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +4 -9
  41. azure/mgmt/storage/v2017_10_01/py.typed +1 -0
  42. azure/mgmt/storage/v2019_06_01/__init__.py +9 -3
  43. azure/mgmt/storage/v2019_06_01/_configuration.py +1 -2
  44. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +3 -3
  45. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  46. azure/mgmt/storage/v2019_06_01/aio/__init__.py +9 -3
  47. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +1 -2
  48. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +3 -3
  49. azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +26 -20
  50. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +29 -51
  51. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +10 -18
  52. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +8 -15
  53. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +10 -22
  54. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +9 -15
  55. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +16 -32
  56. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +9 -15
  57. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +10 -18
  58. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +4 -9
  59. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +10 -18
  60. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +5 -9
  61. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +12 -23
  62. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +9 -15
  63. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +4 -9
  64. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +80 -71
  65. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +12 -23
  66. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +9 -15
  67. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +4 -9
  68. azure/mgmt/storage/v2019_06_01/models/__init__.py +181 -170
  69. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +12 -13
  70. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -0
  71. azure/mgmt/storage/v2019_06_01/operations/__init__.py +26 -20
  72. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +28 -48
  73. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +9 -17
  74. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +8 -15
  75. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +10 -22
  76. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +9 -15
  77. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +14 -28
  78. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +8 -14
  79. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +9 -17
  80. azure/mgmt/storage/v2019_06_01/operations/_operations.py +4 -9
  81. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +9 -17
  82. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +5 -9
  83. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +11 -20
  84. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +9 -15
  85. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +4 -9
  86. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +64 -66
  87. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +11 -20
  88. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +9 -15
  89. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +4 -9
  90. azure/mgmt/storage/v2019_06_01/py.typed +1 -0
  91. azure/mgmt/storage/{v2018_03_01_preview → v2024_01_01}/__init__.py +9 -3
  92. azure/mgmt/storage/{v2018_07_01 → v2024_01_01}/_configuration.py +3 -4
  93. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_storage_management_client.py +52 -52
  94. azure/mgmt/storage/{v2016_12_01 → v2024_01_01}/_version.py +1 -1
  95. azure/mgmt/storage/{v2018_07_01 → v2024_01_01/aio}/__init__.py +8 -5
  96. azure/mgmt/storage/{v2019_04_01 → v2024_01_01}/aio/_configuration.py +3 -4
  97. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_storage_management_client.py +52 -52
  98. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/__init__.py +32 -26
  99. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_blob_containers_operations.py +145 -143
  100. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_blob_inventory_policies_operations.py +27 -35
  101. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_blob_services_operations.py +19 -26
  102. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_deleted_accounts_operations.py +11 -17
  103. azure/mgmt/storage/{v2022_09_01 → v2024_01_01}/aio/operations/_encryption_scopes_operations.py +28 -40
  104. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_file_services_operations.py +181 -26
  105. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_file_shares_operations.py +45 -60
  106. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_local_users_operations.py +31 -43
  107. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/aio/operations/_management_policies_operations.py +24 -30
  108. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_network_security_perimeter_configurations_operations.py +33 -27
  109. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_object_replication_policies_operations.py +22 -30
  110. azure/mgmt/storage/{v2018_02_01 → v2024_01_01}/aio/operations/_operations.py +7 -12
  111. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_private_endpoint_connections_operations.py +22 -30
  112. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_private_link_resources_operations.py +8 -12
  113. azure/mgmt/storage/{v2021_02_01 → v2024_01_01}/aio/operations/_queue_operations.py +30 -41
  114. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_queue_services_operations.py +20 -26
  115. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_skus_operations.py +7 -12
  116. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/aio/operations/_storage_accounts_operations.py +202 -167
  117. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignment_instances_report_operations.py +8 -12
  118. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_instances_report_operations.py +8 -12
  119. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_operations.py +72 -64
  120. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_table_operations.py +30 -41
  121. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_table_services_operations.py +20 -26
  122. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/aio/operations/_usages_operations.py +7 -12
  123. azure/mgmt/storage/v2024_01_01/models/__init__.py +570 -0
  124. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_models_py3.py +1150 -545
  125. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_storage_management_client_enums.py +8 -0
  126. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/__init__.py +32 -26
  127. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_containers_operations.py +145 -154
  128. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_inventory_policies_operations.py +30 -38
  129. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_services_operations.py +22 -29
  130. azure/mgmt/storage/{v2021_02_01 → v2024_01_01}/operations/_deleted_accounts_operations.py +13 -19
  131. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_encryption_scopes_operations.py +32 -44
  132. azure/mgmt/storage/{v2023_01_01/operations/_table_operations.py → v2024_01_01/operations/_file_services_operations.py} +187 -293
  133. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_file_shares_operations.py +51 -65
  134. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_local_users_operations.py +36 -46
  135. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_management_policies_operations.py +26 -32
  136. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_network_security_perimeter_configurations_operations.py +35 -30
  137. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_object_replication_policies_operations.py +25 -33
  138. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/operations/_operations.py +8 -13
  139. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_private_endpoint_connections_operations.py +25 -33
  140. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_private_link_resources_operations.py +9 -13
  141. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_queue_operations.py +34 -43
  142. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_queue_services_operations.py +23 -29
  143. azure/mgmt/storage/{v2021_01_01 → v2024_01_01}/operations/_skus_operations.py +8 -13
  144. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_storage_accounts_operations.py +205 -179
  145. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignment_instances_report_operations.py +9 -13
  146. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_instances_report_operations.py +9 -13
  147. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_operations.py +78 -69
  148. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_operations.py +34 -43
  149. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_table_services_operations.py +23 -29
  150. azure/mgmt/storage/{v2019_04_01 → v2024_01_01}/operations/_usages_operations.py +8 -13
  151. azure/mgmt/storage/v2024_01_01/py.typed +1 -0
  152. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/METADATA +41 -4
  153. azure_mgmt_storage-22.1.0.dist-info/RECORD +183 -0
  154. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/WHEEL +1 -1
  155. azure/mgmt/storage/v2015_06_15/__init__.py +0 -26
  156. azure/mgmt/storage/v2015_06_15/_configuration.py +0 -66
  157. azure/mgmt/storage/v2015_06_15/_patch.py +0 -32
  158. azure/mgmt/storage/v2015_06_15/_storage_management.py +0 -115
  159. azure/mgmt/storage/v2015_06_15/_vendor.py +0 -16
  160. azure/mgmt/storage/v2015_06_15/_version.py +0 -9
  161. azure/mgmt/storage/v2015_06_15/aio/__init__.py +0 -23
  162. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +0 -66
  163. azure/mgmt/storage/v2015_06_15/aio/_patch.py +0 -32
  164. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +0 -118
  165. azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py +0 -21
  166. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +0 -1030
  167. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +0 -135
  168. azure/mgmt/storage/v2015_06_15/models/__init__.py +0 -55
  169. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +0 -660
  170. azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py +0 -59
  171. azure/mgmt/storage/v2015_06_15/operations/__init__.py +0 -21
  172. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +0 -1297
  173. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +0 -162
  174. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -16
  175. azure/mgmt/storage/v2016_12_01/__init__.py +0 -26
  176. azure/mgmt/storage/v2016_12_01/_configuration.py +0 -66
  177. azure/mgmt/storage/v2016_12_01/_patch.py +0 -32
  178. azure/mgmt/storage/v2016_12_01/_storage_management.py +0 -115
  179. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -16
  180. azure/mgmt/storage/v2016_12_01/aio/__init__.py +0 -23
  181. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +0 -66
  182. azure/mgmt/storage/v2016_12_01/aio/_patch.py +0 -32
  183. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +0 -118
  184. azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py +0 -21
  185. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +0 -1310
  186. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +0 -135
  187. azure/mgmt/storage/v2016_12_01/models/__init__.py +0 -97
  188. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +0 -1210
  189. azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py +0 -169
  190. azure/mgmt/storage/v2016_12_01/operations/__init__.py +0 -21
  191. azure/mgmt/storage/v2016_12_01/operations/_patch.py +0 -20
  192. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +0 -1647
  193. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +0 -162
  194. azure/mgmt/storage/v2017_06_01/__init__.py +0 -26
  195. azure/mgmt/storage/v2017_06_01/_configuration.py +0 -66
  196. azure/mgmt/storage/v2017_06_01/_patch.py +0 -32
  197. azure/mgmt/storage/v2017_06_01/_storage_management.py +0 -121
  198. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -16
  199. azure/mgmt/storage/v2017_06_01/_version.py +0 -9
  200. azure/mgmt/storage/v2017_06_01/aio/__init__.py +0 -23
  201. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +0 -66
  202. azure/mgmt/storage/v2017_06_01/aio/_patch.py +0 -32
  203. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +0 -124
  204. azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py +0 -25
  205. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +0 -135
  206. azure/mgmt/storage/v2017_06_01/aio/operations/_patch.py +0 -20
  207. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +0 -135
  208. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +0 -1310
  209. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +0 -135
  210. azure/mgmt/storage/v2017_06_01/models/__init__.py +0 -129
  211. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +0 -1843
  212. azure/mgmt/storage/v2017_06_01/models/_patch.py +0 -20
  213. azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py +0 -191
  214. azure/mgmt/storage/v2017_06_01/operations/__init__.py +0 -25
  215. azure/mgmt/storage/v2017_06_01/operations/_operations.py +0 -156
  216. azure/mgmt/storage/v2017_06_01/operations/_patch.py +0 -20
  217. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +0 -162
  218. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +0 -1647
  219. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +0 -162
  220. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -16
  221. azure/mgmt/storage/v2018_02_01/__init__.py +0 -26
  222. azure/mgmt/storage/v2018_02_01/_configuration.py +0 -65
  223. azure/mgmt/storage/v2018_02_01/_patch.py +0 -32
  224. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +0 -127
  225. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -16
  226. azure/mgmt/storage/v2018_02_01/_version.py +0 -9
  227. azure/mgmt/storage/v2018_02_01/aio/__init__.py +0 -23
  228. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +0 -65
  229. azure/mgmt/storage/v2018_02_01/aio/_patch.py +0 -32
  230. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +0 -131
  231. azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py +0 -27
  232. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +0 -1692
  233. azure/mgmt/storage/v2018_02_01/aio/operations/_patch.py +0 -20
  234. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +0 -135
  235. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +0 -1310
  236. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +0 -215
  237. azure/mgmt/storage/v2018_02_01/models/__init__.py +0 -171
  238. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +0 -2556
  239. azure/mgmt/storage/v2018_02_01/models/_patch.py +0 -20
  240. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -259
  241. azure/mgmt/storage/v2018_02_01/operations/__init__.py +0 -27
  242. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +0 -2178
  243. azure/mgmt/storage/v2018_02_01/operations/_operations.py +0 -156
  244. azure/mgmt/storage/v2018_02_01/operations/_patch.py +0 -20
  245. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +0 -162
  246. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +0 -1647
  247. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +0 -269
  248. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +0 -65
  249. azure/mgmt/storage/v2018_03_01_preview/_patch.py +0 -32
  250. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +0 -146
  251. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -16
  252. azure/mgmt/storage/v2018_03_01_preview/_version.py +0 -9
  253. azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py +0 -23
  254. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +0 -65
  255. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +0 -32
  256. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +0 -148
  257. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +0 -29
  258. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +0 -1721
  259. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +0 -357
  260. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +0 -137
  261. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_patch.py +0 -20
  262. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +0 -138
  263. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +0 -1635
  264. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +0 -221
  265. azure/mgmt/storage/v2018_03_01_preview/models/__init__.py +0 -181
  266. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +0 -2699
  267. azure/mgmt/storage/v2018_03_01_preview/models/_patch.py +0 -20
  268. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -265
  269. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +0 -29
  270. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +0 -2207
  271. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +0 -467
  272. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +0 -158
  273. azure/mgmt/storage/v2018_03_01_preview/operations/_patch.py +0 -20
  274. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +0 -164
  275. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +0 -2085
  276. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +0 -273
  277. azure/mgmt/storage/v2018_07_01/_patch.py +0 -32
  278. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +0 -139
  279. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -16
  280. azure/mgmt/storage/v2018_07_01/_version.py +0 -9
  281. azure/mgmt/storage/v2018_07_01/aio/__init__.py +0 -23
  282. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +0 -65
  283. azure/mgmt/storage/v2018_07_01/aio/_patch.py +0 -32
  284. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +0 -143
  285. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -29
  286. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +0 -1692
  287. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +0 -282
  288. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +0 -135
  289. azure/mgmt/storage/v2018_07_01/aio/operations/_patch.py +0 -20
  290. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +0 -135
  291. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +0 -1420
  292. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +0 -139
  293. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -185
  294. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +0 -2838
  295. azure/mgmt/storage/v2018_07_01/models/_patch.py +0 -20
  296. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -287
  297. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -29
  298. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +0 -2178
  299. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +0 -361
  300. azure/mgmt/storage/v2018_07_01/operations/_operations.py +0 -156
  301. azure/mgmt/storage/v2018_07_01/operations/_patch.py +0 -20
  302. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +0 -162
  303. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +0 -1792
  304. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +0 -169
  305. azure/mgmt/storage/v2018_11_01/__init__.py +0 -26
  306. azure/mgmt/storage/v2018_11_01/_configuration.py +0 -65
  307. azure/mgmt/storage/v2018_11_01/_patch.py +0 -32
  308. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +0 -146
  309. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -16
  310. azure/mgmt/storage/v2018_11_01/_version.py +0 -9
  311. azure/mgmt/storage/v2018_11_01/aio/__init__.py +0 -23
  312. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +0 -65
  313. azure/mgmt/storage/v2018_11_01/aio/_patch.py +0 -32
  314. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +0 -150
  315. azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py +0 -31
  316. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +0 -1696
  317. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +0 -282
  318. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +0 -135
  319. azure/mgmt/storage/v2018_11_01/aio/operations/_patch.py +0 -20
  320. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +0 -135
  321. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +0 -1477
  322. azure/mgmt/storage/v2018_11_01/models/__init__.py +0 -209
  323. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +0 -3194
  324. azure/mgmt/storage/v2018_11_01/models/_patch.py +0 -20
  325. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -299
  326. azure/mgmt/storage/v2018_11_01/operations/__init__.py +0 -31
  327. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +0 -2182
  328. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +0 -361
  329. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +0 -459
  330. azure/mgmt/storage/v2018_11_01/operations/_patch.py +0 -20
  331. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +0 -162
  332. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +0 -1875
  333. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +0 -169
  334. azure/mgmt/storage/v2019_04_01/__init__.py +0 -26
  335. azure/mgmt/storage/v2019_04_01/_configuration.py +0 -65
  336. azure/mgmt/storage/v2019_04_01/_patch.py +0 -32
  337. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +0 -158
  338. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -16
  339. azure/mgmt/storage/v2019_04_01/_version.py +0 -9
  340. azure/mgmt/storage/v2019_04_01/aio/__init__.py +0 -23
  341. azure/mgmt/storage/v2019_04_01/aio/_patch.py +0 -32
  342. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +0 -162
  343. azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py +0 -35
  344. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +0 -1746
  345. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +0 -375
  346. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +0 -341
  347. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +0 -625
  348. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +0 -349
  349. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +0 -135
  350. azure/mgmt/storage/v2019_04_01/aio/operations/_patch.py +0 -20
  351. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +0 -135
  352. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +0 -1483
  353. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +0 -139
  354. azure/mgmt/storage/v2019_04_01/models/__init__.py +0 -235
  355. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +0 -3799
  356. azure/mgmt/storage/v2019_04_01/models/_patch.py +0 -20
  357. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -326
  358. azure/mgmt/storage/v2019_04_01/operations/__init__.py +0 -35
  359. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +0 -2245
  360. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +0 -483
  361. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +0 -450
  362. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +0 -806
  363. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +0 -459
  364. azure/mgmt/storage/v2019_04_01/operations/_operations.py +0 -156
  365. azure/mgmt/storage/v2019_04_01/operations/_patch.py +0 -20
  366. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +0 -162
  367. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +0 -1888
  368. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -16
  369. azure/mgmt/storage/v2020_08_01_preview/__init__.py +0 -26
  370. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +0 -65
  371. azure/mgmt/storage/v2020_08_01_preview/_patch.py +0 -32
  372. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +0 -234
  373. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -16
  374. azure/mgmt/storage/v2020_08_01_preview/_version.py +0 -9
  375. azure/mgmt/storage/v2020_08_01_preview/aio/__init__.py +0 -23
  376. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +0 -65
  377. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +0 -32
  378. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +0 -237
  379. azure/mgmt/storage/v2020_08_01_preview/aio/operations/__init__.py +0 -55
  380. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +0 -1776
  381. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +0 -454
  382. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +0 -382
  383. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +0 -198
  384. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +0 -560
  385. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +0 -348
  386. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +0 -825
  387. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +0 -355
  388. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +0 -445
  389. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +0 -137
  390. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_patch.py +0 -20
  391. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +0 -441
  392. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +0 -119
  393. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +0 -618
  394. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +0 -348
  395. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +0 -138
  396. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +0 -1725
  397. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +0 -416
  398. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +0 -348
  399. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +0 -142
  400. azure/mgmt/storage/v2020_08_01_preview/models/__init__.py +0 -373
  401. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +0 -6344
  402. azure/mgmt/storage/v2020_08_01_preview/models/_patch.py +0 -20
  403. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -468
  404. azure/mgmt/storage/v2020_08_01_preview/operations/__init__.py +0 -55
  405. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +0 -2276
  406. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +0 -599
  407. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +0 -490
  408. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +0 -255
  409. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +0 -700
  410. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +0 -457
  411. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +0 -1072
  412. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +0 -465
  413. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +0 -584
  414. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +0 -158
  415. azure/mgmt/storage/v2020_08_01_preview/operations/_patch.py +0 -20
  416. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +0 -592
  417. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +0 -155
  418. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +0 -824
  419. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +0 -457
  420. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +0 -165
  421. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +0 -2170
  422. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +0 -582
  423. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +0 -457
  424. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +0 -171
  425. azure/mgmt/storage/v2021_01_01/__init__.py +0 -26
  426. azure/mgmt/storage/v2021_01_01/_configuration.py +0 -65
  427. azure/mgmt/storage/v2021_01_01/_patch.py +0 -32
  428. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +0 -219
  429. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -16
  430. azure/mgmt/storage/v2021_01_01/_version.py +0 -9
  431. azure/mgmt/storage/v2021_01_01/aio/__init__.py +0 -23
  432. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +0 -65
  433. azure/mgmt/storage/v2021_01_01/aio/_patch.py +0 -32
  434. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +0 -224
  435. azure/mgmt/storage/v2021_01_01/aio/operations/__init__.py +0 -55
  436. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +0 -1747
  437. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  438. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +0 -375
  439. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  440. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +0 -550
  441. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +0 -341
  442. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +0 -810
  443. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +0 -349
  444. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +0 -436
  445. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +0 -135
  446. azure/mgmt/storage/v2021_01_01/aio/operations/_patch.py +0 -20
  447. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  448. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  449. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +0 -608
  450. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +0 -341
  451. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +0 -136
  452. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +0 -1687
  453. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +0 -405
  454. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +0 -341
  455. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +0 -139
  456. azure/mgmt/storage/v2021_01_01/models/__init__.py +0 -381
  457. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +0 -6465
  458. azure/mgmt/storage/v2021_01_01/models/_patch.py +0 -20
  459. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -483
  460. azure/mgmt/storage/v2021_01_01/operations/__init__.py +0 -55
  461. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +0 -2246
  462. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +0 -590
  463. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +0 -483
  464. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +0 -250
  465. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +0 -689
  466. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +0 -450
  467. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +0 -1056
  468. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +0 -459
  469. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +0 -575
  470. azure/mgmt/storage/v2021_01_01/operations/_operations.py +0 -156
  471. azure/mgmt/storage/v2021_01_01/operations/_patch.py +0 -20
  472. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +0 -583
  473. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +0 -153
  474. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +0 -814
  475. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +0 -450
  476. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +0 -2124
  477. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +0 -572
  478. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +0 -450
  479. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +0 -169
  480. azure/mgmt/storage/v2021_02_01/__init__.py +0 -26
  481. azure/mgmt/storage/v2021_02_01/_configuration.py +0 -65
  482. azure/mgmt/storage/v2021_02_01/_patch.py +0 -32
  483. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +0 -219
  484. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -16
  485. azure/mgmt/storage/v2021_02_01/_version.py +0 -9
  486. azure/mgmt/storage/v2021_02_01/aio/__init__.py +0 -23
  487. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +0 -65
  488. azure/mgmt/storage/v2021_02_01/aio/_patch.py +0 -32
  489. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +0 -224
  490. azure/mgmt/storage/v2021_02_01/aio/operations/__init__.py +0 -55
  491. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +0 -1747
  492. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  493. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +0 -375
  494. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +0 -194
  495. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +0 -550
  496. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +0 -341
  497. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +0 -810
  498. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +0 -349
  499. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +0 -436
  500. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +0 -135
  501. azure/mgmt/storage/v2021_02_01/aio/operations/_patch.py +0 -20
  502. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  503. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +0 -117
  504. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +0 -341
  505. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +0 -136
  506. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +0 -1687
  507. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +0 -405
  508. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +0 -341
  509. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +0 -139
  510. azure/mgmt/storage/v2021_02_01/models/__init__.py +0 -389
  511. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +0 -6606
  512. azure/mgmt/storage/v2021_02_01/models/_patch.py +0 -20
  513. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -489
  514. azure/mgmt/storage/v2021_02_01/operations/__init__.py +0 -55
  515. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +0 -2246
  516. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +0 -590
  517. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +0 -483
  518. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +0 -689
  519. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +0 -450
  520. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +0 -1056
  521. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +0 -459
  522. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +0 -575
  523. azure/mgmt/storage/v2021_02_01/operations/_operations.py +0 -156
  524. azure/mgmt/storage/v2021_02_01/operations/_patch.py +0 -20
  525. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +0 -583
  526. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +0 -153
  527. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +0 -814
  528. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +0 -450
  529. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +0 -162
  530. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +0 -2124
  531. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +0 -572
  532. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +0 -450
  533. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +0 -169
  534. azure/mgmt/storage/v2021_04_01/__init__.py +0 -26
  535. azure/mgmt/storage/v2021_04_01/_configuration.py +0 -65
  536. azure/mgmt/storage/v2021_04_01/_patch.py +0 -32
  537. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +0 -219
  538. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -16
  539. azure/mgmt/storage/v2021_04_01/_version.py +0 -9
  540. azure/mgmt/storage/v2021_04_01/aio/__init__.py +0 -23
  541. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +0 -65
  542. azure/mgmt/storage/v2021_04_01/aio/_patch.py +0 -32
  543. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +0 -224
  544. azure/mgmt/storage/v2021_04_01/aio/operations/__init__.py +0 -55
  545. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +0 -1860
  546. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  547. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +0 -375
  548. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +0 -194
  549. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +0 -550
  550. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +0 -344
  551. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +0 -1010
  552. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +0 -349
  553. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +0 -446
  554. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +0 -135
  555. azure/mgmt/storage/v2021_04_01/aio/operations/_patch.py +0 -20
  556. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  557. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +0 -117
  558. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +0 -613
  559. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +0 -344
  560. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +0 -136
  561. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +0 -1687
  562. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +0 -410
  563. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +0 -344
  564. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +0 -139
  565. azure/mgmt/storage/v2021_04_01/models/__init__.py +0 -411
  566. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +0 -7083
  567. azure/mgmt/storage/v2021_04_01/models/_patch.py +0 -20
  568. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -528
  569. azure/mgmt/storage/v2021_04_01/operations/__init__.py +0 -55
  570. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +0 -2392
  571. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +0 -590
  572. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +0 -483
  573. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +0 -250
  574. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +0 -689
  575. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +0 -453
  576. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +0 -1303
  577. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +0 -459
  578. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +0 -585
  579. azure/mgmt/storage/v2021_04_01/operations/_operations.py +0 -156
  580. azure/mgmt/storage/v2021_04_01/operations/_patch.py +0 -20
  581. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +0 -583
  582. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +0 -153
  583. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +0 -819
  584. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +0 -453
  585. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +0 -162
  586. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +0 -2124
  587. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +0 -577
  588. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +0 -453
  589. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +0 -169
  590. azure/mgmt/storage/v2021_06_01/__init__.py +0 -26
  591. azure/mgmt/storage/v2021_06_01/_configuration.py +0 -65
  592. azure/mgmt/storage/v2021_06_01/_patch.py +0 -32
  593. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +0 -219
  594. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -16
  595. azure/mgmt/storage/v2021_06_01/_version.py +0 -9
  596. azure/mgmt/storage/v2021_06_01/aio/__init__.py +0 -23
  597. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +0 -65
  598. azure/mgmt/storage/v2021_06_01/aio/_patch.py +0 -32
  599. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +0 -224
  600. azure/mgmt/storage/v2021_06_01/aio/operations/__init__.py +0 -55
  601. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +0 -1838
  602. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  603. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +0 -550
  604. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +0 -331
  605. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +0 -1010
  606. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +0 -349
  607. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +0 -446
  608. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +0 -135
  609. azure/mgmt/storage/v2021_06_01/aio/operations/_patch.py +0 -20
  610. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +0 -613
  611. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +0 -331
  612. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +0 -1898
  613. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +0 -410
  614. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +0 -331
  615. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +0 -139
  616. azure/mgmt/storage/v2021_06_01/models/__init__.py +0 -419
  617. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +0 -7467
  618. azure/mgmt/storage/v2021_06_01/models/_patch.py +0 -20
  619. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -544
  620. azure/mgmt/storage/v2021_06_01/operations/__init__.py +0 -55
  621. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +0 -2370
  622. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +0 -590
  623. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +0 -464
  624. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +0 -250
  625. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +0 -689
  626. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +0 -434
  627. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +0 -1303
  628. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +0 -459
  629. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +0 -585
  630. azure/mgmt/storage/v2021_06_01/operations/_operations.py +0 -156
  631. azure/mgmt/storage/v2021_06_01/operations/_patch.py +0 -20
  632. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +0 -583
  633. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +0 -153
  634. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +0 -819
  635. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +0 -434
  636. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +0 -162
  637. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +0 -2400
  638. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +0 -577
  639. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +0 -434
  640. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +0 -169
  641. azure/mgmt/storage/v2021_08_01/__init__.py +0 -26
  642. azure/mgmt/storage/v2021_08_01/_configuration.py +0 -65
  643. azure/mgmt/storage/v2021_08_01/_patch.py +0 -32
  644. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +0 -225
  645. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -16
  646. azure/mgmt/storage/v2021_08_01/_version.py +0 -9
  647. azure/mgmt/storage/v2021_08_01/aio/__init__.py +0 -23
  648. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +0 -65
  649. azure/mgmt/storage/v2021_08_01/aio/_patch.py +0 -32
  650. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +0 -230
  651. azure/mgmt/storage/v2021_08_01/aio/operations/__init__.py +0 -57
  652. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  653. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +0 -362
  654. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +0 -194
  655. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +0 -550
  656. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +0 -560
  657. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +0 -349
  658. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +0 -135
  659. azure/mgmt/storage/v2021_08_01/aio/operations/_patch.py +0 -20
  660. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  661. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +0 -117
  662. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +0 -608
  663. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +0 -328
  664. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +0 -136
  665. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +0 -1898
  666. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +0 -405
  667. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +0 -328
  668. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +0 -139
  669. azure/mgmt/storage/v2021_08_01/models/__init__.py +0 -431
  670. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +0 -7738
  671. azure/mgmt/storage/v2021_08_01/models/_patch.py +0 -20
  672. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -560
  673. azure/mgmt/storage/v2021_08_01/operations/__init__.py +0 -57
  674. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +0 -2370
  675. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +0 -590
  676. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +0 -464
  677. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +0 -250
  678. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +0 -689
  679. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +0 -431
  680. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +0 -1296
  681. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +0 -758
  682. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +0 -459
  683. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +0 -585
  684. azure/mgmt/storage/v2021_08_01/operations/_operations.py +0 -156
  685. azure/mgmt/storage/v2021_08_01/operations/_patch.py +0 -20
  686. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +0 -583
  687. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +0 -153
  688. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +0 -814
  689. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +0 -431
  690. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +0 -162
  691. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +0 -2400
  692. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +0 -572
  693. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +0 -431
  694. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +0 -169
  695. azure/mgmt/storage/v2021_09_01/__init__.py +0 -26
  696. azure/mgmt/storage/v2021_09_01/_configuration.py +0 -65
  697. azure/mgmt/storage/v2021_09_01/_patch.py +0 -32
  698. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +0 -225
  699. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -16
  700. azure/mgmt/storage/v2021_09_01/_version.py +0 -9
  701. azure/mgmt/storage/v2021_09_01/aio/__init__.py +0 -23
  702. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +0 -65
  703. azure/mgmt/storage/v2021_09_01/aio/_patch.py +0 -32
  704. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +0 -230
  705. azure/mgmt/storage/v2021_09_01/aio/operations/__init__.py +0 -57
  706. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  707. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +0 -362
  708. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  709. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +0 -550
  710. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +0 -328
  711. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +0 -1003
  712. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +0 -560
  713. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +0 -349
  714. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  715. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +0 -135
  716. azure/mgmt/storage/v2021_09_01/aio/operations/_patch.py +0 -20
  717. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  718. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  719. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +0 -608
  720. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +0 -136
  721. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +0 -1898
  722. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +0 -139
  723. azure/mgmt/storage/v2021_09_01/models/__init__.py +0 -441
  724. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +0 -8069
  725. azure/mgmt/storage/v2021_09_01/models/_patch.py +0 -20
  726. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -583
  727. azure/mgmt/storage/v2021_09_01/operations/__init__.py +0 -57
  728. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +0 -2370
  729. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  730. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +0 -464
  731. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +0 -250
  732. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +0 -689
  733. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +0 -431
  734. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +0 -1296
  735. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +0 -758
  736. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +0 -459
  737. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +0 -585
  738. azure/mgmt/storage/v2021_09_01/operations/_operations.py +0 -156
  739. azure/mgmt/storage/v2021_09_01/operations/_patch.py +0 -20
  740. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  741. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +0 -153
  742. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +0 -814
  743. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +0 -431
  744. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +0 -162
  745. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +0 -2400
  746. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +0 -765
  747. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +0 -431
  748. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +0 -169
  749. azure/mgmt/storage/v2022_05_01/__init__.py +0 -26
  750. azure/mgmt/storage/v2022_05_01/_configuration.py +0 -65
  751. azure/mgmt/storage/v2022_05_01/_patch.py +0 -20
  752. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +0 -225
  753. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -16
  754. azure/mgmt/storage/v2022_05_01/_version.py +0 -9
  755. azure/mgmt/storage/v2022_05_01/aio/__init__.py +0 -23
  756. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +0 -65
  757. azure/mgmt/storage/v2022_05_01/aio/_patch.py +0 -20
  758. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +0 -230
  759. azure/mgmt/storage/v2022_05_01/aio/operations/__init__.py +0 -57
  760. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +0 -1838
  761. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  762. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +0 -362
  763. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
  764. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +0 -550
  765. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +0 -328
  766. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +0 -1003
  767. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +0 -560
  768. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +0 -349
  769. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
  770. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +0 -135
  771. azure/mgmt/storage/v2022_05_01/aio/operations/_patch.py +0 -20
  772. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  773. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +0 -117
  774. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +0 -608
  775. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +0 -328
  776. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +0 -136
  777. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +0 -1898
  778. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +0 -588
  779. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +0 -328
  780. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +0 -139
  781. azure/mgmt/storage/v2022_05_01/models/__init__.py +0 -441
  782. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +0 -8057
  783. azure/mgmt/storage/v2022_05_01/models/_patch.py +0 -20
  784. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -584
  785. azure/mgmt/storage/v2022_05_01/operations/__init__.py +0 -57
  786. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +0 -2370
  787. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +0 -587
  788. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +0 -464
  789. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +0 -250
  790. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +0 -689
  791. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +0 -431
  792. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +0 -1296
  793. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +0 -758
  794. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +0 -459
  795. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +0 -585
  796. azure/mgmt/storage/v2022_05_01/operations/_operations.py +0 -156
  797. azure/mgmt/storage/v2022_05_01/operations/_patch.py +0 -20
  798. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +0 -583
  799. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +0 -153
  800. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +0 -814
  801. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +0 -431
  802. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +0 -162
  803. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +0 -2400
  804. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +0 -765
  805. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +0 -431
  806. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +0 -169
  807. azure/mgmt/storage/v2022_09_01/__init__.py +0 -26
  808. azure/mgmt/storage/v2022_09_01/_configuration.py +0 -65
  809. azure/mgmt/storage/v2022_09_01/_patch.py +0 -20
  810. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +0 -225
  811. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -16
  812. azure/mgmt/storage/v2022_09_01/_version.py +0 -9
  813. azure/mgmt/storage/v2022_09_01/aio/__init__.py +0 -23
  814. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +0 -65
  815. azure/mgmt/storage/v2022_09_01/aio/_patch.py +0 -20
  816. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +0 -230
  817. azure/mgmt/storage/v2022_09_01/aio/operations/__init__.py +0 -57
  818. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  819. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  820. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +0 -362
  821. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  822. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +0 -328
  823. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +0 -1003
  824. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +0 -560
  825. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +0 -349
  826. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  827. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +0 -135
  828. azure/mgmt/storage/v2022_09_01/aio/operations/_patch.py +0 -20
  829. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  830. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  831. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +0 -608
  832. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +0 -328
  833. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +0 -136
  834. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +0 -1913
  835. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +0 -588
  836. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +0 -328
  837. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +0 -139
  838. azure/mgmt/storage/v2022_09_01/models/__init__.py +0 -443
  839. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +0 -8093
  840. azure/mgmt/storage/v2022_09_01/models/_patch.py +0 -20
  841. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -592
  842. azure/mgmt/storage/v2022_09_01/operations/__init__.py +0 -57
  843. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +0 -2370
  844. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  845. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +0 -464
  846. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +0 -250
  847. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +0 -724
  848. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +0 -431
  849. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +0 -1296
  850. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +0 -758
  851. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +0 -459
  852. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +0 -585
  853. azure/mgmt/storage/v2022_09_01/operations/_operations.py +0 -156
  854. azure/mgmt/storage/v2022_09_01/operations/_patch.py +0 -20
  855. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  856. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +0 -153
  857. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +0 -814
  858. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +0 -431
  859. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +0 -162
  860. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +0 -2422
  861. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +0 -765
  862. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +0 -431
  863. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +0 -169
  864. azure/mgmt/storage/v2023_01_01/__init__.py +0 -26
  865. azure/mgmt/storage/v2023_01_01/_configuration.py +0 -65
  866. azure/mgmt/storage/v2023_01_01/_patch.py +0 -20
  867. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +0 -225
  868. azure/mgmt/storage/v2023_01_01/_vendor.py +0 -16
  869. azure/mgmt/storage/v2023_01_01/_version.py +0 -9
  870. azure/mgmt/storage/v2023_01_01/aio/__init__.py +0 -23
  871. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +0 -65
  872. azure/mgmt/storage/v2023_01_01/aio/_patch.py +0 -20
  873. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +0 -230
  874. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +0 -57
  875. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +0 -1838
  876. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  877. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +0 -362
  878. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  879. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +0 -568
  880. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +0 -328
  881. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +0 -1003
  882. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +0 -560
  883. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +0 -349
  884. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +0 -446
  885. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +0 -135
  886. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +0 -20
  887. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  888. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  889. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +0 -608
  890. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +0 -328
  891. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +0 -136
  892. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +0 -588
  893. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +0 -328
  894. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +0 -139
  895. azure/mgmt/storage/v2023_01_01/models/__init__.py +0 -461
  896. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +0 -8338
  897. azure/mgmt/storage/v2023_01_01/models/_patch.py +0 -20
  898. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -626
  899. azure/mgmt/storage/v2023_01_01/operations/__init__.py +0 -57
  900. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +0 -250
  901. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +0 -437
  902. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +0 -770
  903. azure/mgmt/storage/v2023_01_01/operations/_operations.py +0 -156
  904. azure/mgmt/storage/v2023_01_01/operations/_patch.py +0 -20
  905. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +0 -162
  906. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +0 -169
  907. azure/mgmt/storage/v2023_05_01/__init__.py +0 -26
  908. azure/mgmt/storage/v2023_05_01/_configuration.py +0 -65
  909. azure/mgmt/storage/v2023_05_01/_patch.py +0 -20
  910. azure/mgmt/storage/v2023_05_01/_vendor.py +0 -16
  911. azure/mgmt/storage/v2023_05_01/_version.py +0 -9
  912. azure/mgmt/storage/v2023_05_01/aio/__init__.py +0 -23
  913. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +0 -65
  914. azure/mgmt/storage/v2023_05_01/aio/_patch.py +0 -20
  915. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +0 -1838
  916. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  917. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +0 -362
  918. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
  919. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +0 -568
  920. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +0 -328
  921. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +0 -1003
  922. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +0 -349
  923. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
  924. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +0 -135
  925. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +0 -20
  926. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  927. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +0 -117
  928. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +0 -608
  929. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +0 -328
  930. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +0 -136
  931. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +0 -2187
  932. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +0 -588
  933. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +0 -328
  934. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +0 -139
  935. azure/mgmt/storage/v2023_05_01/models/__init__.py +0 -537
  936. azure/mgmt/storage/v2023_05_01/models/_patch.py +0 -20
  937. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +0 -2398
  938. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +0 -595
  939. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +0 -470
  940. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +0 -250
  941. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +0 -732
  942. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +0 -437
  943. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +0 -1310
  944. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +0 -465
  945. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +0 -593
  946. azure/mgmt/storage/v2023_05_01/operations/_operations.py +0 -156
  947. azure/mgmt/storage/v2023_05_01/operations/_patch.py +0 -20
  948. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +0 -591
  949. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +0 -155
  950. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +0 -824
  951. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +0 -437
  952. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +0 -162
  953. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +0 -2796
  954. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +0 -437
  955. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +0 -169
  956. azure_mgmt_storage-21.2.1.dist-info/RECORD +0 -979
  957. /azure/mgmt/storage/{v2015_06_15/aio/operations → v2024_01_01}/_patch.py +0 -0
  958. /azure/mgmt/storage/{v2015_06_15/models → v2024_01_01/aio}/_patch.py +0 -0
  959. /azure/mgmt/storage/{v2015_06_15 → v2024_01_01/aio}/operations/_patch.py +0 -0
  960. /azure/mgmt/storage/{v2016_12_01/aio/operations → v2024_01_01/models}/_patch.py +0 -0
  961. /azure/mgmt/storage/{v2016_12_01/models → v2024_01_01/operations}/_patch.py +0 -0
  962. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/LICENSE +0 -0
  963. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/top_level.txt +0 -0
@@ -1,3194 +0,0 @@
1
- # coding=utf-8
2
- # pylint: disable=too-many-lines
3
- # --------------------------------------------------------------------------
4
- # Copyright (c) Microsoft Corporation. All rights reserved.
5
- # Licensed under the MIT License. See License.txt in the project root for license information.
6
- # Code generated by Microsoft (R) AutoRest Code Generator.
7
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- # --------------------------------------------------------------------------
9
-
10
- import datetime
11
- from typing import Any, Dict, List, Literal, Optional, TYPE_CHECKING, Union
12
-
13
- from ... import _serialization
14
-
15
- if TYPE_CHECKING:
16
- # pylint: disable=unused-import,ungrouped-imports
17
- from .. import models as _models
18
-
19
-
20
- class AccountSasParameters(_serialization.Model):
21
- """The parameters to list SAS credentials of a storage account.
22
-
23
- All required parameters must be populated in order to send to server.
24
-
25
- :ivar services: The signed services accessible with the account SAS. Possible values include:
26
- Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t", and "f".
27
- :vartype services: str or ~azure.mgmt.storage.v2018_11_01.models.Services
28
- :ivar resource_types: The signed resource types that are accessible with the account SAS.
29
- Service (s): Access to service-level APIs; Container (c): Access to container-level APIs;
30
- Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
31
- Required. Known values are: "s", "c", and "o".
32
- :vartype resource_types: str or ~azure.mgmt.storage.v2018_11_01.models.SignedResourceTypes
33
- :ivar permissions: The signed permissions for the account SAS. Possible values include: Read
34
- (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
35
- Required. Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".
36
- :vartype permissions: str or ~azure.mgmt.storage.v2018_11_01.models.Permissions
37
- :ivar ip_address_or_range: An IP address or a range of IP addresses from which to accept
38
- requests.
39
- :vartype ip_address_or_range: str
40
- :ivar protocols: The protocol permitted for a request made with the account SAS. Known values
41
- are: "https,http" and "https".
42
- :vartype protocols: str or ~azure.mgmt.storage.v2018_11_01.models.HttpProtocol
43
- :ivar shared_access_start_time: The time at which the SAS becomes valid.
44
- :vartype shared_access_start_time: ~datetime.datetime
45
- :ivar shared_access_expiry_time: The time at which the shared access signature becomes invalid.
46
- Required.
47
- :vartype shared_access_expiry_time: ~datetime.datetime
48
- :ivar key_to_sign: The key to sign the account SAS token with.
49
- :vartype key_to_sign: str
50
- """
51
-
52
- _validation = {
53
- "services": {"required": True},
54
- "resource_types": {"required": True},
55
- "permissions": {"required": True},
56
- "shared_access_expiry_time": {"required": True},
57
- }
58
-
59
- _attribute_map = {
60
- "services": {"key": "signedServices", "type": "str"},
61
- "resource_types": {"key": "signedResourceTypes", "type": "str"},
62
- "permissions": {"key": "signedPermission", "type": "str"},
63
- "ip_address_or_range": {"key": "signedIp", "type": "str"},
64
- "protocols": {"key": "signedProtocol", "type": "str"},
65
- "shared_access_start_time": {"key": "signedStart", "type": "iso-8601"},
66
- "shared_access_expiry_time": {"key": "signedExpiry", "type": "iso-8601"},
67
- "key_to_sign": {"key": "keyToSign", "type": "str"},
68
- }
69
-
70
- def __init__(
71
- self,
72
- *,
73
- services: Union[str, "_models.Services"],
74
- resource_types: Union[str, "_models.SignedResourceTypes"],
75
- permissions: Union[str, "_models.Permissions"],
76
- shared_access_expiry_time: datetime.datetime,
77
- ip_address_or_range: Optional[str] = None,
78
- protocols: Optional[Union[str, "_models.HttpProtocol"]] = None,
79
- shared_access_start_time: Optional[datetime.datetime] = None,
80
- key_to_sign: Optional[str] = None,
81
- **kwargs: Any
82
- ) -> None:
83
- """
84
- :keyword services: The signed services accessible with the account SAS. Possible values
85
- include: Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t",
86
- and "f".
87
- :paramtype services: str or ~azure.mgmt.storage.v2018_11_01.models.Services
88
- :keyword resource_types: The signed resource types that are accessible with the account SAS.
89
- Service (s): Access to service-level APIs; Container (c): Access to container-level APIs;
90
- Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
91
- Required. Known values are: "s", "c", and "o".
92
- :paramtype resource_types: str or ~azure.mgmt.storage.v2018_11_01.models.SignedResourceTypes
93
- :keyword permissions: The signed permissions for the account SAS. Possible values include: Read
94
- (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
95
- Required. Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".
96
- :paramtype permissions: str or ~azure.mgmt.storage.v2018_11_01.models.Permissions
97
- :keyword ip_address_or_range: An IP address or a range of IP addresses from which to accept
98
- requests.
99
- :paramtype ip_address_or_range: str
100
- :keyword protocols: The protocol permitted for a request made with the account SAS. Known
101
- values are: "https,http" and "https".
102
- :paramtype protocols: str or ~azure.mgmt.storage.v2018_11_01.models.HttpProtocol
103
- :keyword shared_access_start_time: The time at which the SAS becomes valid.
104
- :paramtype shared_access_start_time: ~datetime.datetime
105
- :keyword shared_access_expiry_time: The time at which the shared access signature becomes
106
- invalid. Required.
107
- :paramtype shared_access_expiry_time: ~datetime.datetime
108
- :keyword key_to_sign: The key to sign the account SAS token with.
109
- :paramtype key_to_sign: str
110
- """
111
- super().__init__(**kwargs)
112
- self.services = services
113
- self.resource_types = resource_types
114
- self.permissions = permissions
115
- self.ip_address_or_range = ip_address_or_range
116
- self.protocols = protocols
117
- self.shared_access_start_time = shared_access_start_time
118
- self.shared_access_expiry_time = shared_access_expiry_time
119
- self.key_to_sign = key_to_sign
120
-
121
-
122
- class Resource(_serialization.Model):
123
- """Common fields that are returned in the response for all Azure Resource Manager resources.
124
-
125
- Variables are only populated by the server, and will be ignored when sending a request.
126
-
127
- :ivar id: Fully qualified resource ID for the resource. Ex -
128
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
129
- :vartype id: str
130
- :ivar name: The name of the resource.
131
- :vartype name: str
132
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
133
- "Microsoft.Storage/storageAccounts".
134
- :vartype type: str
135
- """
136
-
137
- _validation = {
138
- "id": {"readonly": True},
139
- "name": {"readonly": True},
140
- "type": {"readonly": True},
141
- }
142
-
143
- _attribute_map = {
144
- "id": {"key": "id", "type": "str"},
145
- "name": {"key": "name", "type": "str"},
146
- "type": {"key": "type", "type": "str"},
147
- }
148
-
149
- def __init__(self, **kwargs: Any) -> None:
150
- """ """
151
- super().__init__(**kwargs)
152
- self.id = None
153
- self.name = None
154
- self.type = None
155
-
156
-
157
- class AzureEntityResource(Resource):
158
- """The resource model definition for an Azure Resource Manager resource with an etag.
159
-
160
- Variables are only populated by the server, and will be ignored when sending a request.
161
-
162
- :ivar id: Fully qualified resource ID for the resource. Ex -
163
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
164
- :vartype id: str
165
- :ivar name: The name of the resource.
166
- :vartype name: str
167
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
168
- "Microsoft.Storage/storageAccounts".
169
- :vartype type: str
170
- :ivar etag: Resource Etag.
171
- :vartype etag: str
172
- """
173
-
174
- _validation = {
175
- "id": {"readonly": True},
176
- "name": {"readonly": True},
177
- "type": {"readonly": True},
178
- "etag": {"readonly": True},
179
- }
180
-
181
- _attribute_map = {
182
- "id": {"key": "id", "type": "str"},
183
- "name": {"key": "name", "type": "str"},
184
- "type": {"key": "type", "type": "str"},
185
- "etag": {"key": "etag", "type": "str"},
186
- }
187
-
188
- def __init__(self, **kwargs: Any) -> None:
189
- """ """
190
- super().__init__(**kwargs)
191
- self.etag = None
192
-
193
-
194
- class BlobContainer(AzureEntityResource): # pylint: disable=too-many-instance-attributes
195
- """Properties of the blob container, including Id, resource name, resource type, Etag.
196
-
197
- Variables are only populated by the server, and will be ignored when sending a request.
198
-
199
- :ivar id: Fully qualified resource ID for the resource. Ex -
200
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
201
- :vartype id: str
202
- :ivar name: The name of the resource.
203
- :vartype name: str
204
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
205
- "Microsoft.Storage/storageAccounts".
206
- :vartype type: str
207
- :ivar etag: Resource Etag.
208
- :vartype etag: str
209
- :ivar public_access: Specifies whether data in the container may be accessed publicly and the
210
- level of access. Known values are: "Container", "Blob", and "None".
211
- :vartype public_access: str or ~azure.mgmt.storage.v2018_11_01.models.PublicAccess
212
- :ivar last_modified_time: Returns the date and time the container was last modified.
213
- :vartype last_modified_time: ~datetime.datetime
214
- :ivar lease_status: The lease status of the container. Known values are: "Locked" and
215
- "Unlocked".
216
- :vartype lease_status: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseStatus
217
- :ivar lease_state: Lease state of the container. Known values are: "Available", "Leased",
218
- "Expired", "Breaking", and "Broken".
219
- :vartype lease_state: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseState
220
- :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed
221
- duration, only when the container is leased. Known values are: "Infinite" and "Fixed".
222
- :vartype lease_duration: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseDuration
223
- :ivar metadata: A name-value pair to associate with the container as metadata.
224
- :vartype metadata: dict[str, str]
225
- :ivar immutability_policy: The ImmutabilityPolicy property of the container.
226
- :vartype immutability_policy:
227
- ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicyProperties
228
- :ivar legal_hold: The LegalHold property of the container.
229
- :vartype legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHoldProperties
230
- :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
231
- least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
232
- legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
233
- hasLegalHold=true for a given account.
234
- :vartype has_legal_hold: bool
235
- :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP
236
- if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public
237
- property is set to false by SRP if ImmutabilityPolicy has not been created for this container.
238
- :vartype has_immutability_policy: bool
239
- """
240
-
241
- _validation = {
242
- "id": {"readonly": True},
243
- "name": {"readonly": True},
244
- "type": {"readonly": True},
245
- "etag": {"readonly": True},
246
- "last_modified_time": {"readonly": True},
247
- "lease_status": {"readonly": True},
248
- "lease_state": {"readonly": True},
249
- "lease_duration": {"readonly": True},
250
- "immutability_policy": {"readonly": True},
251
- "legal_hold": {"readonly": True},
252
- "has_legal_hold": {"readonly": True},
253
- "has_immutability_policy": {"readonly": True},
254
- }
255
-
256
- _attribute_map = {
257
- "id": {"key": "id", "type": "str"},
258
- "name": {"key": "name", "type": "str"},
259
- "type": {"key": "type", "type": "str"},
260
- "etag": {"key": "etag", "type": "str"},
261
- "public_access": {"key": "properties.publicAccess", "type": "str"},
262
- "last_modified_time": {"key": "properties.lastModifiedTime", "type": "iso-8601"},
263
- "lease_status": {"key": "properties.leaseStatus", "type": "str"},
264
- "lease_state": {"key": "properties.leaseState", "type": "str"},
265
- "lease_duration": {"key": "properties.leaseDuration", "type": "str"},
266
- "metadata": {"key": "properties.metadata", "type": "{str}"},
267
- "immutability_policy": {"key": "properties.immutabilityPolicy", "type": "ImmutabilityPolicyProperties"},
268
- "legal_hold": {"key": "properties.legalHold", "type": "LegalHoldProperties"},
269
- "has_legal_hold": {"key": "properties.hasLegalHold", "type": "bool"},
270
- "has_immutability_policy": {"key": "properties.hasImmutabilityPolicy", "type": "bool"},
271
- }
272
-
273
- def __init__(
274
- self,
275
- *,
276
- public_access: Optional[Union[str, "_models.PublicAccess"]] = None,
277
- metadata: Optional[Dict[str, str]] = None,
278
- **kwargs: Any
279
- ) -> None:
280
- """
281
- :keyword public_access: Specifies whether data in the container may be accessed publicly and
282
- the level of access. Known values are: "Container", "Blob", and "None".
283
- :paramtype public_access: str or ~azure.mgmt.storage.v2018_11_01.models.PublicAccess
284
- :keyword metadata: A name-value pair to associate with the container as metadata.
285
- :paramtype metadata: dict[str, str]
286
- """
287
- super().__init__(**kwargs)
288
- self.public_access = public_access
289
- self.last_modified_time = None
290
- self.lease_status = None
291
- self.lease_state = None
292
- self.lease_duration = None
293
- self.metadata = metadata
294
- self.immutability_policy = None
295
- self.legal_hold = None
296
- self.has_legal_hold = None
297
- self.has_immutability_policy = None
298
-
299
-
300
- class BlobServiceProperties(Resource):
301
- """The properties of a storage account’s Blob service.
302
-
303
- Variables are only populated by the server, and will be ignored when sending a request.
304
-
305
- :ivar id: Fully qualified resource ID for the resource. Ex -
306
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
307
- :vartype id: str
308
- :ivar name: The name of the resource.
309
- :vartype name: str
310
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
311
- "Microsoft.Storage/storageAccounts".
312
- :vartype type: str
313
- :ivar cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule
314
- elements in the request. If no CorsRule elements are included in the request body, all CORS
315
- rules will be deleted, and CORS will be disabled for the Blob service.
316
- :vartype cors: ~azure.mgmt.storage.v2018_11_01.models.CorsRules
317
- :ivar default_service_version: DefaultServiceVersion indicates the default version to use for
318
- requests to the Blob service if an incoming request’s version is not specified. Possible values
319
- include version 2008-10-27 and all more recent versions.
320
- :vartype default_service_version: str
321
- :ivar delete_retention_policy: The blob service properties for soft delete.
322
- :vartype delete_retention_policy: ~azure.mgmt.storage.v2018_11_01.models.DeleteRetentionPolicy
323
- """
324
-
325
- _validation = {
326
- "id": {"readonly": True},
327
- "name": {"readonly": True},
328
- "type": {"readonly": True},
329
- }
330
-
331
- _attribute_map = {
332
- "id": {"key": "id", "type": "str"},
333
- "name": {"key": "name", "type": "str"},
334
- "type": {"key": "type", "type": "str"},
335
- "cors": {"key": "properties.cors", "type": "CorsRules"},
336
- "default_service_version": {"key": "properties.defaultServiceVersion", "type": "str"},
337
- "delete_retention_policy": {"key": "properties.deleteRetentionPolicy", "type": "DeleteRetentionPolicy"},
338
- }
339
-
340
- def __init__(
341
- self,
342
- *,
343
- cors: Optional["_models.CorsRules"] = None,
344
- default_service_version: Optional[str] = None,
345
- delete_retention_policy: Optional["_models.DeleteRetentionPolicy"] = None,
346
- **kwargs: Any
347
- ) -> None:
348
- """
349
- :keyword cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule
350
- elements in the request. If no CorsRule elements are included in the request body, all CORS
351
- rules will be deleted, and CORS will be disabled for the Blob service.
352
- :paramtype cors: ~azure.mgmt.storage.v2018_11_01.models.CorsRules
353
- :keyword default_service_version: DefaultServiceVersion indicates the default version to use
354
- for requests to the Blob service if an incoming request’s version is not specified. Possible
355
- values include version 2008-10-27 and all more recent versions.
356
- :paramtype default_service_version: str
357
- :keyword delete_retention_policy: The blob service properties for soft delete.
358
- :paramtype delete_retention_policy:
359
- ~azure.mgmt.storage.v2018_11_01.models.DeleteRetentionPolicy
360
- """
361
- super().__init__(**kwargs)
362
- self.cors = cors
363
- self.default_service_version = default_service_version
364
- self.delete_retention_policy = delete_retention_policy
365
-
366
-
367
- class CheckNameAvailabilityResult(_serialization.Model):
368
- """The CheckNameAvailability operation response.
369
-
370
- Variables are only populated by the server, and will be ignored when sending a request.
371
-
372
- :ivar name_available: Gets a boolean value that indicates whether the name is available for you
373
- to use. If true, the name is available. If false, the name has already been taken or is invalid
374
- and cannot be used.
375
- :vartype name_available: bool
376
- :ivar reason: Gets the reason that a storage account name could not be used. The Reason element
377
- is only returned if NameAvailable is false. Known values are: "AccountNameInvalid" and
378
- "AlreadyExists".
379
- :vartype reason: str or ~azure.mgmt.storage.v2018_11_01.models.Reason
380
- :ivar message: Gets an error message explaining the Reason value in more detail.
381
- :vartype message: str
382
- """
383
-
384
- _validation = {
385
- "name_available": {"readonly": True},
386
- "reason": {"readonly": True},
387
- "message": {"readonly": True},
388
- }
389
-
390
- _attribute_map = {
391
- "name_available": {"key": "nameAvailable", "type": "bool"},
392
- "reason": {"key": "reason", "type": "str"},
393
- "message": {"key": "message", "type": "str"},
394
- }
395
-
396
- def __init__(self, **kwargs: Any) -> None:
397
- """ """
398
- super().__init__(**kwargs)
399
- self.name_available = None
400
- self.reason = None
401
- self.message = None
402
-
403
-
404
- class CorsRule(_serialization.Model):
405
- """Specifies a CORS rule for the Blob service.
406
-
407
- All required parameters must be populated in order to send to server.
408
-
409
- :ivar allowed_origins: Required if CorsRule element is present. A list of origin domains that
410
- will be allowed via CORS, or "*" to allow all domains. Required.
411
- :vartype allowed_origins: list[str]
412
- :ivar allowed_methods: Required if CorsRule element is present. A list of HTTP methods that are
413
- allowed to be executed by the origin. Required.
414
- :vartype allowed_methods: list[str or
415
- ~azure.mgmt.storage.v2018_11_01.models.CorsRuleAllowedMethodsItem]
416
- :ivar max_age_in_seconds: Required if CorsRule element is present. The number of seconds that
417
- the client/browser should cache a preflight response. Required.
418
- :vartype max_age_in_seconds: int
419
- :ivar exposed_headers: Required if CorsRule element is present. A list of response headers to
420
- expose to CORS clients. Required.
421
- :vartype exposed_headers: list[str]
422
- :ivar allowed_headers: Required if CorsRule element is present. A list of headers allowed to be
423
- part of the cross-origin request. Required.
424
- :vartype allowed_headers: list[str]
425
- """
426
-
427
- _validation = {
428
- "allowed_origins": {"required": True},
429
- "allowed_methods": {"required": True},
430
- "max_age_in_seconds": {"required": True},
431
- "exposed_headers": {"required": True},
432
- "allowed_headers": {"required": True},
433
- }
434
-
435
- _attribute_map = {
436
- "allowed_origins": {"key": "allowedOrigins", "type": "[str]"},
437
- "allowed_methods": {"key": "allowedMethods", "type": "[str]"},
438
- "max_age_in_seconds": {"key": "maxAgeInSeconds", "type": "int"},
439
- "exposed_headers": {"key": "exposedHeaders", "type": "[str]"},
440
- "allowed_headers": {"key": "allowedHeaders", "type": "[str]"},
441
- }
442
-
443
- def __init__(
444
- self,
445
- *,
446
- allowed_origins: List[str],
447
- allowed_methods: List[Union[str, "_models.CorsRuleAllowedMethodsItem"]],
448
- max_age_in_seconds: int,
449
- exposed_headers: List[str],
450
- allowed_headers: List[str],
451
- **kwargs: Any
452
- ) -> None:
453
- """
454
- :keyword allowed_origins: Required if CorsRule element is present. A list of origin domains
455
- that will be allowed via CORS, or "*" to allow all domains. Required.
456
- :paramtype allowed_origins: list[str]
457
- :keyword allowed_methods: Required if CorsRule element is present. A list of HTTP methods that
458
- are allowed to be executed by the origin. Required.
459
- :paramtype allowed_methods: list[str or
460
- ~azure.mgmt.storage.v2018_11_01.models.CorsRuleAllowedMethodsItem]
461
- :keyword max_age_in_seconds: Required if CorsRule element is present. The number of seconds
462
- that the client/browser should cache a preflight response. Required.
463
- :paramtype max_age_in_seconds: int
464
- :keyword exposed_headers: Required if CorsRule element is present. A list of response headers
465
- to expose to CORS clients. Required.
466
- :paramtype exposed_headers: list[str]
467
- :keyword allowed_headers: Required if CorsRule element is present. A list of headers allowed to
468
- be part of the cross-origin request. Required.
469
- :paramtype allowed_headers: list[str]
470
- """
471
- super().__init__(**kwargs)
472
- self.allowed_origins = allowed_origins
473
- self.allowed_methods = allowed_methods
474
- self.max_age_in_seconds = max_age_in_seconds
475
- self.exposed_headers = exposed_headers
476
- self.allowed_headers = allowed_headers
477
-
478
-
479
- class CorsRules(_serialization.Model):
480
- """Sets the CORS rules. You can include up to five CorsRule elements in the request.
481
-
482
- :ivar cors_rules: The List of CORS rules. You can include up to five CorsRule elements in the
483
- request.
484
- :vartype cors_rules: list[~azure.mgmt.storage.v2018_11_01.models.CorsRule]
485
- """
486
-
487
- _attribute_map = {
488
- "cors_rules": {"key": "corsRules", "type": "[CorsRule]"},
489
- }
490
-
491
- def __init__(self, *, cors_rules: Optional[List["_models.CorsRule"]] = None, **kwargs: Any) -> None:
492
- """
493
- :keyword cors_rules: The List of CORS rules. You can include up to five CorsRule elements in
494
- the request.
495
- :paramtype cors_rules: list[~azure.mgmt.storage.v2018_11_01.models.CorsRule]
496
- """
497
- super().__init__(**kwargs)
498
- self.cors_rules = cors_rules
499
-
500
-
501
- class CustomDomain(_serialization.Model):
502
- """The custom domain assigned to this storage account. This can be set via Update.
503
-
504
- All required parameters must be populated in order to send to server.
505
-
506
- :ivar name: Gets or sets the custom domain name assigned to the storage account. Name is the
507
- CNAME source. Required.
508
- :vartype name: str
509
- :ivar use_sub_domain_name: Indicates whether indirect CName validation is enabled. Default
510
- value is false. This should only be set on updates.
511
- :vartype use_sub_domain_name: bool
512
- """
513
-
514
- _validation = {
515
- "name": {"required": True},
516
- }
517
-
518
- _attribute_map = {
519
- "name": {"key": "name", "type": "str"},
520
- "use_sub_domain_name": {"key": "useSubDomainName", "type": "bool"},
521
- }
522
-
523
- def __init__(self, *, name: str, use_sub_domain_name: Optional[bool] = None, **kwargs: Any) -> None:
524
- """
525
- :keyword name: Gets or sets the custom domain name assigned to the storage account. Name is the
526
- CNAME source. Required.
527
- :paramtype name: str
528
- :keyword use_sub_domain_name: Indicates whether indirect CName validation is enabled. Default
529
- value is false. This should only be set on updates.
530
- :paramtype use_sub_domain_name: bool
531
- """
532
- super().__init__(**kwargs)
533
- self.name = name
534
- self.use_sub_domain_name = use_sub_domain_name
535
-
536
-
537
- class DateAfterCreation(_serialization.Model):
538
- """Object to define the number of days after creation.
539
-
540
- All required parameters must be populated in order to send to server.
541
-
542
- :ivar days_after_creation_greater_than: Integer value indicating the age in days after
543
- creation. Required.
544
- :vartype days_after_creation_greater_than: int
545
- """
546
-
547
- _validation = {
548
- "days_after_creation_greater_than": {"required": True, "minimum": 0},
549
- }
550
-
551
- _attribute_map = {
552
- "days_after_creation_greater_than": {"key": "daysAfterCreationGreaterThan", "type": "int"},
553
- }
554
-
555
- def __init__(self, *, days_after_creation_greater_than: int, **kwargs: Any) -> None:
556
- """
557
- :keyword days_after_creation_greater_than: Integer value indicating the age in days after
558
- creation. Required.
559
- :paramtype days_after_creation_greater_than: int
560
- """
561
- super().__init__(**kwargs)
562
- self.days_after_creation_greater_than = days_after_creation_greater_than
563
-
564
-
565
- class DateAfterModification(_serialization.Model):
566
- """Object to define the number of days after last modification.
567
-
568
- All required parameters must be populated in order to send to server.
569
-
570
- :ivar days_after_modification_greater_than: Integer value indicating the age in days after last
571
- modification. Required.
572
- :vartype days_after_modification_greater_than: int
573
- """
574
-
575
- _validation = {
576
- "days_after_modification_greater_than": {"required": True, "minimum": 0},
577
- }
578
-
579
- _attribute_map = {
580
- "days_after_modification_greater_than": {"key": "daysAfterModificationGreaterThan", "type": "int"},
581
- }
582
-
583
- def __init__(self, *, days_after_modification_greater_than: int, **kwargs: Any) -> None:
584
- """
585
- :keyword days_after_modification_greater_than: Integer value indicating the age in days after
586
- last modification. Required.
587
- :paramtype days_after_modification_greater_than: int
588
- """
589
- super().__init__(**kwargs)
590
- self.days_after_modification_greater_than = days_after_modification_greater_than
591
-
592
-
593
- class DeleteRetentionPolicy(_serialization.Model):
594
- """The blob service properties for soft delete.
595
-
596
- :ivar enabled: Indicates whether DeleteRetentionPolicy is enabled for the Blob service.
597
- :vartype enabled: bool
598
- :ivar days: Indicates the number of days that the deleted blob should be retained. The minimum
599
- specified value can be 1 and the maximum value can be 365.
600
- :vartype days: int
601
- """
602
-
603
- _validation = {
604
- "days": {"maximum": 365, "minimum": 1},
605
- }
606
-
607
- _attribute_map = {
608
- "enabled": {"key": "enabled", "type": "bool"},
609
- "days": {"key": "days", "type": "int"},
610
- }
611
-
612
- def __init__(self, *, enabled: Optional[bool] = None, days: Optional[int] = None, **kwargs: Any) -> None:
613
- """
614
- :keyword enabled: Indicates whether DeleteRetentionPolicy is enabled for the Blob service.
615
- :paramtype enabled: bool
616
- :keyword days: Indicates the number of days that the deleted blob should be retained. The
617
- minimum specified value can be 1 and the maximum value can be 365.
618
- :paramtype days: int
619
- """
620
- super().__init__(**kwargs)
621
- self.enabled = enabled
622
- self.days = days
623
-
624
-
625
- class Dimension(_serialization.Model):
626
- """Dimension of blobs, possibly be blob type or access tier.
627
-
628
- :ivar name: Display name of dimension.
629
- :vartype name: str
630
- :ivar display_name: Display name of dimension.
631
- :vartype display_name: str
632
- """
633
-
634
- _attribute_map = {
635
- "name": {"key": "name", "type": "str"},
636
- "display_name": {"key": "displayName", "type": "str"},
637
- }
638
-
639
- def __init__(self, *, name: Optional[str] = None, display_name: Optional[str] = None, **kwargs: Any) -> None:
640
- """
641
- :keyword name: Display name of dimension.
642
- :paramtype name: str
643
- :keyword display_name: Display name of dimension.
644
- :paramtype display_name: str
645
- """
646
- super().__init__(**kwargs)
647
- self.name = name
648
- self.display_name = display_name
649
-
650
-
651
- class Encryption(_serialization.Model):
652
- """The encryption settings on the storage account.
653
-
654
- All required parameters must be populated in order to send to server.
655
-
656
- :ivar services: List of services which support encryption.
657
- :vartype services: ~azure.mgmt.storage.v2018_11_01.models.EncryptionServices
658
- :ivar key_source: The encryption keySource (provider). Possible values (case-insensitive):
659
- Microsoft.Storage, Microsoft.Keyvault. Known values are: "Microsoft.Storage" and
660
- "Microsoft.Keyvault".
661
- :vartype key_source: str or ~azure.mgmt.storage.v2018_11_01.models.KeySource
662
- :ivar key_vault_properties: Properties provided by key vault.
663
- :vartype key_vault_properties: ~azure.mgmt.storage.v2018_11_01.models.KeyVaultProperties
664
- """
665
-
666
- _validation = {
667
- "key_source": {"required": True},
668
- }
669
-
670
- _attribute_map = {
671
- "services": {"key": "services", "type": "EncryptionServices"},
672
- "key_source": {"key": "keySource", "type": "str"},
673
- "key_vault_properties": {"key": "keyvaultproperties", "type": "KeyVaultProperties"},
674
- }
675
-
676
- def __init__(
677
- self,
678
- *,
679
- key_source: Union[str, "_models.KeySource"] = "Microsoft.Storage",
680
- services: Optional["_models.EncryptionServices"] = None,
681
- key_vault_properties: Optional["_models.KeyVaultProperties"] = None,
682
- **kwargs: Any
683
- ) -> None:
684
- """
685
- :keyword services: List of services which support encryption.
686
- :paramtype services: ~azure.mgmt.storage.v2018_11_01.models.EncryptionServices
687
- :keyword key_source: The encryption keySource (provider). Possible values (case-insensitive):
688
- Microsoft.Storage, Microsoft.Keyvault. Known values are: "Microsoft.Storage" and
689
- "Microsoft.Keyvault".
690
- :paramtype key_source: str or ~azure.mgmt.storage.v2018_11_01.models.KeySource
691
- :keyword key_vault_properties: Properties provided by key vault.
692
- :paramtype key_vault_properties: ~azure.mgmt.storage.v2018_11_01.models.KeyVaultProperties
693
- """
694
- super().__init__(**kwargs)
695
- self.services = services
696
- self.key_source = key_source
697
- self.key_vault_properties = key_vault_properties
698
-
699
-
700
- class EncryptionService(_serialization.Model):
701
- """A service that allows server-side encryption to be used.
702
-
703
- Variables are only populated by the server, and will be ignored when sending a request.
704
-
705
- :ivar enabled: A boolean indicating whether or not the service encrypts the data as it is
706
- stored.
707
- :vartype enabled: bool
708
- :ivar last_enabled_time: Gets a rough estimate of the date/time when the encryption was last
709
- enabled by the user. Only returned when encryption is enabled. There might be some unencrypted
710
- blobs which were written after this time, as it is just a rough estimate.
711
- :vartype last_enabled_time: ~datetime.datetime
712
- """
713
-
714
- _validation = {
715
- "last_enabled_time": {"readonly": True},
716
- }
717
-
718
- _attribute_map = {
719
- "enabled": {"key": "enabled", "type": "bool"},
720
- "last_enabled_time": {"key": "lastEnabledTime", "type": "iso-8601"},
721
- }
722
-
723
- def __init__(self, *, enabled: Optional[bool] = None, **kwargs: Any) -> None:
724
- """
725
- :keyword enabled: A boolean indicating whether or not the service encrypts the data as it is
726
- stored.
727
- :paramtype enabled: bool
728
- """
729
- super().__init__(**kwargs)
730
- self.enabled = enabled
731
- self.last_enabled_time = None
732
-
733
-
734
- class EncryptionServices(_serialization.Model):
735
- """A list of services that support encryption.
736
-
737
- Variables are only populated by the server, and will be ignored when sending a request.
738
-
739
- :ivar blob: The encryption function of the blob storage service.
740
- :vartype blob: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
741
- :ivar file: The encryption function of the file storage service.
742
- :vartype file: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
743
- :ivar table: The encryption function of the table storage service.
744
- :vartype table: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
745
- :ivar queue: The encryption function of the queue storage service.
746
- :vartype queue: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
747
- """
748
-
749
- _validation = {
750
- "table": {"readonly": True},
751
- "queue": {"readonly": True},
752
- }
753
-
754
- _attribute_map = {
755
- "blob": {"key": "blob", "type": "EncryptionService"},
756
- "file": {"key": "file", "type": "EncryptionService"},
757
- "table": {"key": "table", "type": "EncryptionService"},
758
- "queue": {"key": "queue", "type": "EncryptionService"},
759
- }
760
-
761
- def __init__(
762
- self,
763
- *,
764
- blob: Optional["_models.EncryptionService"] = None,
765
- file: Optional["_models.EncryptionService"] = None,
766
- **kwargs: Any
767
- ) -> None:
768
- """
769
- :keyword blob: The encryption function of the blob storage service.
770
- :paramtype blob: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
771
- :keyword file: The encryption function of the file storage service.
772
- :paramtype file: ~azure.mgmt.storage.v2018_11_01.models.EncryptionService
773
- """
774
- super().__init__(**kwargs)
775
- self.blob = blob
776
- self.file = file
777
- self.table = None
778
- self.queue = None
779
-
780
-
781
- class Endpoints(_serialization.Model):
782
- """The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs
783
- object.
784
-
785
- Variables are only populated by the server, and will be ignored when sending a request.
786
-
787
- :ivar blob: Gets the blob endpoint.
788
- :vartype blob: str
789
- :ivar queue: Gets the queue endpoint.
790
- :vartype queue: str
791
- :ivar table: Gets the table endpoint.
792
- :vartype table: str
793
- :ivar file: Gets the file endpoint.
794
- :vartype file: str
795
- :ivar web: Gets the web endpoint.
796
- :vartype web: str
797
- :ivar dfs: Gets the dfs endpoint.
798
- :vartype dfs: str
799
- """
800
-
801
- _validation = {
802
- "blob": {"readonly": True},
803
- "queue": {"readonly": True},
804
- "table": {"readonly": True},
805
- "file": {"readonly": True},
806
- "web": {"readonly": True},
807
- "dfs": {"readonly": True},
808
- }
809
-
810
- _attribute_map = {
811
- "blob": {"key": "blob", "type": "str"},
812
- "queue": {"key": "queue", "type": "str"},
813
- "table": {"key": "table", "type": "str"},
814
- "file": {"key": "file", "type": "str"},
815
- "web": {"key": "web", "type": "str"},
816
- "dfs": {"key": "dfs", "type": "str"},
817
- }
818
-
819
- def __init__(self, **kwargs: Any) -> None:
820
- """ """
821
- super().__init__(**kwargs)
822
- self.blob = None
823
- self.queue = None
824
- self.table = None
825
- self.file = None
826
- self.web = None
827
- self.dfs = None
828
-
829
-
830
- class GeoReplicationStats(_serialization.Model):
831
- """Statistics related to replication for storage account's Blob, Table, Queue and File services.
832
- It is only available when geo-redundant replication is enabled for the storage account.
833
-
834
- Variables are only populated by the server, and will be ignored when sending a request.
835
-
836
- :ivar status: The status of the secondary location. Possible values are: - Live: Indicates that
837
- the secondary location is active and operational. - Bootstrap: Indicates initial
838
- synchronization from the primary location to the secondary location is in progress.This
839
- typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary
840
- location is temporarily unavailable. Known values are: "Live", "Bootstrap", and "Unavailable".
841
- :vartype status: str or ~azure.mgmt.storage.v2018_11_01.models.GeoReplicationStatus
842
- :ivar last_sync_time: All primary writes preceding this UTC date/time value are guaranteed to
843
- be available for read operations. Primary writes following this point in time may or may not be
844
- available for reads. Element may be default value if value of LastSyncTime is not available,
845
- this can happen if secondary is offline or we are in bootstrap.
846
- :vartype last_sync_time: ~datetime.datetime
847
- :ivar can_failover: A boolean flag which indicates whether or not account failover is supported
848
- for the account.
849
- :vartype can_failover: bool
850
- """
851
-
852
- _validation = {
853
- "status": {"readonly": True},
854
- "last_sync_time": {"readonly": True},
855
- "can_failover": {"readonly": True},
856
- }
857
-
858
- _attribute_map = {
859
- "status": {"key": "status", "type": "str"},
860
- "last_sync_time": {"key": "lastSyncTime", "type": "iso-8601"},
861
- "can_failover": {"key": "canFailover", "type": "bool"},
862
- }
863
-
864
- def __init__(self, **kwargs: Any) -> None:
865
- """ """
866
- super().__init__(**kwargs)
867
- self.status = None
868
- self.last_sync_time = None
869
- self.can_failover = None
870
-
871
-
872
- class Identity(_serialization.Model):
873
- """Identity for the resource.
874
-
875
- Variables are only populated by the server, and will be ignored when sending a request.
876
-
877
- All required parameters must be populated in order to send to server.
878
-
879
- :ivar principal_id: The principal ID of resource identity.
880
- :vartype principal_id: str
881
- :ivar tenant_id: The tenant ID of resource.
882
- :vartype tenant_id: str
883
- :ivar type: The identity type. Required. Default value is "SystemAssigned".
884
- :vartype type: str
885
- """
886
-
887
- _validation = {
888
- "principal_id": {"readonly": True},
889
- "tenant_id": {"readonly": True},
890
- "type": {"required": True, "constant": True},
891
- }
892
-
893
- _attribute_map = {
894
- "principal_id": {"key": "principalId", "type": "str"},
895
- "tenant_id": {"key": "tenantId", "type": "str"},
896
- "type": {"key": "type", "type": "str"},
897
- }
898
-
899
- type = "SystemAssigned"
900
-
901
- def __init__(self, **kwargs: Any) -> None:
902
- """ """
903
- super().__init__(**kwargs)
904
- self.principal_id = None
905
- self.tenant_id = None
906
-
907
-
908
- class ImmutabilityPolicy(AzureEntityResource):
909
- """The ImmutabilityPolicy property of a blob container, including Id, resource name, resource
910
- type, Etag.
911
-
912
- Variables are only populated by the server, and will be ignored when sending a request.
913
-
914
- All required parameters must be populated in order to send to server.
915
-
916
- :ivar id: Fully qualified resource ID for the resource. Ex -
917
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
918
- :vartype id: str
919
- :ivar name: The name of the resource.
920
- :vartype name: str
921
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
922
- "Microsoft.Storage/storageAccounts".
923
- :vartype type: str
924
- :ivar etag: Resource Etag.
925
- :vartype etag: str
926
- :ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the
927
- container since the policy creation, in days. Required.
928
- :vartype immutability_period_since_creation_in_days: int
929
- :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked
930
- and Unlocked. Known values are: "Locked" and "Unlocked".
931
- :vartype state: str or ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicyState
932
- """
933
-
934
- _validation = {
935
- "id": {"readonly": True},
936
- "name": {"readonly": True},
937
- "type": {"readonly": True},
938
- "etag": {"readonly": True},
939
- "immutability_period_since_creation_in_days": {"required": True},
940
- "state": {"readonly": True},
941
- }
942
-
943
- _attribute_map = {
944
- "id": {"key": "id", "type": "str"},
945
- "name": {"key": "name", "type": "str"},
946
- "type": {"key": "type", "type": "str"},
947
- "etag": {"key": "etag", "type": "str"},
948
- "immutability_period_since_creation_in_days": {
949
- "key": "properties.immutabilityPeriodSinceCreationInDays",
950
- "type": "int",
951
- },
952
- "state": {"key": "properties.state", "type": "str"},
953
- }
954
-
955
- def __init__(self, *, immutability_period_since_creation_in_days: int, **kwargs: Any) -> None:
956
- """
957
- :keyword immutability_period_since_creation_in_days: The immutability period for the blobs in
958
- the container since the policy creation, in days. Required.
959
- :paramtype immutability_period_since_creation_in_days: int
960
- """
961
- super().__init__(**kwargs)
962
- self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days
963
- self.state = None
964
-
965
-
966
- class ImmutabilityPolicyProperties(_serialization.Model):
967
- """The properties of an ImmutabilityPolicy of a blob container.
968
-
969
- Variables are only populated by the server, and will be ignored when sending a request.
970
-
971
- :ivar etag: ImmutabilityPolicy Etag.
972
- :vartype etag: str
973
- :ivar update_history: The ImmutabilityPolicy update history of the blob container.
974
- :vartype update_history: list[~azure.mgmt.storage.v2018_11_01.models.UpdateHistoryProperty]
975
- :ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the
976
- container since the policy creation, in days.
977
- :vartype immutability_period_since_creation_in_days: int
978
- :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked
979
- and Unlocked. Known values are: "Locked" and "Unlocked".
980
- :vartype state: str or ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicyState
981
- """
982
-
983
- _validation = {
984
- "etag": {"readonly": True},
985
- "update_history": {"readonly": True},
986
- "state": {"readonly": True},
987
- }
988
-
989
- _attribute_map = {
990
- "etag": {"key": "etag", "type": "str"},
991
- "update_history": {"key": "updateHistory", "type": "[UpdateHistoryProperty]"},
992
- "immutability_period_since_creation_in_days": {
993
- "key": "properties.immutabilityPeriodSinceCreationInDays",
994
- "type": "int",
995
- },
996
- "state": {"key": "properties.state", "type": "str"},
997
- }
998
-
999
- def __init__(self, *, immutability_period_since_creation_in_days: Optional[int] = None, **kwargs: Any) -> None:
1000
- """
1001
- :keyword immutability_period_since_creation_in_days: The immutability period for the blobs in
1002
- the container since the policy creation, in days.
1003
- :paramtype immutability_period_since_creation_in_days: int
1004
- """
1005
- super().__init__(**kwargs)
1006
- self.etag = None
1007
- self.update_history = None
1008
- self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days
1009
- self.state = None
1010
-
1011
-
1012
- class IPRule(_serialization.Model):
1013
- """IP rule with specific IP or IP range in CIDR format.
1014
-
1015
- All required parameters must be populated in order to send to server.
1016
-
1017
- :ivar ip_address_or_range: Specifies the IP or IP range in CIDR format. Only IPV4 address is
1018
- allowed. Required.
1019
- :vartype ip_address_or_range: str
1020
- :ivar action: The action of IP ACL rule. Default value is "Allow".
1021
- :vartype action: str
1022
- """
1023
-
1024
- _validation = {
1025
- "ip_address_or_range": {"required": True},
1026
- }
1027
-
1028
- _attribute_map = {
1029
- "ip_address_or_range": {"key": "value", "type": "str"},
1030
- "action": {"key": "action", "type": "str"},
1031
- }
1032
-
1033
- def __init__(self, *, ip_address_or_range: str, action: Optional[Literal["Allow"]] = None, **kwargs: Any) -> None:
1034
- """
1035
- :keyword ip_address_or_range: Specifies the IP or IP range in CIDR format. Only IPV4 address is
1036
- allowed. Required.
1037
- :paramtype ip_address_or_range: str
1038
- :keyword action: The action of IP ACL rule. Default value is "Allow".
1039
- :paramtype action: str
1040
- """
1041
- super().__init__(**kwargs)
1042
- self.ip_address_or_range = ip_address_or_range
1043
- self.action = action
1044
-
1045
-
1046
- class KeyVaultProperties(_serialization.Model):
1047
- """Properties of key vault.
1048
-
1049
- :ivar key_name: The name of KeyVault key.
1050
- :vartype key_name: str
1051
- :ivar key_version: The version of KeyVault key.
1052
- :vartype key_version: str
1053
- :ivar key_vault_uri: The Uri of KeyVault.
1054
- :vartype key_vault_uri: str
1055
- """
1056
-
1057
- _attribute_map = {
1058
- "key_name": {"key": "keyname", "type": "str"},
1059
- "key_version": {"key": "keyversion", "type": "str"},
1060
- "key_vault_uri": {"key": "keyvaulturi", "type": "str"},
1061
- }
1062
-
1063
- def __init__(
1064
- self,
1065
- *,
1066
- key_name: Optional[str] = None,
1067
- key_version: Optional[str] = None,
1068
- key_vault_uri: Optional[str] = None,
1069
- **kwargs: Any
1070
- ) -> None:
1071
- """
1072
- :keyword key_name: The name of KeyVault key.
1073
- :paramtype key_name: str
1074
- :keyword key_version: The version of KeyVault key.
1075
- :paramtype key_version: str
1076
- :keyword key_vault_uri: The Uri of KeyVault.
1077
- :paramtype key_vault_uri: str
1078
- """
1079
- super().__init__(**kwargs)
1080
- self.key_name = key_name
1081
- self.key_version = key_version
1082
- self.key_vault_uri = key_vault_uri
1083
-
1084
-
1085
- class LeaseContainerRequest(_serialization.Model):
1086
- """Lease Container request schema.
1087
-
1088
- All required parameters must be populated in order to send to server.
1089
-
1090
- :ivar action: Specifies the lease action. Can be one of the available actions. Required. Known
1091
- values are: "Acquire", "Renew", "Change", "Release", and "Break".
1092
- :vartype action: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequestAction
1093
- :ivar lease_id: Identifies the lease. Can be specified in any valid GUID string format.
1094
- :vartype lease_id: str
1095
- :ivar break_period: Optional. For a break action, proposed duration the lease should continue
1096
- before it is broken, in seconds, between 0 and 60.
1097
- :vartype break_period: int
1098
- :ivar lease_duration: Required for acquire. Specifies the duration of the lease, in seconds, or
1099
- negative one (-1) for a lease that never expires.
1100
- :vartype lease_duration: int
1101
- :ivar proposed_lease_id: Optional for acquire, required for change. Proposed lease ID, in a
1102
- GUID string format.
1103
- :vartype proposed_lease_id: str
1104
- """
1105
-
1106
- _validation = {
1107
- "action": {"required": True},
1108
- }
1109
-
1110
- _attribute_map = {
1111
- "action": {"key": "action", "type": "str"},
1112
- "lease_id": {"key": "leaseId", "type": "str"},
1113
- "break_period": {"key": "breakPeriod", "type": "int"},
1114
- "lease_duration": {"key": "leaseDuration", "type": "int"},
1115
- "proposed_lease_id": {"key": "proposedLeaseId", "type": "str"},
1116
- }
1117
-
1118
- def __init__(
1119
- self,
1120
- *,
1121
- action: Union[str, "_models.LeaseContainerRequestAction"],
1122
- lease_id: Optional[str] = None,
1123
- break_period: Optional[int] = None,
1124
- lease_duration: Optional[int] = None,
1125
- proposed_lease_id: Optional[str] = None,
1126
- **kwargs: Any
1127
- ) -> None:
1128
- """
1129
- :keyword action: Specifies the lease action. Can be one of the available actions. Required.
1130
- Known values are: "Acquire", "Renew", "Change", "Release", and "Break".
1131
- :paramtype action: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequestAction
1132
- :keyword lease_id: Identifies the lease. Can be specified in any valid GUID string format.
1133
- :paramtype lease_id: str
1134
- :keyword break_period: Optional. For a break action, proposed duration the lease should
1135
- continue before it is broken, in seconds, between 0 and 60.
1136
- :paramtype break_period: int
1137
- :keyword lease_duration: Required for acquire. Specifies the duration of the lease, in seconds,
1138
- or negative one (-1) for a lease that never expires.
1139
- :paramtype lease_duration: int
1140
- :keyword proposed_lease_id: Optional for acquire, required for change. Proposed lease ID, in a
1141
- GUID string format.
1142
- :paramtype proposed_lease_id: str
1143
- """
1144
- super().__init__(**kwargs)
1145
- self.action = action
1146
- self.lease_id = lease_id
1147
- self.break_period = break_period
1148
- self.lease_duration = lease_duration
1149
- self.proposed_lease_id = proposed_lease_id
1150
-
1151
-
1152
- class LeaseContainerResponse(_serialization.Model):
1153
- """Lease Container response schema.
1154
-
1155
- :ivar lease_id: Returned unique lease ID that must be included with any request to delete the
1156
- container, or to renew, change, or release the lease.
1157
- :vartype lease_id: str
1158
- :ivar lease_time_seconds: Approximate time remaining in the lease period, in seconds.
1159
- :vartype lease_time_seconds: str
1160
- """
1161
-
1162
- _attribute_map = {
1163
- "lease_id": {"key": "leaseId", "type": "str"},
1164
- "lease_time_seconds": {"key": "leaseTimeSeconds", "type": "str"},
1165
- }
1166
-
1167
- def __init__(
1168
- self, *, lease_id: Optional[str] = None, lease_time_seconds: Optional[str] = None, **kwargs: Any
1169
- ) -> None:
1170
- """
1171
- :keyword lease_id: Returned unique lease ID that must be included with any request to delete
1172
- the container, or to renew, change, or release the lease.
1173
- :paramtype lease_id: str
1174
- :keyword lease_time_seconds: Approximate time remaining in the lease period, in seconds.
1175
- :paramtype lease_time_seconds: str
1176
- """
1177
- super().__init__(**kwargs)
1178
- self.lease_id = lease_id
1179
- self.lease_time_seconds = lease_time_seconds
1180
-
1181
-
1182
- class LegalHold(_serialization.Model):
1183
- """The LegalHold property of a blob container.
1184
-
1185
- Variables are only populated by the server, and will be ignored when sending a request.
1186
-
1187
- All required parameters must be populated in order to send to server.
1188
-
1189
- :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
1190
- least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
1191
- legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
1192
- hasLegalHold=true for a given account.
1193
- :vartype has_legal_hold: bool
1194
- :ivar tags: Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case
1195
- at SRP. Required.
1196
- :vartype tags: list[str]
1197
- """
1198
-
1199
- _validation = {
1200
- "has_legal_hold": {"readonly": True},
1201
- "tags": {"required": True},
1202
- }
1203
-
1204
- _attribute_map = {
1205
- "has_legal_hold": {"key": "hasLegalHold", "type": "bool"},
1206
- "tags": {"key": "tags", "type": "[str]"},
1207
- }
1208
-
1209
- def __init__(self, *, tags: List[str], **kwargs: Any) -> None:
1210
- """
1211
- :keyword tags: Each tag should be 3 to 23 alphanumeric characters and is normalized to lower
1212
- case at SRP. Required.
1213
- :paramtype tags: list[str]
1214
- """
1215
- super().__init__(**kwargs)
1216
- self.has_legal_hold = None
1217
- self.tags = tags
1218
-
1219
-
1220
- class LegalHoldProperties(_serialization.Model):
1221
- """The LegalHold property of a blob container.
1222
-
1223
- Variables are only populated by the server, and will be ignored when sending a request.
1224
-
1225
- :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
1226
- least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
1227
- legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
1228
- hasLegalHold=true for a given account.
1229
- :vartype has_legal_hold: bool
1230
- :ivar tags: The list of LegalHold tags of a blob container.
1231
- :vartype tags: list[~azure.mgmt.storage.v2018_11_01.models.TagProperty]
1232
- """
1233
-
1234
- _validation = {
1235
- "has_legal_hold": {"readonly": True},
1236
- }
1237
-
1238
- _attribute_map = {
1239
- "has_legal_hold": {"key": "hasLegalHold", "type": "bool"},
1240
- "tags": {"key": "tags", "type": "[TagProperty]"},
1241
- }
1242
-
1243
- def __init__(self, *, tags: Optional[List["_models.TagProperty"]] = None, **kwargs: Any) -> None:
1244
- """
1245
- :keyword tags: The list of LegalHold tags of a blob container.
1246
- :paramtype tags: list[~azure.mgmt.storage.v2018_11_01.models.TagProperty]
1247
- """
1248
- super().__init__(**kwargs)
1249
- self.has_legal_hold = None
1250
- self.tags = tags
1251
-
1252
-
1253
- class ListAccountSasResponse(_serialization.Model):
1254
- """The List SAS credentials operation response.
1255
-
1256
- Variables are only populated by the server, and will be ignored when sending a request.
1257
-
1258
- :ivar account_sas_token: List SAS credentials of storage account.
1259
- :vartype account_sas_token: str
1260
- """
1261
-
1262
- _validation = {
1263
- "account_sas_token": {"readonly": True},
1264
- }
1265
-
1266
- _attribute_map = {
1267
- "account_sas_token": {"key": "accountSasToken", "type": "str"},
1268
- }
1269
-
1270
- def __init__(self, **kwargs: Any) -> None:
1271
- """ """
1272
- super().__init__(**kwargs)
1273
- self.account_sas_token = None
1274
-
1275
-
1276
- class ListContainerItem(AzureEntityResource): # pylint: disable=too-many-instance-attributes
1277
- """The blob container properties be listed out.
1278
-
1279
- Variables are only populated by the server, and will be ignored when sending a request.
1280
-
1281
- :ivar id: Fully qualified resource ID for the resource. Ex -
1282
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
1283
- :vartype id: str
1284
- :ivar name: The name of the resource.
1285
- :vartype name: str
1286
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
1287
- "Microsoft.Storage/storageAccounts".
1288
- :vartype type: str
1289
- :ivar etag: Resource Etag.
1290
- :vartype etag: str
1291
- :ivar public_access: Specifies whether data in the container may be accessed publicly and the
1292
- level of access. Known values are: "Container", "Blob", and "None".
1293
- :vartype public_access: str or ~azure.mgmt.storage.v2018_11_01.models.PublicAccess
1294
- :ivar last_modified_time: Returns the date and time the container was last modified.
1295
- :vartype last_modified_time: ~datetime.datetime
1296
- :ivar lease_status: The lease status of the container. Known values are: "Locked" and
1297
- "Unlocked".
1298
- :vartype lease_status: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseStatus
1299
- :ivar lease_state: Lease state of the container. Known values are: "Available", "Leased",
1300
- "Expired", "Breaking", and "Broken".
1301
- :vartype lease_state: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseState
1302
- :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed
1303
- duration, only when the container is leased. Known values are: "Infinite" and "Fixed".
1304
- :vartype lease_duration: str or ~azure.mgmt.storage.v2018_11_01.models.LeaseDuration
1305
- :ivar metadata: A name-value pair to associate with the container as metadata.
1306
- :vartype metadata: dict[str, str]
1307
- :ivar immutability_policy: The ImmutabilityPolicy property of the container.
1308
- :vartype immutability_policy:
1309
- ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicyProperties
1310
- :ivar legal_hold: The LegalHold property of the container.
1311
- :vartype legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHoldProperties
1312
- :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
1313
- least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
1314
- legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
1315
- hasLegalHold=true for a given account.
1316
- :vartype has_legal_hold: bool
1317
- :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP
1318
- if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public
1319
- property is set to false by SRP if ImmutabilityPolicy has not been created for this container.
1320
- :vartype has_immutability_policy: bool
1321
- """
1322
-
1323
- _validation = {
1324
- "id": {"readonly": True},
1325
- "name": {"readonly": True},
1326
- "type": {"readonly": True},
1327
- "etag": {"readonly": True},
1328
- "last_modified_time": {"readonly": True},
1329
- "lease_status": {"readonly": True},
1330
- "lease_state": {"readonly": True},
1331
- "lease_duration": {"readonly": True},
1332
- "immutability_policy": {"readonly": True},
1333
- "legal_hold": {"readonly": True},
1334
- "has_legal_hold": {"readonly": True},
1335
- "has_immutability_policy": {"readonly": True},
1336
- }
1337
-
1338
- _attribute_map = {
1339
- "id": {"key": "id", "type": "str"},
1340
- "name": {"key": "name", "type": "str"},
1341
- "type": {"key": "type", "type": "str"},
1342
- "etag": {"key": "etag", "type": "str"},
1343
- "public_access": {"key": "properties.publicAccess", "type": "str"},
1344
- "last_modified_time": {"key": "properties.lastModifiedTime", "type": "iso-8601"},
1345
- "lease_status": {"key": "properties.leaseStatus", "type": "str"},
1346
- "lease_state": {"key": "properties.leaseState", "type": "str"},
1347
- "lease_duration": {"key": "properties.leaseDuration", "type": "str"},
1348
- "metadata": {"key": "properties.metadata", "type": "{str}"},
1349
- "immutability_policy": {"key": "properties.immutabilityPolicy", "type": "ImmutabilityPolicyProperties"},
1350
- "legal_hold": {"key": "properties.legalHold", "type": "LegalHoldProperties"},
1351
- "has_legal_hold": {"key": "properties.hasLegalHold", "type": "bool"},
1352
- "has_immutability_policy": {"key": "properties.hasImmutabilityPolicy", "type": "bool"},
1353
- }
1354
-
1355
- def __init__(
1356
- self,
1357
- *,
1358
- public_access: Optional[Union[str, "_models.PublicAccess"]] = None,
1359
- metadata: Optional[Dict[str, str]] = None,
1360
- **kwargs: Any
1361
- ) -> None:
1362
- """
1363
- :keyword public_access: Specifies whether data in the container may be accessed publicly and
1364
- the level of access. Known values are: "Container", "Blob", and "None".
1365
- :paramtype public_access: str or ~azure.mgmt.storage.v2018_11_01.models.PublicAccess
1366
- :keyword metadata: A name-value pair to associate with the container as metadata.
1367
- :paramtype metadata: dict[str, str]
1368
- """
1369
- super().__init__(**kwargs)
1370
- self.public_access = public_access
1371
- self.last_modified_time = None
1372
- self.lease_status = None
1373
- self.lease_state = None
1374
- self.lease_duration = None
1375
- self.metadata = metadata
1376
- self.immutability_policy = None
1377
- self.legal_hold = None
1378
- self.has_legal_hold = None
1379
- self.has_immutability_policy = None
1380
-
1381
-
1382
- class ListContainerItems(_serialization.Model):
1383
- """The list of blob containers.
1384
-
1385
- :ivar value: The list of blob containers.
1386
- :vartype value: list[~azure.mgmt.storage.v2018_11_01.models.ListContainerItem]
1387
- """
1388
-
1389
- _attribute_map = {
1390
- "value": {"key": "value", "type": "[ListContainerItem]"},
1391
- }
1392
-
1393
- def __init__(self, *, value: Optional[List["_models.ListContainerItem"]] = None, **kwargs: Any) -> None:
1394
- """
1395
- :keyword value: The list of blob containers.
1396
- :paramtype value: list[~azure.mgmt.storage.v2018_11_01.models.ListContainerItem]
1397
- """
1398
- super().__init__(**kwargs)
1399
- self.value = value
1400
-
1401
-
1402
- class ListServiceSasResponse(_serialization.Model):
1403
- """The List service SAS credentials operation response.
1404
-
1405
- Variables are only populated by the server, and will be ignored when sending a request.
1406
-
1407
- :ivar service_sas_token: List service SAS credentials of specific resource.
1408
- :vartype service_sas_token: str
1409
- """
1410
-
1411
- _validation = {
1412
- "service_sas_token": {"readonly": True},
1413
- }
1414
-
1415
- _attribute_map = {
1416
- "service_sas_token": {"key": "serviceSasToken", "type": "str"},
1417
- }
1418
-
1419
- def __init__(self, **kwargs: Any) -> None:
1420
- """ """
1421
- super().__init__(**kwargs)
1422
- self.service_sas_token = None
1423
-
1424
-
1425
- class ManagementPolicy(Resource):
1426
- """The Get Storage Account ManagementPolicies operation response.
1427
-
1428
- Variables are only populated by the server, and will be ignored when sending a request.
1429
-
1430
- :ivar id: Fully qualified resource ID for the resource. Ex -
1431
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
1432
- :vartype id: str
1433
- :ivar name: The name of the resource.
1434
- :vartype name: str
1435
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
1436
- "Microsoft.Storage/storageAccounts".
1437
- :vartype type: str
1438
- :ivar last_modified_time: Returns the date and time the ManagementPolicies was last modified.
1439
- :vartype last_modified_time: ~datetime.datetime
1440
- :ivar policy: The Storage Account ManagementPolicy, in JSON format. See more details in:
1441
- https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1442
- :vartype policy: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicySchema
1443
- """
1444
-
1445
- _validation = {
1446
- "id": {"readonly": True},
1447
- "name": {"readonly": True},
1448
- "type": {"readonly": True},
1449
- "last_modified_time": {"readonly": True},
1450
- }
1451
-
1452
- _attribute_map = {
1453
- "id": {"key": "id", "type": "str"},
1454
- "name": {"key": "name", "type": "str"},
1455
- "type": {"key": "type", "type": "str"},
1456
- "last_modified_time": {"key": "properties.lastModifiedTime", "type": "iso-8601"},
1457
- "policy": {"key": "properties.policy", "type": "ManagementPolicySchema"},
1458
- }
1459
-
1460
- def __init__(self, *, policy: Optional["_models.ManagementPolicySchema"] = None, **kwargs: Any) -> None:
1461
- """
1462
- :keyword policy: The Storage Account ManagementPolicy, in JSON format. See more details in:
1463
- https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1464
- :paramtype policy: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicySchema
1465
- """
1466
- super().__init__(**kwargs)
1467
- self.last_modified_time = None
1468
- self.policy = policy
1469
-
1470
-
1471
- class ManagementPolicyAction(_serialization.Model):
1472
- """Actions are applied to the filtered blobs when the execution condition is met.
1473
-
1474
- :ivar base_blob: The management policy action for base blob.
1475
- :vartype base_blob: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyBaseBlob
1476
- :ivar snapshot: The management policy action for snapshot.
1477
- :vartype snapshot: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicySnapShot
1478
- """
1479
-
1480
- _attribute_map = {
1481
- "base_blob": {"key": "baseBlob", "type": "ManagementPolicyBaseBlob"},
1482
- "snapshot": {"key": "snapshot", "type": "ManagementPolicySnapShot"},
1483
- }
1484
-
1485
- def __init__(
1486
- self,
1487
- *,
1488
- base_blob: Optional["_models.ManagementPolicyBaseBlob"] = None,
1489
- snapshot: Optional["_models.ManagementPolicySnapShot"] = None,
1490
- **kwargs: Any
1491
- ) -> None:
1492
- """
1493
- :keyword base_blob: The management policy action for base blob.
1494
- :paramtype base_blob: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyBaseBlob
1495
- :keyword snapshot: The management policy action for snapshot.
1496
- :paramtype snapshot: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicySnapShot
1497
- """
1498
- super().__init__(**kwargs)
1499
- self.base_blob = base_blob
1500
- self.snapshot = snapshot
1501
-
1502
-
1503
- class ManagementPolicyBaseBlob(_serialization.Model):
1504
- """Management policy action for base blob.
1505
-
1506
- :ivar tier_to_cool: The function to tier blobs to cool storage. Support blobs currently at Hot
1507
- tier.
1508
- :vartype tier_to_cool: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1509
- :ivar tier_to_archive: The function to tier blobs to archive storage. Support blobs currently
1510
- at Hot or Cool tier.
1511
- :vartype tier_to_archive: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1512
- :ivar delete: The function to delete the blob.
1513
- :vartype delete: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1514
- """
1515
-
1516
- _attribute_map = {
1517
- "tier_to_cool": {"key": "tierToCool", "type": "DateAfterModification"},
1518
- "tier_to_archive": {"key": "tierToArchive", "type": "DateAfterModification"},
1519
- "delete": {"key": "delete", "type": "DateAfterModification"},
1520
- }
1521
-
1522
- def __init__(
1523
- self,
1524
- *,
1525
- tier_to_cool: Optional["_models.DateAfterModification"] = None,
1526
- tier_to_archive: Optional["_models.DateAfterModification"] = None,
1527
- delete: Optional["_models.DateAfterModification"] = None,
1528
- **kwargs: Any
1529
- ) -> None:
1530
- """
1531
- :keyword tier_to_cool: The function to tier blobs to cool storage. Support blobs currently at
1532
- Hot tier.
1533
- :paramtype tier_to_cool: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1534
- :keyword tier_to_archive: The function to tier blobs to archive storage. Support blobs
1535
- currently at Hot or Cool tier.
1536
- :paramtype tier_to_archive: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1537
- :keyword delete: The function to delete the blob.
1538
- :paramtype delete: ~azure.mgmt.storage.v2018_11_01.models.DateAfterModification
1539
- """
1540
- super().__init__(**kwargs)
1541
- self.tier_to_cool = tier_to_cool
1542
- self.tier_to_archive = tier_to_archive
1543
- self.delete = delete
1544
-
1545
-
1546
- class ManagementPolicyDefinition(_serialization.Model):
1547
- """An object that defines the Lifecycle rule. Each definition is made up with a filters set and an
1548
- actions set.
1549
-
1550
- All required parameters must be populated in order to send to server.
1551
-
1552
- :ivar actions: An object that defines the action set. Required.
1553
- :vartype actions: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyAction
1554
- :ivar filters: An object that defines the filter set.
1555
- :vartype filters: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyFilter
1556
- """
1557
-
1558
- _validation = {
1559
- "actions": {"required": True},
1560
- }
1561
-
1562
- _attribute_map = {
1563
- "actions": {"key": "actions", "type": "ManagementPolicyAction"},
1564
- "filters": {"key": "filters", "type": "ManagementPolicyFilter"},
1565
- }
1566
-
1567
- def __init__(
1568
- self,
1569
- *,
1570
- actions: "_models.ManagementPolicyAction",
1571
- filters: Optional["_models.ManagementPolicyFilter"] = None,
1572
- **kwargs: Any
1573
- ) -> None:
1574
- """
1575
- :keyword actions: An object that defines the action set. Required.
1576
- :paramtype actions: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyAction
1577
- :keyword filters: An object that defines the filter set.
1578
- :paramtype filters: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyFilter
1579
- """
1580
- super().__init__(**kwargs)
1581
- self.actions = actions
1582
- self.filters = filters
1583
-
1584
-
1585
- class ManagementPolicyFilter(_serialization.Model):
1586
- """Filters limit rule actions to a subset of blobs within the storage account. If multiple filters
1587
- are defined, a logical AND is performed on all filters.
1588
-
1589
- All required parameters must be populated in order to send to server.
1590
-
1591
- :ivar prefix_match: An array of strings for prefixes to be match.
1592
- :vartype prefix_match: list[str]
1593
- :ivar blob_types: An array of predefined enum values. Only blockBlob is supported. Required.
1594
- :vartype blob_types: list[str]
1595
- """
1596
-
1597
- _validation = {
1598
- "blob_types": {"required": True},
1599
- }
1600
-
1601
- _attribute_map = {
1602
- "prefix_match": {"key": "prefixMatch", "type": "[str]"},
1603
- "blob_types": {"key": "blobTypes", "type": "[str]"},
1604
- }
1605
-
1606
- def __init__(self, *, blob_types: List[str], prefix_match: Optional[List[str]] = None, **kwargs: Any) -> None:
1607
- """
1608
- :keyword prefix_match: An array of strings for prefixes to be match.
1609
- :paramtype prefix_match: list[str]
1610
- :keyword blob_types: An array of predefined enum values. Only blockBlob is supported. Required.
1611
- :paramtype blob_types: list[str]
1612
- """
1613
- super().__init__(**kwargs)
1614
- self.prefix_match = prefix_match
1615
- self.blob_types = blob_types
1616
-
1617
-
1618
- class ManagementPolicyRule(_serialization.Model):
1619
- """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.
1620
-
1621
- All required parameters must be populated in order to send to server.
1622
-
1623
- :ivar enabled: Rule is enabled if set to true.
1624
- :vartype enabled: bool
1625
- :ivar name: A rule name can contain any combination of alpha numeric characters. Rule name is
1626
- case-sensitive. It must be unique within a policy. Required.
1627
- :vartype name: str
1628
- :ivar type: The valid value is Lifecycle. Required. "Lifecycle"
1629
- :vartype type: str or ~azure.mgmt.storage.v2018_11_01.models.RuleType
1630
- :ivar definition: An object that defines the Lifecycle rule. Required.
1631
- :vartype definition: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyDefinition
1632
- """
1633
-
1634
- _validation = {
1635
- "name": {"required": True},
1636
- "type": {"required": True},
1637
- "definition": {"required": True},
1638
- }
1639
-
1640
- _attribute_map = {
1641
- "enabled": {"key": "enabled", "type": "bool"},
1642
- "name": {"key": "name", "type": "str"},
1643
- "type": {"key": "type", "type": "str"},
1644
- "definition": {"key": "definition", "type": "ManagementPolicyDefinition"},
1645
- }
1646
-
1647
- def __init__(
1648
- self,
1649
- *,
1650
- name: str,
1651
- type: Union[str, "_models.RuleType"],
1652
- definition: "_models.ManagementPolicyDefinition",
1653
- enabled: Optional[bool] = None,
1654
- **kwargs: Any
1655
- ) -> None:
1656
- """
1657
- :keyword enabled: Rule is enabled if set to true.
1658
- :paramtype enabled: bool
1659
- :keyword name: A rule name can contain any combination of alpha numeric characters. Rule name
1660
- is case-sensitive. It must be unique within a policy. Required.
1661
- :paramtype name: str
1662
- :keyword type: The valid value is Lifecycle. Required. "Lifecycle"
1663
- :paramtype type: str or ~azure.mgmt.storage.v2018_11_01.models.RuleType
1664
- :keyword definition: An object that defines the Lifecycle rule. Required.
1665
- :paramtype definition: ~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyDefinition
1666
- """
1667
- super().__init__(**kwargs)
1668
- self.enabled = enabled
1669
- self.name = name
1670
- self.type = type
1671
- self.definition = definition
1672
-
1673
-
1674
- class ManagementPolicySchema(_serialization.Model):
1675
- """The Storage Account ManagementPolicies Rules. See more details in:
1676
- https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1677
-
1678
- All required parameters must be populated in order to send to server.
1679
-
1680
- :ivar rules: The Storage Account ManagementPolicies Rules. See more details in:
1681
- https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1682
- Required.
1683
- :vartype rules: list[~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyRule]
1684
- """
1685
-
1686
- _validation = {
1687
- "rules": {"required": True},
1688
- }
1689
-
1690
- _attribute_map = {
1691
- "rules": {"key": "rules", "type": "[ManagementPolicyRule]"},
1692
- }
1693
-
1694
- def __init__(self, *, rules: List["_models.ManagementPolicyRule"], **kwargs: Any) -> None:
1695
- """
1696
- :keyword rules: The Storage Account ManagementPolicies Rules. See more details in:
1697
- https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
1698
- Required.
1699
- :paramtype rules: list[~azure.mgmt.storage.v2018_11_01.models.ManagementPolicyRule]
1700
- """
1701
- super().__init__(**kwargs)
1702
- self.rules = rules
1703
-
1704
-
1705
- class ManagementPolicySnapShot(_serialization.Model):
1706
- """Management policy action for snapshot.
1707
-
1708
- :ivar delete: The function to delete the blob snapshot.
1709
- :vartype delete: ~azure.mgmt.storage.v2018_11_01.models.DateAfterCreation
1710
- """
1711
-
1712
- _attribute_map = {
1713
- "delete": {"key": "delete", "type": "DateAfterCreation"},
1714
- }
1715
-
1716
- def __init__(self, *, delete: Optional["_models.DateAfterCreation"] = None, **kwargs: Any) -> None:
1717
- """
1718
- :keyword delete: The function to delete the blob snapshot.
1719
- :paramtype delete: ~azure.mgmt.storage.v2018_11_01.models.DateAfterCreation
1720
- """
1721
- super().__init__(**kwargs)
1722
- self.delete = delete
1723
-
1724
-
1725
- class MetricSpecification(_serialization.Model):
1726
- """Metric specification of operation.
1727
-
1728
- :ivar name: Name of metric specification.
1729
- :vartype name: str
1730
- :ivar display_name: Display name of metric specification.
1731
- :vartype display_name: str
1732
- :ivar display_description: Display description of metric specification.
1733
- :vartype display_description: str
1734
- :ivar unit: Unit could be Bytes or Count.
1735
- :vartype unit: str
1736
- :ivar dimensions: Dimensions of blobs, including blob type and access tier.
1737
- :vartype dimensions: list[~azure.mgmt.storage.v2018_11_01.models.Dimension]
1738
- :ivar aggregation_type: Aggregation type could be Average.
1739
- :vartype aggregation_type: str
1740
- :ivar fill_gap_with_zero: The property to decide fill gap with zero or not.
1741
- :vartype fill_gap_with_zero: bool
1742
- :ivar category: The category this metric specification belong to, could be Capacity.
1743
- :vartype category: str
1744
- :ivar resource_id_dimension_name_override: Account Resource Id.
1745
- :vartype resource_id_dimension_name_override: str
1746
- """
1747
-
1748
- _attribute_map = {
1749
- "name": {"key": "name", "type": "str"},
1750
- "display_name": {"key": "displayName", "type": "str"},
1751
- "display_description": {"key": "displayDescription", "type": "str"},
1752
- "unit": {"key": "unit", "type": "str"},
1753
- "dimensions": {"key": "dimensions", "type": "[Dimension]"},
1754
- "aggregation_type": {"key": "aggregationType", "type": "str"},
1755
- "fill_gap_with_zero": {"key": "fillGapWithZero", "type": "bool"},
1756
- "category": {"key": "category", "type": "str"},
1757
- "resource_id_dimension_name_override": {"key": "resourceIdDimensionNameOverride", "type": "str"},
1758
- }
1759
-
1760
- def __init__(
1761
- self,
1762
- *,
1763
- name: Optional[str] = None,
1764
- display_name: Optional[str] = None,
1765
- display_description: Optional[str] = None,
1766
- unit: Optional[str] = None,
1767
- dimensions: Optional[List["_models.Dimension"]] = None,
1768
- aggregation_type: Optional[str] = None,
1769
- fill_gap_with_zero: Optional[bool] = None,
1770
- category: Optional[str] = None,
1771
- resource_id_dimension_name_override: Optional[str] = None,
1772
- **kwargs: Any
1773
- ) -> None:
1774
- """
1775
- :keyword name: Name of metric specification.
1776
- :paramtype name: str
1777
- :keyword display_name: Display name of metric specification.
1778
- :paramtype display_name: str
1779
- :keyword display_description: Display description of metric specification.
1780
- :paramtype display_description: str
1781
- :keyword unit: Unit could be Bytes or Count.
1782
- :paramtype unit: str
1783
- :keyword dimensions: Dimensions of blobs, including blob type and access tier.
1784
- :paramtype dimensions: list[~azure.mgmt.storage.v2018_11_01.models.Dimension]
1785
- :keyword aggregation_type: Aggregation type could be Average.
1786
- :paramtype aggregation_type: str
1787
- :keyword fill_gap_with_zero: The property to decide fill gap with zero or not.
1788
- :paramtype fill_gap_with_zero: bool
1789
- :keyword category: The category this metric specification belong to, could be Capacity.
1790
- :paramtype category: str
1791
- :keyword resource_id_dimension_name_override: Account Resource Id.
1792
- :paramtype resource_id_dimension_name_override: str
1793
- """
1794
- super().__init__(**kwargs)
1795
- self.name = name
1796
- self.display_name = display_name
1797
- self.display_description = display_description
1798
- self.unit = unit
1799
- self.dimensions = dimensions
1800
- self.aggregation_type = aggregation_type
1801
- self.fill_gap_with_zero = fill_gap_with_zero
1802
- self.category = category
1803
- self.resource_id_dimension_name_override = resource_id_dimension_name_override
1804
-
1805
-
1806
- class NetworkRuleSet(_serialization.Model):
1807
- """Network rule set.
1808
-
1809
- All required parameters must be populated in order to send to server.
1810
-
1811
- :ivar bypass: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible
1812
- values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"),
1813
- or None to bypass none of those traffics. Known values are: "None", "Logging", "Metrics", and
1814
- "AzureServices".
1815
- :vartype bypass: str or ~azure.mgmt.storage.v2018_11_01.models.Bypass
1816
- :ivar virtual_network_rules: Sets the virtual network rules.
1817
- :vartype virtual_network_rules: list[~azure.mgmt.storage.v2018_11_01.models.VirtualNetworkRule]
1818
- :ivar ip_rules: Sets the IP ACL rules.
1819
- :vartype ip_rules: list[~azure.mgmt.storage.v2018_11_01.models.IPRule]
1820
- :ivar default_action: Specifies the default action of allow or deny when no other rules match.
1821
- Known values are: "Allow" and "Deny".
1822
- :vartype default_action: str or ~azure.mgmt.storage.v2018_11_01.models.DefaultAction
1823
- """
1824
-
1825
- _validation = {
1826
- "default_action": {"required": True},
1827
- }
1828
-
1829
- _attribute_map = {
1830
- "bypass": {"key": "bypass", "type": "str"},
1831
- "virtual_network_rules": {"key": "virtualNetworkRules", "type": "[VirtualNetworkRule]"},
1832
- "ip_rules": {"key": "ipRules", "type": "[IPRule]"},
1833
- "default_action": {"key": "defaultAction", "type": "str"},
1834
- }
1835
-
1836
- def __init__(
1837
- self,
1838
- *,
1839
- default_action: Union[str, "_models.DefaultAction"] = "Allow",
1840
- bypass: Union[str, "_models.Bypass"] = "AzureServices",
1841
- virtual_network_rules: Optional[List["_models.VirtualNetworkRule"]] = None,
1842
- ip_rules: Optional[List["_models.IPRule"]] = None,
1843
- **kwargs: Any
1844
- ) -> None:
1845
- """
1846
- :keyword bypass: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices.
1847
- Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging,
1848
- Metrics"), or None to bypass none of those traffics. Known values are: "None", "Logging",
1849
- "Metrics", and "AzureServices".
1850
- :paramtype bypass: str or ~azure.mgmt.storage.v2018_11_01.models.Bypass
1851
- :keyword virtual_network_rules: Sets the virtual network rules.
1852
- :paramtype virtual_network_rules:
1853
- list[~azure.mgmt.storage.v2018_11_01.models.VirtualNetworkRule]
1854
- :keyword ip_rules: Sets the IP ACL rules.
1855
- :paramtype ip_rules: list[~azure.mgmt.storage.v2018_11_01.models.IPRule]
1856
- :keyword default_action: Specifies the default action of allow or deny when no other rules
1857
- match. Known values are: "Allow" and "Deny".
1858
- :paramtype default_action: str or ~azure.mgmt.storage.v2018_11_01.models.DefaultAction
1859
- """
1860
- super().__init__(**kwargs)
1861
- self.bypass = bypass
1862
- self.virtual_network_rules = virtual_network_rules
1863
- self.ip_rules = ip_rules
1864
- self.default_action = default_action
1865
-
1866
-
1867
- class Operation(_serialization.Model):
1868
- """Storage REST API operation definition.
1869
-
1870
- :ivar name: Operation name: {provider}/{resource}/{operation}.
1871
- :vartype name: str
1872
- :ivar display: Display metadata associated with the operation.
1873
- :vartype display: ~azure.mgmt.storage.v2018_11_01.models.OperationDisplay
1874
- :ivar origin: The origin of operations.
1875
- :vartype origin: str
1876
- :ivar service_specification: One property of operation, include metric specifications.
1877
- :vartype service_specification: ~azure.mgmt.storage.v2018_11_01.models.ServiceSpecification
1878
- """
1879
-
1880
- _attribute_map = {
1881
- "name": {"key": "name", "type": "str"},
1882
- "display": {"key": "display", "type": "OperationDisplay"},
1883
- "origin": {"key": "origin", "type": "str"},
1884
- "service_specification": {"key": "properties.serviceSpecification", "type": "ServiceSpecification"},
1885
- }
1886
-
1887
- def __init__(
1888
- self,
1889
- *,
1890
- name: Optional[str] = None,
1891
- display: Optional["_models.OperationDisplay"] = None,
1892
- origin: Optional[str] = None,
1893
- service_specification: Optional["_models.ServiceSpecification"] = None,
1894
- **kwargs: Any
1895
- ) -> None:
1896
- """
1897
- :keyword name: Operation name: {provider}/{resource}/{operation}.
1898
- :paramtype name: str
1899
- :keyword display: Display metadata associated with the operation.
1900
- :paramtype display: ~azure.mgmt.storage.v2018_11_01.models.OperationDisplay
1901
- :keyword origin: The origin of operations.
1902
- :paramtype origin: str
1903
- :keyword service_specification: One property of operation, include metric specifications.
1904
- :paramtype service_specification: ~azure.mgmt.storage.v2018_11_01.models.ServiceSpecification
1905
- """
1906
- super().__init__(**kwargs)
1907
- self.name = name
1908
- self.display = display
1909
- self.origin = origin
1910
- self.service_specification = service_specification
1911
-
1912
-
1913
- class OperationDisplay(_serialization.Model):
1914
- """Display metadata associated with the operation.
1915
-
1916
- :ivar provider: Service provider: Microsoft Storage.
1917
- :vartype provider: str
1918
- :ivar resource: Resource on which the operation is performed etc.
1919
- :vartype resource: str
1920
- :ivar operation: Type of operation: get, read, delete, etc.
1921
- :vartype operation: str
1922
- :ivar description: Description of the operation.
1923
- :vartype description: str
1924
- """
1925
-
1926
- _attribute_map = {
1927
- "provider": {"key": "provider", "type": "str"},
1928
- "resource": {"key": "resource", "type": "str"},
1929
- "operation": {"key": "operation", "type": "str"},
1930
- "description": {"key": "description", "type": "str"},
1931
- }
1932
-
1933
- def __init__(
1934
- self,
1935
- *,
1936
- provider: Optional[str] = None,
1937
- resource: Optional[str] = None,
1938
- operation: Optional[str] = None,
1939
- description: Optional[str] = None,
1940
- **kwargs: Any
1941
- ) -> None:
1942
- """
1943
- :keyword provider: Service provider: Microsoft Storage.
1944
- :paramtype provider: str
1945
- :keyword resource: Resource on which the operation is performed etc.
1946
- :paramtype resource: str
1947
- :keyword operation: Type of operation: get, read, delete, etc.
1948
- :paramtype operation: str
1949
- :keyword description: Description of the operation.
1950
- :paramtype description: str
1951
- """
1952
- super().__init__(**kwargs)
1953
- self.provider = provider
1954
- self.resource = resource
1955
- self.operation = operation
1956
- self.description = description
1957
-
1958
-
1959
- class OperationListResult(_serialization.Model):
1960
- """Result of the request to list Storage operations. It contains a list of operations and a URL
1961
- link to get the next set of results.
1962
-
1963
- :ivar value: List of Storage operations supported by the Storage resource provider.
1964
- :vartype value: list[~azure.mgmt.storage.v2018_11_01.models.Operation]
1965
- """
1966
-
1967
- _attribute_map = {
1968
- "value": {"key": "value", "type": "[Operation]"},
1969
- }
1970
-
1971
- def __init__(self, *, value: Optional[List["_models.Operation"]] = None, **kwargs: Any) -> None:
1972
- """
1973
- :keyword value: List of Storage operations supported by the Storage resource provider.
1974
- :paramtype value: list[~azure.mgmt.storage.v2018_11_01.models.Operation]
1975
- """
1976
- super().__init__(**kwargs)
1977
- self.value = value
1978
-
1979
-
1980
- class Restriction(_serialization.Model):
1981
- """The restriction because of which SKU cannot be used.
1982
-
1983
- Variables are only populated by the server, and will be ignored when sending a request.
1984
-
1985
- :ivar type: The type of restrictions. As of now only possible value for this is location.
1986
- :vartype type: str
1987
- :ivar values: The value of restrictions. If the restriction type is set to location. This would
1988
- be different locations where the SKU is restricted.
1989
- :vartype values: list[str]
1990
- :ivar reason_code: The reason for the restriction. As of now this can be "QuotaId" or
1991
- "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the
1992
- subscription does not belong to that quota. The "NotAvailableForSubscription" is related to
1993
- capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".
1994
- :vartype reason_code: str or ~azure.mgmt.storage.v2018_11_01.models.ReasonCode
1995
- """
1996
-
1997
- _validation = {
1998
- "type": {"readonly": True},
1999
- "values": {"readonly": True},
2000
- }
2001
-
2002
- _attribute_map = {
2003
- "type": {"key": "type", "type": "str"},
2004
- "values": {"key": "values", "type": "[str]"},
2005
- "reason_code": {"key": "reasonCode", "type": "str"},
2006
- }
2007
-
2008
- def __init__(self, *, reason_code: Optional[Union[str, "_models.ReasonCode"]] = None, **kwargs: Any) -> None:
2009
- """
2010
- :keyword reason_code: The reason for the restriction. As of now this can be "QuotaId" or
2011
- "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the
2012
- subscription does not belong to that quota. The "NotAvailableForSubscription" is related to
2013
- capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".
2014
- :paramtype reason_code: str or ~azure.mgmt.storage.v2018_11_01.models.ReasonCode
2015
- """
2016
- super().__init__(**kwargs)
2017
- self.type = None
2018
- self.values = None
2019
- self.reason_code = reason_code
2020
-
2021
-
2022
- class ServiceSasParameters(_serialization.Model): # pylint: disable=too-many-instance-attributes
2023
- """The parameters to list service SAS credentials of a specific resource.
2024
-
2025
- All required parameters must be populated in order to send to server.
2026
-
2027
- :ivar canonicalized_resource: The canonical path to the signed resource. Required.
2028
- :vartype canonicalized_resource: str
2029
- :ivar resource: The signed services accessible with the service SAS. Possible values include:
2030
- Blob (b), Container (c), File (f), Share (s). Known values are: "b", "c", "f", and "s".
2031
- :vartype resource: str or ~azure.mgmt.storage.v2018_11_01.models.SignedResource
2032
- :ivar permissions: The signed permissions for the service SAS. Possible values include: Read
2033
- (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Known
2034
- values are: "r", "d", "w", "l", "a", "c", "u", and "p".
2035
- :vartype permissions: str or ~azure.mgmt.storage.v2018_11_01.models.Permissions
2036
- :ivar ip_address_or_range: An IP address or a range of IP addresses from which to accept
2037
- requests.
2038
- :vartype ip_address_or_range: str
2039
- :ivar protocols: The protocol permitted for a request made with the account SAS. Known values
2040
- are: "https,http" and "https".
2041
- :vartype protocols: str or ~azure.mgmt.storage.v2018_11_01.models.HttpProtocol
2042
- :ivar shared_access_start_time: The time at which the SAS becomes valid.
2043
- :vartype shared_access_start_time: ~datetime.datetime
2044
- :ivar shared_access_expiry_time: The time at which the shared access signature becomes invalid.
2045
- :vartype shared_access_expiry_time: ~datetime.datetime
2046
- :ivar identifier: A unique value up to 64 characters in length that correlates to an access
2047
- policy specified for the container, queue, or table.
2048
- :vartype identifier: str
2049
- :ivar partition_key_start: The start of partition key.
2050
- :vartype partition_key_start: str
2051
- :ivar partition_key_end: The end of partition key.
2052
- :vartype partition_key_end: str
2053
- :ivar row_key_start: The start of row key.
2054
- :vartype row_key_start: str
2055
- :ivar row_key_end: The end of row key.
2056
- :vartype row_key_end: str
2057
- :ivar key_to_sign: The key to sign the account SAS token with.
2058
- :vartype key_to_sign: str
2059
- :ivar cache_control: The response header override for cache control.
2060
- :vartype cache_control: str
2061
- :ivar content_disposition: The response header override for content disposition.
2062
- :vartype content_disposition: str
2063
- :ivar content_encoding: The response header override for content encoding.
2064
- :vartype content_encoding: str
2065
- :ivar content_language: The response header override for content language.
2066
- :vartype content_language: str
2067
- :ivar content_type: The response header override for content type.
2068
- :vartype content_type: str
2069
- """
2070
-
2071
- _validation = {
2072
- "canonicalized_resource": {"required": True},
2073
- "identifier": {"max_length": 64},
2074
- }
2075
-
2076
- _attribute_map = {
2077
- "canonicalized_resource": {"key": "canonicalizedResource", "type": "str"},
2078
- "resource": {"key": "signedResource", "type": "str"},
2079
- "permissions": {"key": "signedPermission", "type": "str"},
2080
- "ip_address_or_range": {"key": "signedIp", "type": "str"},
2081
- "protocols": {"key": "signedProtocol", "type": "str"},
2082
- "shared_access_start_time": {"key": "signedStart", "type": "iso-8601"},
2083
- "shared_access_expiry_time": {"key": "signedExpiry", "type": "iso-8601"},
2084
- "identifier": {"key": "signedIdentifier", "type": "str"},
2085
- "partition_key_start": {"key": "startPk", "type": "str"},
2086
- "partition_key_end": {"key": "endPk", "type": "str"},
2087
- "row_key_start": {"key": "startRk", "type": "str"},
2088
- "row_key_end": {"key": "endRk", "type": "str"},
2089
- "key_to_sign": {"key": "keyToSign", "type": "str"},
2090
- "cache_control": {"key": "rscc", "type": "str"},
2091
- "content_disposition": {"key": "rscd", "type": "str"},
2092
- "content_encoding": {"key": "rsce", "type": "str"},
2093
- "content_language": {"key": "rscl", "type": "str"},
2094
- "content_type": {"key": "rsct", "type": "str"},
2095
- }
2096
-
2097
- def __init__(
2098
- self,
2099
- *,
2100
- canonicalized_resource: str,
2101
- resource: Optional[Union[str, "_models.SignedResource"]] = None,
2102
- permissions: Optional[Union[str, "_models.Permissions"]] = None,
2103
- ip_address_or_range: Optional[str] = None,
2104
- protocols: Optional[Union[str, "_models.HttpProtocol"]] = None,
2105
- shared_access_start_time: Optional[datetime.datetime] = None,
2106
- shared_access_expiry_time: Optional[datetime.datetime] = None,
2107
- identifier: Optional[str] = None,
2108
- partition_key_start: Optional[str] = None,
2109
- partition_key_end: Optional[str] = None,
2110
- row_key_start: Optional[str] = None,
2111
- row_key_end: Optional[str] = None,
2112
- key_to_sign: Optional[str] = None,
2113
- cache_control: Optional[str] = None,
2114
- content_disposition: Optional[str] = None,
2115
- content_encoding: Optional[str] = None,
2116
- content_language: Optional[str] = None,
2117
- content_type: Optional[str] = None,
2118
- **kwargs: Any
2119
- ) -> None:
2120
- """
2121
- :keyword canonicalized_resource: The canonical path to the signed resource. Required.
2122
- :paramtype canonicalized_resource: str
2123
- :keyword resource: The signed services accessible with the service SAS. Possible values
2124
- include: Blob (b), Container (c), File (f), Share (s). Known values are: "b", "c", "f", and
2125
- "s".
2126
- :paramtype resource: str or ~azure.mgmt.storage.v2018_11_01.models.SignedResource
2127
- :keyword permissions: The signed permissions for the service SAS. Possible values include: Read
2128
- (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Known
2129
- values are: "r", "d", "w", "l", "a", "c", "u", and "p".
2130
- :paramtype permissions: str or ~azure.mgmt.storage.v2018_11_01.models.Permissions
2131
- :keyword ip_address_or_range: An IP address or a range of IP addresses from which to accept
2132
- requests.
2133
- :paramtype ip_address_or_range: str
2134
- :keyword protocols: The protocol permitted for a request made with the account SAS. Known
2135
- values are: "https,http" and "https".
2136
- :paramtype protocols: str or ~azure.mgmt.storage.v2018_11_01.models.HttpProtocol
2137
- :keyword shared_access_start_time: The time at which the SAS becomes valid.
2138
- :paramtype shared_access_start_time: ~datetime.datetime
2139
- :keyword shared_access_expiry_time: The time at which the shared access signature becomes
2140
- invalid.
2141
- :paramtype shared_access_expiry_time: ~datetime.datetime
2142
- :keyword identifier: A unique value up to 64 characters in length that correlates to an access
2143
- policy specified for the container, queue, or table.
2144
- :paramtype identifier: str
2145
- :keyword partition_key_start: The start of partition key.
2146
- :paramtype partition_key_start: str
2147
- :keyword partition_key_end: The end of partition key.
2148
- :paramtype partition_key_end: str
2149
- :keyword row_key_start: The start of row key.
2150
- :paramtype row_key_start: str
2151
- :keyword row_key_end: The end of row key.
2152
- :paramtype row_key_end: str
2153
- :keyword key_to_sign: The key to sign the account SAS token with.
2154
- :paramtype key_to_sign: str
2155
- :keyword cache_control: The response header override for cache control.
2156
- :paramtype cache_control: str
2157
- :keyword content_disposition: The response header override for content disposition.
2158
- :paramtype content_disposition: str
2159
- :keyword content_encoding: The response header override for content encoding.
2160
- :paramtype content_encoding: str
2161
- :keyword content_language: The response header override for content language.
2162
- :paramtype content_language: str
2163
- :keyword content_type: The response header override for content type.
2164
- :paramtype content_type: str
2165
- """
2166
- super().__init__(**kwargs)
2167
- self.canonicalized_resource = canonicalized_resource
2168
- self.resource = resource
2169
- self.permissions = permissions
2170
- self.ip_address_or_range = ip_address_or_range
2171
- self.protocols = protocols
2172
- self.shared_access_start_time = shared_access_start_time
2173
- self.shared_access_expiry_time = shared_access_expiry_time
2174
- self.identifier = identifier
2175
- self.partition_key_start = partition_key_start
2176
- self.partition_key_end = partition_key_end
2177
- self.row_key_start = row_key_start
2178
- self.row_key_end = row_key_end
2179
- self.key_to_sign = key_to_sign
2180
- self.cache_control = cache_control
2181
- self.content_disposition = content_disposition
2182
- self.content_encoding = content_encoding
2183
- self.content_language = content_language
2184
- self.content_type = content_type
2185
-
2186
-
2187
- class ServiceSpecification(_serialization.Model):
2188
- """One property of operation, include metric specifications.
2189
-
2190
- :ivar metric_specifications: Metric specifications of operation.
2191
- :vartype metric_specifications:
2192
- list[~azure.mgmt.storage.v2018_11_01.models.MetricSpecification]
2193
- """
2194
-
2195
- _attribute_map = {
2196
- "metric_specifications": {"key": "metricSpecifications", "type": "[MetricSpecification]"},
2197
- }
2198
-
2199
- def __init__(
2200
- self, *, metric_specifications: Optional[List["_models.MetricSpecification"]] = None, **kwargs: Any
2201
- ) -> None:
2202
- """
2203
- :keyword metric_specifications: Metric specifications of operation.
2204
- :paramtype metric_specifications:
2205
- list[~azure.mgmt.storage.v2018_11_01.models.MetricSpecification]
2206
- """
2207
- super().__init__(**kwargs)
2208
- self.metric_specifications = metric_specifications
2209
-
2210
-
2211
- class Sku(_serialization.Model):
2212
- """The SKU of the storage account.
2213
-
2214
- Variables are only populated by the server, and will be ignored when sending a request.
2215
-
2216
- All required parameters must be populated in order to send to server.
2217
-
2218
- :ivar name: Gets or sets the SKU name. Required for account creation; optional for update. Note
2219
- that in older versions, SKU name was called accountType. Required. Known values are:
2220
- "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", and
2221
- "Premium_ZRS".
2222
- :vartype name: str or ~azure.mgmt.storage.v2018_11_01.models.SkuName
2223
- :ivar tier: Gets the SKU tier. This is based on the SKU name. Known values are: "Standard" and
2224
- "Premium".
2225
- :vartype tier: str or ~azure.mgmt.storage.v2018_11_01.models.SkuTier
2226
- :ivar resource_type: The type of the resource, usually it is 'storageAccounts'.
2227
- :vartype resource_type: str
2228
- :ivar kind: Indicates the type of storage account. Known values are: "Storage", "StorageV2",
2229
- "BlobStorage", "FileStorage", and "BlockBlobStorage".
2230
- :vartype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2231
- :ivar locations: The set of locations that the SKU is available. This will be supported and
2232
- registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
2233
- :vartype locations: list[str]
2234
- :ivar capabilities: The capability information in the specified SKU, including file encryption,
2235
- network ACLs, change notification, etc.
2236
- :vartype capabilities: list[~azure.mgmt.storage.v2018_11_01.models.SKUCapability]
2237
- :ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if
2238
- there are no restrictions.
2239
- :vartype restrictions: list[~azure.mgmt.storage.v2018_11_01.models.Restriction]
2240
- """
2241
-
2242
- _validation = {
2243
- "name": {"required": True},
2244
- "tier": {"readonly": True},
2245
- "resource_type": {"readonly": True},
2246
- "kind": {"readonly": True},
2247
- "locations": {"readonly": True},
2248
- "capabilities": {"readonly": True},
2249
- }
2250
-
2251
- _attribute_map = {
2252
- "name": {"key": "name", "type": "str"},
2253
- "tier": {"key": "tier", "type": "str"},
2254
- "resource_type": {"key": "resourceType", "type": "str"},
2255
- "kind": {"key": "kind", "type": "str"},
2256
- "locations": {"key": "locations", "type": "[str]"},
2257
- "capabilities": {"key": "capabilities", "type": "[SKUCapability]"},
2258
- "restrictions": {"key": "restrictions", "type": "[Restriction]"},
2259
- }
2260
-
2261
- def __init__(
2262
- self,
2263
- *,
2264
- name: Union[str, "_models.SkuName"],
2265
- restrictions: Optional[List["_models.Restriction"]] = None,
2266
- **kwargs: Any
2267
- ) -> None:
2268
- """
2269
- :keyword name: Gets or sets the SKU name. Required for account creation; optional for update.
2270
- Note that in older versions, SKU name was called accountType. Required. Known values are:
2271
- "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", and
2272
- "Premium_ZRS".
2273
- :paramtype name: str or ~azure.mgmt.storage.v2018_11_01.models.SkuName
2274
- :keyword restrictions: The restrictions because of which SKU cannot be used. This is empty if
2275
- there are no restrictions.
2276
- :paramtype restrictions: list[~azure.mgmt.storage.v2018_11_01.models.Restriction]
2277
- """
2278
- super().__init__(**kwargs)
2279
- self.name = name
2280
- self.tier = None
2281
- self.resource_type = None
2282
- self.kind = None
2283
- self.locations = None
2284
- self.capabilities = None
2285
- self.restrictions = restrictions
2286
-
2287
-
2288
- class SKUCapability(_serialization.Model):
2289
- """The capability information in the specified SKU, including file encryption, network ACLs,
2290
- change notification, etc.
2291
-
2292
- Variables are only populated by the server, and will be ignored when sending a request.
2293
-
2294
- :ivar name: The name of capability, The capability information in the specified SKU, including
2295
- file encryption, network ACLs, change notification, etc.
2296
- :vartype name: str
2297
- :ivar value: A string value to indicate states of given capability. Possibly 'true' or 'false'.
2298
- :vartype value: str
2299
- """
2300
-
2301
- _validation = {
2302
- "name": {"readonly": True},
2303
- "value": {"readonly": True},
2304
- }
2305
-
2306
- _attribute_map = {
2307
- "name": {"key": "name", "type": "str"},
2308
- "value": {"key": "value", "type": "str"},
2309
- }
2310
-
2311
- def __init__(self, **kwargs: Any) -> None:
2312
- """ """
2313
- super().__init__(**kwargs)
2314
- self.name = None
2315
- self.value = None
2316
-
2317
-
2318
- class TrackedResource(Resource):
2319
- """The resource model definition for an Azure Resource Manager tracked top level resource which
2320
- has 'tags' and a 'location'.
2321
-
2322
- Variables are only populated by the server, and will be ignored when sending a request.
2323
-
2324
- All required parameters must be populated in order to send to server.
2325
-
2326
- :ivar id: Fully qualified resource ID for the resource. Ex -
2327
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
2328
- :vartype id: str
2329
- :ivar name: The name of the resource.
2330
- :vartype name: str
2331
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
2332
- "Microsoft.Storage/storageAccounts".
2333
- :vartype type: str
2334
- :ivar tags: Resource tags.
2335
- :vartype tags: dict[str, str]
2336
- :ivar location: The geo-location where the resource lives. Required.
2337
- :vartype location: str
2338
- """
2339
-
2340
- _validation = {
2341
- "id": {"readonly": True},
2342
- "name": {"readonly": True},
2343
- "type": {"readonly": True},
2344
- "location": {"required": True},
2345
- }
2346
-
2347
- _attribute_map = {
2348
- "id": {"key": "id", "type": "str"},
2349
- "name": {"key": "name", "type": "str"},
2350
- "type": {"key": "type", "type": "str"},
2351
- "tags": {"key": "tags", "type": "{str}"},
2352
- "location": {"key": "location", "type": "str"},
2353
- }
2354
-
2355
- def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None:
2356
- """
2357
- :keyword tags: Resource tags.
2358
- :paramtype tags: dict[str, str]
2359
- :keyword location: The geo-location where the resource lives. Required.
2360
- :paramtype location: str
2361
- """
2362
- super().__init__(**kwargs)
2363
- self.tags = tags
2364
- self.location = location
2365
-
2366
-
2367
- class StorageAccount(TrackedResource): # pylint: disable=too-many-instance-attributes
2368
- """The storage account.
2369
-
2370
- Variables are only populated by the server, and will be ignored when sending a request.
2371
-
2372
- All required parameters must be populated in order to send to server.
2373
-
2374
- :ivar id: Fully qualified resource ID for the resource. Ex -
2375
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
2376
- :vartype id: str
2377
- :ivar name: The name of the resource.
2378
- :vartype name: str
2379
- :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
2380
- "Microsoft.Storage/storageAccounts".
2381
- :vartype type: str
2382
- :ivar tags: Resource tags.
2383
- :vartype tags: dict[str, str]
2384
- :ivar location: The geo-location where the resource lives. Required.
2385
- :vartype location: str
2386
- :ivar sku: Gets the SKU.
2387
- :vartype sku: ~azure.mgmt.storage.v2018_11_01.models.Sku
2388
- :ivar kind: Gets the Kind. Known values are: "Storage", "StorageV2", "BlobStorage",
2389
- "FileStorage", and "BlockBlobStorage".
2390
- :vartype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2391
- :ivar identity: The identity of the resource.
2392
- :vartype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2393
- :ivar provisioning_state: Gets the status of the storage account at the time the operation was
2394
- called. Known values are: "Creating", "ResolvingDNS", and "Succeeded".
2395
- :vartype provisioning_state: str or ~azure.mgmt.storage.v2018_11_01.models.ProvisioningState
2396
- :ivar primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob,
2397
- queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob
2398
- endpoint.
2399
- :vartype primary_endpoints: ~azure.mgmt.storage.v2018_11_01.models.Endpoints
2400
- :ivar primary_location: Gets the location of the primary data center for the storage account.
2401
- :vartype primary_location: str
2402
- :ivar status_of_primary: Gets the status indicating whether the primary location of the storage
2403
- account is available or unavailable. Known values are: "available" and "unavailable".
2404
- :vartype status_of_primary: str or ~azure.mgmt.storage.v2018_11_01.models.AccountStatus
2405
- :ivar last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to
2406
- the secondary location. Only the most recent timestamp is retained. This element is not
2407
- returned if there has never been a failover instance. Only available if the accountType is
2408
- Standard_GRS or Standard_RAGRS.
2409
- :vartype last_geo_failover_time: ~datetime.datetime
2410
- :ivar secondary_location: Gets the location of the geo-replicated secondary for the storage
2411
- account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
2412
- :vartype secondary_location: str
2413
- :ivar status_of_secondary: Gets the status indicating whether the secondary location of the
2414
- storage account is available or unavailable. Only available if the SKU name is Standard_GRS or
2415
- Standard_RAGRS. Known values are: "available" and "unavailable".
2416
- :vartype status_of_secondary: str or ~azure.mgmt.storage.v2018_11_01.models.AccountStatus
2417
- :ivar creation_time: Gets the creation date and time of the storage account in UTC.
2418
- :vartype creation_time: ~datetime.datetime
2419
- :ivar custom_domain: Gets the custom domain the user assigned to this storage account.
2420
- :vartype custom_domain: ~azure.mgmt.storage.v2018_11_01.models.CustomDomain
2421
- :ivar secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob,
2422
- queue, or table object from the secondary location of the storage account. Only available if
2423
- the SKU name is Standard_RAGRS.
2424
- :vartype secondary_endpoints: ~azure.mgmt.storage.v2018_11_01.models.Endpoints
2425
- :ivar encryption: Gets the encryption settings on the account. If unspecified, the account is
2426
- unencrypted.
2427
- :vartype encryption: ~azure.mgmt.storage.v2018_11_01.models.Encryption
2428
- :ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier used
2429
- for billing. Known values are: "Hot" and "Cool".
2430
- :vartype access_tier: str or ~azure.mgmt.storage.v2018_11_01.models.AccessTier
2431
- :ivar enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if sets
2432
- to true.
2433
- :vartype enable_azure_files_aad_integration: bool
2434
- :ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
2435
- :vartype enable_https_traffic_only: bool
2436
- :ivar network_rule_set: Network rule set.
2437
- :vartype network_rule_set: ~azure.mgmt.storage.v2018_11_01.models.NetworkRuleSet
2438
- :ivar is_hns_enabled: Account HierarchicalNamespace enabled if sets to true.
2439
- :vartype is_hns_enabled: bool
2440
- :ivar geo_replication_stats: Geo Replication Stats.
2441
- :vartype geo_replication_stats: ~azure.mgmt.storage.v2018_11_01.models.GeoReplicationStats
2442
- :ivar failover_in_progress: If the failover is in progress, the value will be true, otherwise,
2443
- it will be null.
2444
- :vartype failover_in_progress: bool
2445
- """
2446
-
2447
- _validation = {
2448
- "id": {"readonly": True},
2449
- "name": {"readonly": True},
2450
- "type": {"readonly": True},
2451
- "location": {"required": True},
2452
- "sku": {"readonly": True},
2453
- "kind": {"readonly": True},
2454
- "provisioning_state": {"readonly": True},
2455
- "primary_endpoints": {"readonly": True},
2456
- "primary_location": {"readonly": True},
2457
- "status_of_primary": {"readonly": True},
2458
- "last_geo_failover_time": {"readonly": True},
2459
- "secondary_location": {"readonly": True},
2460
- "status_of_secondary": {"readonly": True},
2461
- "creation_time": {"readonly": True},
2462
- "custom_domain": {"readonly": True},
2463
- "secondary_endpoints": {"readonly": True},
2464
- "encryption": {"readonly": True},
2465
- "access_tier": {"readonly": True},
2466
- "network_rule_set": {"readonly": True},
2467
- "geo_replication_stats": {"readonly": True},
2468
- "failover_in_progress": {"readonly": True},
2469
- }
2470
-
2471
- _attribute_map = {
2472
- "id": {"key": "id", "type": "str"},
2473
- "name": {"key": "name", "type": "str"},
2474
- "type": {"key": "type", "type": "str"},
2475
- "tags": {"key": "tags", "type": "{str}"},
2476
- "location": {"key": "location", "type": "str"},
2477
- "sku": {"key": "sku", "type": "Sku"},
2478
- "kind": {"key": "kind", "type": "str"},
2479
- "identity": {"key": "identity", "type": "Identity"},
2480
- "provisioning_state": {"key": "properties.provisioningState", "type": "str"},
2481
- "primary_endpoints": {"key": "properties.primaryEndpoints", "type": "Endpoints"},
2482
- "primary_location": {"key": "properties.primaryLocation", "type": "str"},
2483
- "status_of_primary": {"key": "properties.statusOfPrimary", "type": "str"},
2484
- "last_geo_failover_time": {"key": "properties.lastGeoFailoverTime", "type": "iso-8601"},
2485
- "secondary_location": {"key": "properties.secondaryLocation", "type": "str"},
2486
- "status_of_secondary": {"key": "properties.statusOfSecondary", "type": "str"},
2487
- "creation_time": {"key": "properties.creationTime", "type": "iso-8601"},
2488
- "custom_domain": {"key": "properties.customDomain", "type": "CustomDomain"},
2489
- "secondary_endpoints": {"key": "properties.secondaryEndpoints", "type": "Endpoints"},
2490
- "encryption": {"key": "properties.encryption", "type": "Encryption"},
2491
- "access_tier": {"key": "properties.accessTier", "type": "str"},
2492
- "enable_azure_files_aad_integration": {"key": "properties.azureFilesAadIntegration", "type": "bool"},
2493
- "enable_https_traffic_only": {"key": "properties.supportsHttpsTrafficOnly", "type": "bool"},
2494
- "network_rule_set": {"key": "properties.networkAcls", "type": "NetworkRuleSet"},
2495
- "is_hns_enabled": {"key": "properties.isHnsEnabled", "type": "bool"},
2496
- "geo_replication_stats": {"key": "properties.geoReplicationStats", "type": "GeoReplicationStats"},
2497
- "failover_in_progress": {"key": "properties.failoverInProgress", "type": "bool"},
2498
- }
2499
-
2500
- def __init__( # pylint: disable=too-many-locals
2501
- self,
2502
- *,
2503
- location: str,
2504
- tags: Optional[Dict[str, str]] = None,
2505
- identity: Optional["_models.Identity"] = None,
2506
- enable_azure_files_aad_integration: Optional[bool] = None,
2507
- enable_https_traffic_only: Optional[bool] = None,
2508
- is_hns_enabled: Optional[bool] = None,
2509
- **kwargs: Any
2510
- ) -> None:
2511
- """
2512
- :keyword tags: Resource tags.
2513
- :paramtype tags: dict[str, str]
2514
- :keyword location: The geo-location where the resource lives. Required.
2515
- :paramtype location: str
2516
- :keyword identity: The identity of the resource.
2517
- :paramtype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2518
- :keyword enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if
2519
- sets to true.
2520
- :paramtype enable_azure_files_aad_integration: bool
2521
- :keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
2522
- true.
2523
- :paramtype enable_https_traffic_only: bool
2524
- :keyword is_hns_enabled: Account HierarchicalNamespace enabled if sets to true.
2525
- :paramtype is_hns_enabled: bool
2526
- """
2527
- super().__init__(tags=tags, location=location, **kwargs)
2528
- self.sku = None
2529
- self.kind = None
2530
- self.identity = identity
2531
- self.provisioning_state = None
2532
- self.primary_endpoints = None
2533
- self.primary_location = None
2534
- self.status_of_primary = None
2535
- self.last_geo_failover_time = None
2536
- self.secondary_location = None
2537
- self.status_of_secondary = None
2538
- self.creation_time = None
2539
- self.custom_domain = None
2540
- self.secondary_endpoints = None
2541
- self.encryption = None
2542
- self.access_tier = None
2543
- self.enable_azure_files_aad_integration = enable_azure_files_aad_integration
2544
- self.enable_https_traffic_only = enable_https_traffic_only
2545
- self.network_rule_set = None
2546
- self.is_hns_enabled = is_hns_enabled
2547
- self.geo_replication_stats = None
2548
- self.failover_in_progress = None
2549
-
2550
-
2551
- class StorageAccountCheckNameAvailabilityParameters(_serialization.Model): # pylint: disable=name-too-long
2552
- """The parameters used to check the availability of the storage account name.
2553
-
2554
- Variables are only populated by the server, and will be ignored when sending a request.
2555
-
2556
- All required parameters must be populated in order to send to server.
2557
-
2558
- :ivar name: The storage account name. Required.
2559
- :vartype name: str
2560
- :ivar type: The type of resource, Microsoft.Storage/storageAccounts. Required. Default value is
2561
- "Microsoft.Storage/storageAccounts".
2562
- :vartype type: str
2563
- """
2564
-
2565
- _validation = {
2566
- "name": {"required": True},
2567
- "type": {"required": True, "constant": True},
2568
- }
2569
-
2570
- _attribute_map = {
2571
- "name": {"key": "name", "type": "str"},
2572
- "type": {"key": "type", "type": "str"},
2573
- }
2574
-
2575
- type = "Microsoft.Storage/storageAccounts"
2576
-
2577
- def __init__(self, *, name: str, **kwargs: Any) -> None:
2578
- """
2579
- :keyword name: The storage account name. Required.
2580
- :paramtype name: str
2581
- """
2582
- super().__init__(**kwargs)
2583
- self.name = name
2584
-
2585
-
2586
- class StorageAccountCreateParameters(_serialization.Model): # pylint: disable=too-many-instance-attributes
2587
- """The parameters used when creating a storage account.
2588
-
2589
- All required parameters must be populated in order to send to server.
2590
-
2591
- :ivar sku: Required. Gets or sets the SKU name. Required.
2592
- :vartype sku: ~azure.mgmt.storage.v2018_11_01.models.Sku
2593
- :ivar kind: Required. Indicates the type of storage account. Required. Known values are:
2594
- "Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".
2595
- :vartype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2596
- :ivar location: Required. Gets or sets the location of the resource. This will be one of the
2597
- supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The
2598
- geo region of a resource cannot be changed once it is created, but if an identical geo region
2599
- is specified on update, the request will succeed. Required.
2600
- :vartype location: str
2601
- :ivar tags: Gets or sets a list of key value pairs that describe the resource. These tags can
2602
- be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags
2603
- can be provided for a resource. Each tag must have a key with a length no greater than 128
2604
- characters and a value with a length no greater than 256 characters.
2605
- :vartype tags: dict[str, str]
2606
- :ivar identity: The identity of the resource.
2607
- :vartype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2608
- :ivar custom_domain: User domain assigned to the storage account. Name is the CNAME source.
2609
- Only one custom domain is supported per storage account at this time. To clear the existing
2610
- custom domain, use an empty string for the custom domain name property.
2611
- :vartype custom_domain: ~azure.mgmt.storage.v2018_11_01.models.CustomDomain
2612
- :ivar encryption: Provides the encryption settings on the account. If left unspecified the
2613
- account encryption settings will remain the same. The default setting is unencrypted.
2614
- :vartype encryption: ~azure.mgmt.storage.v2018_11_01.models.Encryption
2615
- :ivar network_rule_set: Network rule set.
2616
- :vartype network_rule_set: ~azure.mgmt.storage.v2018_11_01.models.NetworkRuleSet
2617
- :ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier used
2618
- for billing. Known values are: "Hot" and "Cool".
2619
- :vartype access_tier: str or ~azure.mgmt.storage.v2018_11_01.models.AccessTier
2620
- :ivar enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if sets
2621
- to true.
2622
- :vartype enable_azure_files_aad_integration: bool
2623
- :ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
2624
- :vartype enable_https_traffic_only: bool
2625
- :ivar is_hns_enabled: Account HierarchicalNamespace enabled if sets to true.
2626
- :vartype is_hns_enabled: bool
2627
- """
2628
-
2629
- _validation = {
2630
- "sku": {"required": True},
2631
- "kind": {"required": True},
2632
- "location": {"required": True},
2633
- }
2634
-
2635
- _attribute_map = {
2636
- "sku": {"key": "sku", "type": "Sku"},
2637
- "kind": {"key": "kind", "type": "str"},
2638
- "location": {"key": "location", "type": "str"},
2639
- "tags": {"key": "tags", "type": "{str}"},
2640
- "identity": {"key": "identity", "type": "Identity"},
2641
- "custom_domain": {"key": "properties.customDomain", "type": "CustomDomain"},
2642
- "encryption": {"key": "properties.encryption", "type": "Encryption"},
2643
- "network_rule_set": {"key": "properties.networkAcls", "type": "NetworkRuleSet"},
2644
- "access_tier": {"key": "properties.accessTier", "type": "str"},
2645
- "enable_azure_files_aad_integration": {"key": "properties.azureFilesAadIntegration", "type": "bool"},
2646
- "enable_https_traffic_only": {"key": "properties.supportsHttpsTrafficOnly", "type": "bool"},
2647
- "is_hns_enabled": {"key": "properties.isHnsEnabled", "type": "bool"},
2648
- }
2649
-
2650
- def __init__(
2651
- self,
2652
- *,
2653
- sku: "_models.Sku",
2654
- kind: Union[str, "_models.Kind"],
2655
- location: str,
2656
- tags: Optional[Dict[str, str]] = None,
2657
- identity: Optional["_models.Identity"] = None,
2658
- custom_domain: Optional["_models.CustomDomain"] = None,
2659
- encryption: Optional["_models.Encryption"] = None,
2660
- network_rule_set: Optional["_models.NetworkRuleSet"] = None,
2661
- access_tier: Optional[Union[str, "_models.AccessTier"]] = None,
2662
- enable_azure_files_aad_integration: Optional[bool] = None,
2663
- enable_https_traffic_only: Optional[bool] = None,
2664
- is_hns_enabled: Optional[bool] = None,
2665
- **kwargs: Any
2666
- ) -> None:
2667
- """
2668
- :keyword sku: Required. Gets or sets the SKU name. Required.
2669
- :paramtype sku: ~azure.mgmt.storage.v2018_11_01.models.Sku
2670
- :keyword kind: Required. Indicates the type of storage account. Required. Known values are:
2671
- "Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".
2672
- :paramtype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2673
- :keyword location: Required. Gets or sets the location of the resource. This will be one of the
2674
- supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The
2675
- geo region of a resource cannot be changed once it is created, but if an identical geo region
2676
- is specified on update, the request will succeed. Required.
2677
- :paramtype location: str
2678
- :keyword tags: Gets or sets a list of key value pairs that describe the resource. These tags
2679
- can be used for viewing and grouping this resource (across resource groups). A maximum of 15
2680
- tags can be provided for a resource. Each tag must have a key with a length no greater than 128
2681
- characters and a value with a length no greater than 256 characters.
2682
- :paramtype tags: dict[str, str]
2683
- :keyword identity: The identity of the resource.
2684
- :paramtype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2685
- :keyword custom_domain: User domain assigned to the storage account. Name is the CNAME source.
2686
- Only one custom domain is supported per storage account at this time. To clear the existing
2687
- custom domain, use an empty string for the custom domain name property.
2688
- :paramtype custom_domain: ~azure.mgmt.storage.v2018_11_01.models.CustomDomain
2689
- :keyword encryption: Provides the encryption settings on the account. If left unspecified the
2690
- account encryption settings will remain the same. The default setting is unencrypted.
2691
- :paramtype encryption: ~azure.mgmt.storage.v2018_11_01.models.Encryption
2692
- :keyword network_rule_set: Network rule set.
2693
- :paramtype network_rule_set: ~azure.mgmt.storage.v2018_11_01.models.NetworkRuleSet
2694
- :keyword access_tier: Required for storage accounts where kind = BlobStorage. The access tier
2695
- used for billing. Known values are: "Hot" and "Cool".
2696
- :paramtype access_tier: str or ~azure.mgmt.storage.v2018_11_01.models.AccessTier
2697
- :keyword enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if
2698
- sets to true.
2699
- :paramtype enable_azure_files_aad_integration: bool
2700
- :keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
2701
- true.
2702
- :paramtype enable_https_traffic_only: bool
2703
- :keyword is_hns_enabled: Account HierarchicalNamespace enabled if sets to true.
2704
- :paramtype is_hns_enabled: bool
2705
- """
2706
- super().__init__(**kwargs)
2707
- self.sku = sku
2708
- self.kind = kind
2709
- self.location = location
2710
- self.tags = tags
2711
- self.identity = identity
2712
- self.custom_domain = custom_domain
2713
- self.encryption = encryption
2714
- self.network_rule_set = network_rule_set
2715
- self.access_tier = access_tier
2716
- self.enable_azure_files_aad_integration = enable_azure_files_aad_integration
2717
- self.enable_https_traffic_only = enable_https_traffic_only
2718
- self.is_hns_enabled = is_hns_enabled
2719
-
2720
-
2721
- class StorageAccountKey(_serialization.Model):
2722
- """An access key for the storage account.
2723
-
2724
- Variables are only populated by the server, and will be ignored when sending a request.
2725
-
2726
- :ivar key_name: Name of the key.
2727
- :vartype key_name: str
2728
- :ivar value: Base 64-encoded value of the key.
2729
- :vartype value: str
2730
- :ivar permissions: Permissions for the key -- read-only or full permissions. Known values are:
2731
- "Read" and "Full".
2732
- :vartype permissions: str or ~azure.mgmt.storage.v2018_11_01.models.KeyPermission
2733
- """
2734
-
2735
- _validation = {
2736
- "key_name": {"readonly": True},
2737
- "value": {"readonly": True},
2738
- "permissions": {"readonly": True},
2739
- }
2740
-
2741
- _attribute_map = {
2742
- "key_name": {"key": "keyName", "type": "str"},
2743
- "value": {"key": "value", "type": "str"},
2744
- "permissions": {"key": "permissions", "type": "str"},
2745
- }
2746
-
2747
- def __init__(self, **kwargs: Any) -> None:
2748
- """ """
2749
- super().__init__(**kwargs)
2750
- self.key_name = None
2751
- self.value = None
2752
- self.permissions = None
2753
-
2754
-
2755
- class StorageAccountListKeysResult(_serialization.Model):
2756
- """The response from the ListKeys operation.
2757
-
2758
- Variables are only populated by the server, and will be ignored when sending a request.
2759
-
2760
- :ivar keys: Gets the list of storage account keys and their properties for the specified
2761
- storage account.
2762
- :vartype keys: list[~azure.mgmt.storage.v2018_11_01.models.StorageAccountKey]
2763
- """
2764
-
2765
- _validation = {
2766
- "keys": {"readonly": True},
2767
- }
2768
-
2769
- _attribute_map = {
2770
- "keys": {"key": "keys", "type": "[StorageAccountKey]"},
2771
- }
2772
-
2773
- def __init__(self, **kwargs: Any) -> None:
2774
- """ """
2775
- super().__init__(**kwargs)
2776
- self.keys = None
2777
-
2778
-
2779
- class StorageAccountListResult(_serialization.Model):
2780
- """The response from the List Storage Accounts operation.
2781
-
2782
- Variables are only populated by the server, and will be ignored when sending a request.
2783
-
2784
- :ivar value: Gets the list of storage accounts and their properties.
2785
- :vartype value: list[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
2786
- """
2787
-
2788
- _validation = {
2789
- "value": {"readonly": True},
2790
- }
2791
-
2792
- _attribute_map = {
2793
- "value": {"key": "value", "type": "[StorageAccount]"},
2794
- }
2795
-
2796
- def __init__(self, **kwargs: Any) -> None:
2797
- """ """
2798
- super().__init__(**kwargs)
2799
- self.value = None
2800
-
2801
-
2802
- class StorageAccountRegenerateKeyParameters(_serialization.Model):
2803
- """The parameters used to regenerate the storage account key.
2804
-
2805
- All required parameters must be populated in order to send to server.
2806
-
2807
- :ivar key_name: The name of storage keys that want to be regenerated, possible values are key1,
2808
- key2. Required.
2809
- :vartype key_name: str
2810
- """
2811
-
2812
- _validation = {
2813
- "key_name": {"required": True},
2814
- }
2815
-
2816
- _attribute_map = {
2817
- "key_name": {"key": "keyName", "type": "str"},
2818
- }
2819
-
2820
- def __init__(self, *, key_name: str, **kwargs: Any) -> None:
2821
- """
2822
- :keyword key_name: The name of storage keys that want to be regenerated, possible values are
2823
- key1, key2. Required.
2824
- :paramtype key_name: str
2825
- """
2826
- super().__init__(**kwargs)
2827
- self.key_name = key_name
2828
-
2829
-
2830
- class StorageAccountUpdateParameters(_serialization.Model):
2831
- """The parameters that can be provided when updating the storage account properties.
2832
-
2833
- :ivar sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS,
2834
- Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
2835
- :vartype sku: ~azure.mgmt.storage.v2018_11_01.models.Sku
2836
- :ivar tags: Gets or sets a list of key value pairs that describe the resource. These tags can
2837
- be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags
2838
- can be provided for a resource. Each tag must have a key no greater in length than 128
2839
- characters and a value no greater in length than 256 characters.
2840
- :vartype tags: dict[str, str]
2841
- :ivar identity: The identity of the resource.
2842
- :vartype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2843
- :ivar kind: Optional. Indicates the type of storage account. Currently only StorageV2 value
2844
- supported by server. Known values are: "Storage", "StorageV2", "BlobStorage", "FileStorage",
2845
- and "BlockBlobStorage".
2846
- :vartype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2847
- :ivar custom_domain: Custom domain assigned to the storage account by the user. Name is the
2848
- CNAME source. Only one custom domain is supported per storage account at this time. To clear
2849
- the existing custom domain, use an empty string for the custom domain name property.
2850
- :vartype custom_domain: ~azure.mgmt.storage.v2018_11_01.models.CustomDomain
2851
- :ivar encryption: Provides the encryption settings on the account. The default setting is
2852
- unencrypted.
2853
- :vartype encryption: ~azure.mgmt.storage.v2018_11_01.models.Encryption
2854
- :ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier used
2855
- for billing. Known values are: "Hot" and "Cool".
2856
- :vartype access_tier: str or ~azure.mgmt.storage.v2018_11_01.models.AccessTier
2857
- :ivar enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if sets
2858
- to true.
2859
- :vartype enable_azure_files_aad_integration: bool
2860
- :ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
2861
- :vartype enable_https_traffic_only: bool
2862
- :ivar network_rule_set: Network rule set.
2863
- :vartype network_rule_set: ~azure.mgmt.storage.v2018_11_01.models.NetworkRuleSet
2864
- """
2865
-
2866
- _attribute_map = {
2867
- "sku": {"key": "sku", "type": "Sku"},
2868
- "tags": {"key": "tags", "type": "{str}"},
2869
- "identity": {"key": "identity", "type": "Identity"},
2870
- "kind": {"key": "kind", "type": "str"},
2871
- "custom_domain": {"key": "properties.customDomain", "type": "CustomDomain"},
2872
- "encryption": {"key": "properties.encryption", "type": "Encryption"},
2873
- "access_tier": {"key": "properties.accessTier", "type": "str"},
2874
- "enable_azure_files_aad_integration": {"key": "properties.azureFilesAadIntegration", "type": "bool"},
2875
- "enable_https_traffic_only": {"key": "properties.supportsHttpsTrafficOnly", "type": "bool"},
2876
- "network_rule_set": {"key": "properties.networkAcls", "type": "NetworkRuleSet"},
2877
- }
2878
-
2879
- def __init__(
2880
- self,
2881
- *,
2882
- sku: Optional["_models.Sku"] = None,
2883
- tags: Optional[Dict[str, str]] = None,
2884
- identity: Optional["_models.Identity"] = None,
2885
- kind: Optional[Union[str, "_models.Kind"]] = None,
2886
- custom_domain: Optional["_models.CustomDomain"] = None,
2887
- encryption: Optional["_models.Encryption"] = None,
2888
- access_tier: Optional[Union[str, "_models.AccessTier"]] = None,
2889
- enable_azure_files_aad_integration: Optional[bool] = None,
2890
- enable_https_traffic_only: Optional[bool] = None,
2891
- network_rule_set: Optional["_models.NetworkRuleSet"] = None,
2892
- **kwargs: Any
2893
- ) -> None:
2894
- """
2895
- :keyword sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to
2896
- Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any
2897
- other value.
2898
- :paramtype sku: ~azure.mgmt.storage.v2018_11_01.models.Sku
2899
- :keyword tags: Gets or sets a list of key value pairs that describe the resource. These tags
2900
- can be used in viewing and grouping this resource (across resource groups). A maximum of 15
2901
- tags can be provided for a resource. Each tag must have a key no greater in length than 128
2902
- characters and a value no greater in length than 256 characters.
2903
- :paramtype tags: dict[str, str]
2904
- :keyword identity: The identity of the resource.
2905
- :paramtype identity: ~azure.mgmt.storage.v2018_11_01.models.Identity
2906
- :keyword kind: Optional. Indicates the type of storage account. Currently only StorageV2 value
2907
- supported by server. Known values are: "Storage", "StorageV2", "BlobStorage", "FileStorage",
2908
- and "BlockBlobStorage".
2909
- :paramtype kind: str or ~azure.mgmt.storage.v2018_11_01.models.Kind
2910
- :keyword custom_domain: Custom domain assigned to the storage account by the user. Name is the
2911
- CNAME source. Only one custom domain is supported per storage account at this time. To clear
2912
- the existing custom domain, use an empty string for the custom domain name property.
2913
- :paramtype custom_domain: ~azure.mgmt.storage.v2018_11_01.models.CustomDomain
2914
- :keyword encryption: Provides the encryption settings on the account. The default setting is
2915
- unencrypted.
2916
- :paramtype encryption: ~azure.mgmt.storage.v2018_11_01.models.Encryption
2917
- :keyword access_tier: Required for storage accounts where kind = BlobStorage. The access tier
2918
- used for billing. Known values are: "Hot" and "Cool".
2919
- :paramtype access_tier: str or ~azure.mgmt.storage.v2018_11_01.models.AccessTier
2920
- :keyword enable_azure_files_aad_integration: Enables Azure Files AAD Integration for SMB if
2921
- sets to true.
2922
- :paramtype enable_azure_files_aad_integration: bool
2923
- :keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
2924
- true.
2925
- :paramtype enable_https_traffic_only: bool
2926
- :keyword network_rule_set: Network rule set.
2927
- :paramtype network_rule_set: ~azure.mgmt.storage.v2018_11_01.models.NetworkRuleSet
2928
- """
2929
- super().__init__(**kwargs)
2930
- self.sku = sku
2931
- self.tags = tags
2932
- self.identity = identity
2933
- self.kind = kind
2934
- self.custom_domain = custom_domain
2935
- self.encryption = encryption
2936
- self.access_tier = access_tier
2937
- self.enable_azure_files_aad_integration = enable_azure_files_aad_integration
2938
- self.enable_https_traffic_only = enable_https_traffic_only
2939
- self.network_rule_set = network_rule_set
2940
-
2941
-
2942
- class StorageSkuListResult(_serialization.Model):
2943
- """The response from the List Storage SKUs operation.
2944
-
2945
- Variables are only populated by the server, and will be ignored when sending a request.
2946
-
2947
- :ivar value: Get the list result of storage SKUs and their properties.
2948
- :vartype value: list[~azure.mgmt.storage.v2018_11_01.models.Sku]
2949
- """
2950
-
2951
- _validation = {
2952
- "value": {"readonly": True},
2953
- }
2954
-
2955
- _attribute_map = {
2956
- "value": {"key": "value", "type": "[Sku]"},
2957
- }
2958
-
2959
- def __init__(self, **kwargs: Any) -> None:
2960
- """ """
2961
- super().__init__(**kwargs)
2962
- self.value = None
2963
-
2964
-
2965
- class TagProperty(_serialization.Model):
2966
- """A tag of the LegalHold of a blob container.
2967
-
2968
- Variables are only populated by the server, and will be ignored when sending a request.
2969
-
2970
- :ivar tag: The tag value.
2971
- :vartype tag: str
2972
- :ivar timestamp: Returns the date and time the tag was added.
2973
- :vartype timestamp: ~datetime.datetime
2974
- :ivar object_identifier: Returns the Object ID of the user who added the tag.
2975
- :vartype object_identifier: str
2976
- :ivar tenant_id: Returns the Tenant ID that issued the token for the user who added the tag.
2977
- :vartype tenant_id: str
2978
- :ivar upn: Returns the User Principal Name of the user who added the tag.
2979
- :vartype upn: str
2980
- """
2981
-
2982
- _validation = {
2983
- "tag": {"readonly": True},
2984
- "timestamp": {"readonly": True},
2985
- "object_identifier": {"readonly": True},
2986
- "tenant_id": {"readonly": True},
2987
- "upn": {"readonly": True},
2988
- }
2989
-
2990
- _attribute_map = {
2991
- "tag": {"key": "tag", "type": "str"},
2992
- "timestamp": {"key": "timestamp", "type": "iso-8601"},
2993
- "object_identifier": {"key": "objectIdentifier", "type": "str"},
2994
- "tenant_id": {"key": "tenantId", "type": "str"},
2995
- "upn": {"key": "upn", "type": "str"},
2996
- }
2997
-
2998
- def __init__(self, **kwargs: Any) -> None:
2999
- """ """
3000
- super().__init__(**kwargs)
3001
- self.tag = None
3002
- self.timestamp = None
3003
- self.object_identifier = None
3004
- self.tenant_id = None
3005
- self.upn = None
3006
-
3007
-
3008
- class UpdateHistoryProperty(_serialization.Model):
3009
- """An update history of the ImmutabilityPolicy of a blob container.
3010
-
3011
- Variables are only populated by the server, and will be ignored when sending a request.
3012
-
3013
- :ivar update: The ImmutabilityPolicy update type of a blob container, possible values include:
3014
- put, lock and extend. Known values are: "put", "lock", and "extend".
3015
- :vartype update: str or ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicyUpdateType
3016
- :ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the
3017
- container since the policy creation, in days.
3018
- :vartype immutability_period_since_creation_in_days: int
3019
- :ivar timestamp: Returns the date and time the ImmutabilityPolicy was updated.
3020
- :vartype timestamp: ~datetime.datetime
3021
- :ivar object_identifier: Returns the Object ID of the user who updated the ImmutabilityPolicy.
3022
- :vartype object_identifier: str
3023
- :ivar tenant_id: Returns the Tenant ID that issued the token for the user who updated the
3024
- ImmutabilityPolicy.
3025
- :vartype tenant_id: str
3026
- :ivar upn: Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
3027
- :vartype upn: str
3028
- """
3029
-
3030
- _validation = {
3031
- "update": {"readonly": True},
3032
- "immutability_period_since_creation_in_days": {"readonly": True},
3033
- "timestamp": {"readonly": True},
3034
- "object_identifier": {"readonly": True},
3035
- "tenant_id": {"readonly": True},
3036
- "upn": {"readonly": True},
3037
- }
3038
-
3039
- _attribute_map = {
3040
- "update": {"key": "update", "type": "str"},
3041
- "immutability_period_since_creation_in_days": {"key": "immutabilityPeriodSinceCreationInDays", "type": "int"},
3042
- "timestamp": {"key": "timestamp", "type": "iso-8601"},
3043
- "object_identifier": {"key": "objectIdentifier", "type": "str"},
3044
- "tenant_id": {"key": "tenantId", "type": "str"},
3045
- "upn": {"key": "upn", "type": "str"},
3046
- }
3047
-
3048
- def __init__(self, **kwargs: Any) -> None:
3049
- """ """
3050
- super().__init__(**kwargs)
3051
- self.update = None
3052
- self.immutability_period_since_creation_in_days = None
3053
- self.timestamp = None
3054
- self.object_identifier = None
3055
- self.tenant_id = None
3056
- self.upn = None
3057
-
3058
-
3059
- class Usage(_serialization.Model):
3060
- """Describes Storage Resource Usage.
3061
-
3062
- Variables are only populated by the server, and will be ignored when sending a request.
3063
-
3064
- :ivar unit: Gets the unit of measurement. Known values are: "Count", "Bytes", "Seconds",
3065
- "Percent", "CountsPerSecond", and "BytesPerSecond".
3066
- :vartype unit: str or ~azure.mgmt.storage.v2018_11_01.models.UsageUnit
3067
- :ivar current_value: Gets the current count of the allocated resources in the subscription.
3068
- :vartype current_value: int
3069
- :ivar limit: Gets the maximum count of the resources that can be allocated in the subscription.
3070
- :vartype limit: int
3071
- :ivar name: Gets the name of the type of usage.
3072
- :vartype name: ~azure.mgmt.storage.v2018_11_01.models.UsageName
3073
- """
3074
-
3075
- _validation = {
3076
- "unit": {"readonly": True},
3077
- "current_value": {"readonly": True},
3078
- "limit": {"readonly": True},
3079
- "name": {"readonly": True},
3080
- }
3081
-
3082
- _attribute_map = {
3083
- "unit": {"key": "unit", "type": "str"},
3084
- "current_value": {"key": "currentValue", "type": "int"},
3085
- "limit": {"key": "limit", "type": "int"},
3086
- "name": {"key": "name", "type": "UsageName"},
3087
- }
3088
-
3089
- def __init__(self, **kwargs: Any) -> None:
3090
- """ """
3091
- super().__init__(**kwargs)
3092
- self.unit = None
3093
- self.current_value = None
3094
- self.limit = None
3095
- self.name = None
3096
-
3097
-
3098
- class UsageListResult(_serialization.Model):
3099
- """The response from the List Usages operation.
3100
-
3101
- :ivar value: Gets or sets the list of Storage Resource Usages.
3102
- :vartype value: list[~azure.mgmt.storage.v2018_11_01.models.Usage]
3103
- """
3104
-
3105
- _attribute_map = {
3106
- "value": {"key": "value", "type": "[Usage]"},
3107
- }
3108
-
3109
- def __init__(self, *, value: Optional[List["_models.Usage"]] = None, **kwargs: Any) -> None:
3110
- """
3111
- :keyword value: Gets or sets the list of Storage Resource Usages.
3112
- :paramtype value: list[~azure.mgmt.storage.v2018_11_01.models.Usage]
3113
- """
3114
- super().__init__(**kwargs)
3115
- self.value = value
3116
-
3117
-
3118
- class UsageName(_serialization.Model):
3119
- """The usage names that can be used; currently limited to StorageAccount.
3120
-
3121
- Variables are only populated by the server, and will be ignored when sending a request.
3122
-
3123
- :ivar value: Gets a string describing the resource name.
3124
- :vartype value: str
3125
- :ivar localized_value: Gets a localized string describing the resource name.
3126
- :vartype localized_value: str
3127
- """
3128
-
3129
- _validation = {
3130
- "value": {"readonly": True},
3131
- "localized_value": {"readonly": True},
3132
- }
3133
-
3134
- _attribute_map = {
3135
- "value": {"key": "value", "type": "str"},
3136
- "localized_value": {"key": "localizedValue", "type": "str"},
3137
- }
3138
-
3139
- def __init__(self, **kwargs: Any) -> None:
3140
- """ """
3141
- super().__init__(**kwargs)
3142
- self.value = None
3143
- self.localized_value = None
3144
-
3145
-
3146
- class VirtualNetworkRule(_serialization.Model):
3147
- """Virtual Network rule.
3148
-
3149
- All required parameters must be populated in order to send to server.
3150
-
3151
- :ivar virtual_network_resource_id: Resource ID of a subnet, for example:
3152
- /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. # pylint: disable=line-too-long
3153
- Required.
3154
- :vartype virtual_network_resource_id: str
3155
- :ivar action: The action of virtual network rule. Default value is "Allow".
3156
- :vartype action: str
3157
- :ivar state: Gets the state of virtual network rule. Known values are: "provisioning",
3158
- "deprovisioning", "succeeded", "failed", and "networkSourceDeleted".
3159
- :vartype state: str or ~azure.mgmt.storage.v2018_11_01.models.State
3160
- """
3161
-
3162
- _validation = {
3163
- "virtual_network_resource_id": {"required": True},
3164
- }
3165
-
3166
- _attribute_map = {
3167
- "virtual_network_resource_id": {"key": "id", "type": "str"},
3168
- "action": {"key": "action", "type": "str"},
3169
- "state": {"key": "state", "type": "str"},
3170
- }
3171
-
3172
- def __init__(
3173
- self,
3174
- *,
3175
- virtual_network_resource_id: str,
3176
- action: Optional[Literal["Allow"]] = None,
3177
- state: Optional[Union[str, "_models.State"]] = None,
3178
- **kwargs: Any
3179
- ) -> None:
3180
- """
3181
- :keyword virtual_network_resource_id: Resource ID of a subnet, for example:
3182
- /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. # pylint: disable=line-too-long
3183
- Required.
3184
- :paramtype virtual_network_resource_id: str
3185
- :keyword action: The action of virtual network rule. Default value is "Allow".
3186
- :paramtype action: str
3187
- :keyword state: Gets the state of virtual network rule. Known values are: "provisioning",
3188
- "deprovisioning", "succeeded", "failed", and "networkSourceDeleted".
3189
- :paramtype state: str or ~azure.mgmt.storage.v2018_11_01.models.State
3190
- """
3191
- super().__init__(**kwargs)
3192
- self.virtual_network_resource_id = virtual_network_resource_id
3193
- self.action = action
3194
- self.state = state