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