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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4700d9296045fbf7f2e3afc809e9a157cab1e0848ee3440db1dc2c3b01121882
4
- data.tar.gz: 650504cca7e971af3683f20c060cfcdef0142e66d82b79e33c9b05672119ecb9
3
+ metadata.gz: e258f1d1d80765748a05ae2c3bea3021ed458367bb6a3953584b2065db9afbf3
4
+ data.tar.gz: d277b39343849bc231b905edd80125934f8c3b50385bfd21b82c3b18a7458bdf
5
5
  SHA512:
6
- metadata.gz: 21c6352442438f82484759abc5b458c2740500e00bc8866f05ad39f44d84404614b08f12d5b908646b2839b7c975098f9a7cf55bff3c1037c5b28cdc37129696
7
- data.tar.gz: 7ec562bf0a9ac089149a8fde9842d6b4f8820c08a1c21c87a2d30125f51dd186a3fc74238d574f8e522198df9692600c93e98fb1532739e065ddb33b99f64908
6
+ metadata.gz: 14eed79178babfd990b899b0f3ca439015bc7fbc39ec4d453aa3ede7d443e0ed8a1377ca71eb64c67e3c3ad94ef5f9fdbe92efa869de38781d8ce574256b6f2f
7
+ data.tar.gz: 82fa25eea414ac5195b6b591ee85f548c6e9384bc6ab0e165b65c34846beb8b72d1d2ba9f832685af201ad5ab709487f05b3e2a7898ddf04268ec5d0227471bd
@@ -183,12 +183,12 @@ module Azure::KeyVault::V2015_06_01
183
183
  fail ArgumentError, 'kty is nil' if kty.nil?
184
184
  fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
185
185
 
186
- parameters = KeyCreateParameters.new
186
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyCreateParameters.new
187
187
  unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil?
188
188
  parameters.kty = kty
189
189
  parameters.key_size = key_size
190
190
  parameters.key_ops = key_ops
191
- parameters.keyAttributes = key_attributes
191
+ parameters.key_attributes = key_attributes
192
192
  parameters.tags = tags
193
193
  end
194
194
 
@@ -229,6 +229,8 @@ module Azure::KeyVault::V2015_06_01
229
229
  end
230
230
 
231
231
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
232
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
233
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
232
234
  # Deserialize Response
233
235
  if status_code == 200
234
236
  begin
@@ -313,11 +315,11 @@ module Azure::KeyVault::V2015_06_01
313
315
  fail ArgumentError, 'api_version is nil' if api_version.nil?
314
316
  fail ArgumentError, 'key is nil' if key.nil?
315
317
 
316
- parameters = KeyImportParameters.new
318
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyImportParameters.new
317
319
  unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
318
320
  parameters.hsm = hsm
319
321
  parameters.key = key
320
- parameters.keyAttributes = key_attributes
322
+ parameters.key_attributes = key_attributes
321
323
  parameters.tags = tags
322
324
  end
323
325
 
@@ -358,6 +360,8 @@ module Azure::KeyVault::V2015_06_01
358
360
  end
359
361
 
360
362
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
363
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
364
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
361
365
  # Deserialize Response
362
366
  if status_code == 200
363
367
  begin
@@ -453,6 +457,8 @@ module Azure::KeyVault::V2015_06_01
453
457
  end
454
458
 
455
459
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
460
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
461
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
456
462
  # Deserialize Response
457
463
  if status_code == 200
458
464
  begin
@@ -536,10 +542,10 @@ module Azure::KeyVault::V2015_06_01
536
542
  fail ArgumentError, 'key_version is nil' if key_version.nil?
537
543
  fail ArgumentError, 'api_version is nil' if api_version.nil?
538
544
 
539
- parameters = KeyUpdateParameters.new
545
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyUpdateParameters.new
540
546
  unless key_ops.nil? && key_attributes.nil? && tags.nil?
541
547
  parameters.key_ops = key_ops
542
- parameters.keyAttributes = key_attributes
548
+ parameters.key_attributes = key_attributes
543
549
  parameters.tags = tags
544
550
  end
545
551
 
@@ -580,6 +586,8 @@ module Azure::KeyVault::V2015_06_01
580
586
  end
581
587
 
582
588
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
589
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
590
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
583
591
  # Deserialize Response
584
592
  if status_code == 200
