azure_key_vault 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (419) hide show
  1. checksums.yaml +5 -5
  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/certificate_issuer_list_result.rb +1 -1
  6. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_list_result.rb +1 -1
  7. data/lib/2015-06-01/generated/azure_key_vault/models/contact.rb +1 -1
  8. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_attributes.rb +2 -2
  9. data/lib/2015-06-01/generated/azure_key_vault/models/key_list_result.rb +1 -1
  10. data/lib/2015-06-01/generated/azure_key_vault/models/secret_list_result.rb +1 -1
  11. data/lib/2015-06-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  12. data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +186 -4
  13. data/lib/2016-10-01/generated/azure_key_vault/models/administrator_details.rb +1 -1
  14. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_issuer_list_result.rb +1 -1
  15. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_list_result.rb +1 -1
  16. data/lib/2016-10-01/generated/azure_key_vault/models/contact.rb +1 -1
  17. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_certificate_list_result.rb +1 -1
  18. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_key_list_result.rb +1 -1
  19. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_list_result.rb +1 -1
  20. data/lib/2016-10-01/generated/azure_key_vault/models/key_list_result.rb +1 -1
  21. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_list_result.rb +2 -2
  22. data/lib/2016-10-01/generated/azure_key_vault/models/secret_list_result.rb +1 -1
  23. data/lib/2016-10-01/generated/azure_key_vault/models/storage_list_result.rb +1 -1
  24. data/lib/2016-10-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  25. data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +216 -4
  26. data/lib/7.0-preview/generated/azure_key_vault/models/administrator_details.rb +1 -1
  27. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +1 -1
  28. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_list_result.rb +1 -1
  29. data/lib/7.0-preview/generated/azure_key_vault/models/contact.rb +1 -1
  30. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +1 -1
  31. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +1 -1
  32. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +1 -1
  33. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +1 -1
  34. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +1 -1
  35. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  36. data/lib/7.0-preview/generated/azure_key_vault/models/key_list_result.rb +1 -1
  37. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +2 -2
  38. data/lib/7.0-preview/generated/azure_key_vault/models/secret_list_result.rb +1 -1
  39. data/lib/7.0-preview/generated/azure_key_vault/models/storage_list_result.rb +1 -1
  40. data/lib/7.0-preview/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  41. data/lib/7.0/generated/azure_key_vault/key_vault_client.rb +243 -22
  42. data/lib/7.0/generated/azure_key_vault/models/administrator_details.rb +1 -1
  43. data/lib/7.0/generated/azure_key_vault/models/certificate_attributes.rb +2 -1
  44. data/lib/7.0/generated/azure_key_vault/models/certificate_import_parameters.rb +2 -2
  45. data/lib/7.0/generated/azure_key_vault/models/certificate_issuer_list_result.rb +1 -1
  46. data/lib/7.0/generated/azure_key_vault/models/certificate_list_result.rb +1 -1
  47. data/lib/7.0/generated/azure_key_vault/models/contact.rb +1 -1
  48. data/lib/7.0/generated/azure_key_vault/models/deleted_certificate_list_result.rb +1 -1
  49. data/lib/7.0/generated/azure_key_vault/models/deleted_key_list_result.rb +1 -1
  50. data/lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +1 -1
  51. data/lib/7.0/generated/azure_key_vault/models/deleted_secret_list_result.rb +1 -1
  52. data/lib/7.0/generated/azure_key_vault/models/deleted_storage_list_result.rb +1 -1
  53. data/lib/7.0/generated/azure_key_vault/models/deletion_recovery_level.rb +3 -0
  54. data/lib/7.0/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  55. data/lib/7.0/generated/azure_key_vault/models/key_attributes.rb +2 -1
  56. data/lib/7.0/generated/azure_key_vault/models/key_list_result.rb +1 -1
  57. data/lib/7.0/generated/azure_key_vault/models/sas_definition_attributes.rb +2 -1
  58. data/lib/7.0/generated/azure_key_vault/models/sas_definition_list_result.rb +2 -2
  59. data/lib/7.0/generated/azure_key_vault/models/secret_attributes.rb +2 -1
  60. data/lib/7.0/generated/azure_key_vault/models/secret_list_result.rb +1 -1
  61. data/lib/7.0/generated/azure_key_vault/models/storage_account_attributes.rb +2 -1
  62. data/lib/7.0/generated/azure_key_vault/models/storage_list_result.rb +1 -1
  63. data/lib/7.0/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  64. data/lib/7.1-preview/generated/azure_key_vault.rb +125 -0
  65. data/lib/7.1-preview/generated/azure_key_vault/key_vault_client.rb +12662 -0
  66. data/lib/7.1-preview/generated/azure_key_vault/models/action.rb +48 -0
  67. data/lib/7.1-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  68. data/lib/7.1-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  69. data/lib/7.1-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  70. data/lib/7.1-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  71. data/lib/7.1-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  72. data/lib/7.1-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  73. data/lib/7.1-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  74. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  75. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  76. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  77. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  78. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  79. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  80. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  81. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  82. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  83. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  84. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  85. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  86. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  87. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  88. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  89. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  90. data/lib/7.1-preview/generated/azure_key_vault/models/contact.rb +68 -0
  91. data/lib/7.1-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  92. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  93. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  94. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  95. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  96. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  97. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  98. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  99. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  100. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  101. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  102. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  103. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  104. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  105. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  106. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  107. data/lib/7.1-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  108. data/lib/7.1-preview/generated/azure_key_vault/models/error.rb +72 -0
  109. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  110. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  111. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  112. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  113. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key.rb +223 -0
  114. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  115. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  116. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  117. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  118. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  119. data/lib/7.1-preview/generated/azure_key_vault/models/key_attributes.rb +109 -0
  120. data/lib/7.1-preview/generated/azure_key_vault/models/key_bundle.rb +92 -0
  121. data/lib/7.1-preview/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  122. data/lib/7.1-preview/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  123. data/lib/7.1-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  124. data/lib/7.1-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  125. data/lib/7.1-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  126. data/lib/7.1-preview/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  127. data/lib/7.1-preview/generated/azure_key_vault/models/key_properties.rb +96 -0
  128. data/lib/7.1-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  129. data/lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  130. data/lib/7.1-preview/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  131. data/lib/7.1-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  132. data/lib/7.1-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  133. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  134. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  135. data/lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  136. data/lib/7.1-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  137. data/lib/7.1-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  138. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  139. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  140. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  141. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  142. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  143. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  144. data/lib/7.1-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  145. data/lib/7.1-preview/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  146. data/lib/7.1-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  147. data/lib/7.1-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  148. data/lib/7.1-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  149. data/lib/7.1-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  150. data/lib/7.1-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  151. data/lib/7.1-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  152. data/lib/7.1-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  153. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  154. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  155. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  156. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  157. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  158. data/lib/7.1-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  159. data/lib/7.1-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  160. data/lib/7.1-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  161. data/lib/7.1-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  162. data/lib/7.1-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  163. data/lib/7.1-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  164. data/lib/7.1-preview/generated/azure_key_vault/module_definition.rb +8 -0
  165. data/lib/7.1/generated/azure_key_vault.rb +125 -0
  166. data/lib/7.1/generated/azure_key_vault/key_vault_client.rb +12659 -0
  167. data/lib/7.1/generated/azure_key_vault/models/action.rb +48 -0
  168. data/lib/7.1/generated/azure_key_vault/models/action_type.rb +16 -0
  169. data/lib/7.1/generated/azure_key_vault/models/administrator_details.rb +79 -0
  170. data/lib/7.1/generated/azure_key_vault/models/attributes.rb +92 -0
  171. data/lib/7.1/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  172. data/lib/7.1/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  173. data/lib/7.1/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  174. data/lib/7.1/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  175. data/lib/7.1/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  176. data/lib/7.1/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  177. data/lib/7.1/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  178. data/lib/7.1/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  179. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  180. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  181. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  182. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  183. data/lib/7.1/generated/azure_key_vault/models/certificate_item.rb +89 -0
  184. data/lib/7.1/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  185. data/lib/7.1/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  186. data/lib/7.1/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  187. data/lib/7.1/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  188. data/lib/7.1/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  189. data/lib/7.1/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  190. data/lib/7.1/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  191. data/lib/7.1/generated/azure_key_vault/models/contact.rb +68 -0
  192. data/lib/7.1/generated/azure_key_vault/models/contacts.rb +67 -0
  193. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  194. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  195. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  196. data/lib/7.1/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  197. data/lib/7.1/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  198. data/lib/7.1/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  199. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  200. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  201. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  202. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  203. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  204. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  205. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  206. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  207. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  208. data/lib/7.1/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  209. data/lib/7.1/generated/azure_key_vault/models/error.rb +72 -0
  210. data/lib/7.1/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  211. data/lib/7.1/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  212. data/lib/7.1/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  213. data/lib/7.1/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  214. data/lib/7.1/generated/azure_key_vault/models/json_web_key.rb +223 -0
  215. data/lib/7.1/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  216. data/lib/7.1/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  217. data/lib/7.1/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  218. data/lib/7.1/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  219. data/lib/7.1/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  220. data/lib/7.1/generated/azure_key_vault/models/key_attributes.rb +109 -0
  221. data/lib/7.1/generated/azure_key_vault/models/key_bundle.rb +92 -0
  222. data/lib/7.1/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  223. data/lib/7.1/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  224. data/lib/7.1/generated/azure_key_vault/models/key_item.rb +91 -0
  225. data/lib/7.1/generated/azure_key_vault/models/key_list_result.rb +101 -0
  226. data/lib/7.1/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  227. data/lib/7.1/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  228. data/lib/7.1/generated/azure_key_vault/models/key_properties.rb +96 -0
  229. data/lib/7.1/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  230. data/lib/7.1/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  231. data/lib/7.1/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  232. data/lib/7.1/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  233. data/lib/7.1/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  234. data/lib/7.1/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  235. data/lib/7.1/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  236. data/lib/7.1/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  237. data/lib/7.1/generated/azure_key_vault/models/organization_details.rb +67 -0
  238. data/lib/7.1/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  239. data/lib/7.1/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  240. data/lib/7.1/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  241. data/lib/7.1/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  242. data/lib/7.1/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  243. data/lib/7.1/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  244. data/lib/7.1/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  245. data/lib/7.1/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  246. data/lib/7.1/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  247. data/lib/7.1/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  248. data/lib/7.1/generated/azure_key_vault/models/secret_item.rb +103 -0
  249. data/lib/7.1/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  250. data/lib/7.1/generated/azure_key_vault/models/secret_properties.rb +46 -0
  251. data/lib/7.1/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  252. data/lib/7.1/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  253. data/lib/7.1/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  254. data/lib/7.1/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  255. data/lib/7.1/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  256. data/lib/7.1/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  257. data/lib/7.1/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  258. data/lib/7.1/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  259. data/lib/7.1/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  260. data/lib/7.1/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  261. data/lib/7.1/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  262. data/lib/7.1/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  263. data/lib/7.1/generated/azure_key_vault/models/trigger.rb +65 -0
  264. data/lib/7.1/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  265. data/lib/7.1/generated/azure_key_vault/module_definition.rb +8 -0
  266. data/lib/7.2-preview/generated/azure_key_vault.rb +165 -0
  267. data/lib/7.2-preview/generated/azure_key_vault/hsmsecurity_domain.rb +462 -0
  268. data/lib/7.2-preview/generated/azure_key_vault/key_vault_client.rb +13806 -0
  269. data/lib/7.2-preview/generated/azure_key_vault/models/action.rb +48 -0
  270. data/lib/7.2-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  271. data/lib/7.2-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  272. data/lib/7.2-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  273. data/lib/7.2-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  274. data/lib/7.2-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  275. data/lib/7.2-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  276. data/lib/7.2-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  277. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  278. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  279. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  280. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  281. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_info_object.rb +80 -0
  282. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  283. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  284. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  285. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  286. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  287. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  288. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  289. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  290. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  291. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  292. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  293. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  294. data/lib/7.2-preview/generated/azure_key_vault/models/contact.rb +68 -0
  295. data/lib/7.2-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  296. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  297. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  298. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  299. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +124 -0
  300. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  301. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  302. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  303. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  304. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  305. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  306. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  307. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  308. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  309. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  310. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  311. data/lib/7.2-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  312. data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set.rb +72 -0
  313. data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set_item.rb +58 -0
  314. data/lib/7.2-preview/generated/azure_key_vault/models/error.rb +72 -0
  315. data/lib/7.2-preview/generated/azure_key_vault/models/full_backup_operation.rb +115 -0
  316. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  317. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  318. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  319. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  320. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key.rb +224 -0
  321. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  322. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +29 -0
  323. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_operation.rb +22 -0
  324. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  325. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_type.rb +20 -0
  326. data/lib/7.2-preview/generated/azure_key_vault/models/key.rb +58 -0
  327. data/lib/7.2-preview/generated/azure_key_vault/models/key_attributes.rb +120 -0
  328. data/lib/7.2-preview/generated/azure_key_vault/models/key_bundle.rb +105 -0
  329. data/lib/7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb +151 -0
  330. data/lib/7.2-preview/generated/azure_key_vault/models/key_export_parameters.rb +49 -0
  331. data/lib/7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb +104 -0
  332. data/lib/7.2-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  333. data/lib/7.2-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  334. data/lib/7.2-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  335. data/lib/7.2-preview/generated/azure_key_vault/models/key_operations_parameters.rb +98 -0
  336. data/lib/7.2-preview/generated/azure_key_vault/models/key_properties.rb +96 -0
  337. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_authority.rb +70 -0
  338. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_condition.rb +76 -0
  339. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_condition_condition.rb +15 -0
  340. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_policy.rb +68 -0
  341. data/lib/7.2-preview/generated/azure_key_vault/models/key_release_policy_version.rb +15 -0
  342. data/lib/7.2-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  343. data/lib/7.2-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  344. data/lib/7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb +100 -0
  345. data/lib/7.2-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  346. data/lib/7.2-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  347. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  348. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  349. data/lib/7.2-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  350. data/lib/7.2-preview/generated/azure_key_vault/models/operation_status.rb +17 -0
  351. data/lib/7.2-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  352. data/lib/7.2-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  353. data/lib/7.2-preview/generated/azure_key_vault/models/permission.rb +111 -0
  354. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation.rb +103 -0
  355. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb +60 -0
  356. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment.rb +83 -0
  357. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_create_parameters.rb +47 -0
  358. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_filter.rb +46 -0
  359. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_list_result.rb +98 -0
  360. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb +59 -0
  361. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb +68 -0
  362. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition.rb +143 -0
  363. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_filter.rb +46 -0
  364. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_list_result.rb +98 -0
  365. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  366. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  367. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  368. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  369. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  370. data/lib/7.2-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  371. data/lib/7.2-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  372. data/lib/7.2-preview/generated/azure_key_vault/models/sastoken_parameter.rb +59 -0
  373. data/lib/7.2-preview/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  374. data/lib/7.2-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  375. data/lib/7.2-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  376. data/lib/7.2-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  377. data/lib/7.2-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  378. data/lib/7.2-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  379. data/lib/7.2-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  380. data/lib/7.2-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  381. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_certificate_item.rb +49 -0
  382. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_json_web_key.rb +165 -0
  383. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object.rb +47 -0
  384. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data.rb +71 -0
  385. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data_shared_keys.rb +87 -0
  386. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_operation_status.rb +60 -0
  387. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object.rb +47 -0
  388. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value.rb +61 -0
  389. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value_wrapped_key.rb +59 -0
  390. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation.rb +103 -0
  391. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb +60 -0
  392. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  393. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  394. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  395. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  396. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  397. data/lib/7.2-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  398. data/lib/7.2-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  399. data/lib/7.2-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  400. data/lib/7.2-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  401. data/lib/7.2-preview/generated/azure_key_vault/models/transfer_key.rb +62 -0
  402. data/lib/7.2-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  403. data/lib/7.2-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  404. data/lib/7.2-preview/generated/azure_key_vault/module_definition.rb +8 -0
  405. data/lib/7.2-preview/generated/azure_key_vault/role_assignments.rb +578 -0
  406. data/lib/7.2-preview/generated/azure_key_vault/role_definitions.rb +244 -0
  407. data/lib/azure_key_vault.rb +8 -2
  408. data/lib/profiles/latest/modules/keyvault_profile_module.rb +426 -272
  409. data/lib/profiles/v2017_03_09/keyvault_module_definition.rb +8 -0
  410. data/lib/profiles/v2017_03_09/keyvault_v2017_03_09_profile_client.rb +38 -0
  411. data/lib/profiles/v2017_03_09/modules/keyvault_profile_module.rb +405 -0
  412. data/lib/profiles/v2018_03_01/keyvault_module_definition.rb +8 -0
  413. data/lib/profiles/v2018_03_01/keyvault_v2018_03_01_profile_client.rb +38 -0
  414. data/lib/profiles/v2018_03_01/modules/keyvault_profile_module.rb +405 -0
  415. data/lib/profiles/v2019_03_01_hybrid/keyvault_module_definition.rb +8 -0
  416. data/lib/profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client.rb +38 -0
  417. data/lib/profiles/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +405 -0
  418. data/lib/version.rb +1 -1
  419. metadata +357 -5
