azure_key_vault 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2015-06-01/generated/azure_key_vault.rb +88 -0
  4. data/lib/2015-06-01/generated/azure_key_vault/key_vault_client.rb +6074 -0
  5. data/lib/2015-06-01/generated/azure_key_vault/models/action.rb +48 -0
  6. data/lib/2015-06-01/generated/azure_key_vault/models/action_type.rb +16 -0
  7. data/lib/2015-06-01/generated/azure_key_vault/models/administrator_details.rb +79 -0
  8. data/lib/2015-06-01/generated/azure_key_vault/models/attributes.rb +92 -0
  9. data/lib/2015-06-01/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  10. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_attributes.rb +77 -0
  11. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  12. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  13. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  14. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  15. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  16. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  17. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  18. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_item.rb +89 -0
  19. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  20. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  21. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  22. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  23. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  24. data/lib/2015-06-01/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  25. data/lib/2015-06-01/generated/azure_key_vault/models/contact.rb +68 -0
  26. data/lib/2015-06-01/generated/azure_key_vault/models/contacts.rb +67 -0
  27. data/lib/2015-06-01/generated/azure_key_vault/models/error.rb +59 -0
  28. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  29. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  30. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  31. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_parameters.rb +59 -0
  32. data/lib/2015-06-01/generated/azure_key_vault/models/json_web_key.rb +188 -0
  33. data/lib/2015-06-01/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  34. data/lib/2015-06-01/generated/azure_key_vault/models/json_web_key_operation.rb +20 -0
  35. data/lib/2015-06-01/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +21 -0
  36. data/lib/2015-06-01/generated/azure_key_vault/models/json_web_key_type.rb +18 -0
  37. data/lib/2015-06-01/generated/azure_key_vault/models/key_attributes.rb +77 -0
  38. data/lib/2015-06-01/generated/azure_key_vault/models/key_bundle.rb +92 -0
  39. data/lib/2015-06-01/generated/azure_key_vault/models/key_create_parameters.rb +114 -0
  40. data/lib/2015-06-01/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  41. data/lib/2015-06-01/generated/azure_key_vault/models/key_item.rb +91 -0
  42. data/lib/2015-06-01/generated/azure_key_vault/models/key_list_result.rb +101 -0
  43. data/lib/2015-06-01/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  44. data/lib/2015-06-01/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  45. data/lib/2015-06-01/generated/azure_key_vault/models/key_properties.rb +80 -0
  46. data/lib/2015-06-01/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  47. data/lib/2015-06-01/generated/azure_key_vault/models/key_sign_parameters.rb +63 -0
  48. data/lib/2015-06-01/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  49. data/lib/2015-06-01/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  50. data/lib/2015-06-01/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  51. data/lib/2015-06-01/generated/azure_key_vault/models/key_verify_parameters.rb +74 -0
  52. data/lib/2015-06-01/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  53. data/lib/2015-06-01/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  54. data/lib/2015-06-01/generated/azure_key_vault/models/organization_details.rb +67 -0
  55. data/lib/2015-06-01/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  56. data/lib/2015-06-01/generated/azure_key_vault/models/secret_attributes.rb +77 -0
  57. data/lib/2015-06-01/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  58. data/lib/2015-06-01/generated/azure_key_vault/models/secret_item.rb +102 -0
  59. data/lib/2015-06-01/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  60. data/lib/2015-06-01/generated/azure_key_vault/models/secret_properties.rb +46 -0
  61. data/lib/2015-06-01/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  62. data/lib/2015-06-01/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  63. data/lib/2015-06-01/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  64. data/lib/2015-06-01/generated/azure_key_vault/models/trigger.rb +62 -0
  65. data/lib/2015-06-01/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  66. data/lib/2015-06-01/generated/azure_key_vault/module_definition.rb +8 -0
  67. data/lib/2016-10-01/generated/azure_key_vault.rb +114 -0
  68. data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +10748 -0
  69. data/lib/2016-10-01/generated/azure_key_vault/models/action.rb +48 -0
  70. data/lib/2016-10-01/generated/azure_key_vault/models/action_type.rb +16 -0
  71. data/lib/2016-10-01/generated/azure_key_vault/models/administrator_details.rb +79 -0
  72. data/lib/2016-10-01/generated/azure_key_vault/models/attributes.rb +92 -0
  73. data/lib/2016-10-01/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  74. data/lib/2016-10-01/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  75. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_attributes.rb +95 -0
  76. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  77. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  78. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  79. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  80. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  81. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  82. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  83. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_item.rb +89 -0
  84. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  85. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  86. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  87. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  88. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  89. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  90. data/lib/2016-10-01/generated/azure_key_vault/models/contact.rb +68 -0
  91. data/lib/2016-10-01/generated/azure_key_vault/models/contacts.rb +67 -0
  92. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  93. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  94. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  95. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  96. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  97. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  98. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  99. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  100. data/lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  101. data/lib/2016-10-01/generated/azure_key_vault/models/deletion_recovery_level.rb +18 -0
  102. data/lib/2016-10-01/generated/azure_key_vault/models/error.rb +72 -0
  103. data/lib/2016-10-01/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  104. data/lib/2016-10-01/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  105. data/lib/2016-10-01/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  106. data/lib/2016-10-01/generated/azure_key_vault/models/issuer_parameters.rb +59 -0
  107. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key.rb +222 -0
  108. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  109. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  110. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key_operation.rb +20 -0
  111. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  112. data/lib/2016-10-01/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  113. data/lib/2016-10-01/generated/azure_key_vault/models/key_attributes.rb +95 -0
  114. data/lib/2016-10-01/generated/azure_key_vault/models/key_bundle.rb +92 -0
  115. data/lib/2016-10-01/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  116. data/lib/2016-10-01/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  117. data/lib/2016-10-01/generated/azure_key_vault/models/key_item.rb +91 -0
  118. data/lib/2016-10-01/generated/azure_key_vault/models/key_list_result.rb +101 -0
  119. data/lib/2016-10-01/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  120. data/lib/2016-10-01/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  121. data/lib/2016-10-01/generated/azure_key_vault/models/key_properties.rb +81 -0
  122. data/lib/2016-10-01/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  123. data/lib/2016-10-01/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  124. data/lib/2016-10-01/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  125. data/lib/2016-10-01/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  126. data/lib/2016-10-01/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  127. data/lib/2016-10-01/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  128. data/lib/2016-10-01/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  129. data/lib/2016-10-01/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  130. data/lib/2016-10-01/generated/azure_key_vault/models/organization_details.rb +67 -0
  131. data/lib/2016-10-01/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  132. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_attributes.rb +70 -0
  133. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_bundle.rb +115 -0
  134. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_create_parameters.rb +87 -0
  135. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  136. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  137. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_update_parameters.rb +87 -0
  138. data/lib/2016-10-01/generated/azure_key_vault/models/secret_attributes.rb +95 -0
  139. data/lib/2016-10-01/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  140. data/lib/2016-10-01/generated/azure_key_vault/models/secret_item.rb +103 -0
  141. data/lib/2016-10-01/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  142. data/lib/2016-10-01/generated/azure_key_vault/models/secret_properties.rb +46 -0
  143. data/lib/2016-10-01/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  144. data/lib/2016-10-01/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  145. data/lib/2016-10-01/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  146. data/lib/2016-10-01/generated/azure_key_vault/models/storage_account_attributes.rb +70 -0
  147. data/lib/2016-10-01/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  148. data/lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  149. data/lib/2016-10-01/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  150. data/lib/2016-10-01/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  151. data/lib/2016-10-01/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  152. data/lib/2016-10-01/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  153. data/lib/2016-10-01/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  154. data/lib/2016-10-01/generated/azure_key_vault/models/trigger.rb +65 -0
  155. data/lib/2016-10-01/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  156. data/lib/2016-10-01/generated/azure_key_vault/module_definition.rb +8 -0
  157. data/lib/7.0-preview/generated/azure_key_vault.rb +123 -0
  158. data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +12186 -0
  159. data/lib/7.0-preview/generated/azure_key_vault/models/action.rb +48 -0
  160. data/lib/7.0-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  161. data/lib/7.0-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  162. data/lib/7.0-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  163. data/lib/7.0-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  164. data/lib/7.0-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  165. data/lib/7.0-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  166. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_attributes.rb +95 -0
  167. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  168. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  169. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  170. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  171. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  172. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  173. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  174. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  175. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  176. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  177. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  178. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  179. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  180. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  181. data/lib/7.0-preview/generated/azure_key_vault/models/contact.rb +68 -0
  182. data/lib/7.0-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  183. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  184. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  185. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  186. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  187. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  188. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  189. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  190. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  191. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  192. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  193. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  194. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  195. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  196. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  197. data/lib/7.0-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  198. data/lib/7.0-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +18 -0
  199. data/lib/7.0-preview/generated/azure_key_vault/models/error.rb +72 -0
  200. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  201. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  202. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  203. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_parameters.rb +59 -0
  204. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key.rb +222 -0
  205. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  206. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  207. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_operation.rb +20 -0
  208. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  209. data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  210. data/lib/7.0-preview/generated/azure_key_vault/models/key_attributes.rb +95 -0
  211. data/lib/7.0-preview/generated/azure_key_vault/models/key_bundle.rb +92 -0
  212. data/lib/7.0-preview/generated/azure_key_vault/models/key_create_parameters.rb +126 -0
  213. data/lib/7.0-preview/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  214. data/lib/7.0-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  215. data/lib/7.0-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  216. data/lib/7.0-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  217. data/lib/7.0-preview/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  218. data/lib/7.0-preview/generated/azure_key_vault/models/key_properties.rb +80 -0
  219. data/lib/7.0-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  220. data/lib/7.0-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  221. data/lib/7.0-preview/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  222. data/lib/7.0-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  223. data/lib/7.0-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  224. data/lib/7.0-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  225. data/lib/7.0-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  226. data/lib/7.0-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  227. data/lib/7.0-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  228. data/lib/7.0-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  229. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +88 -0
  230. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  231. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  232. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  233. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  234. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  235. data/lib/7.0-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  236. data/lib/7.0-preview/generated/azure_key_vault/models/secret_attributes.rb +95 -0
  237. data/lib/7.0-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  238. data/lib/7.0-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  239. data/lib/7.0-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  240. data/lib/7.0-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  241. data/lib/7.0-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  242. data/lib/7.0-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  243. data/lib/7.0-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  244. data/lib/7.0-preview/generated/azure_key_vault/models/storage_account_attributes.rb +88 -0
  245. data/lib/7.0-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  246. data/lib/7.0-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  247. data/lib/7.0-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  248. data/lib/7.0-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  249. data/lib/7.0-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  250. data/lib/7.0-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  251. data/lib/7.0-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  252. data/lib/7.0-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  253. data/lib/7.0-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  254. data/lib/7.0-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  255. data/lib/7.0-preview/generated/azure_key_vault/module_definition.rb +8 -0
  256. data/lib/azure_key_vault.rb +8 -0
  257. data/lib/module_definition.rb +6 -0
  258. data/lib/profiles/latest/keyvault_latest_profile_client.rb +38 -0
  259. data/lib/profiles/latest/keyvault_module_definition.rb +8 -0
  260. data/lib/profiles/latest/modules/keyvault_profile_module.rb +405 -0
  261. data/lib/version.rb +7 -0
  262. metadata +378 -0