585
593
  begin
@@ -679,6 +687,8 @@ module Azure::KeyVault::V2015_06_01
679
687
  end
680
688
 
681
689
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
690
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
691
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
682
692
  # Deserialize Response
683
693
  if status_code == 200
684
694
  begin
@@ -782,6 +792,8 @@ module Azure::KeyVault::V2015_06_01
782
792
  end
783
793
 
784
794
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
795
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
796
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
785
797
  # Deserialize Response
786
798
  if status_code == 200
787
799
  begin
@@ -880,6 +892,8 @@ module Azure::KeyVault::V2015_06_01
880
892
  end
881
893
 
882
894
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
895
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
896
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
883
897
  # Deserialize Response
884
898
  if status_code == 200
885
899
  begin
@@ -975,6 +989,8 @@ module Azure::KeyVault::V2015_06_01
975
989
  end
976
990
 
977
991
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
992
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
993
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
978
994
  # Deserialize Response
979
995
  if status_code == 200
980
996
  begin
@@ -1039,9 +1055,9 @@ module Azure::KeyVault::V2015_06_01
1039
1055
  fail ArgumentError, 'api_version is nil' if api_version.nil?
1040
1056
  fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
1041
1057
 
1042
- parameters = KeyRestoreParameters.new
1058
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyRestoreParameters.new
1043
1059
  unless key_bundle_backup.nil?
1044
- parameters.keyBundleBackup = key_bundle_backup
1060
+ parameters.key_bundle_backup = key_bundle_backup
1045
1061
  end
1046
1062
 
1047
1063
  request_headers = {}
@@ -1080,6 +1096,8 @@ module Azure::KeyVault::V2015_06_01
1080
1096
  end
1081
1097
 
1082
1098
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1099
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1100
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1083
1101
  # Deserialize Response
1084
1102
  if status_code == 200
1085
1103
  begin
@@ -1163,7 +1181,7 @@ module Azure::KeyVault::V2015_06_01
1163
1181
  fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
1164
1182
  fail ArgumentError, 'value is nil' if value.nil?
1165
1183
 
1166
- parameters = KeyOperationsParameters.new
1184
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
1167
1185
  unless algorithm.nil? && value.nil?
1168
1186
  parameters.algorithm = algorithm
1169
1187
  parameters.value = value
@@ -1206,6 +1224,8 @@ module Azure::KeyVault::V2015_06_01
1206
1224
  end
1207
1225
 
1208
1226
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1227
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1228
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1209
1229
  # Deserialize Response
1210
1230
  if status_code == 200
1211
1231
  begin
@@ -1286,7 +1306,7 @@ module Azure::KeyVault::V2015_06_01
1286
1306
  fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
1287
1307
  fail ArgumentError, 'value is nil' if value.nil?
1288
1308
 
1289
- parameters = KeyOperationsParameters.new
1309
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
1290
1310
  unless algorithm.nil? && value.nil?
1291
1311
  parameters.algorithm = algorithm
1292
1312
  parameters.value = value
@@ -1329,6 +1349,8 @@ module Azure::KeyVault::V2015_06_01
1329
1349
  end
1330
1350
 
1331
1351
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1352
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1353
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1332
1354
  # Deserialize Response
1333
1355
  if status_code == 200
1334
1356
  begin
@@ -1415,7 +1437,7 @@ module Azure::KeyVault::V2015_06_01
1415
1437
  fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
1416
1438
  fail ArgumentError, 'value is nil' if value.nil?
1417
1439
 
1418
- parameters = KeySignParameters.new
1440
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeySignParameters.new
1419
1441
  unless algorithm.nil? && value.nil?
1420
1442
  parameters.algorithm = algorithm
1421
1443
  parameters.value = value
@@ -1458,6 +1480,8 @@ module Azure::KeyVault::V2015_06_01
1458
1480
  end
1459
1481
 
1460
1482
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1483
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1484
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1461
1485
  # Deserialize Response
1462
1486
  if status_code == 200
1463
1487
  begin
@@ -1548,7 +1572,7 @@ module Azure::KeyVault::V2015_06_01
1548
1572
  fail ArgumentError, 'digest is nil' if digest.nil?
1549
1573
  fail ArgumentError, 'signature is nil' if signature.nil?
1550
1574
 