@@ -0,0 +1,18 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for JsonWebKeyCurveName
10
+ #
11
+ module JsonWebKeyCurveName
12
+ P256 = "P-256"
13
+ P384 = "P-384"
14
+ P521 = "P-521"
15
+ P256K = "P-256K"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for JsonWebKeyEncryptionAlgorithm
10
+ #
11
+ module JsonWebKeyEncryptionAlgorithm
12
+ RSAOAEP = "RSA-OAEP"
13
+ RSAOAEP256 = "RSA-OAEP-256"
14
+ RSA15 = "RSA1_5"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,21 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for JsonWebKeyOperation
10
+ #
11
+ module JsonWebKeyOperation
12
+ Encrypt = "encrypt"
13
+ Decrypt = "decrypt"
14
+ Sign = "sign"
15
+ Verify = "verify"
16
+ WrapKey = "wrapKey"
17
+ UnwrapKey = "unwrapKey"
18
+ Import = "import"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,25 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for JsonWebKeySignatureAlgorithm
10
+ #
11
+ module JsonWebKeySignatureAlgorithm
12
+ PS256 = "PS256"
13
+ PS384 = "PS384"
14
+ PS512 = "PS512"
15
+ RS256 = "RS256"
16
+ RS384 = "RS384"
17
+ RS512 = "RS512"
18
+ RSNULL = "RSNULL"
19
+ ES256 = "ES256"
20
+ ES384 = "ES384"
21
+ ES512 = "ES512"
22
+ ES256K = "ES256K"
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,19 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for JsonWebKeyType
10
+ #
11
+ module JsonWebKeyType
12
+ EC = "EC"
13
+ ECHSM = "EC-HSM"
14
+ RSA = "RSA"
15
+ RSAHSM = "RSA-HSM"
16
+ Oct = "oct"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,109 @@
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_1
7
+ module Models
8
+ #
9
+ # The attributes of a key managed by the key vault service.
10
+ #
11
+ class KeyAttributes < Attributes
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] softDelete data retention days. Value should be >=7
16
+ # and <=90 when softDelete enabled, otherwise 0.
17
+ attr_accessor :recoverable_days
18
+
19
+ # @return [DeletionRecoveryLevel] Reflects the deletion recovery level
20
+ # currently in effect for keys in the current vault. If it contains
21
+ # 'Purgeable' the key can be permanently deleted by a privileged user;
22
+ # otherwise, only the system can purge the key, at the end of the
23
+ # retention interval. Possible values include: 'Purgeable',
24
+ # 'Recoverable+Purgeable', 'Recoverable',
25
+ # 'Recoverable+ProtectedSubscription', 'CustomizedRecoverable+Purgeable',
26
+ # 'CustomizedRecoverable', 'CustomizedRecoverable+ProtectedSubscription'
27
+ attr_accessor :recovery_level
28
+
29
+
30
+ #
31
+ # Mapper for KeyAttributes class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'KeyAttributes',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'KeyAttributes',
42
+ model_properties: {
43
+ enabled: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'enabled',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ },
51
+ not_before: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'nbf',
55
+ type: {
56
+ name: 'UnixTime'
57
+ }
58
+ },
59
+ expires: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'exp',
63
+ type: {
64
+ name: 'UnixTime'
65
+ }
66
+ },
67
+ created: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'created',
72
+ type: {
73
+ name: 'UnixTime'
74
+ }
75
+ },
76
+ updated: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'updated',
81
+ type: {
82
+ name: 'UnixTime'
83
+ }
84
+ },
85
+ recoverable_days: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'recoverableDays',
90
+ type: {
91
+ name: 'Number'
92
+ }
93
+ },
94
+ recovery_level: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'recoveryLevel',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ 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_1
7
+ module Models
8
+ #
9
+ # A KeyBundle consisting of a WebKey plus its attributes.
10
+ #
11
+ class KeyBundle
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [JsonWebKey] The Json web key.
16
+ attr_accessor :key
17
+
18
+ # @return [KeyAttributes] The key management attributes.
19
+ attr_accessor :attributes
20
+
21
+ # @return [Hash{String => String}] Application specific metadata in the
22
+ # form of key-value pairs.
23
+ attr_accessor :tags
24
+
25
+ # @return [Boolean] True if the key's lifetime is managed by key vault.
26
+ # If this is a key backing a certificate, then managed will be true.
27
+ attr_accessor :managed
28
+
29
+
30
+ #
31
+ # Mapper for KeyBundle class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'KeyBundle',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'KeyBundle',
42
+ model_properties: {
43
+ key: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'key',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'JsonWebKey'
50
+ }
51
+ },
52
+ attributes: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'attributes',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'KeyAttributes'
59
+ }
60
+ },
61
+ tags: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'tags',
65
+ type: {
66
+ name: 'Dictionary',
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'StringElementType',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ }
75
+ }
76
+ },
77
+ managed: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'managed',
82
+ type: {
83
+ name: 'Boolean'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,127 @@
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_1
7
+ module Models
8
+ #
9
+ # The key create parameters.
10
+ #
11
+ class KeyCreateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [JsonWebKeyType] The type of key to create. For valid values,
16
+ # see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA',
17
+ # 'RSA-HSM', 'oct'
18
+ attr_accessor :kty
19
+
20
+ # @return [Integer] The key size in bits. For example: 2048, 3072, or
21
+ # 4096 for RSA.
22
+ attr_accessor :key_size
23
+
24
+ # @return [Array<JsonWebKeyOperation>]
25
+ attr_accessor :key_ops
26
+
27
+ # @return [KeyAttributes]
28
+ attr_accessor :key_attributes
29
+
30
+ # @return [Hash{String => String}] Application specific metadata in the
31
+ # form of key-value pairs.
32
+ attr_accessor :tags
33
+
34
+ # @return [JsonWebKeyCurveName] Elliptic curve name. For valid values,
35
+ # see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384',
36
+ # 'P-521', 'P-256K'
37
+ attr_accessor :curve
38
+
39
+
40
+ #
41
+ # Mapper for KeyCreateParameters class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'KeyCreateParameters',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'KeyCreateParameters',
52
+ model_properties: {
53
+ kty: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'kty',
57
+ constraints: {
58
+ MinLength: 1
59
+ },
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ key_size: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'key_size',
68
+ type: {
69
+ name: 'Number'
70
+ }
71
+ },
72
+ key_ops: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'key_ops',
76
+ type: {
77
+ name: 'Sequence',
78
+ element: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'JsonWebKeyOperationElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ },
88
+ key_attributes: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'attributes',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'KeyAttributes'
95
+ }
96
+ },
97
+ tags: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'tags',
101
+ type: {
102
+ name: 'Dictionary',
103
+ value: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'StringElementType',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ }
111
+ }
112
+ },
113
+ curve: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'crv',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ end
125
+ end
126
+ end
127
+ end
@@ -0,0 +1,91 @@
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_1
7
+ module Models
8
+ #
9
+ # The key import parameters.
10
+ #
11
+ class KeyImportParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether to import as a hardware key (HSM) or software
16
+ # key.
17
+ attr_accessor :hsm
18
+
19
+ # @return [JsonWebKey] The Json web key
20
+ attr_accessor :key
21
+
22
+ # @return [KeyAttributes] The key management attributes.
23
+ attr_accessor :key_attributes
24
+
25
+ # @return [Hash{String => String}] Application specific metadata in the
26
+ # form of key-value pairs.
27
+ attr_accessor :tags
28
+
29
+
30
+ #
31
+ # Mapper for KeyImportParameters class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'KeyImportParameters',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'KeyImportParameters',
42
+ model_properties: {
43
+ hsm: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'Hsm',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ },
51
+ key: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'key',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'JsonWebKey'
58
+ }
59
+ },
60
+ key_attributes: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'attributes',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'KeyAttributes'
67
+ }
68
+ },
69
+ tags: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'tags',
73
+ type: {
74
+ name: 'Dictionary',
75
+ value: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'StringElementType',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end