azure_key_vault 0.17.4 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-01/generated/azure_key_vault/key_vault_client.rb +113 -1
  3. data/lib/2015-06-01/generated/azure_key_vault/models/administrator_details.rb +1 -1
  4. data/lib/2015-06-01/generated/azure_key_vault/models/attributes.rb +4 -4
  5. data/lib/2015-06-01/generated/azure_key_vault/models/contact.rb +1 -1
  6. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_attributes.rb +2 -2
  7. data/lib/2015-06-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  8. data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +186 -4
  9. data/lib/2016-10-01/generated/azure_key_vault/models/administrator_details.rb +1 -1
  10. data/lib/2016-10-01/generated/azure_key_vault/models/contact.rb +1 -1
  11. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  12. data/lib/2016-10-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  13. data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +216 -4
  14. data/lib/7.0-preview/generated/azure_key_vault/models/administrator_details.rb +1 -1
  15. data/lib/7.0-preview/generated/azure_key_vault/models/contact.rb +1 -1
  16. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  17. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  18. data/lib/7.0-preview/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  19. data/lib/7.0/generated/azure_key_vault/key_vault_client.rb +243 -22
  20. data/lib/7.0/generated/azure_key_vault/models/administrator_details.rb +1 -1
  21. data/lib/7.0/generated/azure_key_vault/models/certificate_attributes.rb +2 -1
  22. data/lib/7.0/generated/azure_key_vault/models/certificate_import_parameters.rb +2 -2
  23. data/lib/7.0/generated/azure_key_vault/models/contact.rb +1 -1
  24. data/lib/7.0/generated/azure_key_vault/models/deletion_recovery_level.rb +3 -0
  25. data/lib/7.0/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  26. data/lib/7.0/generated/azure_key_vault/models/key_attributes.rb +2 -1
  27. data/lib/7.0/generated/azure_key_vault/models/sas_definition_attributes.rb +2 -1
  28. data/lib/7.0/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  29. data/lib/7.0/generated/azure_key_vault/models/secret_attributes.rb +2 -1
  30. data/lib/7.0/generated/azure_key_vault/models/storage_account_attributes.rb +2 -1
  31. data/lib/7.0/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  32. data/lib/7.1-preview/generated/azure_key_vault.rb +125 -0
  33. data/lib/7.1-preview/generated/azure_key_vault/key_vault_client.rb +12662 -0
  34. data/lib/7.1-preview/generated/azure_key_vault/models/action.rb +48 -0
  35. data/lib/7.1-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  36. data/lib/7.1-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  37. data/lib/7.1-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  38. data/lib/7.1-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  39. data/lib/7.1-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  40. data/lib/7.1-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  41. data/lib/7.1-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  42. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  43. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  44. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  45. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  46. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  47. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  48. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  49. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  50. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  51. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  52. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  53. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  54. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  55. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  56. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  57. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  58. data/lib/7.1-preview/generated/azure_key_vault/models/contact.rb +68 -0
  59. data/lib/7.1-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  60. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  61. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  62. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  63. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  64. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  65. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  66. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  67. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  68. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  69. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  70. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  71. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  72. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  73. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  74. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  75. data/lib/7.1-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  76. data/lib/7.1-preview/generated/azure_key_vault/models/error.rb +72 -0
  77. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  78. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  79. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  80. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  81. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key.rb +223 -0
  82. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  83. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  84. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  85. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  86. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  87. data/lib/7.1-preview/generated/azure_key_vault/models/key_attributes.rb +109 -0
  88. data/lib/7.1-preview/generated/azure_key_vault/models/key_bundle.rb +92 -0
  89. data/lib/7.1-preview/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  90. data/lib/7.1-preview/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  91. data/lib/7.1-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  92. data/lib/7.1-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  93. data/lib/7.1-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  94. data/lib/7.1-preview/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  95. data/lib/7.1-preview/generated/azure_key_vault/models/key_properties.rb +96 -0
  96. data/lib/7.1-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  97. data/lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  98. data/lib/7.1-preview/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  99. data/lib/7.1-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  100. data/lib/7.1-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  101. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  102. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  103. data/lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  104. data/lib/7.1-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  105. data/lib/7.1-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  106. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  107. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  108. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  109. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  110. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  111. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  112. data/lib/7.1-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  113. data/lib/7.1-preview/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  114. data/lib/7.1-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  115. data/lib/7.1-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  116. data/lib/7.1-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  117. data/lib/7.1-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  118. data/lib/7.1-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  119. data/lib/7.1-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  120. data/lib/7.1-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  121. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  122. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  123. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  124. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  125. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  126. data/lib/7.1-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  127. data/lib/7.1-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  128. data/lib/7.1-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  129. data/lib/7.1-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  130. data/lib/7.1-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  131. data/lib/7.1-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  132. data/lib/7.1-preview/generated/azure_key_vault/module_definition.rb +8 -0
  133. data/lib/7.1/generated/azure_key_vault.rb +125 -0
  134. data/lib/7.1/generated/azure_key_vault/key_vault_client.rb +12659 -0
  135. data/lib/7.1/generated/azure_key_vault/models/action.rb +48 -0
  136. data/lib/7.1/generated/azure_key_vault/models/action_type.rb +16 -0
  137. data/lib/7.1/generated/azure_key_vault/models/administrator_details.rb +79 -0
  138. data/lib/7.1/generated/azure_key_vault/models/attributes.rb +92 -0
  139. data/lib/7.1/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  140. data/lib/7.1/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  141. data/lib/7.1/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  142. data/lib/7.1/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  143. data/lib/7.1/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  144. data/lib/7.1/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  145. data/lib/7.1/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  146. data/lib/7.1/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  147. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  148. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  149. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  150. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  151. data/lib/7.1/generated/azure_key_vault/models/certificate_item.rb +89 -0
  152. data/lib/7.1/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  153. data/lib/7.1/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  154. data/lib/7.1/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  155. data/lib/7.1/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  156. data/lib/7.1/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  157. data/lib/7.1/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  158. data/lib/7.1/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  159. data/lib/7.1/generated/azure_key_vault/models/contact.rb +68 -0
  160. data/lib/7.1/generated/azure_key_vault/models/contacts.rb +67 -0
  161. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  162. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  163. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  164. data/lib/7.1/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  165. data/lib/7.1/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  166. data/lib/7.1/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  167. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  168. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  169. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  170. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  171. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  172. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  173. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  174. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  175. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  176. data/lib/7.1/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  177. data/lib/7.1/generated/azure_key_vault/models/error.rb +72 -0
  178. data/lib/7.1/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  179. data/lib/7.1/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  180. data/lib/7.1/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  181. data/lib/7.1/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  182. data/lib/7.1/generated/azure_key_vault/models/json_web_key.rb +223 -0
  183. data/lib/7.1/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  184. data/lib/7.1/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  185. data/lib/7.1/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  186. data/lib/7.1/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  187. data/lib/7.1/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  188. data/lib/7.1/generated/azure_key_vault/models/key_attributes.rb +109 -0
  189. data/lib/7.1/generated/azure_key_vault/models/key_bundle.rb +92 -0
  190. data/lib/7.1/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  191. data/lib/7.1/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  192. data/lib/7.1/generated/azure_key_vault/models/key_item.rb +91 -0
  193. data/lib/7.1/generated/azure_key_vault/models/key_list_result.rb +101 -0
  194. data/lib/7.1/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  195. data/lib/7.1/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  196. data/lib/7.1/generated/azure_key_vault/models/key_properties.rb +96 -0
  197. data/lib/7.1/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  198. data/lib/7.1/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  199. data/lib/7.1/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  200. data/lib/7.1/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  201. data/lib/7.1/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  202. data/lib/7.1/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  203. data/lib/7.1/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  204. data/lib/7.1/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  205. data/lib/7.1/generated/azure_key_vault/models/organization_details.rb +67 -0
  206. data/lib/7.1/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  207. data/lib/7.1/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  208. data/lib/7.1/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  209. data/lib/7.1/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  210. data/lib/7.1/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  211. data/lib/7.1/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  212. data/lib/7.1/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  213. data/lib/7.1/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  214. data/lib/7.1/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  215. data/lib/7.1/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  216. data/lib/7.1/generated/azure_key_vault/models/secret_item.rb +103 -0
  217. data/lib/7.1/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  218. data/lib/7.1/generated/azure_key_vault/models/secret_properties.rb +46 -0
  219. data/lib/7.1/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  220. data/lib/7.1/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  221. data/lib/7.1/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  222. data/lib/7.1/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  223. data/lib/7.1/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  224. data/lib/7.1/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  225. data/lib/7.1/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  226. data/lib/7.1/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  227. data/lib/7.1/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  228. data/lib/7.1/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  229. data/lib/7.1/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  230. data/lib/7.1/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  231. data/lib/7.1/generated/azure_key_vault/models/trigger.rb +65 -0
  232. data/lib/7.1/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  233. data/lib/7.1/generated/azure_key_vault/module_definition.rb +8 -0
  234. data/lib/7.2-preview/generated/azure_key_vault.rb +165 -0
  235. data/lib/7.2-preview/generated/azure_key_vault/hsmsecurity_domain.rb +462 -0
  236. data/lib/7.2-preview/generated/azure_key_vault/key_vault_client.rb +13806 -0
  237. data/lib/7.2-preview/generated/azure_key_vault/models/action.rb +48 -0
  238. data/lib/7.2-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  239. data/lib/7.2-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  240. data/lib/7.2-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  241. data/lib/7.2-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  242. data/lib/7.2-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  243. data/lib/7.2-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  244. data/lib/7.2-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  245. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  246. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  247. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  248. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  249. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_info_object.rb +80 -0
  250. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  251. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  252. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  253. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  254. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  255. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  256. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  257. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  258. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  259. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  260. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  261. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  262. data/lib/7.2-preview/generated/azure_key_vault/models/contact.rb +68 -0
  263. data/lib/7.2-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  264. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  265. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  266. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  267. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +124 -0
  268. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  269. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  270. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  271. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  272. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  273. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  274. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  275. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  276. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  277. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  278. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  279. data/lib/7.2-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  280. data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set.rb +72 -0
  281. data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set_item.rb +58 -0
  282. data/lib/7.2-preview/generated/azure_key_vault/models/error.rb +72 -0
  283. data/lib/7.2-preview/generated/azure_key_vault/models/full_backup_operation.rb +115 -0
  284. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  285. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  286. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  287. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  288. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key.rb +224 -0
  289. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  290. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +29 -0
  291. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_operation.rb +22 -0
  292. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  293. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_type.rb +20 -0
  294. data/lib/7.2-preview/generated/azure_key_vault/models/key.rb +58 -0
  295. data/lib/7.2-preview/generated/azure_key_vault/models/key_attributes.rb +120 -0
  296. data/lib/7.2-preview/generated/azure_key_vault/models/key_bundle.rb +105 -0
  297. data/lib/7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb +151 -0
  298. data/lib/7.2-preview/generated/azure_key_vault/models/key_export_parameters.rb +49 -0
  299. data/lib/7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb +104 -0
  300. data/lib/7.2-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  301. data/lib/7.2-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  302. data/lib/7.2-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  303. data/lib/7.2-preview/generated/azure_key_vault/models/key_operations_parameters.rb +98 -0
  304. data/lib/7.2-preview/generated/azure_key_vault/models/key_properties.rb +96 -0
  305. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_authority.rb +70 -0
  306. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_condition.rb +76 -0
  307. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_condition_condition.rb +15 -0
  308. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_policy.rb +68 -0
  309. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_policy_version.rb +15 -0
  310. data/lib/7.2-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  311. data/lib/7.2-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  312. data/lib/7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb +100 -0
  313. data/lib/7.2-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  314. data/lib/7.2-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  315. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  316. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  317. data/lib/7.2-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  318. data/lib/7.2-preview/generated/azure_key_vault/models/operation_status.rb +17 -0
  319. data/lib/7.2-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  320. data/lib/7.2-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  321. data/lib/7.2-preview/generated/azure_key_vault/models/permission.rb +111 -0
  322. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation.rb +103 -0
  323. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb +60 -0
  324. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment.rb +83 -0
  325. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_create_parameters.rb +47 -0
  326. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_filter.rb +46 -0
  327. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_list_result.rb +98 -0
  328. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb +59 -0
  329. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb +68 -0
  330. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition.rb +143 -0
  331. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_filter.rb +46 -0
  332. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_list_result.rb +98 -0
  333. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  334. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  335. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  336. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  337. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  338. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  339. data/lib/7.2-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  340. data/lib/7.2-preview/generated/azure_key_vault/models/sastoken_parameter.rb +59 -0
  341. data/lib/7.2-preview/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  342. data/lib/7.2-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  343. data/lib/7.2-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  344. data/lib/7.2-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  345. data/lib/7.2-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  346. data/lib/7.2-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  347. data/lib/7.2-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  348. data/lib/7.2-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  349. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_certificate_item.rb +49 -0
  350. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_json_web_key.rb +165 -0
  351. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object.rb +47 -0
  352. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data.rb +71 -0
  353. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data_shared_keys.rb +87 -0
  354. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_operation_status.rb +60 -0
  355. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object.rb +47 -0
  356. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value.rb +61 -0
  357. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value_wrapped_key.rb +59 -0
  358. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation.rb +103 -0
  359. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb +60 -0
  360. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  361. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  362. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  363. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  364. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  365. data/lib/7.2-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  366. data/lib/7.2-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  367. data/lib/7.2-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  368. data/lib/7.2-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  369. data/lib/7.2-preview/generated/azure_key_vault/models/transfer_key.rb +62 -0
  370. data/lib/7.2-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  371. data/lib/7.2-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  372. data/lib/7.2-preview/generated/azure_key_vault/module_definition.rb +8 -0
  373. data/lib/7.2-preview/generated/azure_key_vault/role_assignments.rb +578 -0
  374. data/lib/7.2-preview/generated/azure_key_vault/role_definitions.rb +244 -0
  375. data/lib/azure_key_vault.rb +7 -4
  376. data/lib/profiles/latest/modules/keyvault_profile_module.rb +426 -272
  377. data/lib/version.rb +1 -1
  378. metadata +345 -2