1551
- parameters = KeyVerifyParameters.new
1575
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyVerifyParameters.new
1552
1576
  unless algorithm.nil? && digest.nil? && signature.nil?
1553
1577
  parameters.algorithm = algorithm
1554
1578
  parameters.digest = digest
@@ -1592,6 +1616,8 @@ module Azure::KeyVault::V2015_06_01
1592
1616
  end
1593
1617
 
1594
1618
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1619
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1620
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1595
1621
  # Deserialize Response
1596
1622
  if status_code == 200
1597
1623
  begin
@@ -1672,7 +1698,7 @@ module Azure::KeyVault::V2015_06_01
1672
1698
  fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
1673
1699
  fail ArgumentError, 'value is nil' if value.nil?
1674
1700
 
1675
- parameters = KeyOperationsParameters.new
1701
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
1676
1702
  unless algorithm.nil? && value.nil?
1677
1703
  parameters.algorithm = algorithm
1678
1704
  parameters.value = value
@@ -1715,6 +1741,8 @@ module Azure::KeyVault::V2015_06_01
1715
1741
  end
1716
1742
 
1717
1743
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1744
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1745
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1718
1746
  # Deserialize Response
1719
1747
  if status_code == 200
1720
1748
  begin
@@ -1798,7 +1826,7 @@ module Azure::KeyVault::V2015_06_01
1798
1826
  fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
1799
1827
  fail ArgumentError, 'value is nil' if value.nil?
1800
1828
 
1801
- parameters = KeyOperationsParameters.new
1829
+ parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
1802
1830
  unless algorithm.nil? && value.nil?
1803
1831
  parameters.algorithm = algorithm
1804
1832
  parameters.value = value
@@ -1841,6 +1869,8 @@ module Azure::KeyVault::V2015_06_01
1841
1869
  end
1842
1870
 
1843
1871
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1872
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1873
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1844
1874
  # Deserialize Response
1845
1875
  if status_code == 200
1846
1876
  begin
@@ -1922,12 +1952,12 @@ module Azure::KeyVault::V2015_06_01
1922
1952
  fail ArgumentError, 'api_version is nil' if api_version.nil?
1923
1953
  fail ArgumentError, 'value is nil' if value.nil?
1924
1954
 
1925
- parameters = SecretSetParameters.new
1955
+ parameters = Azure::KeyVault::V2015_06_01::Models::SecretSetParameters.new
1926
1956
  unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
1927
1957
  parameters.value = value
1928
1958
  parameters.tags = tags
1929
1959
  parameters.content_type = content_type
1930
- parameters.secretAttributes = secret_attributes
1960
+ parameters.secret_attributes = secret_attributes
1931
1961
  end
1932
1962
 
1933
1963
  request_headers = {}
@@ -1967,6 +1997,8 @@ module Azure::KeyVault::V2015_06_01
1967
1997
  end
1968
1998
 
1969
1999
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2000
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2001
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1970
2002
  # Deserialize Response
1971
2003
  if status_code == 200
1972
2004
  begin
@@ -2062,6 +2094,8 @@ module Azure::KeyVault::V2015_06_01
2062
2094
  end
2063
2095
 
2064
2096
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2097
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2098
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2065
2099
  # Deserialize Response
2066
2100
  if status_code == 200
2067
2101
  begin
@@ -2142,10 +2176,10 @@ module Azure::KeyVault::V2015_06_01
2142
2176
  fail ArgumentError, 'secret_version is nil' if secret_version.nil?
2143
2177
  fail ArgumentError, 'api_version is nil' if api_version.nil?
2144
2178
 
2145
- parameters = SecretUpdateParameters.new
2179
+ parameters = Azure::KeyVault::V2015_06_01::Models::SecretUpdateParameters.new
2146
2180
  unless content_type.nil? && secret_attributes.nil? && tags.nil?
2147
2181
  parameters.content_type = content_type
2148
- parameters.secretAttributes = secret_attributes
2182
+ parameters.secret_attributes = secret_attributes
2149
2183
  parameters.tags = tags
2150
2184
  end
2151
2185
 
@@ -2186,6 +2220,8 @@ module Azure::KeyVault::V2015_06_01
2186
2220
  end
2187
2221
 
2188
2222
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2223
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2224
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2189
2225
  # Deserialize Response
2190
2226
  if status_code == 200
2191
2227
  begin
