azure_key_vault 0.17.2 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-01/generated/azure_key_vault/key_vault_client.rb +157 -45
  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_import_parameters.rb +1 -1
  6. data/lib/2015-06-01/generated/azure_key_vault/models/contact.rb +1 -1
  7. data/lib/2015-06-01/generated/azure_key_vault/models/issuer_attributes.rb +2 -2
  8. data/lib/2015-06-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  9. data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +243 -61
  10. data/lib/2016-10-01/generated/azure_key_vault/models/administrator_details.rb +1 -1
  11. data/lib/2016-10-01/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
  12. data/lib/2016-10-01/generated/azure_key_vault/models/contact.rb +1 -1
  13. data/lib/2016-10-01/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  14. data/lib/2016-10-01/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  15. data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +279 -67
  16. data/lib/7.0-preview/generated/azure_key_vault/models/administrator_details.rb +1 -1
  17. data/lib/7.0-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
  18. data/lib/7.0-preview/generated/azure_key_vault/models/contact.rb +1 -1
  19. data/lib/7.0-preview/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  20. data/lib/7.0-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  21. data/lib/7.0-preview/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  22. data/lib/7.0/generated/azure_key_vault/key_vault_client.rb +305 -84
  23. data/lib/7.0/generated/azure_key_vault/models/administrator_details.rb +1 -1
  24. data/lib/7.0/generated/azure_key_vault/models/certificate_attributes.rb +2 -1
  25. data/lib/7.0/generated/azure_key_vault/models/certificate_import_parameters.rb +3 -3
  26. data/lib/7.0/generated/azure_key_vault/models/contact.rb +1 -1
  27. data/lib/7.0/generated/azure_key_vault/models/deletion_recovery_level.rb +3 -0
  28. data/lib/7.0/generated/azure_key_vault/models/issuer_parameters.rb +2 -2
  29. data/lib/7.0/generated/azure_key_vault/models/key_attributes.rb +2 -1
  30. data/lib/7.0/generated/azure_key_vault/models/sas_definition_attributes.rb +2 -1
  31. data/lib/7.0/generated/azure_key_vault/models/sas_definition_list_result.rb +1 -1
  32. data/lib/7.0/generated/azure_key_vault/models/secret_attributes.rb +2 -1
  33. data/lib/7.0/generated/azure_key_vault/models/storage_account_attributes.rb +2 -1
  34. data/lib/7.0/generated/azure_key_vault/models/x509certificate_properties.rb +1 -1
  35. data/lib/7.1-preview/generated/azure_key_vault.rb +125 -0
  36. data/lib/7.1-preview/generated/azure_key_vault/key_vault_client.rb +12662 -0
  37. data/lib/7.1-preview/generated/azure_key_vault/models/action.rb +48 -0
  38. data/lib/7.1-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  39. data/lib/7.1-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  40. data/lib/7.1-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  41. data/lib/7.1-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  42. data/lib/7.1-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  43. data/lib/7.1-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  44. data/lib/7.1-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  45. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  46. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  47. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  48. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  49. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  50. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  51. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  52. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  53. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  54. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  55. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  56. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  57. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  58. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  59. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  60. data/lib/7.1-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  61. data/lib/7.1-preview/generated/azure_key_vault/models/contact.rb +68 -0
  62. data/lib/7.1-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  63. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  64. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  65. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  66. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  67. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  68. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  69. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  70. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  71. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  72. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  73. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  74. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  75. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  76. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  77. data/lib/7.1-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  78. data/lib/7.1-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  79. data/lib/7.1-preview/generated/azure_key_vault/models/error.rb +72 -0
  80. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  81. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  82. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  83. data/lib/7.1-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  84. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key.rb +223 -0
  85. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  86. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  87. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  88. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  89. data/lib/7.1-preview/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  90. data/lib/7.1-preview/generated/azure_key_vault/models/key_attributes.rb +109 -0
  91. data/lib/7.1-preview/generated/azure_key_vault/models/key_bundle.rb +92 -0
  92. data/lib/7.1-preview/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  93. data/lib/7.1-preview/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  94. data/lib/7.1-preview/generated/azure_key_vault/models/key_item.rb +91 -0
  95. data/lib/7.1-preview/generated/azure_key_vault/models/key_list_result.rb +101 -0
  96. data/lib/7.1-preview/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  97. data/lib/7.1-preview/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  98. data/lib/7.1-preview/generated/azure_key_vault/models/key_properties.rb +96 -0
  99. data/lib/7.1-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  100. data/lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  101. data/lib/7.1-preview/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  102. data/lib/7.1-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  103. data/lib/7.1-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  104. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  105. data/lib/7.1-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  106. data/lib/7.1-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  107. data/lib/7.1-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  108. data/lib/7.1-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  109. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  110. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  111. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  112. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  113. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  114. data/lib/7.1-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  115. data/lib/7.1-preview/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  116. data/lib/7.1-preview/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  117. data/lib/7.1-preview/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  118. data/lib/7.1-preview/generated/azure_key_vault/models/secret_item.rb +103 -0
  119. data/lib/7.1-preview/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  120. data/lib/7.1-preview/generated/azure_key_vault/models/secret_properties.rb +46 -0
  121. data/lib/7.1-preview/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  122. data/lib/7.1-preview/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  123. data/lib/7.1-preview/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  124. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  125. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  126. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  127. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  128. data/lib/7.1-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  129. data/lib/7.1-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  130. data/lib/7.1-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  131. data/lib/7.1-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  132. data/lib/7.1-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  133. data/lib/7.1-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  134. data/lib/7.1-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  135. data/lib/7.1-preview/generated/azure_key_vault/module_definition.rb +8 -0
  136. data/lib/7.1/generated/azure_key_vault.rb +125 -0
  137. data/lib/7.1/generated/azure_key_vault/key_vault_client.rb +12659 -0
  138. data/lib/7.1/generated/azure_key_vault/models/action.rb +48 -0
  139. data/lib/7.1/generated/azure_key_vault/models/action_type.rb +16 -0
  140. data/lib/7.1/generated/azure_key_vault/models/administrator_details.rb +79 -0
  141. data/lib/7.1/generated/azure_key_vault/models/attributes.rb +92 -0
  142. data/lib/7.1/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  143. data/lib/7.1/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  144. data/lib/7.1/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  145. data/lib/7.1/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  146. data/lib/7.1/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  147. data/lib/7.1/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  148. data/lib/7.1/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  149. data/lib/7.1/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  150. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  151. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  152. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  153. data/lib/7.1/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  154. data/lib/7.1/generated/azure_key_vault/models/certificate_item.rb +89 -0
  155. data/lib/7.1/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  156. data/lib/7.1/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  157. data/lib/7.1/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  158. data/lib/7.1/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  159. data/lib/7.1/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  160. data/lib/7.1/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  161. data/lib/7.1/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  162. data/lib/7.1/generated/azure_key_vault/models/contact.rb +68 -0
  163. data/lib/7.1/generated/azure_key_vault/models/contacts.rb +67 -0
  164. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  165. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  166. data/lib/7.1/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  167. data/lib/7.1/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  168. data/lib/7.1/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  169. data/lib/7.1/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  170. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  171. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  172. data/lib/7.1/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  173. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  174. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  175. data/lib/7.1/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  176. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  177. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  178. data/lib/7.1/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  179. data/lib/7.1/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  180. data/lib/7.1/generated/azure_key_vault/models/error.rb +72 -0
  181. data/lib/7.1/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  182. data/lib/7.1/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  183. data/lib/7.1/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  184. data/lib/7.1/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  185. data/lib/7.1/generated/azure_key_vault/models/json_web_key.rb +223 -0
  186. data/lib/7.1/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  187. data/lib/7.1/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
  188. data/lib/7.1/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  189. data/lib/7.1/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  190. data/lib/7.1/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
  191. data/lib/7.1/generated/azure_key_vault/models/key_attributes.rb +109 -0
  192. data/lib/7.1/generated/azure_key_vault/models/key_bundle.rb +92 -0
  193. data/lib/7.1/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
  194. data/lib/7.1/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
  195. data/lib/7.1/generated/azure_key_vault/models/key_item.rb +91 -0
  196. data/lib/7.1/generated/azure_key_vault/models/key_list_result.rb +101 -0
  197. data/lib/7.1/generated/azure_key_vault/models/key_operation_result.rb +59 -0
  198. data/lib/7.1/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
  199. data/lib/7.1/generated/azure_key_vault/models/key_properties.rb +96 -0
  200. data/lib/7.1/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  201. data/lib/7.1/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  202. data/lib/7.1/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  203. data/lib/7.1/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  204. data/lib/7.1/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  205. data/lib/7.1/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  206. data/lib/7.1/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  207. data/lib/7.1/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  208. data/lib/7.1/generated/azure_key_vault/models/organization_details.rb +67 -0
  209. data/lib/7.1/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  210. data/lib/7.1/generated/azure_key_vault/models/sas_definition_attributes.rb +102 -0
  211. data/lib/7.1/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
  212. data/lib/7.1/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
  213. data/lib/7.1/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
  214. data/lib/7.1/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
  215. data/lib/7.1/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
  216. data/lib/7.1/generated/azure_key_vault/models/sas_token_type.rb +16 -0
  217. data/lib/7.1/generated/azure_key_vault/models/secret_attributes.rb +109 -0
  218. data/lib/7.1/generated/azure_key_vault/models/secret_bundle.rb +127 -0
  219. data/lib/7.1/generated/azure_key_vault/models/secret_item.rb +103 -0
  220. data/lib/7.1/generated/azure_key_vault/models/secret_list_result.rb +101 -0
  221. data/lib/7.1/generated/azure_key_vault/models/secret_properties.rb +46 -0
  222. data/lib/7.1/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
  223. data/lib/7.1/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
  224. data/lib/7.1/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
  225. data/lib/7.1/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  226. data/lib/7.1/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  227. data/lib/7.1/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  228. data/lib/7.1/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  229. data/lib/7.1/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  230. data/lib/7.1/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  231. data/lib/7.1/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  232. data/lib/7.1/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  233. data/lib/7.1/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  234. data/lib/7.1/generated/azure_key_vault/models/trigger.rb +65 -0
  235. data/lib/7.1/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  236. data/lib/7.1/generated/azure_key_vault/module_definition.rb +8 -0
  237. data/lib/7.2-preview/generated/azure_key_vault.rb +157 -0
  238. data/lib/7.2-preview/generated/azure_key_vault/hsmsecurity_domain.rb +619 -0
  239. data/lib/7.2-preview/generated/azure_key_vault/key_vault_client.rb +13656 -0
  240. data/lib/7.2-preview/generated/azure_key_vault/models/action.rb +48 -0
  241. data/lib/7.2-preview/generated/azure_key_vault/models/action_type.rb +16 -0
  242. data/lib/7.2-preview/generated/azure_key_vault/models/administrator_details.rb +79 -0
  243. data/lib/7.2-preview/generated/azure_key_vault/models/attributes.rb +92 -0
  244. data/lib/7.2-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
  245. data/lib/7.2-preview/generated/azure_key_vault/models/backup_key_result.rb +47 -0
  246. data/lib/7.2-preview/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
  247. data/lib/7.2-preview/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
  248. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_attributes.rb +109 -0
  249. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
  250. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
  251. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
  252. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_info_object.rb +80 -0
  253. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
  254. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
  255. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
  256. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
  257. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_item.rb +89 -0
  258. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
  259. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
  260. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation.rb +142 -0
  261. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
  262. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_policy.rb +131 -0
  263. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
  264. data/lib/7.2-preview/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
  265. data/lib/7.2-preview/generated/azure_key_vault/models/contact.rb +68 -0
  266. data/lib/7.2-preview/generated/azure_key_vault/models/contacts.rb +67 -0
  267. data/lib/7.2-preview/generated/azure_key_vault/models/data_action.rb +43 -0
  268. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
  269. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
  270. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
  271. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
  272. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
  273. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
  274. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
  275. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
  276. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
  277. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
  278. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
  279. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
  280. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
  281. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
  282. data/lib/7.2-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
  283. data/lib/7.2-preview/generated/azure_key_vault/models/deletion_recovery_level.rb +21 -0
  284. data/lib/7.2-preview/generated/azure_key_vault/models/error.rb +72 -0
  285. data/lib/7.2-preview/generated/azure_key_vault/models/full_backup_operation.rb +115 -0
  286. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
  287. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
  288. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
  289. data/lib/7.2-preview/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
  290. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key.rb +224 -0
  291. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
  292. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +29 -0
  293. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_operation.rb +21 -0
  294. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
  295. data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_type.rb +20 -0
  296. data/lib/7.2-preview/generated/azure_key_vault/models/key_attributes.rb +109 -0
  297. data/lib/7.2-preview/generated/azure_key_vault/models/key_bundle.rb +92 -0
  298. data/lib/7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb +138 -0
  299. data/lib/7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb +91 -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 +95 -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 +85 -0
  305. data/lib/7.2-preview/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
  306. data/lib/7.2-preview/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
  307. data/lib/7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
  308. data/lib/7.2-preview/generated/azure_key_vault/models/key_usage_type.rb +23 -0
  309. data/lib/7.2-preview/generated/azure_key_vault/models/key_vault_error.rb +48 -0
  310. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
  311. data/lib/7.2-preview/generated/azure_key_vault/models/key_verify_result.rb +47 -0
  312. data/lib/7.2-preview/generated/azure_key_vault/models/lifetime_action.rb +60 -0
  313. data/lib/7.2-preview/generated/azure_key_vault/models/operation_status.rb +17 -0
  314. data/lib/7.2-preview/generated/azure_key_vault/models/organization_details.rb +67 -0
  315. data/lib/7.2-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
  316. data/lib/7.2-preview/generated/azure_key_vault/models/permission.rb +115 -0
  317. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation.rb +103 -0
  318. data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb +61 -0
  319. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment.rb +83 -0
  320. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_create_parameters.rb +47 -0
  321. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_filter.rb +46 -0
  322. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_list_result.rb +98 -0
  323. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb +59 -0
  324. data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb +68 -0
  325. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition.rb +145 -0
  326. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_create_parameters.rb +47 -0
  327. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_filter.rb +46 -0
  328. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_list_result.rb +98 -0
  329. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb +108 -0
  330. data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_type.rb +15 -0
  331. data/lib/7.2-preview/generated/azure_key_vault/models/role_scope.rb +16 -0
  332. data/lib/7.2-preview/generated/azure_key_vault/models/role_type.rb +16 -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 +46 -0
  352. data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_operation_status.rb +60 -0
  353. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation.rb +103 -0
  354. data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb +61 -0
  355. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_attributes.rb +102 -0
  356. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
  357. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_item.rb +94 -0
  358. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
  359. data/lib/7.2-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
  360. data/lib/7.2-preview/generated/azure_key_vault/models/storage_bundle.rb +132 -0
  361. data/lib/7.2-preview/generated/azure_key_vault/models/storage_list_result.rb +102 -0
  362. data/lib/7.2-preview/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
  363. data/lib/7.2-preview/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
  364. data/lib/7.2-preview/generated/azure_key_vault/models/transfer_key.rb +62 -0
  365. data/lib/7.2-preview/generated/azure_key_vault/models/trigger.rb +65 -0
  366. data/lib/7.2-preview/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
  367. data/lib/7.2-preview/generated/azure_key_vault/module_definition.rb +8 -0
  368. data/lib/7.2-preview/generated/azure_key_vault/role_assignments.rb +578 -0
  369. data/lib/7.2-preview/generated/azure_key_vault/role_definitions.rb +579 -0
  370. data/lib/azure_key_vault.rb +6 -2
  371. data/lib/profiles/latest/modules/keyvault_profile_module.rb +393 -271
  372. data/lib/profiles/v2019_03_01_hybrid/keyvault_module_definition.rb +8 -0
  373. data/lib/profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client.rb +38 -0
  374. data/lib/profiles/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +405 -0
  375. data/lib/version.rb +1 -1
  376. metadata +343 -5