@@ -0,0 +1,132 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # A Storage account bundle consists of key vault storage account details
10
+ # plus its attributes.
11
+ #
12
+ class StorageBundle
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The storage account id.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The storage account resource id.
20
+ attr_accessor :resource_id
21
+
22
+ # @return [String] The current active storage account key name.
23
+ attr_accessor :active_key_name
24
+
25
+ # @return [Boolean] whether keyvault should manage the storage account
26
+ # for the user.
27
+ attr_accessor :auto_regenerate_key
28
+
29
+ # @return [String] The key regeneration time duration specified in
30
+ # ISO-8601 format.
31
+ attr_accessor :regeneration_period
32
+
33
+ # @return [StorageAccountAttributes] The storage account attributes.
34
+ attr_accessor :attributes
35
+
36
+ # @return [Hash{String => String}] Application specific metadata in the
37
+ # form of key-value pairs
38
+ attr_accessor :tags
39
+
40
+
41
+ #
42
+ # Mapper for StorageBundle class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'StorageBundle',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'StorageBundle',
53
+ model_properties: {
54
+ id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'id',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ resource_id: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'resourceId',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ active_key_name: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'activeKeyName',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ auto_regenerate_key: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'autoRegenerateKey',
86
+ type: {
87
+ name: 'Boolean'
88
+ }
89
+ },
90
+ regeneration_period: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'regenerationPeriod',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ attributes: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ read_only: true,
103
+ serialized_name: 'attributes',
104
+ type: {
105
+ name: 'Composite',
106
+ class_name: 'StorageAccountAttributes'
107
+ }
108
+ },
109
+ tags: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'tags',
114
+ type: {
115
+ name: 'Dictionary',
116
+ value: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'StringElementType',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end
@@ -0,0 +1,102 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # The storage accounts list result.
10
+ #
11
+ class StorageListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<StorageAccountItem>] A response message containing a
17
+ # list of storage accounts in the key vault along with a link to the next
18
+ # page of storage accounts.
19
+ attr_accessor :value
20
+
21
+ # @return [String] The URL to get the next set of storage accounts.
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<StorageAccountItem>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
+ page = page.get_next_page
37
+ items.concat(page.value)
38
+ end
39
+ items
40
+ end
41
+
42
+ #
43
+ # Gets the next page of results.
44
+ #
45
+ # @return [StorageListResult] with next page content.
46
+ #
47
+ def get_next_page
48
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
49
+ unless response.nil?
50
+ @next_link = response.body.next_link
51
+ @value = response.body.value
52
+ self
53
+ end
54
+ end
55
+
56
+ #
57
+ # Mapper for StorageListResult class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'StorageListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'StorageListResult',
68
+ model_properties: {
69
+ value: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'StorageAccountItemElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'StorageAccountItem'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ next_link: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'nextLink',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # The secret restore parameters.
10
+ #
11
+ class StorageRestoreParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return The backup blob associated with a storage account.
16
+ attr_accessor :storage_bundle_backup
17
+
18
+
19
+ #
20
+ # Mapper for StorageRestoreParameters class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'StorageRestoreParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'StorageRestoreParameters',
31
+ model_properties: {
32
+ storage_bundle_backup: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Base64Url'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,92 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # The subject alternate names of a X509 object.
10
+ #
11
+ class SubjectAlternativeNames
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] Email addresses.
16
+ attr_accessor :emails
17
+
18
+ # @return [Array<String>] Domain names.
19
+ attr_accessor :dns_names
20
+
21
+ # @return [Array<String>] User principal names.
22
+ attr_accessor :upns
23
+
24
+
25
+ #
26
+ # Mapper for SubjectAlternativeNames class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'SubjectAlternativeNames',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'SubjectAlternativeNames',
37
+ model_properties: {
38
+ emails: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'emails',
42
+ type: {
43
+ name: 'Sequence',
44
+ element: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'StringElementType',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ },
54
+ dns_names: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'dns_names',
58
+ type: {
59
+ name: 'Sequence',
60
+ element: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'StringElementType',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ },
70
+ upns: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'upns',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'StringElementType',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,62 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class TransferKey
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Specifies the format of the transfer key. Default
17
+ # value: 'jwk' .
18
+ attr_accessor :key_format
19
+
20
+ # @return [SecurityDomainJsonWebKey] Specifies the transfer key in JWK
21
+ # format
22
+ attr_accessor :transfer_key
23
+
24
+
25
+ #
26
+ # Mapper for TransferKey class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'TransferKey',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'TransferKey',
37
+ model_properties: {
38
+ key_format: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'key_format',
42
+ default_value: 'jwk',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ transfer_key: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'transfer_key',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'SecurityDomainJsonWebKey'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::KeyVault::V7_2_preview
7
+ module Models
8
+ #
9
+ # A condition to be satisfied for an action to be executed.
10
+ #
11
+ class Trigger
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Percentage of lifetime at which to trigger. Value
16
+ # should be between 1 and 99.
17
+ attr_accessor :lifetime_percentage
18
+
19
+ # @return [Integer] Days before expiry to attempt renewal. Value should
20
+ # be between 1 and validity_in_months multiplied by 27. If
21
+ # validity_in_months is 36, then value should be between 1 and 972 (36 *
22
+ # 27).
23
+ attr_accessor :days_before_expiry
24
+
25
+
26
+ #
27
+ # Mapper for Trigger class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Trigger',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Trigger',
38
+ model_properties: {
39
+ lifetime_percentage: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'lifetime_percentage',
43
+ constraints: {
44
+ InclusiveMaximum: 99,
45
+ InclusiveMinimum: 1
46
+ },
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ },
51
+ days_before_expiry: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'days_before_expiry',
55
+ type: {
56
+ name: 'Number'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end