@@ -2285,6 +2321,8 @@ module Azure::KeyVault::V2015_06_01
2285
2321
  end
2286
2322
 
2287
2323
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2324
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2325
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2288
2326
  # Deserialize Response
2289
2327
  if status_code == 200
2290
2328
  begin
@@ -2383,6 +2421,8 @@ module Azure::KeyVault::V2015_06_01
2383
2421
  end
2384
2422
 
2385
2423
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2424
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2425
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2386
2426
  # Deserialize Response
2387
2427
  if status_code == 200
2388
2428
  begin
@@ -2486,6 +2526,8 @@ module Azure::KeyVault::V2015_06_01
2486
2526
  end
2487
2527
 
2488
2528
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2529
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2530
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2489
2531
  # Deserialize Response
2490
2532
  if status_code == 200
2491
2533
  begin
@@ -2584,6 +2626,8 @@ module Azure::KeyVault::V2015_06_01
2584
2626
  end
2585
2627
 
2586
2628
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2629
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2630
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2587
2631
  # Deserialize Response
2588
2632
  if status_code == 200
2589
2633
  begin
@@ -2682,6 +2726,8 @@ module Azure::KeyVault::V2015_06_01
2682
2726
  end
2683
2727
 
2684
2728
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2729
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2730
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2685
2731
  # Deserialize Response
2686
2732
  if status_code == 200
2687
2733
  begin
@@ -2783,6 +2829,8 @@ module Azure::KeyVault::V2015_06_01
2783
2829
  end
2784
2830
 
2785
2831
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2832
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2833
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2786
2834
  # Deserialize Response
2787
2835
  if status_code == 200
2788
2836
  begin
@@ -2873,6 +2921,8 @@ module Azure::KeyVault::V2015_06_01
2873
2921
  end
2874
2922
 
2875
2923
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2924
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2925
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2876
2926
  # Deserialize Response
2877
2927
  if status_code == 200
2878
2928
  begin
@@ -2963,6 +3013,8 @@ module Azure::KeyVault::V2015_06_01
2963
3013
  end
2964
3014
 
2965
3015
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3016
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3017
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2966
3018
  # Deserialize Response
2967
3019
  if status_code == 200
2968
3020
  begin
@@ -3061,6 +3113,8 @@ module Azure::KeyVault::V2015_06_01
3061
3113
  end
3062
3114
 
3063
3115
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3116
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3117
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3064
3118
  # Deserialize Response
3065
3119
  if status_code == 200
3066
3120
  begin
@@ -3189,6 +3243,8 @@ module Azure::KeyVault::V2015_06_01
3189
3243
  end
3190
3244
 
3191
3245
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3246
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3247
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3192
3248
  # Deserialize Response
3193
3249
  if status_code == 200
3194
3250
  begin
@@ -3316,6 +3372,8 @@ module Azure::KeyVault::V2015_06_01
3316
3372
  end
3317
3373
 
3318
3374
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3375
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3376
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3319
3377
  # Deserialize Response
3320
3378
  if status_code == 200
3321
3379
  begin
@@ -3411,6 +3469,8 @@ module Azure::KeyVault::V2015_06_01
3411
3469
  end
3412
3470
 
3413
3471
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3472
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3473
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3414
3474
  # Deserialize Response
3415
3475
  if status_code == 200
3416
3476
  begin
@@ -3506,6 +3566,8 @@ module Azure::KeyVault::V2015_06_01
3506
3566
  end
3507
3567
 
3508
3568
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3569
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3570
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3509
3571
  # Deserialize Response
3510
3572
  if status_code == 200
3511
3573
  begin
@@ -3592,10 +3654,10 @@ module Azure::KeyVault::V2015_06_01
3592
3654
  fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
3593
3655
  fail ArgumentError, 'api_version is nil' if api_version.nil?
3594
3656
 
3595
- parameters = CertificateCreateParameters.new
3657
+ parameters = Azure::KeyVault::V2015_06_01::Models::CertificateCreateParameters.new
3596
3658
  unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
3597
- parameters.CertificatePolicy = certificate_policy
3598
- parameters.CertificateAttributes = certificate_attributes
3659
+ parameters.certificate_policy = certificate_policy
3660
+ parameters.certificate_attributes = certificate_attributes
3599
3661
  parameters.tags = tags
3600
3662
  end