@@ -0,0 +1,151 @@
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_0_preview
7
+ module Models
8
+ #
9
+ # A certificate bundle consists of a certificate (X509) plus its
10
+ # attributes.
11
+ #
12
+ class CertificateBundle
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The certificate id.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The key id.
20
+ attr_accessor :kid
21
+
22
+ # @return [String] The secret id.
23
+ attr_accessor :sid
24
+
25
+ # @return Thumbprint of the certificate.
26
+ attr_accessor :x509thumbprint
27
+
28
+ # @return [CertificatePolicy] The management policy.
29
+ attr_accessor :policy
30
+
31
+ # @return [Array<Integer>] CER contents of x509 certificate.
32
+ attr_accessor :cer
33
+
34
+ # @return [String] The content type of the secret.
35
+ attr_accessor :content_type
36
+
37
+ # @return [CertificateAttributes] The certificate attributes.
38
+ attr_accessor :attributes
39
+
40
+ # @return [Hash{String => String}] Application specific metadata in the
41
+ # form of key-value pairs
42
+ attr_accessor :tags
43
+
44
+
45
+ #
46
+ # Mapper for CertificateBundle class as Ruby Hash.
47
+ # This will be used for serialization/deserialization.
48
+ #
49
+ def self.mapper()
50
+ {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'CertificateBundle',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'CertificateBundle',
57
+ model_properties: {
58
+ id: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'id',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ kid: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'kid',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ sid: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'sid',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ x509thumbprint: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'x5t',
90
+ type: {
91
+ name: 'Base64Url'
92
+ }
93
+ },
94
+ policy: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'policy',
99
+ type: {
100
+ name: 'Composite',
101
+ class_name: 'CertificatePolicy'
102
+ }
103
+ },
104
+ cer: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'cer',
108
+ type: {
109
+ name: 'ByteArray'
110
+ }
111
+ },
112
+ content_type: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'contentType',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ attributes: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'attributes',
124
+ type: {
125
+ name: 'Composite',
126
+ class_name: 'CertificateAttributes'
127
+ }
128
+ },
129
+ tags: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'tags',
133
+ type: {
134
+ name: 'Dictionary',
135
+ value: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'StringElementType',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ end
149
+ end
150
+ end
151
+ end
@@ -0,0 +1,80 @@
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_0_preview
7
+ module Models
8
+ #
9
+ # The certificate create parameters.
10
+ #
11
+ class CertificateCreateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [CertificatePolicy] The management policy for the certificate.
16
+ attr_accessor :certificate_policy
17
+
18
+ # @return [CertificateAttributes] The attributes of the certificate
19
+ # (optional).
20
+ attr_accessor :certificate_attributes
21
+
22
+ # @return [Hash{String => String}] Application specific metadata in the
23
+ # form of key-value pairs.
24
+ attr_accessor :tags
25
+
26
+
27
+ #
28
+ # Mapper for CertificateCreateParameters class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'CertificateCreateParameters',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'CertificateCreateParameters',
39
+ model_properties: {
40
+ certificate_policy: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'policy',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'CertificatePolicy'
47
+ }
48
+ },
49
+ certificate_attributes: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'attributes',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'CertificateAttributes'
56
+ }
57
+ },
58
+ tags: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'tags',
62
+ type: {
63
+ name: 'Dictionary',
64
+ value: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'StringElementType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,104 @@
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_0_preview
7
+ module Models
8
+ #
9
+ # The certificate import parameters.
10
+ #
11
+ class CertificateImportParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Base64 encoded representation of the certificate
16
+ # object to import. This certificate needs to contain the private key.
17
+ attr_accessor :base64encoded_certificate
18
+
19
+ # @return [String] If the private key in base64EncodedCertificate is
20
+ # encrypted, the password used for encryption.
21
+ attr_accessor :password
22
+
23
+ # @return [CertificatePolicy] The management policy for the certificate.
24
+ attr_accessor :certificate_policy
25
+
26
+ # @return [CertificateAttributes] The attributes of the certificate
27
+ # (optional).
28
+ attr_accessor :certificate_attributes
29
+
30
+ # @return [Hash{String => String}] Application specific metadata in the
31
+ # form of key-value pairs.
32
+ attr_accessor :tags
33
+
34
+
35
+ #
36
+ # Mapper for CertificateImportParameters class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'CertificateImportParameters',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'CertificateImportParameters',
47
+ model_properties: {
48
+ base64encoded_certificate: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'value',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ password: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'pwd',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ certificate_policy: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'policy',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'CertificatePolicy'
71
+ }
72
+ },
73
+ certificate_attributes: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'attributes',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'CertificateAttributes'
80
+ }
81
+ },
82
+ tags: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'tags',
86
+ type: {
87
+ name: 'Dictionary',
88
+ value: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,57 @@
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_0_preview
7
+ module Models
8
+ #
9
+ # The certificate issuer item containing certificate issuer metadata.
10
+ #
11
+ class CertificateIssuerItem
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Certificate Identifier.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The issuer provider.
19
+ attr_accessor :provider
20
+
21
+
22
+ #
23
+ # Mapper for CertificateIssuerItem class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'CertificateIssuerItem',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'CertificateIssuerItem',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ provider: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'provider',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ 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_0_preview
7
+ module Models
8
+ #
9
+ # The certificate issuer list result.
10
+ #
11
+ class CertificateIssuerListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<CertificateIssuerItem>] A response message containing a
17
+ # list of certificate issuers in the key vault along with a link to the
18
+ # next page of certificate issuers.
19
+ attr_accessor :value
20
+
21
+ # @return [String] The URL to get the next set of certificate issuers.
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<CertificateIssuerItem>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil 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 [CertificateIssuerListResult] 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 CertificateIssuerListResult 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: 'CertificateIssuerListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'CertificateIssuerListResult',
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: 'CertificateIssuerItemElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'CertificateIssuerItem'
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