@@ -0,0 +1,49 @@
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 SecurityDomainCertificateItem
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [SecurityDomainJsonWebKey] Customer generated certificate
17
+ # containing public key in JWK format
18
+ attr_accessor :value
19
+
20
+
21
+ #
22
+ # Mapper for SecurityDomainCertificateItem class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'SecurityDomainCertificateItem',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'SecurityDomainCertificateItem',
33
+ model_properties: {
34
+ value: {
35
+ client_side_validation: true,
36
+ required: true,
37
+ serialized_name: 'value',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'SecurityDomainJsonWebKey'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,165 @@
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 SecurityDomainJsonWebKey
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Key identifier.
17
+ attr_accessor :kid
18
+
19
+ # @return [String] JsonWebKey Key Type (kty), as defined in
20
+ # https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For
21
+ # Security Domain this value must be RSA.
22
+ attr_accessor :kty
23
+
24
+ # @return [Array<String>]
25
+ attr_accessor :key_ops
26
+
27
+ # @return [String] RSA modulus.
28
+ attr_accessor :n
29
+
30
+ # @return [String] RSA public exponent.
31
+ attr_accessor :e
32
+
33
+ # @return [Array<String>] X509 certificate chain parameter
34
+ attr_accessor :x5c
35
+
36
+ # @return [String] Public Key Use Parameter. This is optional and if
37
+ # present must be enc.
38
+ attr_accessor :use
39
+
40
+ # @return [String] X509 certificate SHA1 thumbprint. This is optional.
41
+ attr_accessor :x5t
42
+
43
+ # @return [String] X509 certificate SHA256 thumbprint.
44
+ attr_accessor :x5t_s256
45
+
46
+ # @return [String] Algorithm intended for use with the key.
47
+ attr_accessor :alg
48
+
49
+
50
+ #
51
+ # Mapper for SecurityDomainJsonWebKey class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'SecurityDomainJsonWebKey',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'SecurityDomainJsonWebKey',
62
+ model_properties: {
63
+ kid: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'kid',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ kty: {
72
+ client_side_validation: true,
73
+ required: true,
74
+ serialized_name: 'kty',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ key_ops: {
80
+ client_side_validation: true,
81
+ required: true,
82
+ serialized_name: 'key_ops',
83
+ type: {
84
+ name: 'Sequence',
85
+ element: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'StringElementType',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ },
95
+ n: {
96
+ client_side_validation: true,
97
+ required: true,
98
+ serialized_name: 'n',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ e: {
104
+ client_side_validation: true,
105
+ required: true,
106
+ serialized_name: 'e',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ x5c: {
112
+ client_side_validation: true,
113
+ required: true,
114
+ serialized_name: 'x5c',
115
+ type: {
116
+ name: 'Sequence',
117
+ element: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'StringElementType',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ }
125
+ }
126
+ },
127
+ use: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ serialized_name: 'use',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ x5t: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'x5t',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ x5t_s256: {
144
+ client_side_validation: true,
145
+ required: true,
146
+ serialized_name: 'x5t#S256',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ },
151
+ alg: {
152
+ client_side_validation: true,
153
+ required: true,
154
+ serialized_name: 'alg',
155
+ type: {
156
+ name: 'String'
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ end
163
+ end
164
+ end
165
+ 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 Security Domain.
10
+ #
11
+ class SecurityDomainObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Security Domain.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for SecurityDomainObject 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: 'SecurityDomainObject',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SecurityDomainObject',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,60 @@
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 SecurityDomainOperationStatus
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [OperationStatus] operation status. Possible values include:
17
+ # 'Success', 'InProgress', 'Failed'
18
+ attr_accessor :status
19
+
20
+ # @return [String]
21
+ attr_accessor :status_details
22
+
23
+
24
+ #
25
+ # Mapper for SecurityDomainOperationStatus class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'SecurityDomainOperationStatus',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'SecurityDomainOperationStatus',
36
+ model_properties: {
37
+ status: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'status',
41
+ type: {
42
+ name: 'Enum',
43
+ module: 'OperationStatus'
44
+ }
45
+ },
46
+ status_details: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'status_details',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,103 @@
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
+ # Selective Key Restore operation
10
+ #
11
+ class SelectiveKeyRestoreOperation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Status of the restore operation.
16
+ attr_accessor :status
17
+
18
+ # @return [String] The status details of restore operation.
19
+ attr_accessor :status_details
20
+
21
+ # @return [Error] Error encountered, if any, during the selective key
22
+ # restore operation.
23
+ attr_accessor :error
24
+
25
+ # @return [String] Identifier for the selective key restore operation.
26
+ attr_accessor :job_id
27
+
28
+ # @return The start time of the restore operation
29
+ attr_accessor :start_time
30
+
31
+ # @return The end time of the restore operation
32
+ attr_accessor :end_time
33
+
34
+
35
+ #
36
+ # Mapper for SelectiveKeyRestoreOperation 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: 'SelectiveKeyRestoreOperation',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'SelectiveKeyRestoreOperation',
47
+ model_properties: {
48
+ status: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'status',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ status_details: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'statusDetails',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ error: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'error',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'Error'
71
+ }
72
+ },
73
+ job_id: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'jobId',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ start_time: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'startTime',
85
+ type: {
86
+ name: 'UnixTime'
87
+ }
88
+ },
89
+ end_time: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'endTime',
93
+ type: {
94
+ name: 'UnixTime'
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,61 @@
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 SelectiveKeyRestoreOperationParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [SASTokenParameter] SAS token parameter object containing Azure
17
+ # storage resourceUri and token
18
+ attr_accessor :sas_token_parameters
19
+
20
+ # @return [String] The Folder name of the blob where the previous
21
+ # successful full backup was stored
22
+ attr_accessor :folder
23
+
24
+
25
+ #
26
+ # Mapper for SelectiveKeyRestoreOperationParameters 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: 'SelectiveKeyRestoreOperationParameters',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'SelectiveKeyRestoreOperationParameters',
37
+ model_properties: {
38
+ sas_token_parameters: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'sasTokenParameters',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'SASTokenParameter'
45
+ }
46
+ },
47
+ folder: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'folder',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end