3601
3663
 
@@ -3636,6 +3698,8 @@ module Azure::KeyVault::V2015_06_01
3636
3698
  end
3637
3699
 
3638
3700
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3701
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3702
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3639
3703
  # Deserialize Response
3640
3704
  if status_code == 202
3641
3705
  begin
@@ -3662,7 +3726,7 @@ module Azure::KeyVault::V2015_06_01
3662
3726
  # @param base64encoded_certificate [String] Base64 encoded representation of
3663
3727
  # the certificate object to import. This certificate needs to contain the
3664
3728
  # private key.
3665
- # @param password [String] If the private key in base64EncodedCertificate is
3729
+ # @param password [String] If the private key in base64encoded_certificate is
3666
3730
  # encrypted, the password used for encryption
3667
3731
  # @param certificate_policy [CertificatePolicy] The management policy for the
3668
3732
  # certificate
@@ -3689,7 +3753,7 @@ module Azure::KeyVault::V2015_06_01
3689
3753
  # @param base64encoded_certificate [String] Base64 encoded representation of
3690
3754
  # the certificate object to import. This certificate needs to contain the
3691
3755
  # private key.
3692
- # @param password [String] If the private key in base64EncodedCertificate is
3756
+ # @param password [String] If the private key in base64encoded_certificate is
3693
3757
  # encrypted, the password used for encryption
3694
3758
  # @param certificate_policy [CertificatePolicy] The management policy for the
3695
3759
  # certificate
@@ -3715,7 +3779,7 @@ module Azure::KeyVault::V2015_06_01
3715
3779
  # @param base64encoded_certificate [String] Base64 encoded representation of
3716
3780
  # the certificate object to import. This certificate needs to contain the
3717
3781
  # private key.
3718
- # @param password [String] If the private key in base64EncodedCertificate is
3782
+ # @param password [String] If the private key in base64encoded_certificate is
3719
3783
  # encrypted, the password used for encryption
3720
3784
  # @param certificate_policy [CertificatePolicy] The management policy for the
3721
3785
  # certificate
@@ -3735,12 +3799,12 @@ module Azure::KeyVault::V2015_06_01
3735
3799
  fail ArgumentError, 'api_version is nil' if api_version.nil?
3736
3800
  fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
3737
3801
 
3738
- parameters = CertificateImportParameters.new
3802
+ parameters = Azure::KeyVault::V2015_06_01::Models::CertificateImportParameters.new
3739
3803
  unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
3740
- parameters.base64EncodedCertificate = base64encoded_certificate
3804
+ parameters.base64encoded_certificate = base64encoded_certificate
3741
3805
  parameters.password = password
3742
- parameters.CertificatePolicy = certificate_policy
3743
- parameters.CertificateAttributes = certificate_attributes
3806
+ parameters.certificate_policy = certificate_policy
3807
+ parameters.certificate_attributes = certificate_attributes
3744
3808
  parameters.tags = tags
3745
3809
  end
3746
3810
 
@@ -3781,6 +3845,8 @@ module Azure::KeyVault::V2015_06_01
3781
3845
  end
3782
3846
 
3783
3847
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3848
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3849
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3784
3850
  # Deserialize Response
3785
3851
  if status_code == 200
3786
3852
  begin
@@ -3884,6 +3950,8 @@ module Azure::KeyVault::V2015_06_01
3884
3950
  end
3885
3951
 
3886
3952
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
3953
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
3954
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3887
3955
  # Deserialize Response
3888
3956
  if status_code == 200
3889
3957
  begin
@@ -3982,6 +4050,8 @@ module Azure::KeyVault::V2015_06_01
3982
4050
  end
3983
4051
 
3984
4052
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4053
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4054
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
3985
4055
  # Deserialize Response
3986
4056
  if status_code == 200
3987
4057
  begin
@@ -4001,7 +4071,7 @@ module Azure::KeyVault::V2015_06_01
4001
4071
 
4002
4072
  #
4003
4073
  # Updates the policy for a certificate. Set appropriate members in the
4004
- # certificatePolicy that must be updated. Leave others as null.
4074
+ # certificate_policy that must be updated. Leave others as null.
4005
4075
  #
4006
4076
  # @param vault_base_url [String] The vault name, e.g.
4007
4077
  # https://myvault.vault.azure.net
@@ -4020,7 +4090,7 @@ module Azure::KeyVault::V2015_06_01
4020
4090
 
4021
4091
  #
4022
4092
  # Updates the policy for a certificate. Set appropriate members in the
4023
- # certificatePolicy that must be updated. Leave others as null.
4093
+ # certificate_policy that must be updated. Leave others as null.
4024
4094
  #
4025
4095
  # @param vault_base_url [String] The vault name, e.g.
4026
4096
  # https://myvault.vault.azure.net
@@ -4038,7 +4108,7 @@ module Azure::KeyVault::V2015_06_01
4038
4108
 
4039
4109
  #
4040
4110
  # Updates the policy for a certificate. Set appropriate members in the
4041
- # certificatePolicy that must be updated. Leave others as null.
4111
+ # certificate_policy that must be updated. Leave others as null.
4042
4112
  #
4043
4113
  # @param vault_base_url [String] The vault name, e.g.
4044
4114
  # https://myvault.vault.azure.net
@@ -4094,6 +4164,8 @@ module Azure::KeyVault::V2015_06_01
4094
4164
  end
4095
4165
 
4096
4166
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4167
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4168
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4097
4169
  # Deserialize Response
4098
4170
  if status_code == 200
4099
4171
  begin
@@ -4183,10 +4255,10 @@ module Azure::KeyVault::V2015_06_01
4183
4255
  fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
4184
4256
  fail ArgumentError, 'api_version is nil' if api_version.nil?
4185
4257
 
4186
- parameters = CertificateUpdateParameters.new
4258
+ parameters = Azure::KeyVault::V2015_06_01::Models::CertificateUpdateParameters.new
4187
4259
  unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
4188
- parameters.CertificatePolicy = certificate_policy
4189
- parameters.CertificateAttributes = certificate_attributes
4260
+ parameters.certificate_policy = certificate_policy
4261
+ parameters.certificate_attributes = certificate_attributes
4190
4262
  parameters.tags = tags
4191
4263
  end
4192
4264
 
@@ -4227,6 +4299,8 @@ module Azure::KeyVault::V2015_06_01
4227
4299
  end
4228
4300
 
4229
4301
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4302
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4303
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4230
4304
  # Deserialize Response
4231
4305
  if status_code == 200
4232
4306
  begin
@@ -4329,6 +4403,8 @@ module Azure::KeyVault::V2015_06_01
4329
4403
  end
4330
4404
 
4331
4405
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4406
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4407
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4332
4408
  # Deserialize Response
4333
4409
  if status_code == 200
4334
4410
  begin
@@ -4442,6 +4518,8 @@ module Azure::KeyVault::V2015_06_01
4442
4518
  end
4443
4519
 
4444
4520
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4521
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4522
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4445
4523
  # Deserialize Response
4446
4524
  if status_code == 200
4447
4525
  begin
@@ -4537,6 +4615,8 @@ module Azure::KeyVault::V2015_06_01
4537
4615
  end
4538
4616
 
4539
4617
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4618
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4619
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4540
4620
  # Deserialize Response
4541
4621
  if status_code == 200
4542
4622
  begin
@@ -4632,6 +4712,8 @@ module Azure::KeyVault::V2015_06_01
4632
4712
  end
4633
4713
 
4634
4714
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4715
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4716
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4635
4717
  # Deserialize Response
4636
4718
  if status_code == 200
4637
4719
  begin
@@ -4718,10 +4800,10 @@ module Azure::KeyVault::V2015_06_01
4718
4800
  fail ArgumentError, 'api_version is nil' if api_version.nil?
4719
4801
  fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
4720
4802
 
4721
- parameters = CertificateMergeParameters.new
4803
+ parameters = Azure::KeyVault::V2015_06_01::Models::CertificateMergeParameters.new
4722
4804
  unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
4723
- parameters.x509Certificates = x509certificates
4724
- parameters.CertificateAttributes = certificate_attributes
4805
+ parameters.x509certificates = x509certificates
4806
+ parameters.certificate_attributes = certificate_attributes
4725
4807
  parameters.tags = tags
4726
4808
  end
4727
4809
 
@@ -4762,6 +4844,8 @@ module Azure::KeyVault::V2015_06_01
4762
4844
  end
4763
4845
 
4764
4846
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4847
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4848
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4765
4849
  # Deserialize Response
4766
4850
  if status_code == 201
4767
4851
  begin
@@ -4850,6 +4934,8 @@ module Azure::KeyVault::V2015_06_01
4850
4934
  end
4851
4935
 
4852
4936
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
4937
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
4938
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4853
4939
  # Deserialize Response
4854
4940
  if status_code == 200
4855
4941
  begin
@@ -4938,6 +5024,8 @@ module Azure::KeyVault::V2015_06_01
4938
5024
  end
4939
5025
 
4940
5026
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5027
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5028
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
4941
5029
  # Deserialize Response
4942
5030
  if status_code == 200
4943
5031
  begin
@@ -5026,6 +5114,8 @@ module Azure::KeyVault::V2015_06_01
5026
5114
  end
5027
5115
 
5028
5116
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5117
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5118
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5029
5119
  # Deserialize Response
5030
5120
  if status_code == 200
5031
5121
  begin
@@ -5114,6 +5204,8 @@ module Azure::KeyVault::V2015_06_01
5114
5204
  end
5115
5205
 
5116
5206
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5207
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5208
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5117
5209
  # Deserialize Response
5118
5210
  if status_code == 200
5119
5211
  begin
@@ -5202,6 +5294,8 @@ module Azure::KeyVault::V2015_06_01
5202
5294
  end
5203
5295
 
5204
5296
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5297
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5298
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5205
5299
  # Deserialize Response
5206
5300
  if status_code == 200
5207
5301
  begin
@@ -5290,6 +5384,8 @@ module Azure::KeyVault::V2015_06_01
5290
5384
  end
5291
5385
 
5292
5386
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5387
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5388
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5293
5389
  # Deserialize Response
5294
5390
  if status_code == 200
5295
5391
  begin
@@ -5378,6 +5474,8 @@ module Azure::KeyVault::V2015_06_01
5378
5474
  end
5379
5475
 
5380
5476
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5477
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5478
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5381
5479
  # Deserialize Response
5382
5480
  if status_code == 200
5383
5481
  begin
@@ -5409,7 +5507,7 @@ module Azure::KeyVault::V2015_06_01
5409
5507
  # @return [KeyListResult] operation results.
5410
5508
  #
5411
5509
  def get_key_versions_as_lazy(vault_base_url, key_name, maxresults:nil, custom_headers:nil)
5412
- first_page = get_key_versions_as_lazy_as_lazy(vault_base_url, key_name, maxresults:maxresults, custom_headers:custom_headers)
5510
+ first_page = get_key_versions_as_lazy_async(vault_base_url, key_name, maxresults:maxresults, custom_headers:custom_headers)
5413
5511
  first_page.get_all_items
5414
5512
  end
5415
5513
 
@@ -5476,6 +5574,8 @@ module Azure::KeyVault::V2015_06_01
5476
5574
  end
5477
5575
 
5478
5576
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5577
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5578
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5479
5579
  # Deserialize Response
5480
5580
  if status_code == 200
5481
5581
  begin
@@ -5506,7 +5606,7 @@ module Azure::KeyVault::V2015_06_01
5506
5606
  # @return [KeyListResult] operation results.
5507
5607
  #
5508
5608
  def get_keys_as_lazy(vault_base_url, maxresults:nil, custom_headers:nil)
5509
- first_page = get_keys_as_lazy_as_lazy(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5609
+ first_page = get_keys_as_lazy_async(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5510
5610
  first_page.get_all_items
5511
5611
  end
5512
5612
 
@@ -5569,6 +5669,8 @@ module Azure::KeyVault::V2015_06_01
5569
5669
  end
5570
5670
 
5571
5671
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5672
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5673
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5572
5674
  # Deserialize Response
5573
5675
  if status_code == 200
5574
5676
  begin
@@ -5599,7 +5701,7 @@ module Azure::KeyVault::V2015_06_01
5599
5701
  # @return [SecretListResult] operation results.
5600
5702
  #
5601
5703
  def get_secrets_as_lazy(vault_base_url, maxresults:nil, custom_headers:nil)
5602
- first_page = get_secrets_as_lazy_as_lazy(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5704
+ first_page = get_secrets_as_lazy_async(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5603
5705
  first_page.get_all_items
5604
5706
  end
5605
5707
 
@@ -5662,6 +5764,8 @@ module Azure::KeyVault::V2015_06_01
5662
5764
  end
5663
5765
 
5664
5766
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5767
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5768
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5665
5769
  # Deserialize Response
5666
5770
  if status_code == 200
5667
5771
  begin
@@ -5693,7 +5797,7 @@ module Azure::KeyVault::V2015_06_01
5693
5797
  # @return [SecretListResult] operation results.
5694
5798
  #
5695
5799
  def get_secret_versions_as_lazy(vault_base_url, secret_name, maxresults:nil, custom_headers:nil)
5696
- first_page = get_secret_versions_as_lazy_as_lazy(vault_base_url, secret_name, maxresults:maxresults, custom_headers:custom_headers)
5800
+ first_page = get_secret_versions_as_lazy_async(vault_base_url, secret_name, maxresults:maxresults, custom_headers:custom_headers)
5697
5801
  first_page.get_all_items
5698
5802
  end
5699
5803
 
@@ -5760,6 +5864,8 @@ module Azure::KeyVault::V2015_06_01
5760
5864
  end
5761
5865
 
5762
5866
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5867
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5868
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5763
5869
  # Deserialize Response
5764
5870
  if status_code == 200
5765
5871
  begin
@@ -5790,7 +5896,7 @@ module Azure::KeyVault::V2015_06_01
5790
5896
  # @return [CertificateListResult] operation results.
5791
5897
  #
5792
5898
  def get_certificates_as_lazy(vault_base_url, maxresults:nil, custom_headers:nil)
5793
- first_page = get_certificates_as_lazy_as_lazy(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5899
+ first_page = get_certificates_as_lazy_async(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5794
5900
  first_page.get_all_items
5795
5901
  end
5796
5902
 
@@ -5853,6 +5959,8 @@ module Azure::KeyVault::V2015_06_01
5853
5959
  end
5854
5960
 
5855
5961
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
5962
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
5963
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5856
5964
  # Deserialize Response
5857
5965
  if status_code == 200
5858
5966
  begin
@@ -5883,7 +5991,7 @@ module Azure::KeyVault::V2015_06_01
5883
5991
  # @return [CertificateIssuerListResult] operation results.
5884
5992
  #
5885
5993
  def get_certificate_issuers_as_lazy(vault_base_url, maxresults:nil, custom_headers:nil)
5886
- first_page = get_certificate_issuers_as_lazy_as_lazy(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5994
+ first_page = get_certificate_issuers_as_lazy_async(vault_base_url, maxresults:maxresults, custom_headers:custom_headers)
5887
5995
  first_page.get_all_items
5888
5996
  end
5889
5997
 
@@ -5946,6 +6054,8 @@ module Azure::KeyVault::V2015_06_01
5946
6054
  end
5947
6055
 
5948
6056
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
6057
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
6058
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
5949
6059
  # Deserialize Response
5950
6060
  if status_code == 200
5951
6061
  begin
@@ -5977,7 +6087,7 @@ module Azure::KeyVault::V2015_06_01
5977
6087
  # @return [CertificateListResult] operation results.
5978
6088
  #
5979
6089
  def get_certificate_versions_as_lazy(vault_base_url, certificate_name, maxresults:nil, custom_headers:nil)
5980
- first_page = get_certificate_versions_as_lazy_as_lazy(vault_base_url, certificate_name, maxresults:maxresults, custom_headers:custom_headers)
6090
+ first_page = get_certificate_versions_as_lazy_async(vault_base_url, certificate_name, maxresults:maxresults, custom_headers:custom_headers)
5981
6091
  first_page.get_all_items
5982
6092
  end
5983
6093
 
@@ -6044,6 +6154,8 @@ module Azure::KeyVault::V2015_06_01
6044
6154
  end
6045
6155
 
6046
6156
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
6157
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
6158
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
6047
6159
  # Deserialize Response
6048
6160
  if status_code == 200
6049
6161
  begin
@@ -6068,7 +6180,7 @@ module Azure::KeyVault::V2015_06_01
6068
6180
  #
6069
6181
  def add_telemetry
6070
6182
  sdk_information = 'azure_key_vault'
6071
- sdk_information = "#{sdk_information}/0.17.2"
6183
+ sdk_information = "#{sdk_information}/0.19.0"
6072
6184
  add_user_agent_information(sdk_information)
6073
6185
  end
6074
6186
  end