oci 2.5.10 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2010) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -11
  3. data/lib/oci.rb +24 -1
  4. data/lib/oci/analytics/analytics.rb +43 -0
  5. data/lib/oci/analytics/analytics_client.rb +1133 -0
  6. data/lib/oci/analytics/analytics_client_composite_operations.rb +372 -0
  7. data/lib/oci/analytics/models/analytics_instance.rb +407 -0
  8. data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
  9. data/lib/oci/analytics/models/analytics_instance_summary.rb +371 -0
  10. data/lib/oci/analytics/models/capacity.rb +192 -0
  11. data/lib/oci/analytics/models/capacity_type.rb +11 -0
  12. data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
  13. data/lib/oci/analytics/models/create_analytics_instance_details.rb +310 -0
  14. data/lib/oci/analytics/models/feature_set.rb +11 -0
  15. data/lib/oci/analytics/models/license_type.rb +11 -0
  16. data/lib/oci/analytics/models/scale_analytics_instance_details.rb +151 -0
  17. data/lib/oci/analytics/models/sort_by.rb +14 -0
  18. data/lib/oci/analytics/models/sort_order.rb +11 -0
  19. data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
  20. data/lib/oci/analytics/models/work_request.rb +317 -0
  21. data/lib/oci/analytics/models/work_request_action_result.rb +16 -0
  22. data/lib/oci/analytics/models/work_request_error.rb +177 -0
  23. data/lib/oci/analytics/models/work_request_log.rb +165 -0
  24. data/lib/oci/analytics/models/work_request_operation_type.rb +15 -0
  25. data/lib/oci/analytics/models/work_request_resource.rb +249 -0
  26. data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
  27. data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
  28. data/lib/oci/analytics/models/work_request_status.rb +15 -0
  29. data/lib/oci/analytics/models/work_request_summary.rb +301 -0
  30. data/lib/oci/analytics/util.rb +3 -0
  31. data/lib/oci/announcements_service/announcement_client.rb +4 -5
  32. data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
  33. data/lib/oci/announcements_service/announcements_service.rb +2 -1
  34. data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
  35. data/lib/oci/announcements_service/models/announcement.rb +2 -1
  36. data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
  37. data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
  38. data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
  39. data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
  40. data/lib/oci/announcements_service/util.rb +2 -1
  41. data/lib/oci/api_client.rb +6 -3
  42. data/lib/oci/api_client_proxy_settings.rb +2 -1
  43. data/lib/oci/apigateway/apigateway.rb +71 -0
  44. data/lib/oci/apigateway/deployment_client.rb +511 -0
  45. data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
  46. data/lib/oci/apigateway/gateway_client.rb +509 -0
  47. data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
  48. data/lib/oci/apigateway/models/access_log_policy.rb +157 -0
  49. data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
  50. data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
  51. data/lib/oci/apigateway/models/api_specification.rb +176 -0
  52. data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
  53. data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
  54. data/lib/oci/apigateway/models/api_specification_route.rb +233 -0
  55. data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
  56. data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +159 -0
  57. data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
  58. data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
  59. data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
  60. data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
  61. data/lib/oci/apigateway/models/cors_policy.rb +240 -0
  62. data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
  63. data/lib/oci/apigateway/models/create_gateway_details.rb +242 -0
  64. data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
  65. data/lib/oci/apigateway/models/deployment.rb +362 -0
  66. data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
  67. data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
  68. data/lib/oci/apigateway/models/execution_log_policy.rb +196 -0
  69. data/lib/oci/apigateway/models/gateway.rb +367 -0
  70. data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
  71. data/lib/oci/apigateway/models/gateway_summary.rb +322 -0
  72. data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
  73. data/lib/oci/apigateway/models/http_backend.rb +227 -0
  74. data/lib/oci/apigateway/models/json_web_key.rb +278 -0
  75. data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
  76. data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
  77. data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
  78. data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
  79. data/lib/oci/apigateway/models/public_key_set.rb +187 -0
  80. data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
  81. data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
  82. data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
  83. data/lib/oci/apigateway/models/static_public_key.rb +199 -0
  84. data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
  85. data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
  86. data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
  87. data/lib/oci/apigateway/models/update_gateway_details.rb +196 -0
  88. data/lib/oci/apigateway/models/work_request.rb +309 -0
  89. data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
  90. data/lib/oci/apigateway/models/work_request_error.rb +173 -0
  91. data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
  92. data/lib/oci/apigateway/models/work_request_log.rb +160 -0
  93. data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
  94. data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
  95. data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
  96. data/lib/oci/apigateway/util.rb +3 -0
  97. data/lib/oci/apigateway/work_requests_client.rb +466 -0
  98. data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
  99. data/lib/oci/application_migration/application_migration.rb +57 -0
  100. data/lib/oci/application_migration/application_migration_client.rb +1387 -0
  101. data/lib/oci/application_migration/application_migration_client_composite_operations.rb +25 -0
  102. data/lib/oci/application_migration/models/authorization_details.rb +180 -0
  103. data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
  104. data/lib/oci/application_migration/models/configuration_field.rb +225 -0
  105. data/lib/oci/application_migration/models/create_migration_details.rb +284 -0
  106. data/lib/oci/application_migration/models/create_source_details.rb +240 -0
  107. data/lib/oci/application_migration/models/discovery_details.rb +188 -0
  108. data/lib/oci/application_migration/models/ics_discovery_details.rb +177 -0
  109. data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
  110. data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
  111. data/lib/oci/application_migration/models/jcs_discovery_details.rb +177 -0
  112. data/lib/oci/application_migration/models/migration.rb +374 -0
  113. data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
  114. data/lib/oci/application_migration/models/migration_states.rb +16 -0
  115. data/lib/oci/application_migration/models/migration_summary.rb +344 -0
  116. data/lib/oci/application_migration/models/migration_types.rb +15 -0
  117. data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
  118. data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
  119. data/lib/oci/application_migration/models/ocic_source_details.rb +173 -0
  120. data/lib/oci/application_migration/models/oic_discovery_details.rb +177 -0
  121. data/lib/oci/application_migration/models/operation_status.rb +15 -0
  122. data/lib/oci/application_migration/models/operation_types.rb +20 -0
  123. data/lib/oci/application_migration/models/pcs_discovery_details.rb +177 -0
  124. data/lib/oci/application_migration/models/soacs_discovery_details.rb +177 -0
  125. data/lib/oci/application_migration/models/sort_orders.rb +11 -0
  126. data/lib/oci/application_migration/models/source.rb +278 -0
  127. data/lib/oci/application_migration/models/source_application.rb +212 -0
  128. data/lib/oci/application_migration/models/source_application_summary.rb +219 -0
  129. data/lib/oci/application_migration/models/source_details.rb +187 -0
  130. data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
  131. data/lib/oci/application_migration/models/source_summary.rb +295 -0
  132. data/lib/oci/application_migration/models/source_types.rb +11 -0
  133. data/lib/oci/application_migration/models/update_migration_details.rb +240 -0
  134. data/lib/oci/application_migration/models/update_source_details.rb +224 -0
  135. data/lib/oci/application_migration/models/work_request.rb +258 -0
  136. data/lib/oci/application_migration/models/work_request_error.rb +171 -0
  137. data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
  138. data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
  139. data/lib/oci/application_migration/models/work_request_summary.rb +251 -0
  140. data/lib/oci/application_migration/util.rb +3 -0
  141. data/lib/oci/audit/audit.rb +7 -1
  142. data/lib/oci/audit/audit_client.rb +34 -19
  143. data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
  144. data/lib/oci/audit/models/audit_event.rb +83 -262
  145. data/lib/oci/audit/models/configuration.rb +9 -3
  146. data/lib/oci/audit/models/data.rb +465 -0
  147. data/lib/oci/audit/models/identity.rb +314 -0
  148. data/lib/oci/audit/models/request.rb +286 -0
  149. data/lib/oci/audit/models/response.rb +274 -0
  150. data/lib/oci/audit/models/state_change.rb +176 -0
  151. data/lib/oci/audit/models/update_configuration_details.rb +9 -3
  152. data/lib/oci/audit/util.rb +2 -1
  153. data/lib/oci/auth/auth.rb +6 -1
  154. data/lib/oci/auth/federation_client.rb +7 -3
  155. data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
  156. data/lib/oci/auth/security_token_container.rb +2 -1
  157. data/lib/oci/auth/session_key_supplier.rb +2 -1
  158. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +16 -5
  159. data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
  160. data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
  161. data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
  162. data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
  163. data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
  164. data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
  165. data/lib/oci/auth/signers/resource_principals_signer.rb +41 -0
  166. data/lib/oci/auth/signers/security_token_signer.rb +2 -1
  167. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
  168. data/lib/oci/auth/url_based_certificate_retriever.rb +8 -3
  169. data/lib/oci/auth/util.rb +20 -1
  170. data/lib/oci/autoscaling/auto_scaling_client.rb +20 -17
  171. data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
  172. data/lib/oci/autoscaling/autoscaling.rb +7 -1
  173. data/lib/oci/autoscaling/models/action.rb +2 -1
  174. data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
  175. data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
  176. data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
  177. data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
  178. data/lib/oci/autoscaling/models/capacity.rb +5 -4
  179. data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
  180. data/lib/oci/autoscaling/models/condition.rb +2 -1
  181. data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
  182. data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
  183. data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
  184. data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
  185. data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
  186. data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
  187. data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
  188. data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
  189. data/lib/oci/autoscaling/models/metric.rb +2 -1
  190. data/lib/oci/autoscaling/models/resource.rb +2 -1
  191. data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
  192. data/lib/oci/autoscaling/models/threshold.rb +2 -1
  193. data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
  194. data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
  195. data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
  196. data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
  197. data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
  198. data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
  199. data/lib/oci/autoscaling/util.rb +2 -1
  200. data/lib/oci/base_signer.rb +4 -3
  201. data/lib/oci/bds/bds.rb +45 -0
  202. data/lib/oci/bds/bds_client.rb +1045 -0
  203. data/lib/oci/bds/bds_client_composite_operations.rb +423 -0
  204. data/lib/oci/bds/models/action_types.rb +14 -0
  205. data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
  206. data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
  207. data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
  208. data/lib/oci/bds/models/bds_instance.rb +436 -0
  209. data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
  210. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
  211. data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
  212. data/lib/oci/bds/models/cluster_details.rb +240 -0
  213. data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
  214. data/lib/oci/bds/models/create_node_details.rb +194 -0
  215. data/lib/oci/bds/models/default_error.rb +160 -0
  216. data/lib/oci/bds/models/kerberos_details.rb +168 -0
  217. data/lib/oci/bds/models/network_config.rb +168 -0
  218. data/lib/oci/bds/models/node.rb +390 -0
  219. data/lib/oci/bds/models/operation_status.rb +15 -0
  220. data/lib/oci/bds/models/operation_types.rb +17 -0
  221. data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
  222. data/lib/oci/bds/models/sort_orders.rb +11 -0
  223. data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
  224. data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
  225. data/lib/oci/bds/models/work_request.rb +312 -0
  226. data/lib/oci/bds/models/work_request_error.rb +173 -0
  227. data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
  228. data/lib/oci/bds/models/work_request_resource.rb +219 -0
  229. data/lib/oci/bds/util.rb +3 -0
  230. data/lib/oci/budget/budget.rb +3 -1
  231. data/lib/oci/budget/budget_client.rb +33 -16
  232. data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
  233. data/lib/oci/budget/models/alert_rule.rb +2 -1
  234. data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
  235. data/lib/oci/budget/models/alert_type.rb +2 -1
  236. data/lib/oci/budget/models/budget.rb +54 -3
  237. data/lib/oci/budget/models/budget_summary.rb +54 -3
  238. data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
  239. data/lib/oci/budget/models/create_budget_details.rb +57 -3
  240. data/lib/oci/budget/models/lifecycle_state.rb +2 -1
  241. data/lib/oci/budget/models/reset_period.rb +2 -1
  242. data/lib/oci/budget/models/sort_by.rb +2 -1
  243. data/lib/oci/budget/models/sort_order.rb +2 -1
  244. data/lib/oci/budget/models/target_type.rb +11 -0
  245. data/lib/oci/budget/models/threshold_type.rb +2 -1
  246. data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
  247. data/lib/oci/budget/models/update_budget_details.rb +2 -1
  248. data/lib/oci/budget/util.rb +2 -1
  249. data/lib/oci/cims/cims.rb +63 -0
  250. data/lib/oci/cims/incident_client.rb +575 -0
  251. data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
  252. data/lib/oci/cims/models/activity_item.rb +275 -0
  253. data/lib/oci/cims/models/availability_domain.rb +48 -0
  254. data/lib/oci/cims/models/category.rb +164 -0
  255. data/lib/oci/cims/models/classifier.rb +256 -0
  256. data/lib/oci/cims/models/contact.rb +219 -0
  257. data/lib/oci/cims/models/contact_list.rb +154 -0
  258. data/lib/oci/cims/models/create_category_details.rb +154 -0
  259. data/lib/oci/cims/models/create_incident.rb +223 -0
  260. data/lib/oci/cims/models/create_issue_type_details.rb +154 -0
  261. data/lib/oci/cims/models/create_item_details.rb +212 -0
  262. data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
  263. data/lib/oci/cims/models/create_resource_details.rb +263 -0
  264. data/lib/oci/cims/models/create_sub_category_details.rb +154 -0
  265. data/lib/oci/cims/models/create_tech_support_item_details.rb +161 -0
  266. data/lib/oci/cims/models/create_ticket_details.rb +198 -0
  267. data/lib/oci/cims/models/error_code.rb +27 -0
  268. data/lib/oci/cims/models/incident.rb +258 -0
  269. data/lib/oci/cims/models/incident_resource_type.rb +198 -0
  270. data/lib/oci/cims/models/incident_summary.rb +248 -0
  271. data/lib/oci/cims/models/incident_type.rb +194 -0
  272. data/lib/oci/cims/models/issue_type.rb +164 -0
  273. data/lib/oci/cims/models/item.rb +227 -0
  274. data/lib/oci/cims/models/lifecycle_details.rb +13 -0
  275. data/lib/oci/cims/models/lifecycle_state.rb +11 -0
  276. data/lib/oci/cims/models/limit_item.rb +245 -0
  277. data/lib/oci/cims/models/problem_type.rb +13 -0
  278. data/lib/oci/cims/models/region.rb +38 -0
  279. data/lib/oci/cims/models/resource.rb +276 -0
  280. data/lib/oci/cims/models/scope.rb +13 -0
  281. data/lib/oci/cims/models/service_category.rb +270 -0
  282. data/lib/oci/cims/models/sort_by.rb +11 -0
  283. data/lib/oci/cims/models/sort_order.rb +11 -0
  284. data/lib/oci/cims/models/status.rb +160 -0
  285. data/lib/oci/cims/models/sub_category.rb +164 -0
  286. data/lib/oci/cims/models/tech_support_item.rb +165 -0
  287. data/lib/oci/cims/models/tenancy_information.rb +168 -0
  288. data/lib/oci/cims/models/ticket.rb +315 -0
  289. data/lib/oci/cims/models/unit.rb +12 -0
  290. data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → cims/models/update_activity_item_details.rb} +39 -38
  291. data/lib/oci/cims/models/update_incident.rb +150 -0
  292. data/lib/oci/cims/models/update_item_details.rb +166 -0
  293. data/lib/oci/cims/models/update_resource_details.rb +149 -0
  294. data/lib/oci/cims/models/update_ticket_details.rb +150 -0
  295. data/lib/oci/cims/models/validation_response.rb +154 -0
  296. data/lib/oci/cims/util.rb +3 -0
  297. data/lib/oci/config.rb +12 -1
  298. data/lib/oci/config_file_loader.rb +9 -1
  299. data/lib/oci/container_engine/container_engine.rb +13 -1
  300. data/lib/oci/container_engine/container_engine_client.rb +9 -6
  301. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
  302. data/lib/oci/container_engine/models/add_on_options.rb +2 -1
  303. data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
  304. data/lib/oci/container_engine/models/cluster.rb +17 -2
  305. data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
  306. data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
  307. data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
  308. data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
  309. data/lib/oci/container_engine/models/cluster_options.rb +2 -1
  310. data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
  311. data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
  312. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
  313. data/lib/oci/container_engine/models/create_node_pool_details.rb +50 -8
  314. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
  315. data/lib/oci/container_engine/models/key_value.rb +2 -1
  316. data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
  317. data/lib/oci/container_engine/models/node.rb +31 -2
  318. data/lib/oci/container_engine/models/node_error.rb +2 -1
  319. data/lib/oci/container_engine/models/node_pool.rb +38 -7
  320. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
  321. data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
  322. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
  323. data/lib/oci/container_engine/models/node_pool_summary.rb +38 -7
  324. data/lib/oci/container_engine/models/node_source_details.rb +184 -0
  325. data/lib/oci/container_engine/models/node_source_option.rb +206 -0
  326. data/lib/oci/container_engine/models/node_source_type.rb +10 -0
  327. data/lib/oci/container_engine/models/node_source_via_image_details.rb +162 -0
  328. data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
  329. data/lib/oci/container_engine/models/sort_order.rb +2 -1
  330. data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
  331. data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
  332. data/lib/oci/container_engine/models/update_node_pool_details.rb +47 -20
  333. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
  334. data/lib/oci/container_engine/models/work_request.rb +2 -1
  335. data/lib/oci/container_engine/models/work_request_error.rb +2 -1
  336. data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
  337. data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
  338. data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
  339. data/lib/oci/container_engine/models/work_request_status.rb +2 -1
  340. data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
  341. data/lib/oci/container_engine/util.rb +2 -1
  342. data/lib/oci/core/blockstorage_client.rb +322 -28
  343. data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
  344. data/lib/oci/core/compute_client.rb +1093 -97
  345. data/lib/oci/core/compute_client_composite_operations.rb +121 -1
  346. data/lib/oci/core/compute_management_client.rb +537 -22
  347. data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
  348. data/lib/oci/core/core.rb +60 -1
  349. data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +153 -0
  350. data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
  351. data/lib/oci/core/models/add_security_rule_details.rb +10 -5
  352. data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
  353. data/lib/oci/core/models/app_catalog_listing.rb +2 -1
  354. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +2 -1
  355. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +2 -1
  356. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +2 -1
  357. data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
  358. data/lib/oci/core/models/app_catalog_subscription.rb +2 -1
  359. data/lib/oci/core/models/app_catalog_subscription_summary.rb +2 -1
  360. data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
  361. data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
  362. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
  363. data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
  364. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
  365. data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
  366. data/lib/oci/core/models/attach_vnic_details.rb +3 -1
  367. data/lib/oci/core/models/attach_volume_details.rb +21 -2
  368. data/lib/oci/core/models/bgp_session_info.rb +2 -1
  369. data/lib/oci/core/models/boot_volume.rb +43 -3
  370. data/lib/oci/core/models/boot_volume_attachment.rb +2 -1
  371. data/lib/oci/core/models/boot_volume_backup.rb +51 -2
  372. data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
  373. data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
  374. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
  375. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
  376. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  377. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  378. data/lib/oci/core/models/capture_console_history_details.rb +3 -1
  379. data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +4 -3
  380. data/lib/oci/core/models/change_boot_volume_compartment_details.rb +4 -3
  381. data/lib/oci/core/models/change_cluster_network_compartment_details.rb +156 -0
  382. data/lib/oci/core/models/change_cpe_compartment_details.rb +156 -0
  383. data/lib/oci/core/models/change_cross_connect_compartment_details.rb +156 -0
  384. data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +156 -0
  385. data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +156 -0
  386. data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +156 -0
  387. data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
  388. data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
  389. data/lib/oci/core/models/change_instance_compartment_details.rb +155 -0
  390. data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
  391. data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
  392. data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +156 -0
  393. data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +156 -0
  394. data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +156 -0
  395. data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
  396. data/lib/oci/core/models/change_network_security_group_compartment_details.rb +156 -0
  397. data/lib/oci/core/models/change_public_ip_compartment_details.rb +156 -0
  398. data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +156 -0
  399. data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
  400. data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
  401. data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
  402. data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
  403. data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
  404. data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +156 -0
  405. data/lib/oci/core/models/change_volume_backup_compartment_details.rb +4 -3
  406. data/lib/oci/core/models/change_volume_compartment_details.rb +4 -3
  407. data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +4 -3
  408. data/lib/oci/core/models/change_volume_group_compartment_details.rb +4 -3
  409. data/lib/oci/core/models/cluster_network.rb +323 -0
  410. data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
  411. data/lib/oci/core/models/cluster_network_summary.rb +305 -0
  412. data/lib/oci/core/models/compute_instance_details.rb +2 -1
  413. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
  414. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
  415. data/lib/oci/core/models/console_history.rb +2 -1
  416. data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
  417. data/lib/oci/core/models/copy_volume_backup_details.rb +29 -5
  418. data/lib/oci/core/models/cpe.rb +31 -2
  419. data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
  420. data/lib/oci/core/models/cpe_device_config_question.rb +181 -0
  421. data/lib/oci/core/models/cpe_device_info.rb +164 -0
  422. data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
  423. data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
  424. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
  425. data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
  426. data/lib/oci/core/models/create_boot_volume_details.rb +29 -3
  427. data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
  428. data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +221 -0
  429. data/lib/oci/core/models/create_cpe_details.rb +32 -5
  430. data/lib/oci/core/models/create_cross_connect_details.rb +39 -2
  431. data/lib/oci/core/models/create_cross_connect_group_details.rb +42 -5
  432. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +265 -0
  433. data/lib/oci/core/models/create_dhcp_details.rb +2 -1
  434. data/lib/oci/core/models/create_drg_attachment_details.rb +6 -3
  435. data/lib/oci/core/models/create_drg_details.rb +2 -1
  436. data/lib/oci/core/models/create_image_details.rb +3 -2
  437. data/lib/oci/core/models/create_instance_configuration_base.rb +261 -0
  438. data/lib/oci/core/models/create_instance_configuration_details.rb +17 -58
  439. data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +181 -0
  440. data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
  441. data/lib/oci/core/models/create_instance_pool_details.rb +10 -4
  442. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
  443. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
  444. data/lib/oci/core/models/create_ip_sec_connection_details.rb +6 -1
  445. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -2
  446. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
  447. data/lib/oci/core/models/create_ipv6_details.rb +250 -0
  448. data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -2
  449. data/lib/oci/core/models/create_nat_gateway_details.rb +2 -1
  450. data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
  451. data/lib/oci/core/models/create_private_ip_details.rb +2 -1
  452. data/lib/oci/core/models/create_public_ip_details.rb +2 -1
  453. data/lib/oci/core/models/create_remote_peering_connection_details.rb +42 -5
  454. data/lib/oci/core/models/create_route_table_details.rb +2 -1
  455. data/lib/oci/core/models/create_security_list_details.rb +2 -1
  456. data/lib/oci/core/models/create_service_gateway_details.rb +25 -2
  457. data/lib/oci/core/models/create_subnet_details.rb +26 -2
  458. data/lib/oci/core/models/create_vcn_details.rb +58 -5
  459. data/lib/oci/core/models/create_virtual_circuit_details.rb +60 -4
  460. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
  461. data/lib/oci/core/models/create_vnic_details.rb +2 -2
  462. data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
  463. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
  464. data/lib/oci/core/models/create_volume_backup_policy_details.rb +238 -0
  465. data/lib/oci/core/models/create_volume_details.rb +31 -3
  466. data/lib/oci/core/models/create_volume_group_backup_details.rb +5 -2
  467. data/lib/oci/core/models/create_volume_group_details.rb +3 -2
  468. data/lib/oci/core/models/cross_connect.rb +39 -2
  469. data/lib/oci/core/models/cross_connect_group.rb +39 -2
  470. data/lib/oci/core/models/cross_connect_location.rb +2 -1
  471. data/lib/oci/core/models/cross_connect_mapping.rb +58 -2
  472. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
  473. data/lib/oci/core/models/cross_connect_status.rb +2 -1
  474. data/lib/oci/core/models/dedicated_vm_host.rb +362 -0
  475. data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +171 -0
  476. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +216 -0
  477. data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +172 -0
  478. data/lib/oci/core/models/dedicated_vm_host_summary.rb +326 -0
  479. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  480. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
  481. data/lib/oci/core/models/device.rb +2 -1
  482. data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
  483. data/lib/oci/core/models/dhcp_option.rb +2 -1
  484. data/lib/oci/core/models/dhcp_options.rb +2 -1
  485. data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
  486. data/lib/oci/core/models/drg.rb +2 -1
  487. data/lib/oci/core/models/drg_attachment.rb +8 -4
  488. data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
  489. data/lib/oci/core/models/egress_security_rule.rb +29 -12
  490. data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
  491. data/lib/oci/core/models/export_image_details.rb +2 -1
  492. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
  493. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  494. data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
  495. data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
  496. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +2 -1
  497. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
  498. data/lib/oci/core/models/i_scsi_volume_attachment.rb +7 -2
  499. data/lib/oci/core/models/icmp_options.rb +2 -1
  500. data/lib/oci/core/models/image.rb +4 -1
  501. data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
  502. data/lib/oci/core/models/image_shape_compatibility_entry.rb +177 -0
  503. data/lib/oci/core/models/image_shape_compatibility_summary.rb +177 -0
  504. data/lib/oci/core/models/image_source_details.rb +2 -1
  505. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
  506. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
  507. data/lib/oci/core/models/ingress_security_rule.rb +29 -12
  508. data/lib/oci/core/models/instance.rb +48 -2
  509. data/lib/oci/core/models/instance_agent_config.rb +23 -5
  510. data/lib/oci/core/models/instance_agent_features.rb +21 -5
  511. data/lib/oci/core/models/instance_configuration.rb +12 -8
  512. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
  513. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +2 -1
  514. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
  515. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
  516. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
  517. data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
  518. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
  519. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
  520. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
  521. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +2 -1
  522. data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
  523. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +151 -5
  524. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +158 -0
  525. data/lib/oci/core/models/instance_configuration_launch_options.rb +331 -0
  526. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +2 -1
  527. data/lib/oci/core/models/instance_configuration_summary.rb +2 -1
  528. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
  529. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
  530. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
  531. data/lib/oci/core/models/instance_console_connection.rb +3 -2
  532. data/lib/oci/core/models/instance_credentials.rb +2 -1
  533. data/lib/oci/core/models/instance_pool.rb +10 -5
  534. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
  535. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
  536. data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
  537. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
  538. data/lib/oci/core/models/instance_pool_summary.rb +2 -1
  539. data/lib/oci/core/models/instance_shape_config.rb +287 -0
  540. data/lib/oci/core/models/instance_source_details.rb +2 -1
  541. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  542. data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
  543. data/lib/oci/core/models/instance_summary.rb +2 -1
  544. data/lib/oci/core/models/internet_gateway.rb +2 -1
  545. data/lib/oci/core/models/ip_sec_connection.rb +6 -1
  546. data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
  547. data/lib/oci/core/models/ip_sec_connection_device_status.rb +2 -1
  548. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +37 -2
  549. data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -1
  550. data/lib/oci/core/models/ipv6.rb +377 -0
  551. data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
  552. data/lib/oci/core/models/launch_instance_details.rb +44 -2
  553. data/lib/oci/core/models/launch_instance_shape_config_details.rb +158 -0
  554. data/lib/oci/core/models/launch_options.rb +8 -6
  555. data/lib/oci/core/models/letter_of_authority.rb +2 -1
  556. data/lib/oci/core/models/local_peering_gateway.rb +6 -4
  557. data/lib/oci/core/models/nat_gateway.rb +2 -1
  558. data/lib/oci/core/models/network_security_group.rb +2 -1
  559. data/lib/oci/core/models/network_security_group_vnic.rb +2 -1
  560. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
  561. data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
  562. data/lib/oci/core/models/port_range.rb +2 -1
  563. data/lib/oci/core/models/private_ip.rb +3 -1
  564. data/lib/oci/core/models/public_ip.rb +2 -1
  565. data/lib/oci/core/models/remote_peering_connection.rb +39 -2
  566. data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
  567. data/lib/oci/core/models/route_rule.rb +22 -6
  568. data/lib/oci/core/models/route_table.rb +2 -1
  569. data/lib/oci/core/models/security_list.rb +2 -2
  570. data/lib/oci/core/models/security_rule.rb +9 -4
  571. data/lib/oci/core/models/service.rb +2 -1
  572. data/lib/oci/core/models/service_gateway.rb +20 -2
  573. data/lib/oci/core/models/service_id_request_details.rb +2 -1
  574. data/lib/oci/core/models/service_id_response_details.rb +2 -1
  575. data/lib/oci/core/models/shape.rb +203 -5
  576. data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +177 -0
  577. data/lib/oci/core/models/shape_memory_options.rb +189 -0
  578. data/lib/oci/core/models/shape_networking_bandwidth_options.rb +186 -0
  579. data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
  580. data/lib/oci/core/models/subnet.rb +60 -3
  581. data/lib/oci/core/models/tcp_options.rb +2 -1
  582. data/lib/oci/core/models/tunnel_config.rb +2 -1
  583. data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
  584. data/lib/oci/core/models/tunnel_status.rb +2 -1
  585. data/lib/oci/core/models/udp_options.rb +2 -1
  586. data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
  587. data/lib/oci/core/models/update_boot_volume_details.rb +29 -5
  588. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
  589. data/lib/oci/core/models/update_cluster_network_details.rb +192 -0
  590. data/lib/oci/core/models/update_console_history_details.rb +3 -1
  591. data/lib/oci/core/models/update_cpe_details.rb +31 -5
  592. data/lib/oci/core/models/update_cross_connect_details.rb +39 -2
  593. data/lib/oci/core/models/update_cross_connect_group_details.rb +42 -5
  594. data/lib/oci/core/models/update_dedicated_vm_host_details.rb +195 -0
  595. data/lib/oci/core/models/update_dhcp_details.rb +2 -1
  596. data/lib/oci/core/models/update_drg_attachment_details.rb +8 -4
  597. data/lib/oci/core/models/update_drg_details.rb +2 -1
  598. data/lib/oci/core/models/update_image_details.rb +2 -1
  599. data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
  600. data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
  601. data/lib/oci/core/models/update_instance_details.rb +31 -34
  602. data/lib/oci/core/models/update_instance_pool_details.rb +8 -3
  603. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
  604. data/lib/oci/core/models/update_instance_shape_config_details.rb +159 -0
  605. data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
  606. data/lib/oci/core/models/update_ip_sec_connection_details.rb +6 -1
  607. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
  608. data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -1
  609. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
  610. data/lib/oci/core/models/update_ipv6_details.rb +230 -0
  611. data/lib/oci/core/models/update_local_peering_gateway_details.rb +6 -4
  612. data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
  613. data/lib/oci/core/models/update_network_security_group_details.rb +4 -1
  614. data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
  615. data/lib/oci/core/models/update_private_ip_details.rb +2 -1
  616. data/lib/oci/core/models/update_public_ip_details.rb +2 -1
  617. data/lib/oci/core/models/update_remote_peering_connection_details.rb +42 -5
  618. data/lib/oci/core/models/update_route_table_details.rb +2 -1
  619. data/lib/oci/core/models/update_security_list_details.rb +2 -1
  620. data/lib/oci/core/models/update_security_rule_details.rb +10 -5
  621. data/lib/oci/core/models/update_service_gateway_details.rb +20 -2
  622. data/lib/oci/core/models/update_subnet_details.rb +2 -1
  623. data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
  624. data/lib/oci/core/models/update_vcn_details.rb +2 -1
  625. data/lib/oci/core/models/update_virtual_circuit_details.rb +58 -3
  626. data/lib/oci/core/models/update_vnic_details.rb +7 -4
  627. data/lib/oci/core/models/update_volume_backup_details.rb +3 -2
  628. data/lib/oci/core/models/update_volume_backup_policy_details.rb +224 -0
  629. data/lib/oci/core/models/update_volume_details.rb +28 -2
  630. data/lib/oci/core/models/update_volume_group_backup_details.rb +4 -2
  631. data/lib/oci/core/models/update_volume_group_details.rb +4 -2
  632. data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
  633. data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
  634. data/lib/oci/core/models/vcn.rb +46 -2
  635. data/lib/oci/core/models/virtual_circuit.rb +58 -4
  636. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
  637. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
  638. data/lib/oci/core/models/vnic.rb +2 -1
  639. data/lib/oci/core/models/vnic_attachment.rb +3 -2
  640. data/lib/oci/core/models/volume.rb +45 -3
  641. data/lib/oci/core/models/volume_attachment.rb +17 -2
  642. data/lib/oci/core/models/volume_backup.rb +37 -2
  643. data/lib/oci/core/models/volume_backup_policy.rb +71 -5
  644. data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
  645. data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
  646. data/lib/oci/core/models/volume_group.rb +3 -2
  647. data/lib/oci/core/models/volume_group_backup.rb +2 -1
  648. data/lib/oci/core/models/volume_group_source_details.rb +2 -1
  649. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
  650. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
  651. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
  652. data/lib/oci/core/models/volume_kms_key.rb +4 -3
  653. data/lib/oci/core/models/volume_source_details.rb +2 -1
  654. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
  655. data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
  656. data/lib/oci/core/util.rb +2 -1
  657. data/lib/oci/core/virtual_network_client.rb +1879 -44
  658. data/lib/oci/core/virtual_network_client_composite_operations.rb +121 -1
  659. data/lib/oci/data_catalog/data_catalog.rb +136 -0
  660. data/lib/oci/data_catalog/data_catalog_client.rb +7576 -0
  661. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +173 -0
  662. data/lib/oci/data_catalog/models/attribute.rb +404 -0
  663. data/lib/oci/data_catalog/models/attribute_collection.rb +151 -0
  664. data/lib/oci/data_catalog/models/attribute_summary.rb +282 -0
  665. data/lib/oci/data_catalog/models/attribute_tag.rb +270 -0
  666. data/lib/oci/data_catalog/models/attribute_tag_collection.rb +151 -0
  667. data/lib/oci/data_catalog/models/attribute_tag_summary.rb +270 -0
  668. data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
  669. data/lib/oci/data_catalog/models/base_tag.rb +256 -0
  670. data/lib/oci/data_catalog/models/base_tag_summary.rb +256 -0
  671. data/lib/oci/data_catalog/models/catalog.rb +312 -0
  672. data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
  673. data/lib/oci/data_catalog/models/catalog_summary.rb +280 -0
  674. data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
  675. data/lib/oci/data_catalog/models/connection.rb +344 -0
  676. data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
  677. data/lib/oci/data_catalog/models/connection_collection.rb +151 -0
  678. data/lib/oci/data_catalog/models/connection_result.rb +11 -0
  679. data/lib/oci/data_catalog/models/connection_summary.rb +272 -0
  680. data/lib/oci/data_catalog/models/create_attribute_details.rb +284 -0
  681. data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
  682. data/lib/oci/data_catalog/models/create_connection_details.rb +238 -0
  683. data/lib/oci/data_catalog/models/create_data_asset_details.rb +198 -0
  684. data/lib/oci/data_catalog/models/create_entity_details.rb +276 -0
  685. data/lib/oci/data_catalog/models/create_folder_details.rb +240 -0
  686. data/lib/oci/data_catalog/models/create_glossary_details.rb +190 -0
  687. data/lib/oci/data_catalog/models/create_job_definition_details.rb +272 -0
  688. data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
  689. data/lib/oci/data_catalog/models/create_job_execution_details.rb +343 -0
  690. data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
  691. data/lib/oci/data_catalog/models/create_term_details.rb +220 -0
  692. data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
  693. data/lib/oci/data_catalog/models/data_asset.rb +320 -0
  694. data/lib/oci/data_catalog/models/data_asset_collection.rb +151 -0
  695. data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
  696. data/lib/oci/data_catalog/models/data_asset_summary.rb +262 -0
  697. data/lib/oci/data_catalog/models/data_asset_tag.rb +270 -0
  698. data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +151 -0
  699. data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +270 -0
  700. data/lib/oci/data_catalog/models/entity.rb +429 -0
  701. data/lib/oci/data_catalog/models/entity_collection.rb +151 -0
  702. data/lib/oci/data_catalog/models/entity_summary.rb +300 -0
  703. data/lib/oci/data_catalog/models/entity_tag.rb +270 -0
  704. data/lib/oci/data_catalog/models/entity_tag_collection.rb +151 -0
  705. data/lib/oci/data_catalog/models/entity_tag_summary.rb +270 -0
  706. data/lib/oci/data_catalog/models/folder.rb +372 -0
  707. data/lib/oci/data_catalog/models/folder_collection.rb +151 -0
  708. data/lib/oci/data_catalog/models/folder_summary.rb +287 -0
  709. data/lib/oci/data_catalog/models/folder_tag.rb +270 -0
  710. data/lib/oci/data_catalog/models/folder_tag_collection.rb +151 -0
  711. data/lib/oci/data_catalog/models/folder_tag_summary.rb +270 -0
  712. data/lib/oci/data_catalog/models/glossary.rb +305 -0
  713. data/lib/oci/data_catalog/models/glossary_collection.rb +151 -0
  714. data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
  715. data/lib/oci/data_catalog/models/glossary_summary.rb +252 -0
  716. data/lib/oci/data_catalog/models/glossary_tree_element.rb +312 -0
  717. data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
  718. data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
  719. data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
  720. data/lib/oci/data_catalog/models/job.rb +421 -0
  721. data/lib/oci/data_catalog/models/job_collection.rb +151 -0
  722. data/lib/oci/data_catalog/models/job_definition.rb +392 -0
  723. data/lib/oci/data_catalog/models/job_definition_collection.rb +151 -0
  724. data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
  725. data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
  726. data/lib/oci/data_catalog/models/job_definition_summary.rb +263 -0
  727. data/lib/oci/data_catalog/models/job_execution.rb +421 -0
  728. data/lib/oci/data_catalog/models/job_execution_collection.rb +151 -0
  729. data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
  730. data/lib/oci/data_catalog/models/job_execution_summary.rb +276 -0
  731. data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
  732. data/lib/oci/data_catalog/models/job_log.rb +259 -0
  733. data/lib/oci/data_catalog/models/job_log_collection.rb +151 -0
  734. data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
  735. data/lib/oci/data_catalog/models/job_metric.rb +337 -0
  736. data/lib/oci/data_catalog/models/job_metric_collection.rb +151 -0
  737. data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
  738. data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
  739. data/lib/oci/data_catalog/models/job_summary.rb +387 -0
  740. data/lib/oci/data_catalog/models/job_type.rb +22 -0
  741. data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
  742. data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
  743. data/lib/oci/data_catalog/models/property_definition.rb +188 -0
  744. data/lib/oci/data_catalog/models/search_criteria.rb +151 -0
  745. data/lib/oci/data_catalog/models/search_result.rb +491 -0
  746. data/lib/oci/data_catalog/models/search_result_collection.rb +162 -0
  747. data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
  748. data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
  749. data/lib/oci/data_catalog/models/term.rb +368 -0
  750. data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
  751. data/lib/oci/data_catalog/models/term_collection.rb +151 -0
  752. data/lib/oci/data_catalog/models/term_relationship.rb +301 -0
  753. data/lib/oci/data_catalog/models/term_relationship_collection.rb +151 -0
  754. data/lib/oci/data_catalog/models/term_relationship_summary.rb +301 -0
  755. data/lib/oci/data_catalog/models/term_summary.rb +301 -0
  756. data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
  757. data/lib/oci/data_catalog/models/type.rb +309 -0
  758. data/lib/oci/data_catalog/models/type_collection.rb +151 -0
  759. data/lib/oci/data_catalog/models/type_summary.rb +224 -0
  760. data/lib/oci/data_catalog/models/update_attribute_details.rb +280 -0
  761. data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
  762. data/lib/oci/data_catalog/models/update_connection_details.rb +220 -0
  763. data/lib/oci/data_catalog/models/update_data_asset_details.rb +181 -0
  764. data/lib/oci/data_catalog/models/update_entity_details.rb +272 -0
  765. data/lib/oci/data_catalog/models/update_folder_details.rb +240 -0
  766. data/lib/oci/data_catalog/models/update_glossary_details.rb +190 -0
  767. data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
  768. data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
  769. data/lib/oci/data_catalog/models/update_term_details.rb +204 -0
  770. data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
  771. data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
  772. data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
  773. data/lib/oci/data_catalog/models/validate_connection_result.rb +160 -0
  774. data/lib/oci/data_catalog/models/work_request.rb +308 -0
  775. data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
  776. data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
  777. data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
  778. data/lib/oci/data_catalog/util.rb +3 -0
  779. data/lib/oci/data_flow/data_flow.rb +35 -0
  780. data/lib/oci/data_flow/data_flow_client.rb +1115 -0
  781. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +271 -0
  782. data/lib/oci/data_flow/models/application.rb +528 -0
  783. data/lib/oci/data_flow/models/application_language.rb +13 -0
  784. data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
  785. data/lib/oci/data_flow/models/application_parameter.rb +166 -0
  786. data/lib/oci/data_flow/models/application_summary.rb +346 -0
  787. data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
  788. data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
  789. data/lib/oci/data_flow/models/create_application_details.rb +412 -0
  790. data/lib/oci/data_flow/models/create_run_details.rb +359 -0
  791. data/lib/oci/data_flow/models/run.rb +626 -0
  792. data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
  793. data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
  794. data/lib/oci/data_flow/models/run_summary.rb +455 -0
  795. data/lib/oci/data_flow/models/update_application_details.rb +397 -0
  796. data/lib/oci/data_flow/models/update_run_details.rb +174 -0
  797. data/lib/oci/data_flow/util.rb +3 -0
  798. data/lib/oci/data_safe/data_safe.rb +34 -0
  799. data/lib/oci/data_safe/data_safe_client.rb +831 -0
  800. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
  801. data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
  802. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
  803. data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
  804. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
  805. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
  806. data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
  807. data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
  808. data/lib/oci/data_safe/models/service_list.rb +21 -0
  809. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
  810. data/lib/oci/data_safe/models/work_request.rb +302 -0
  811. data/lib/oci/data_safe/models/work_request_error.rb +173 -0
  812. data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
  813. data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
  814. data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
  815. data/lib/oci/data_safe/util.rb +3 -0
  816. data/lib/oci/data_science/data_science.rb +50 -0
  817. data/lib/oci/data_science/data_science_client.rb +2358 -0
  818. data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
  819. data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
  820. data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
  821. data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
  822. data/lib/oci/data_science/models/create_model_details.rb +226 -0
  823. data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
  824. data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
  825. data/lib/oci/data_science/models/create_project_details.rb +211 -0
  826. data/lib/oci/data_science/models/model.rb +300 -0
  827. data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
  828. data/lib/oci/data_science/models/model_provenance.rb +211 -0
  829. data/lib/oci/data_science/models/model_summary.rb +290 -0
  830. data/lib/oci/data_science/models/notebook_session.rb +337 -0
  831. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
  832. data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
  833. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
  834. data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
  835. data/lib/oci/data_science/models/project.rb +286 -0
  836. data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
  837. data/lib/oci/data_science/models/project_summary.rb +285 -0
  838. data/lib/oci/data_science/models/update_model_details.rb +199 -0
  839. data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
  840. data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
  841. data/lib/oci/data_science/models/update_project_details.rb +196 -0
  842. data/lib/oci/data_science/models/work_request.rb +301 -0
  843. data/lib/oci/data_science/models/work_request_error.rb +171 -0
  844. data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
  845. data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
  846. data/lib/oci/data_science/models/work_request_resource.rb +215 -0
  847. data/lib/oci/data_science/models/work_request_status.rb +15 -0
  848. data/lib/oci/data_science/models/work_request_summary.rb +301 -0
  849. data/lib/oci/data_science/util.rb +3 -0
  850. data/lib/oci/database/database.rb +54 -3
  851. data/lib/oci/database/database_client.rb +4952 -1574
  852. data/lib/oci/database/database_client_composite_operations.rb +729 -49
  853. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
  854. data/lib/oci/database/models/associated_database_details.rb +164 -0
  855. data/lib/oci/database/models/autonomous_container_database.rb +32 -6
  856. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +2 -1
  857. data/lib/oci/database/models/autonomous_container_database_summary.rb +32 -6
  858. data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -3
  859. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
  860. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
  861. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
  862. data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +165 -0
  863. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -3
  864. data/lib/oci/database/models/autonomous_database.rb +250 -15
  865. data/lib/oci/database/models/autonomous_database_backup.rb +22 -5
  866. data/lib/oci/database/models/autonomous_database_backup_summary.rb +22 -5
  867. data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
  868. data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
  869. data/lib/oci/database/models/autonomous_database_console_token_details.rb +164 -0
  870. data/lib/oci/database/models/autonomous_database_summary.rb +250 -15
  871. data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
  872. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +8 -5
  873. data/lib/oci/database/models/autonomous_db_version_summary.rb +228 -0
  874. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
  875. data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
  876. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
  877. data/lib/oci/database/models/backup.rb +26 -5
  878. data/lib/oci/database/models/backup_destination.rb +360 -0
  879. data/lib/oci/database/models/backup_destination_details.rb +210 -0
  880. data/lib/oci/database/models/backup_destination_summary.rb +363 -0
  881. data/lib/oci/database/models/backup_summary.rb +26 -5
  882. data/lib/oci/database/models/change_compartment_details.rb +156 -0
  883. data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +156 -0
  884. data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
  885. data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
  886. data/lib/oci/database/models/console_connection.rb +236 -0
  887. data/lib/oci/database/models/console_connection_summary.rb +241 -0
  888. data/lib/oci/database/models/create_autonomous_container_database_details.rb +17 -5
  889. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
  890. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
  891. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
  892. data/lib/oci/database/models/create_autonomous_database_base.rb +128 -13
  893. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +28 -3
  894. data/lib/oci/database/models/create_autonomous_database_details.rb +27 -2
  895. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +270 -0
  896. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +280 -0
  897. data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
  898. data/lib/oci/database/models/create_backup_details.rb +2 -1
  899. data/lib/oci/database/models/create_console_connection_details.rb +156 -0
  900. data/lib/oci/database/models/create_data_guard_association_details.rb +3 -2
  901. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -3
  902. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +23 -9
  903. data/lib/oci/database/models/create_database_base.rb +216 -0
  904. data/lib/oci/database/models/create_database_details.rb +18 -5
  905. data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
  906. data/lib/oci/database/models/create_database_from_backup.rb +169 -0
  907. data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
  908. data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_db_home_base.rb} +12 -21
  909. data/lib/oci/database/models/create_db_home_details.rb +4 -3
  910. data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -3
  911. data/lib/oci/database/models/create_db_home_from_database_details.rb +167 -0
  912. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -11
  913. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +22 -10
  914. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +177 -0
  915. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +190 -0
  916. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +351 -0
  917. data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
  918. data/lib/oci/database/models/create_new_database_details.rb +169 -0
  919. data/lib/oci/database/models/create_nfs_backup_destination_details.rb +179 -0
  920. data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
  921. data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
  922. data/lib/oci/database/models/data_guard_association.rb +3 -2
  923. data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
  924. data/lib/oci/database/models/database.rb +46 -5
  925. data/lib/oci/database/models/database_connection_strings.rb +2 -1
  926. data/lib/oci/database/models/database_summary.rb +46 -5
  927. data/lib/oci/database/models/day_of_week.rb +2 -1
  928. data/lib/oci/database/models/db_backup_config.rb +67 -5
  929. data/lib/oci/database/models/db_home.rb +49 -6
  930. data/lib/oci/database/models/db_home_summary.rb +52 -9
  931. data/lib/oci/database/models/db_iorm_config.rb +2 -1
  932. data/lib/oci/database/models/db_iorm_config_update_detail.rb +2 -1
  933. data/lib/oci/database/models/db_node.rb +80 -5
  934. data/lib/oci/database/models/db_node_summary.rb +80 -5
  935. data/lib/oci/database/models/db_system.rb +61 -9
  936. data/lib/oci/database/models/db_system_options.rb +179 -0
  937. data/lib/oci/database/models/db_system_shape_summary.rb +115 -2
  938. data/lib/oci/database/models/db_system_summary.rb +61 -9
  939. data/lib/oci/database/models/db_version_summary.rb +20 -5
  940. data/lib/oci/database/models/exadata_infrastructure.rb +535 -0
  941. data/lib/oci/database/models/exadata_infrastructure_summary.rb +538 -0
  942. data/lib/oci/database/models/exadata_iorm_config.rb +2 -1
  943. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
  944. data/lib/oci/database/models/external_backup_job.rb +2 -1
  945. data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
  946. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
  947. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +33 -2
  948. data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
  949. data/lib/oci/database/models/gi_version_summary.rb +153 -0
  950. data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
  951. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +20 -4
  952. data/lib/oci/database/models/launch_db_system_base.rb +27 -12
  953. data/lib/oci/database/models/launch_db_system_details.rb +23 -5
  954. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +7 -2
  955. data/lib/oci/database/models/launch_db_system_from_database_details.rb +340 -0
  956. data/lib/oci/database/models/maintenance_run.rb +6 -1
  957. data/lib/oci/database/models/maintenance_run_summary.rb +6 -1
  958. data/lib/oci/database/models/maintenance_window.rb +23 -6
  959. data/lib/oci/database/models/month.rb +2 -1
  960. data/lib/oci/database/models/node_details.rb +184 -0
  961. data/lib/oci/database/models/ocp_us.rb +182 -0
  962. data/lib/oci/database/models/patch.rb +2 -1
  963. data/lib/oci/database/models/patch_details.rb +3 -2
  964. data/lib/oci/database/models/patch_history_entry.rb +2 -1
  965. data/lib/oci/database/models/patch_history_entry_summary.rb +2 -1
  966. data/lib/oci/database/models/patch_summary.rb +2 -1
  967. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
  968. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +2 -1
  969. data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
  970. data/lib/oci/database/models/restore_database_details.rb +2 -1
  971. data/lib/oci/database/models/scan_details.rb +171 -0
  972. data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
  973. data/lib/oci/database/models/update_autonomous_container_database_details.rb +16 -4
  974. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
  975. data/lib/oci/database/models/update_autonomous_database_details.rb +68 -14
  976. data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
  977. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
  978. data/lib/oci/database/models/update_backup_destination_details.rb +219 -0
  979. data/lib/oci/database/models/update_database_details.rb +17 -4
  980. data/lib/oci/database/models/update_db_home_details.rb +3 -2
  981. data/lib/oci/database/models/update_db_system_details.rb +65 -12
  982. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +308 -0
  983. data/lib/oci/database/models/update_maintenance_run_details.rb +20 -5
  984. data/lib/oci/database/models/update_vm_cluster_details.rb +281 -0
  985. data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
  986. data/lib/oci/database/models/vm_cluster.rb +492 -0
  987. data/lib/oci/database/models/vm_cluster_network.rb +351 -0
  988. data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
  989. data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
  990. data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
  991. data/lib/oci/database/models/vm_network_details.rb +232 -0
  992. data/lib/oci/database/models/workload_type.rb +161 -0
  993. data/lib/oci/database/util.rb +2 -1
  994. data/lib/oci/dns/dns.rb +13 -1
  995. data/lib/oci/dns/dns_client.rb +810 -105
  996. data/lib/oci/dns/dns_client_composite_operations.rb +122 -2
  997. data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +156 -0
  998. data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
  999. data/lib/oci/dns/models/change_zone_compartment_details.rb +156 -0
  1000. data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +180 -0
  1001. data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
  1002. data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
  1003. data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
  1004. data/lib/oci/dns/models/create_zone_base_details.rb +253 -0
  1005. data/lib/oci/dns/models/create_zone_details.rb +20 -57
  1006. data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
  1007. data/lib/oci/dns/models/external_master.rb +23 -5
  1008. data/lib/oci/dns/models/migration_replacement.rb +188 -0
  1009. data/lib/oci/dns/models/nameserver.rb +2 -1
  1010. data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
  1011. data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
  1012. data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
  1013. data/lib/oci/dns/models/record.rb +2 -1
  1014. data/lib/oci/dns/models/record_collection.rb +2 -1
  1015. data/lib/oci/dns/models/record_details.rb +2 -1
  1016. data/lib/oci/dns/models/record_operation.rb +2 -1
  1017. data/lib/oci/dns/models/rr_set.rb +2 -1
  1018. data/lib/oci/dns/models/sort_order.rb +2 -1
  1019. data/lib/oci/dns/models/steering_policy.rb +2 -1
  1020. data/lib/oci/dns/models/steering_policy_answer.rb +2 -1
  1021. data/lib/oci/dns/models/steering_policy_attachment.rb +2 -1
  1022. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +2 -1
  1023. data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
  1024. data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
  1025. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
  1026. data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
  1027. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
  1028. data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
  1029. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
  1030. data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
  1031. data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
  1032. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
  1033. data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
  1034. data/lib/oci/dns/models/steering_policy_summary.rb +2 -1
  1035. data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
  1036. data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
  1037. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
  1038. data/lib/oci/dns/models/tsig.rb +2 -1
  1039. data/lib/oci/dns/models/tsig_key.rb +321 -0
  1040. data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
  1041. data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
  1042. data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
  1043. data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
  1044. data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
  1045. data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
  1046. data/lib/oci/dns/models/update_zone_details.rb +2 -1
  1047. data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
  1048. data/lib/oci/dns/models/zone.rb +2 -1
  1049. data/lib/oci/dns/models/zone_summary.rb +2 -1
  1050. data/lib/oci/dns/util.rb +2 -1
  1051. data/lib/oci/dts/appliance_export_job_client.rb +494 -0
  1052. data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
  1053. data/lib/oci/dts/dts.rb +67 -0
  1054. data/lib/oci/dts/models/appliance_export_job.rb +551 -0
  1055. data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
  1056. data/lib/oci/dts/models/attach_devices_details.rb +154 -0
  1057. data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
  1058. data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +155 -0
  1059. data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
  1060. data/lib/oci/dts/models/create_transfer_appliance_details.rb +153 -0
  1061. data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +228 -0
  1062. data/lib/oci/dts/models/create_transfer_device_details.rb +166 -0
  1063. data/lib/oci/dts/models/create_transfer_job_details.rb +243 -0
  1064. data/lib/oci/dts/models/create_transfer_package_details.rb +179 -0
  1065. data/lib/oci/dts/models/detach_devices_details.rb +154 -0
  1066. data/lib/oci/dts/models/multiple_transfer_appliances.rb +154 -0
  1067. data/lib/oci/dts/models/multiple_transfer_devices.rb +154 -0
  1068. data/lib/oci/dts/models/multiple_transfer_packages.rb +154 -0
  1069. data/lib/oci/dts/models/new_transfer_device.rb +247 -0
  1070. data/lib/oci/dts/models/shipping_address.rb +264 -0
  1071. data/lib/oci/dts/models/shipping_vendors.rb +150 -0
  1072. data/lib/oci/dts/models/transfer_appliance.rb +370 -0
  1073. data/lib/oci/dts/models/transfer_appliance_certificate.rb +149 -0
  1074. data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +153 -0
  1075. data/lib/oci/dts/models/transfer_appliance_entitlement.rb +314 -0
  1076. data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
  1077. data/lib/oci/dts/models/transfer_appliance_public_key.rb +153 -0
  1078. data/lib/oci/dts/models/transfer_appliance_summary.rb +226 -0
  1079. data/lib/oci/dts/models/transfer_device.rb +269 -0
  1080. data/lib/oci/dts/models/transfer_device_summary.rb +255 -0
  1081. data/lib/oci/dts/models/transfer_job.rb +357 -0
  1082. data/lib/oci/dts/models/transfer_job_summary.rb +301 -0
  1083. data/lib/oci/dts/models/transfer_package.rb +282 -0
  1084. data/lib/oci/dts/models/transfer_package_summary.rb +202 -0
  1085. data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
  1086. data/lib/oci/dts/models/update_transfer_appliance_details.rb +182 -0
  1087. data/lib/oci/dts/models/update_transfer_device_details.rb +167 -0
  1088. data/lib/oci/dts/models/update_transfer_job_details.rb +242 -0
  1089. data/lib/oci/dts/models/update_transfer_package_details.rb +205 -0
  1090. data/lib/oci/dts/shipping_vendors_client.rb +164 -0
  1091. data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +25 -0
  1092. data/lib/oci/dts/transfer_appliance_client.rb +568 -0
  1093. data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +105 -0
  1094. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +298 -0
  1095. data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +64 -0
  1096. data/lib/oci/dts/transfer_device_client.rb +401 -0
  1097. data/lib/oci/dts/transfer_device_client_composite_operations.rb +66 -0
  1098. data/lib/oci/dts/transfer_job_client.rb +485 -0
  1099. data/lib/oci/dts/transfer_job_client_composite_operations.rb +144 -0
  1100. data/lib/oci/dts/transfer_package_client.rb +514 -0
  1101. data/lib/oci/dts/transfer_package_client_composite_operations.rb +105 -0
  1102. data/lib/oci/dts/util.rb +3 -0
  1103. data/lib/oci/email/email.rb +2 -1
  1104. data/lib/oci/email/email_client.rb +4 -5
  1105. data/lib/oci/email/email_client_composite_operations.rb +2 -1
  1106. data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
  1107. data/lib/oci/email/models/create_sender_details.rb +2 -1
  1108. data/lib/oci/email/models/create_suppression_details.rb +2 -1
  1109. data/lib/oci/email/models/sender.rb +2 -1
  1110. data/lib/oci/email/models/sender_summary.rb +2 -1
  1111. data/lib/oci/email/models/suppression.rb +2 -1
  1112. data/lib/oci/email/models/suppression_summary.rb +2 -1
  1113. data/lib/oci/email/models/update_sender_details.rb +2 -1
  1114. data/lib/oci/email/util.rb +2 -1
  1115. data/lib/oci/errors.rb +2 -1
  1116. data/lib/oci/events/events.rb +35 -0
  1117. data/lib/oci/events/events_client.rb +536 -0
  1118. data/lib/oci/events/events_client_composite_operations.rb +146 -0
  1119. data/lib/oci/events/models/action.rb +295 -0
  1120. data/lib/oci/events/models/action_details.rb +223 -0
  1121. data/lib/oci/events/models/action_details_list.rb +151 -0
  1122. data/lib/oci/events/models/action_list.rb +152 -0
  1123. data/lib/oci/events/models/change_rule_compartment_details.rb +157 -0
  1124. data/lib/oci/events/models/create_faa_s_action_details.rb +171 -0
  1125. data/lib/oci/events/models/create_notification_service_action_details.rb +171 -0
  1126. data/lib/oci/events/models/create_rule_details.rb +280 -0
  1127. data/lib/oci/events/models/create_streaming_service_action_details.rb +171 -0
  1128. data/lib/oci/events/models/faa_s_action.rb +183 -0
  1129. data/lib/oci/events/models/notification_service_action.rb +184 -0
  1130. data/lib/oci/events/models/rule.rb +368 -0
  1131. data/lib/oci/events/models/rule_summary.rb +317 -0
  1132. data/lib/oci/events/models/streaming_service_action.rb +183 -0
  1133. data/lib/oci/events/models/update_rule_details.rb +262 -0
  1134. data/lib/oci/events/util.rb +3 -0
  1135. data/lib/oci/file_storage/file_storage.rb +2 -1
  1136. data/lib/oci/file_storage/file_storage_client.rb +71 -64
  1137. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
  1138. data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
  1139. data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
  1140. data/lib/oci/file_storage/models/client_options.rb +2 -1
  1141. data/lib/oci/file_storage/models/create_export_details.rb +2 -1
  1142. data/lib/oci/file_storage/models/create_file_system_details.rb +21 -5
  1143. data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
  1144. data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
  1145. data/lib/oci/file_storage/models/export.rb +2 -1
  1146. data/lib/oci/file_storage/models/export_set.rb +2 -1
  1147. data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
  1148. data/lib/oci/file_storage/models/export_summary.rb +2 -1
  1149. data/lib/oci/file_storage/models/file_system.rb +21 -5
  1150. data/lib/oci/file_storage/models/file_system_summary.rb +21 -5
  1151. data/lib/oci/file_storage/models/mount_target.rb +21 -2
  1152. data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
  1153. data/lib/oci/file_storage/models/snapshot.rb +2 -1
  1154. data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
  1155. data/lib/oci/file_storage/models/update_export_details.rb +2 -1
  1156. data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
  1157. data/lib/oci/file_storage/models/update_file_system_details.rb +25 -5
  1158. data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
  1159. data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
  1160. data/lib/oci/file_storage/util.rb +2 -1
  1161. data/lib/oci/functions/functions.rb +30 -0
  1162. data/lib/oci/functions/functions_invoke_client.rb +236 -0
  1163. data/lib/oci/functions/functions_invoke_client_composite_operations.rb +25 -0
  1164. data/lib/oci/functions/functions_management_client.rb +850 -0
  1165. data/lib/oci/functions/functions_management_client_composite_operations.rb +267 -0
  1166. data/lib/oci/functions/models/application.rb +323 -0
  1167. data/lib/oci/functions/models/application_summary.rb +282 -0
  1168. data/lib/oci/functions/models/change_application_compartment_details.rb +157 -0
  1169. data/lib/oci/functions/models/create_application_details.rb +237 -0
  1170. data/lib/oci/functions/models/create_function_details.rb +281 -0
  1171. data/lib/oci/functions/models/function.rb +398 -0
  1172. data/lib/oci/functions/models/function_summary.rb +382 -0
  1173. data/lib/oci/functions/models/update_application_details.rb +192 -0
  1174. data/lib/oci/functions/models/update_function_details.rb +251 -0
  1175. data/lib/oci/functions/util.rb +3 -0
  1176. data/lib/oci/global_context.rb +2 -1
  1177. data/lib/oci/healthchecks/health_checks_client.rb +169 -20
  1178. data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
  1179. data/lib/oci/healthchecks/healthchecks.rb +4 -1
  1180. data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +156 -0
  1181. data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +156 -0
  1182. data/lib/oci/healthchecks/models/connection.rb +2 -1
  1183. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +4 -2
  1184. data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +4 -2
  1185. data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +4 -2
  1186. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +4 -2
  1187. data/lib/oci/healthchecks/models/dns.rb +2 -1
  1188. data/lib/oci/healthchecks/models/geolocation.rb +2 -1
  1189. data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
  1190. data/lib/oci/healthchecks/models/http_monitor.rb +35 -2
  1191. data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
  1192. data/lib/oci/healthchecks/models/http_probe.rb +35 -2
  1193. data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
  1194. data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
  1195. data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
  1196. data/lib/oci/healthchecks/models/ping_monitor.rb +35 -2
  1197. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
  1198. data/lib/oci/healthchecks/models/ping_probe.rb +35 -2
  1199. data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
  1200. data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
  1201. data/lib/oci/healthchecks/models/routing.rb +2 -1
  1202. data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
  1203. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +4 -1
  1204. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +4 -1
  1205. data/lib/oci/healthchecks/util.rb +2 -1
  1206. data/lib/oci/identity/identity.rb +26 -1
  1207. data/lib/oci/identity/identity_client.rb +1771 -118
  1208. data/lib/oci/identity/identity_client_composite_operations.rb +290 -1
  1209. data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
  1210. data/lib/oci/identity/models/api_key.rb +2 -1
  1211. data/lib/oci/identity/models/auth_token.rb +2 -1
  1212. data/lib/oci/identity/models/authentication_policy.rb +2 -1
  1213. data/lib/oci/identity/models/availability_domain.rb +2 -1
  1214. data/lib/oci/identity/models/base_tag_definition_validator.rb +203 -0
  1215. data/lib/oci/identity/models/bulk_action_resource.rb +182 -0
  1216. data/lib/oci/identity/models/bulk_action_resource_type.rb +169 -0
  1217. data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
  1218. data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
  1219. data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
  1220. data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
  1221. data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
  1222. data/lib/oci/identity/models/compartment.rb +5 -1
  1223. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  1224. data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
  1225. data/lib/oci/identity/models/create_compartment_details.rb +2 -1
  1226. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  1227. data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
  1228. data/lib/oci/identity/models/create_group_details.rb +2 -1
  1229. data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
  1230. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
  1231. data/lib/oci/identity/models/create_network_source_details.rb +254 -0
  1232. data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
  1233. data/lib/oci/identity/models/create_policy_details.rb +2 -1
  1234. data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
  1235. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
  1236. data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
  1237. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  1238. data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
  1239. data/lib/oci/identity/models/create_tag_details.rb +30 -6
  1240. data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
  1241. data/lib/oci/identity/models/create_user_details.rb +2 -1
  1242. data/lib/oci/identity/models/customer_secret_key.rb +2 -1
  1243. data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
  1244. data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
  1245. data/lib/oci/identity/models/dynamic_group.rb +5 -1
  1246. data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
  1247. data/lib/oci/identity/models/fault_domain.rb +2 -1
  1248. data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
  1249. data/lib/oci/identity/models/group.rb +5 -1
  1250. data/lib/oci/identity/models/identity_provider.rb +5 -1
  1251. data/lib/oci/identity/models/identity_provider_group_summary.rb +2 -1
  1252. data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
  1253. data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
  1254. data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
  1255. data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
  1256. data/lib/oci/identity/models/move_compartment_details.rb +156 -0
  1257. data/lib/oci/identity/models/network_sources.rb +337 -0
  1258. data/lib/oci/identity/models/network_sources_summary.rb +249 -0
  1259. data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
  1260. data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
  1261. data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
  1262. data/lib/oci/identity/models/password_policy.rb +2 -1
  1263. data/lib/oci/identity/models/policy.rb +5 -1
  1264. data/lib/oci/identity/models/region.rb +8 -13
  1265. data/lib/oci/identity/models/region_subscription.rb +8 -13
  1266. data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
  1267. data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
  1268. data/lib/oci/identity/models/smtp_credential.rb +2 -1
  1269. data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
  1270. data/lib/oci/identity/models/swift_password.rb +2 -1
  1271. data/lib/oci/identity/models/tag.rb +36 -8
  1272. data/lib/oci/identity/models/tag_default.rb +28 -5
  1273. data/lib/oci/identity/models/tag_default_summary.rb +28 -5
  1274. data/lib/oci/identity/models/tag_namespace.rb +7 -3
  1275. data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
  1276. data/lib/oci/identity/models/tag_summary.rb +5 -3
  1277. data/lib/oci/identity/models/tagging_work_request.rb +306 -0
  1278. data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
  1279. data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
  1280. data/lib/oci/identity/models/tagging_work_request_summary.rb +305 -0
  1281. data/lib/oci/identity/models/tenancy.rb +19 -8
  1282. data/lib/oci/identity/models/ui_password.rb +2 -1
  1283. data/lib/oci/identity/models/ui_password_information.rb +2 -1
  1284. data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
  1285. data/lib/oci/identity/models/update_authentication_policy_details.rb +2 -1
  1286. data/lib/oci/identity/models/update_compartment_details.rb +2 -1
  1287. data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
  1288. data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
  1289. data/lib/oci/identity/models/update_group_details.rb +2 -1
  1290. data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
  1291. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
  1292. data/lib/oci/identity/models/update_network_source_details.rb +227 -0
  1293. data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
  1294. data/lib/oci/identity/models/update_policy_details.rb +2 -1
  1295. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
  1296. data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
  1297. data/lib/oci/identity/models/update_state_details.rb +2 -1
  1298. data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
  1299. data/lib/oci/identity/models/update_tag_default_details.rb +28 -5
  1300. data/lib/oci/identity/models/update_tag_details.rb +28 -5
  1301. data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
  1302. data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
  1303. data/lib/oci/identity/models/update_user_details.rb +2 -1
  1304. data/lib/oci/identity/models/user.rb +22 -3
  1305. data/lib/oci/identity/models/user_capabilities.rb +21 -5
  1306. data/lib/oci/identity/models/user_group_membership.rb +2 -1
  1307. data/lib/oci/identity/models/work_request.rb +2 -1
  1308. data/lib/oci/identity/models/work_request_error.rb +2 -1
  1309. data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
  1310. data/lib/oci/identity/models/work_request_resource.rb +2 -1
  1311. data/lib/oci/identity/models/work_request_summary.rb +2 -1
  1312. data/lib/oci/identity/util.rb +2 -1
  1313. data/lib/oci/integration/integration.rb +30 -0
  1314. data/lib/oci/integration/integration_instance_client.rb +877 -0
  1315. data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
  1316. data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
  1317. data/lib/oci/integration/models/create_integration_instance_details.rb +287 -0
  1318. data/lib/oci/integration/models/integration_instance.rb +382 -0
  1319. data/lib/oci/integration/models/integration_instance_summary.rb +348 -0
  1320. data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
  1321. data/lib/oci/integration/models/work_request.rb +313 -0
  1322. data/lib/oci/integration/models/work_request_error.rb +171 -0
  1323. data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
  1324. data/lib/oci/integration/models/work_request_resource.rb +221 -0
  1325. data/lib/oci/integration/models/work_request_summary.rb +313 -0
  1326. data/lib/oci/integration/util.rb +3 -0
  1327. data/lib/oci/internal/internal.rb +2 -1
  1328. data/lib/oci/internal/util.rb +2 -1
  1329. data/lib/oci/key_management/key_management.rb +17 -1
  1330. data/lib/oci/key_management/kms_crypto_client.rb +7 -9
  1331. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
  1332. data/lib/oci/key_management/kms_management_client.rb +794 -64
  1333. data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
  1334. data/lib/oci/key_management/kms_vault_client.rb +426 -21
  1335. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
  1336. data/lib/oci/key_management/models/backup_key_details.rb +153 -0
  1337. data/lib/oci/key_management/models/backup_location.rb +183 -0
  1338. data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
  1339. data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
  1340. data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
  1341. data/lib/oci/key_management/models/change_key_compartment_details.rb +154 -0
  1342. data/lib/oci/key_management/models/change_vault_compartment_details.rb +154 -0
  1343. data/lib/oci/key_management/models/create_key_details.rb +9 -7
  1344. data/lib/oci/key_management/models/create_vault_details.rb +10 -7
  1345. data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
  1346. data/lib/oci/key_management/models/decrypted_data.rb +2 -1
  1347. data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
  1348. data/lib/oci/key_management/models/encrypted_data.rb +2 -1
  1349. data/lib/oci/key_management/models/generate_key_details.rb +7 -6
  1350. data/lib/oci/key_management/models/generated_key.rb +9 -9
  1351. data/lib/oci/key_management/models/import_key_details.rb +231 -0
  1352. data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
  1353. data/lib/oci/key_management/models/key.rb +35 -16
  1354. data/lib/oci/key_management/models/key_shape.rb +4 -2
  1355. data/lib/oci/key_management/models/key_summary.rb +12 -7
  1356. data/lib/oci/key_management/models/key_version.rb +113 -5
  1357. data/lib/oci/key_management/models/key_version_summary.rb +94 -3
  1358. data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
  1359. data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
  1360. data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
  1361. data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
  1362. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
  1363. data/lib/oci/key_management/models/update_key_details.rb +8 -6
  1364. data/lib/oci/key_management/models/update_vault_details.rb +8 -6
  1365. data/lib/oci/key_management/models/vault.rb +56 -15
  1366. data/lib/oci/key_management/models/vault_summary.rb +20 -10
  1367. data/lib/oci/key_management/models/vault_usage.rb +168 -0
  1368. data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
  1369. data/lib/oci/key_management/models/wrapping_key.rb +258 -0
  1370. data/lib/oci/key_management/util.rb +2 -1
  1371. data/lib/oci/limits/limits.rb +29 -0
  1372. data/lib/oci/limits/limits_client.rb +443 -0
  1373. data/lib/oci/limits/limits_client_composite_operations.rb +25 -0
  1374. data/lib/oci/limits/models/create_quota_details.rb +221 -0
  1375. data/lib/oci/limits/models/limit_definition_summary.rb +242 -0
  1376. data/lib/oci/limits/models/limit_value_summary.rb +211 -0
  1377. data/lib/oci/limits/models/quota.rb +288 -0
  1378. data/lib/oci/limits/models/quota_summary.rb +274 -0
  1379. data/lib/oci/limits/models/resource_availability.rb +164 -0
  1380. data/lib/oci/limits/models/service_summary.rb +160 -0
  1381. data/lib/oci/limits/models/update_quota_details.rb +195 -0
  1382. data/lib/oci/limits/quotas_client.rb +439 -0
  1383. data/lib/oci/limits/quotas_client_composite_operations.rb +144 -0
  1384. data/lib/oci/limits/util.rb +3 -0
  1385. data/lib/oci/load_balancer/load_balancer.rb +14 -1
  1386. data/lib/oci/load_balancer/load_balancer_client.rb +146 -8
  1387. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +54 -3
  1388. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
  1389. data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
  1390. data/lib/oci/load_balancer/models/allow_rule.rb +182 -0
  1391. data/lib/oci/load_balancer/models/backend.rb +4 -1
  1392. data/lib/oci/load_balancer/models/backend_details.rb +4 -1
  1393. data/lib/oci/load_balancer/models/backend_health.rb +2 -1
  1394. data/lib/oci/load_balancer/models/backend_set.rb +23 -5
  1395. data/lib/oci/load_balancer/models/backend_set_details.rb +23 -5
  1396. data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
  1397. data/lib/oci/load_balancer/models/certificate.rb +2 -1
  1398. data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
  1399. data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +157 -0
  1400. data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
  1401. data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +206 -0
  1402. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -1
  1403. data/lib/oci/load_balancer/models/create_backend_set_details.rb +23 -5
  1404. data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
  1405. data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
  1406. data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
  1407. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -3
  1408. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
  1409. data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
  1410. data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
  1411. data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
  1412. data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
  1413. data/lib/oci/load_balancer/models/health_checker.rb +4 -2
  1414. data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
  1415. data/lib/oci/load_balancer/models/hostname.rb +2 -1
  1416. data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
  1417. data/lib/oci/load_balancer/models/ip_address.rb +2 -1
  1418. data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +335 -0
  1419. data/lib/oci/load_balancer/models/listener.rb +2 -1
  1420. data/lib/oci/load_balancer/models/listener_details.rb +2 -1
  1421. data/lib/oci/load_balancer/models/listener_rule_summary.rb +167 -0
  1422. data/lib/oci/load_balancer/models/load_balancer.rb +35 -3
  1423. data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
  1424. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
  1425. data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
  1426. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
  1427. data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
  1428. data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
  1429. data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
  1430. data/lib/oci/load_balancer/models/path_route.rb +2 -1
  1431. data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
  1432. data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
  1433. data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
  1434. data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
  1435. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -1
  1436. data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
  1437. data/lib/oci/load_balancer/models/rule.rb +8 -1
  1438. data/lib/oci/load_balancer/models/rule_condition.rb +195 -0
  1439. data/lib/oci/load_balancer/models/rule_set.rb +2 -1
  1440. data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
  1441. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +8 -1
  1442. data/lib/oci/load_balancer/models/source_ip_address_condition.rb +168 -0
  1443. data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +170 -0
  1444. data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +172 -0
  1445. data/lib/oci/load_balancer/models/ssl_configuration.rb +2 -1
  1446. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +2 -1
  1447. data/lib/oci/load_balancer/models/update_backend_details.rb +4 -1
  1448. data/lib/oci/load_balancer/models/update_backend_set_details.rb +23 -5
  1449. data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -2
  1450. data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
  1451. data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
  1452. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
  1453. data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
  1454. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
  1455. data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
  1456. data/lib/oci/load_balancer/models/work_request.rb +2 -1
  1457. data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
  1458. data/lib/oci/load_balancer/util.rb +2 -1
  1459. data/lib/oci/marketplace/marketplace.rb +55 -0
  1460. data/lib/oci/marketplace/marketplace_client.rb +1194 -0
  1461. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
  1462. data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
  1463. data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
  1464. data/lib/oci/marketplace/models/agreement.rb +230 -0
  1465. data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
  1466. data/lib/oci/marketplace/models/category_summary.rb +150 -0
  1467. data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
  1468. data/lib/oci/marketplace/models/documentation_link.rb +174 -0
  1469. data/lib/oci/marketplace/models/error_entity.rb +160 -0
  1470. data/lib/oci/marketplace/models/image_listing_package.rb +225 -0
  1471. data/lib/oci/marketplace/models/item.rb +160 -0
  1472. data/lib/oci/marketplace/models/link.rb +183 -0
  1473. data/lib/oci/marketplace/models/link_enum.rb +14 -0
  1474. data/lib/oci/marketplace/models/listing.rb +479 -0
  1475. data/lib/oci/marketplace/models/listing_package.rb +266 -0
  1476. data/lib/oci/marketplace/models/listing_package_summary.rb +244 -0
  1477. data/lib/oci/marketplace/models/listing_summary.rb +311 -0
  1478. data/lib/oci/marketplace/models/named_link.rb +160 -0
  1479. data/lib/oci/marketplace/models/orchestration_listing_package.rb +206 -0
  1480. data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
  1481. data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
  1482. data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
  1483. data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
  1484. data/lib/oci/marketplace/models/pricing_model.rb +244 -0
  1485. data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
  1486. data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
  1487. data/lib/oci/marketplace/models/publisher.rb +259 -0
  1488. data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
  1489. data/lib/oci/marketplace/models/region.rb +170 -0
  1490. data/lib/oci/marketplace/models/report_collection.rb +150 -0
  1491. data/lib/oci/marketplace/models/report_summary.rb +184 -0
  1492. data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
  1493. data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
  1494. data/lib/oci/marketplace/models/screenshot.rb +202 -0
  1495. data/lib/oci/marketplace/models/support_contact.rb +180 -0
  1496. data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
  1497. data/lib/oci/marketplace/models/upload_data.rb +192 -0
  1498. data/lib/oci/marketplace/util.rb +3 -0
  1499. data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
  1500. data/lib/oci/monitoring/models/alarm.rb +32 -10
  1501. data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
  1502. data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
  1503. data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
  1504. data/lib/oci/monitoring/models/alarm_summary.rb +6 -4
  1505. data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +156 -0
  1506. data/lib/oci/monitoring/models/create_alarm_details.rb +32 -10
  1507. data/lib/oci/monitoring/models/datapoint.rb +3 -2
  1508. data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
  1509. data/lib/oci/monitoring/models/list_metrics_details.rb +29 -8
  1510. data/lib/oci/monitoring/models/metric.rb +22 -2
  1511. data/lib/oci/monitoring/models/metric_data.rb +36 -2
  1512. data/lib/oci/monitoring/models/metric_data_details.rb +28 -6
  1513. data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
  1514. data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
  1515. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +25 -2
  1516. data/lib/oci/monitoring/models/suppression.rb +2 -1
  1517. data/lib/oci/monitoring/models/update_alarm_details.rb +32 -10
  1518. data/lib/oci/monitoring/monitoring.rb +3 -1
  1519. data/lib/oci/monitoring/monitoring_client.rb +160 -10
  1520. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
  1521. data/lib/oci/monitoring/util.rb +2 -1
  1522. data/lib/oci/mysql/db_backups_client.rb +462 -0
  1523. data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
  1524. data/lib/oci/mysql/db_system_client.rb +696 -0
  1525. data/lib/oci/mysql/db_system_client_composite_operations.rb +322 -0
  1526. data/lib/oci/mysql/models/backup.rb +460 -0
  1527. data/lib/oci/mysql/models/backup_policy.rb +235 -0
  1528. data/lib/oci/mysql/models/backup_summary.rb +339 -0
  1529. data/lib/oci/mysql/models/configuration.rb +353 -0
  1530. data/lib/oci/mysql/models/configuration_summary.rb +287 -0
  1531. data/lib/oci/mysql/models/configuration_variables.rb +913 -0
  1532. data/lib/oci/mysql/models/create_backup_details.rb +253 -0
  1533. data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
  1534. data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
  1535. data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
  1536. data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
  1537. data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
  1538. data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
  1539. data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
  1540. data/lib/oci/mysql/models/db_system.rb +513 -0
  1541. data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
  1542. data/lib/oci/mysql/models/db_system_source.rb +196 -0
  1543. data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
  1544. data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
  1545. data/lib/oci/mysql/models/db_system_summary.rb +319 -0
  1546. data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
  1547. data/lib/oci/mysql/models/maintenance_details.rb +162 -0
  1548. data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
  1549. data/lib/oci/mysql/models/shape_summary.rb +182 -0
  1550. data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
  1551. data/lib/oci/mysql/models/update_backup_details.rb +212 -0
  1552. data/lib/oci/mysql/models/update_backup_policy_details.rb +226 -0
  1553. data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
  1554. data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
  1555. data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
  1556. data/lib/oci/mysql/models/version.rb +161 -0
  1557. data/lib/oci/mysql/models/version_summary.rb +165 -0
  1558. data/lib/oci/mysql/models/work_request.rb +313 -0
  1559. data/lib/oci/mysql/models/work_request_error.rb +174 -0
  1560. data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
  1561. data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
  1562. data/lib/oci/mysql/models/work_request_operation_type.rb +15 -0
  1563. data/lib/oci/mysql/models/work_request_resource.rb +219 -0
  1564. data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
  1565. data/lib/oci/mysql/models/work_request_summary.rb +303 -0
  1566. data/lib/oci/mysql/mysql.rb +65 -0
  1567. data/lib/oci/mysql/mysqlaas_client.rb +607 -0
  1568. data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
  1569. data/lib/oci/mysql/util.rb +3 -0
  1570. data/lib/oci/mysql/work_requests_client.rb +389 -0
  1571. data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
  1572. data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
  1573. data/lib/oci/nosql/models/column.rb +188 -0
  1574. data/lib/oci/nosql/models/create_index_details.rb +196 -0
  1575. data/lib/oci/nosql/models/create_table_details.rb +226 -0
  1576. data/lib/oci/nosql/models/delete_row_result.rb +194 -0
  1577. data/lib/oci/nosql/models/index.rb +255 -0
  1578. data/lib/oci/nosql/models/index_collection.rb +150 -0
  1579. data/lib/oci/nosql/models/index_key.rb +187 -0
  1580. data/lib/oci/nosql/models/index_summary.rb +189 -0
  1581. data/lib/oci/nosql/models/prepared_statement.rb +161 -0
  1582. data/lib/oci/nosql/models/query_details.rb +246 -0
  1583. data/lib/oci/nosql/models/query_result_collection.rb +159 -0
  1584. data/lib/oci/nosql/models/request_usage.rb +168 -0
  1585. data/lib/oci/nosql/models/row.rb +176 -0
  1586. data/lib/oci/nosql/models/schema.rb +188 -0
  1587. data/lib/oci/nosql/models/statement_summary.rb +248 -0
  1588. data/lib/oci/nosql/models/table.rb +329 -0
  1589. data/lib/oci/nosql/models/table_collection.rb +150 -0
  1590. data/lib/oci/nosql/models/table_limits.rb +182 -0
  1591. data/lib/oci/nosql/models/table_summary.rb +282 -0
  1592. data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
  1593. data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
  1594. data/lib/oci/nosql/models/update_row_details.rb +285 -0
  1595. data/lib/oci/nosql/models/update_row_result.rb +208 -0
  1596. data/lib/oci/nosql/models/update_table_details.rb +220 -0
  1597. data/lib/oci/nosql/models/work_request.rb +306 -0
  1598. data/lib/oci/nosql/models/work_request_collection.rb +150 -0
  1599. data/lib/oci/nosql/models/work_request_error.rb +174 -0
  1600. data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
  1601. data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
  1602. data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
  1603. data/lib/oci/nosql/models/work_request_resource.rb +220 -0
  1604. data/lib/oci/nosql/models/work_request_summary.rb +306 -0
  1605. data/lib/oci/nosql/nosql.rb +53 -0
  1606. data/lib/oci/nosql/nosql_client.rb +1558 -0
  1607. data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
  1608. data/lib/oci/nosql/util.rb +3 -0
  1609. data/lib/oci/object_storage/models/bucket.rb +102 -8
  1610. data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
  1611. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
  1612. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
  1613. data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
  1614. data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
  1615. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
  1616. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
  1617. data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
  1618. data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
  1619. data/lib/oci/object_storage/models/duration.rb +193 -0
  1620. data/lib/oci/object_storage/models/list_objects.rb +3 -2
  1621. data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
  1622. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
  1623. data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
  1624. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
  1625. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +3 -3
  1626. data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
  1627. data/lib/oci/object_storage/models/object_summary.rb +31 -6
  1628. data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
  1629. data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
  1630. data/lib/oci/object_storage/models/pattern_details.rb +2 -1
  1631. data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
  1632. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
  1633. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
  1634. data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
  1635. data/lib/oci/object_storage/models/replication_policy.rb +263 -0
  1636. data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
  1637. data/lib/oci/object_storage/models/replication_source.rb +182 -0
  1638. data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
  1639. data/lib/oci/object_storage/models/retention_rule.rb +227 -0
  1640. data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
  1641. data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
  1642. data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
  1643. data/lib/oci/object_storage/models/update_bucket_details.rb +56 -11
  1644. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
  1645. data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
  1646. data/lib/oci/object_storage/models/work_request.rb +12 -8
  1647. data/lib/oci/object_storage/models/work_request_error.rb +2 -1
  1648. data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
  1649. data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
  1650. data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
  1651. data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
  1652. data/lib/oci/object_storage/object_storage.rb +15 -1
  1653. data/lib/oci/object_storage/object_storage_client.rb +1129 -132
  1654. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
  1655. data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
  1656. data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
  1657. data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
  1658. data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
  1659. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
  1660. data/lib/oci/object_storage/transfer/transfer.rb +2 -1
  1661. data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
  1662. data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
  1663. data/lib/oci/object_storage/util.rb +2 -1
  1664. data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
  1665. data/lib/oci/oce/models/create_oce_instance_details.rb +373 -0
  1666. data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
  1667. data/lib/oci/oce/models/oce_instance.rb +516 -0
  1668. data/lib/oci/oce/models/oce_instance_summary.rb +484 -0
  1669. data/lib/oci/oce/models/update_oce_instance_details.rb +196 -0
  1670. data/lib/oci/oce/models/work_request.rb +320 -0
  1671. data/lib/oci/oce/models/work_request_error.rb +173 -0
  1672. data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
  1673. data/lib/oci/oce/models/work_request_resource.rb +219 -0
  1674. data/lib/oci/oce/models/workflow_monitor.rb +182 -0
  1675. data/lib/oci/oce/models/workflow_step.rb +164 -0
  1676. data/lib/oci/oce/oce.rb +32 -0
  1677. data/lib/oci/oce/oce_instance_client.rb +730 -0
  1678. data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
  1679. data/lib/oci/oce/util.rb +3 -0
  1680. data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
  1681. data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
  1682. data/lib/oci/oda/models/error_body.rb +160 -0
  1683. data/lib/oci/oda/models/oda_instance.rb +406 -0
  1684. data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
  1685. data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
  1686. data/lib/oci/oda/models/work_request.rb +343 -0
  1687. data/lib/oci/oda/models/work_request_error.rb +177 -0
  1688. data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
  1689. data/lib/oci/oda/models/work_request_resource.rb +275 -0
  1690. data/lib/oci/oda/models/work_request_summary.rb +265 -0
  1691. data/lib/oci/oda/oda.rb +31 -0
  1692. data/lib/oci/oda/oda_client.rb +984 -0
  1693. data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
  1694. data/lib/oci/oda/util.rb +3 -0
  1695. data/lib/oci/ons/models/backoff_retry_policy.rb +6 -4
  1696. data/lib/oci/ons/models/change_compartment_details.rb +157 -0
  1697. data/lib/oci/ons/models/confirmation_result.rb +11 -9
  1698. data/lib/oci/ons/models/create_subscription_details.rb +22 -5
  1699. data/lib/oci/ons/models/create_topic_details.rb +3 -2
  1700. data/lib/oci/ons/models/delivery_policy.rb +2 -1
  1701. data/lib/oci/ons/models/message_details.rb +2 -1
  1702. data/lib/oci/ons/models/notification_topic.rb +7 -5
  1703. data/lib/oci/ons/models/notification_topic_summary.rb +5 -4
  1704. data/lib/oci/ons/models/publish_result.rb +2 -1
  1705. data/lib/oci/ons/models/subscription.rb +57 -8
  1706. data/lib/oci/ons/models/subscription_summary.rb +26 -7
  1707. data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
  1708. data/lib/oci/ons/models/update_subscription_details.rb +2 -1
  1709. data/lib/oci/ons/notification_control_plane_client.rb +103 -16
  1710. data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
  1711. data/lib/oci/ons/notification_data_plane_client.rb +148 -16
  1712. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
  1713. data/lib/oci/ons/ons.rb +3 -1
  1714. data/lib/oci/ons/util.rb +2 -1
  1715. data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
  1716. data/lib/oci/os_management/models/api_error.rb +162 -0
  1717. data/lib/oci/os_management/models/arch_types.rb +14 -0
  1718. data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
  1719. data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
  1720. data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
  1721. data/lib/oci/os_management/models/available_update_summary.rb +286 -0
  1722. data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
  1723. data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
  1724. data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
  1725. data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
  1726. data/lib/oci/os_management/models/checksum_types.rb +13 -0
  1727. data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
  1728. data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
  1729. data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
  1730. data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
  1731. data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
  1732. data/lib/oci/os_management/models/erratum.rb +332 -0
  1733. data/lib/oci/os_management/models/erratum_summary.rb +247 -0
  1734. data/lib/oci/os_management/models/id.rb +164 -0
  1735. data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
  1736. data/lib/oci/os_management/models/installation_requirements.rb +12 -0
  1737. data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
  1738. data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
  1739. data/lib/oci/os_management/models/interval_types.rb +13 -0
  1740. data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
  1741. data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
  1742. data/lib/oci/os_management/models/managed_instance.rb +396 -0
  1743. data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
  1744. data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
  1745. data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
  1746. data/lib/oci/os_management/models/operation_status.rb +15 -0
  1747. data/lib/oci/os_management/models/operation_types.rb +13 -0
  1748. data/lib/oci/os_management/models/os_families.rb +12 -0
  1749. data/lib/oci/os_management/models/package_name.rb +150 -0
  1750. data/lib/oci/os_management/models/package_update_types.rb +13 -0
  1751. data/lib/oci/os_management/models/recurrence.rb +183 -0
  1752. data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
  1753. data/lib/oci/os_management/models/schedule_types.rb +11 -0
  1754. data/lib/oci/os_management/models/scheduled_job.rb +544 -0
  1755. data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
  1756. data/lib/oci/os_management/models/software_package.rb +290 -0
  1757. data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
  1758. data/lib/oci/os_management/models/software_package_file.rb +214 -0
  1759. data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
  1760. data/lib/oci/os_management/models/software_package_summary.rb +218 -0
  1761. data/lib/oci/os_management/models/software_source.rb +520 -0
  1762. data/lib/oci/os_management/models/software_source_id.rb +160 -0
  1763. data/lib/oci/os_management/models/software_source_summary.rb +341 -0
  1764. data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
  1765. data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
  1766. data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
  1767. data/lib/oci/os_management/models/update_types.rb +13 -0
  1768. data/lib/oci/os_management/models/windows_update.rb +330 -0
  1769. data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
  1770. data/lib/oci/os_management/models/work_request.rb +375 -0
  1771. data/lib/oci/os_management/models/work_request_error.rb +173 -0
  1772. data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
  1773. data/lib/oci/os_management/models/work_request_resource.rb +232 -0
  1774. data/lib/oci/os_management/models/work_request_summary.rb +321 -0
  1775. data/lib/oci/os_management/os_management.rb +80 -0
  1776. data/lib/oci/os_management/os_management_client.rb +3753 -0
  1777. data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
  1778. data/lib/oci/os_management/util.rb +3 -0
  1779. data/lib/oci/regions.rb +231 -14
  1780. data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
  1781. data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
  1782. data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
  1783. data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +2 -1
  1784. data/lib/oci/resource_manager/models/config_source.rb +6 -5
  1785. data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
  1786. data/lib/oci/resource_manager/models/create_config_source_details.rb +3 -2
  1787. data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
  1788. data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +164 -0
  1789. data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
  1790. data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
  1791. data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
  1792. data/lib/oci/resource_manager/models/create_stack_details.rb +19 -3
  1793. data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
  1794. data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
  1795. data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
  1796. data/lib/oci/resource_manager/models/failure_details.rb +2 -1
  1797. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +146 -0
  1798. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
  1799. data/lib/oci/resource_manager/models/job.rb +30 -7
  1800. data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
  1801. data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
  1802. data/lib/oci/resource_manager/models/job_summary.rb +27 -7
  1803. data/lib/oci/resource_manager/models/log_entry.rb +2 -1
  1804. data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
  1805. data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
  1806. data/lib/oci/resource_manager/models/stack.rb +75 -7
  1807. data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
  1808. data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +304 -0
  1809. data/lib/oci/resource_manager/models/stack_summary.rb +28 -2
  1810. data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
  1811. data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
  1812. data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -2
  1813. data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
  1814. data/lib/oci/resource_manager/models/update_stack_details.rb +18 -2
  1815. data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
  1816. data/lib/oci/resource_manager/models/work_request.rb +5 -3
  1817. data/lib/oci/resource_manager/models/work_request_error.rb +2 -1
  1818. data/lib/oci/resource_manager/models/work_request_log_entry.rb +2 -1
  1819. data/lib/oci/resource_manager/models/work_request_resource.rb +3 -2
  1820. data/lib/oci/resource_manager/models/work_request_summary.rb +4 -3
  1821. data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
  1822. data/lib/oci/resource_manager/resource_manager.rb +21 -1
  1823. data/lib/oci/resource_manager/resource_manager_client.rb +350 -43
  1824. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +57 -7
  1825. data/lib/oci/resource_manager/util.rb +2 -1
  1826. data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
  1827. data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
  1828. data/lib/oci/resource_search/models/resource_summary.rb +50 -11
  1829. data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
  1830. data/lib/oci/resource_search/models/resource_type.rb +2 -1
  1831. data/lib/oci/resource_search/models/search_context.rb +3 -2
  1832. data/lib/oci/resource_search/models/search_details.rb +4 -3
  1833. data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
  1834. data/lib/oci/resource_search/resource_search.rb +2 -1
  1835. data/lib/oci/resource_search/resource_search_client.rb +6 -7
  1836. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
  1837. data/lib/oci/resource_search/util.rb +2 -1
  1838. data/lib/oci/response.rb +2 -1
  1839. data/lib/oci/response_headers.rb +2 -1
  1840. data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
  1841. data/lib/oci/retry/functions/sleep.rb +2 -1
  1842. data/lib/oci/retry/internal/retry_state.rb +2 -1
  1843. data/lib/oci/retry/retry.rb +2 -1
  1844. data/lib/oci/retry/retry_config.rb +2 -1
  1845. data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
  1846. data/lib/oci/secrets/models/secret_bundle.rb +294 -0
  1847. data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
  1848. data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
  1849. data/lib/oci/secrets/secrets.rb +23 -0
  1850. data/lib/oci/secrets/secrets_client.rb +258 -0
  1851. data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
  1852. data/lib/oci/secrets/util.rb +3 -0
  1853. data/lib/oci/signer.rb +2 -1
  1854. data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
  1855. data/lib/oci/streaming/models/change_stream_compartment_details.rb +156 -0
  1856. data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
  1857. data/lib/oci/streaming/models/connect_harness.rb +281 -0
  1858. data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
  1859. data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
  1860. data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
  1861. data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
  1862. data/lib/oci/streaming/models/create_stream_details.rb +18 -3
  1863. data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
  1864. data/lib/oci/streaming/models/cursor.rb +2 -1
  1865. data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
  1866. data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
  1867. data/lib/oci/streaming/models/group.rb +4 -3
  1868. data/lib/oci/streaming/models/kafka_settings.rb +196 -0
  1869. data/lib/oci/streaming/models/message.rb +2 -1
  1870. data/lib/oci/streaming/models/partition_reservation.rb +2 -1
  1871. data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
  1872. data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
  1873. data/lib/oci/streaming/models/put_messages_details.rb +2 -1
  1874. data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
  1875. data/lib/oci/streaming/models/put_messages_result.rb +3 -2
  1876. data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
  1877. data/lib/oci/streaming/models/stream.rb +20 -2
  1878. data/lib/oci/streaming/models/stream_pool.rb +352 -0
  1879. data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
  1880. data/lib/oci/streaming/models/stream_summary.rb +20 -2
  1881. data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
  1882. data/lib/oci/streaming/models/update_group_details.rb +2 -1
  1883. data/lib/oci/streaming/models/update_stream_details.rb +18 -2
  1884. data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
  1885. data/lib/oci/streaming/stream_admin_client.rb +888 -45
  1886. data/lib/oci/streaming/stream_admin_client_composite_operations.rb +249 -4
  1887. data/lib/oci/streaming/stream_client.rb +25 -44
  1888. data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
  1889. data/lib/oci/streaming/streaming.rb +18 -1
  1890. data/lib/oci/streaming/util.rb +2 -1
  1891. data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
  1892. data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
  1893. data/lib/oci/vault/models/create_secret_details.rb +282 -0
  1894. data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
  1895. data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
  1896. data/lib/oci/vault/models/secret.rb +394 -0
  1897. data/lib/oci/vault/models/secret_content_details.rb +221 -0
  1898. data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
  1899. data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
  1900. data/lib/oci/vault/models/secret_rule.rb +191 -0
  1901. data/lib/oci/vault/models/secret_summary.rb +353 -0
  1902. data/lib/oci/vault/models/secret_version.rb +305 -0
  1903. data/lib/oci/vault/models/secret_version_summary.rb +305 -0
  1904. data/lib/oci/vault/models/update_secret_details.rb +241 -0
  1905. data/lib/oci/vault/util.rb +3 -0
  1906. data/lib/oci/vault/vault.rb +34 -0
  1907. data/lib/oci/vault/vaults_client.rb +881 -0
  1908. data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
  1909. data/lib/oci/version.rb +4 -2
  1910. data/lib/oci/waas/models/access_rule.rb +206 -7
  1911. data/lib/oci/waas/models/access_rule_criteria.rb +80 -19
  1912. data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
  1913. data/lib/oci/waas/models/address_list.rb +291 -0
  1914. data/lib/oci/waas/models/address_list_summary.rb +280 -0
  1915. data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
  1916. data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
  1917. data/lib/oci/waas/models/caching_rule.rb +245 -0
  1918. data/lib/oci/waas/models/caching_rule_criteria.rb +191 -0
  1919. data/lib/oci/waas/models/caching_rule_summary.rb +248 -0
  1920. data/lib/oci/waas/models/captcha.rb +2 -1
  1921. data/lib/oci/waas/models/certificate.rb +24 -10
  1922. data/lib/oci/waas/models/certificate_extensions.rb +5 -1
  1923. data/lib/oci/waas/models/certificate_issuer_name.rb +226 -0
  1924. data/lib/oci/waas/models/certificate_public_key_info.rb +6 -2
  1925. data/lib/oci/waas/models/certificate_subject_name.rb +10 -2
  1926. data/lib/oci/waas/models/certificate_summary.rb +12 -3
  1927. data/lib/oci/waas/models/change_address_list_compartment_details.rb +155 -0
  1928. data/lib/oci/waas/models/change_certificate_compartment_details.rb +156 -0
  1929. data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +155 -0
  1930. data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
  1931. data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +156 -0
  1932. data/lib/oci/waas/models/create_address_list_details.rb +214 -0
  1933. data/lib/oci/waas/models/create_certificate_details.rb +24 -4
  1934. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +257 -0
  1935. data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
  1936. data/lib/oci/waas/models/create_waas_policy_details.rb +29 -5
  1937. data/lib/oci/waas/models/custom_protection_rule.rb +331 -0
  1938. data/lib/oci/waas/models/custom_protection_rule_setting.rb +191 -0
  1939. data/lib/oci/waas/models/custom_protection_rule_summary.rb +280 -0
  1940. data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
  1941. data/lib/oci/waas/models/edge_subnet.rb +2 -1
  1942. data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
  1943. data/lib/oci/waas/models/good_bot.rb +2 -1
  1944. data/lib/oci/waas/models/header.rb +3 -2
  1945. data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
  1946. data/lib/oci/waas/models/health_check.rb +346 -0
  1947. data/lib/oci/waas/models/http_redirect.rb +302 -0
  1948. data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
  1949. data/lib/oci/waas/models/http_redirect_target.rb +210 -0
  1950. data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
  1951. data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
  1952. data/lib/oci/waas/models/js_challenge.rb +49 -6
  1953. data/lib/oci/waas/models/lifecycle_states.rb +2 -1
  1954. data/lib/oci/waas/models/load_balancing_method.rb +195 -0
  1955. data/lib/oci/waas/models/origin.rb +2 -1
  1956. data/lib/oci/waas/models/origin_group.rb +150 -0
  1957. data/lib/oci/waas/models/origin_group_origins.rb +160 -0
  1958. data/lib/oci/waas/models/policy_config.rb +267 -5
  1959. data/lib/oci/waas/models/protection_rule.rb +2 -1
  1960. data/lib/oci/waas/models/protection_rule_action.rb +2 -1
  1961. data/lib/oci/waas/models/protection_rule_exclusion.rb +18 -2
  1962. data/lib/oci/waas/models/protection_settings.rb +12 -7
  1963. data/lib/oci/waas/models/purge_cache.rb +150 -0
  1964. data/lib/oci/waas/models/recommendation.rb +2 -1
  1965. data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
  1966. data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
  1967. data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
  1968. data/lib/oci/waas/models/threat_feed.rb +2 -1
  1969. data/lib/oci/waas/models/threat_feed_action.rb +2 -1
  1970. data/lib/oci/waas/models/update_address_list_details.rb +200 -0
  1971. data/lib/oci/waas/models/update_certificate_details.rb +12 -3
  1972. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +242 -0
  1973. data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
  1974. data/lib/oci/waas/models/update_waas_policy_details.rb +29 -5
  1975. data/lib/oci/waas/models/waas_policy.rb +28 -5
  1976. data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +218 -0
  1977. data/lib/oci/waas/models/waas_policy_summary.rb +12 -3
  1978. data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
  1979. data/lib/oci/waas/models/waf_config.rb +46 -2
  1980. data/lib/oci/waas/models/waf_config_details.rb +54 -10
  1981. data/lib/oci/waas/models/waf_log.rb +45 -23
  1982. data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
  1983. data/lib/oci/waas/models/waf_request.rb +2 -1
  1984. data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
  1985. data/lib/oci/waas/models/whitelist.rb +21 -6
  1986. data/lib/oci/waas/models/work_request.rb +9 -2
  1987. data/lib/oci/waas/models/work_request_error.rb +2 -1
  1988. data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
  1989. data/lib/oci/waas/models/work_request_operation_types.rb +9 -2
  1990. data/lib/oci/waas/models/work_request_resource.rb +2 -1
  1991. data/lib/oci/waas/models/work_request_status_values.rb +2 -1
  1992. data/lib/oci/waas/models/work_request_summary.rb +9 -2
  1993. data/lib/oci/waas/redirect_client.rb +492 -0
  1994. data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
  1995. data/lib/oci/waas/util.rb +2 -1
  1996. data/lib/oci/waas/waas.rb +40 -1
  1997. data/lib/oci/waas/waas_client.rb +1285 -58
  1998. data/lib/oci/waas/waas_client_composite_operations.rb +388 -1
  1999. data/lib/oci/waiter.rb +2 -1
  2000. data/lib/oci/work_requests/models/work_request.rb +16 -9
  2001. data/lib/oci/work_requests/models/work_request_error.rb +5 -4
  2002. data/lib/oci/work_requests/models/work_request_log_entry.rb +4 -3
  2003. data/lib/oci/work_requests/models/work_request_resource.rb +11 -8
  2004. data/lib/oci/work_requests/models/work_request_summary.rb +14 -7
  2005. data/lib/oci/work_requests/util.rb +2 -1
  2006. data/lib/oci/work_requests/work_request_client.rb +37 -21
  2007. data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
  2008. data/lib/oci/work_requests/work_requests.rb +2 -1
  2009. data/lib/oraclebmc.rb +2 -1
  2010. metadata +1049 -5
@@ -0,0 +1,232 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'date'
5
+ require 'logger'
6
+
7
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
+ module OCI
9
+ # Details of the client or backup networks in a VM cluster network.
10
+ class Database::Models::VmNetworkDetails
11
+ NETWORK_TYPE_ENUM = [
12
+ NETWORK_TYPE_CLIENT = 'CLIENT'.freeze,
13
+ NETWORK_TYPE_BACKUP = 'BACKUP'.freeze,
14
+ NETWORK_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
15
+ ].freeze
16
+
17
+ # **[Required]** The network VLAN ID.
18
+ # @return [String]
19
+ attr_accessor :vlan_id
20
+
21
+ # **[Required]** The network type.
22
+ # @return [String]
23
+ attr_reader :network_type
24
+
25
+ # **[Required]** The network netmask.
26
+ # @return [String]
27
+ attr_accessor :netmask
28
+
29
+ # **[Required]** The network gateway.
30
+ # @return [String]
31
+ attr_accessor :gateway
32
+
33
+ # **[Required]** The network domain name.
34
+ # @return [String]
35
+ attr_accessor :domain_name
36
+
37
+ # **[Required]** The list of node details.
38
+ # @return [Array<OCI::Database::Models::NodeDetails>]
39
+ attr_accessor :nodes
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ # rubocop:disable Style/SymbolLiteral
45
+ 'vlan_id': :'vlanId',
46
+ 'network_type': :'networkType',
47
+ 'netmask': :'netmask',
48
+ 'gateway': :'gateway',
49
+ 'domain_name': :'domainName',
50
+ 'nodes': :'nodes'
51
+ # rubocop:enable Style/SymbolLiteral
52
+ }
53
+ end
54
+
55
+ # Attribute type mapping.
56
+ def self.swagger_types
57
+ {
58
+ # rubocop:disable Style/SymbolLiteral
59
+ 'vlan_id': :'String',
60
+ 'network_type': :'String',
61
+ 'netmask': :'String',
62
+ 'gateway': :'String',
63
+ 'domain_name': :'String',
64
+ 'nodes': :'Array<OCI::Database::Models::NodeDetails>'
65
+ # rubocop:enable Style/SymbolLiteral
66
+ }
67
+ end
68
+
69
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
70
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
71
+
72
+
73
+ # Initializes the object
74
+ # @param [Hash] attributes Model attributes in the form of hash
75
+ # @option attributes [String] :vlan_id The value to assign to the {#vlan_id} property
76
+ # @option attributes [String] :network_type The value to assign to the {#network_type} property
77
+ # @option attributes [String] :netmask The value to assign to the {#netmask} property
78
+ # @option attributes [String] :gateway The value to assign to the {#gateway} property
79
+ # @option attributes [String] :domain_name The value to assign to the {#domain_name} property
80
+ # @option attributes [Array<OCI::Database::Models::NodeDetails>] :nodes The value to assign to the {#nodes} property
81
+ def initialize(attributes = {})
82
+ return unless attributes.is_a?(Hash)
83
+
84
+ # convert string to symbol for hash key
85
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
86
+
87
+ self.vlan_id = attributes[:'vlanId'] if attributes[:'vlanId']
88
+
89
+ raise 'You cannot provide both :vlanId and :vlan_id' if attributes.key?(:'vlanId') && attributes.key?(:'vlan_id')
90
+
91
+ self.vlan_id = attributes[:'vlan_id'] if attributes[:'vlan_id']
92
+
93
+ self.network_type = attributes[:'networkType'] if attributes[:'networkType']
94
+
95
+ raise 'You cannot provide both :networkType and :network_type' if attributes.key?(:'networkType') && attributes.key?(:'network_type')
96
+
97
+ self.network_type = attributes[:'network_type'] if attributes[:'network_type']
98
+
99
+ self.netmask = attributes[:'netmask'] if attributes[:'netmask']
100
+
101
+ self.gateway = attributes[:'gateway'] if attributes[:'gateway']
102
+
103
+ self.domain_name = attributes[:'domainName'] if attributes[:'domainName']
104
+
105
+ raise 'You cannot provide both :domainName and :domain_name' if attributes.key?(:'domainName') && attributes.key?(:'domain_name')
106
+
107
+ self.domain_name = attributes[:'domain_name'] if attributes[:'domain_name']
108
+
109
+ self.nodes = attributes[:'nodes'] if attributes[:'nodes']
110
+ end
111
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
112
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
113
+
114
+ # Custom attribute writer method checking allowed values (enum).
115
+ # @param [Object] network_type Object to be assigned
116
+ def network_type=(network_type)
117
+ # rubocop:disable Style/ConditionalAssignment
118
+ if network_type && !NETWORK_TYPE_ENUM.include?(network_type)
119
+ OCI.logger.debug("Unknown value for 'network_type' [" + network_type + "]. Mapping to 'NETWORK_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
120
+ @network_type = NETWORK_TYPE_UNKNOWN_ENUM_VALUE
121
+ else
122
+ @network_type = network_type
123
+ end
124
+ # rubocop:enable Style/ConditionalAssignment
125
+ end
126
+
127
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
128
+
129
+
130
+ # Checks equality by comparing each attribute.
131
+ # @param [Object] other the other object to be compared
132
+ def ==(other)
133
+ return true if equal?(other)
134
+
135
+ self.class == other.class &&
136
+ vlan_id == other.vlan_id &&
137
+ network_type == other.network_type &&
138
+ netmask == other.netmask &&
139
+ gateway == other.gateway &&
140
+ domain_name == other.domain_name &&
141
+ nodes == other.nodes
142
+ end
143
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
144
+
145
+ # @see the `==` method
146
+ # @param [Object] other the other object to be compared
147
+ def eql?(other)
148
+ self == other
149
+ end
150
+
151
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
152
+
153
+
154
+ # Calculates hash code according to all attributes.
155
+ # @return [Fixnum] Hash code
156
+ def hash
157
+ [vlan_id, network_type, netmask, gateway, domain_name, nodes].hash
158
+ end
159
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
160
+
161
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
162
+
163
+
164
+ # Builds the object from hash
165
+ # @param [Hash] attributes Model attributes in the form of hash
166
+ # @return [Object] Returns the model itself
167
+ def build_from_hash(attributes)
168
+ return nil unless attributes.is_a?(Hash)
169
+
170
+ self.class.swagger_types.each_pair do |key, type|
171
+ if type =~ /^Array<(.*)>/i
172
+ # check to ensure the input is an array given that the the attribute
173
+ # is documented as an array but the input is not
174
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
175
+ public_method("#{key}=").call(
176
+ attributes[self.class.attribute_map[key]]
177
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
178
+ )
179
+ end
180
+ elsif !attributes[self.class.attribute_map[key]].nil?
181
+ public_method("#{key}=").call(
182
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
183
+ )
184
+ end
185
+ # or else data not found in attributes(hash), not an issue as the data can be optional
186
+ end
187
+
188
+ self
189
+ end
190
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
191
+
192
+ # Returns the string representation of the object
193
+ # @return [String] String presentation of the object
194
+ def to_s
195
+ to_hash.to_s
196
+ end
197
+
198
+ # Returns the object in the form of hash
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_hash
201
+ hash = {}
202
+ self.class.attribute_map.each_pair do |attr, param|
203
+ value = public_method(attr).call
204
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
205
+
206
+ hash[param] = _to_hash(value)
207
+ end
208
+ hash
209
+ end
210
+
211
+ private
212
+
213
+ # Outputs non-array value in the form of hash
214
+ # For object, use to_hash. Otherwise, just return the value
215
+ # @param [Object] value Any valid value
216
+ # @return [Hash] Returns the value in the form of hash
217
+ def _to_hash(value)
218
+ if value.is_a?(Array)
219
+ value.compact.map { |v| _to_hash(v) }
220
+ elsif value.is_a?(Hash)
221
+ {}.tap do |hash|
222
+ value.each { |k, v| hash[k] = _to_hash(v) }
223
+ end
224
+ elsif value.respond_to? :to_hash
225
+ value.to_hash
226
+ else
227
+ value
228
+ end
229
+ end
230
+ end
231
+ end
232
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -0,0 +1,161 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'date'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
7
+ module OCI
8
+ # The number of consumed OCPUs, by database workload type.
9
+ #
10
+ class Database::Models::WorkloadType
11
+ # The total number of OCPU cores in use for Autonomous Transaction Processing databases in the infrastructure instance.
12
+ # @return [Float]
13
+ attr_accessor :atp
14
+
15
+ # The total number of OCPU cores in use for Autonomous Data Warehouse databases in the infrastructure instance.
16
+ # @return [Float]
17
+ attr_accessor :adw
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ # rubocop:disable Style/SymbolLiteral
23
+ 'atp': :'atp',
24
+ 'adw': :'adw'
25
+ # rubocop:enable Style/SymbolLiteral
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ # rubocop:disable Style/SymbolLiteral
33
+ 'atp': :'Float',
34
+ 'adw': :'Float'
35
+ # rubocop:enable Style/SymbolLiteral
36
+ }
37
+ end
38
+
39
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
40
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
41
+
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ # @option attributes [Float] :atp The value to assign to the {#atp} property
46
+ # @option attributes [Float] :adw The value to assign to the {#adw} property
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ self.atp = attributes[:'atp'] if attributes[:'atp']
54
+
55
+ self.adw = attributes[:'adw'] if attributes[:'adw']
56
+ end
57
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
58
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
59
+
60
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
61
+
62
+
63
+ # Checks equality by comparing each attribute.
64
+ # @param [Object] other the other object to be compared
65
+ def ==(other)
66
+ return true if equal?(other)
67
+
68
+ self.class == other.class &&
69
+ atp == other.atp &&
70
+ adw == other.adw
71
+ end
72
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
73
+
74
+ # @see the `==` method
75
+ # @param [Object] other the other object to be compared
76
+ def eql?(other)
77
+ self == other
78
+ end
79
+
80
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
81
+
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Fixnum] Hash code
85
+ def hash
86
+ [atp, adw].hash
87
+ end
88
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
89
+
90
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
91
+
92
+
93
+ # Builds the object from hash
94
+ # @param [Hash] attributes Model attributes in the form of hash
95
+ # @return [Object] Returns the model itself
96
+ def build_from_hash(attributes)
97
+ return nil unless attributes.is_a?(Hash)
98
+
99
+ self.class.swagger_types.each_pair do |key, type|
100
+ if type =~ /^Array<(.*)>/i
101
+ # check to ensure the input is an array given that the the attribute
102
+ # is documented as an array but the input is not
103
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
104
+ public_method("#{key}=").call(
105
+ attributes[self.class.attribute_map[key]]
106
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
107
+ )
108
+ end
109
+ elsif !attributes[self.class.attribute_map[key]].nil?
110
+ public_method("#{key}=").call(
111
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
112
+ )
113
+ end
114
+ # or else data not found in attributes(hash), not an issue as the data can be optional
115
+ end
116
+
117
+ self
118
+ end
119
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
120
+
121
+ # Returns the string representation of the object
122
+ # @return [String] String presentation of the object
123
+ def to_s
124
+ to_hash.to_s
125
+ end
126
+
127
+ # Returns the object in the form of hash
128
+ # @return [Hash] Returns the object in the form of hash
129
+ def to_hash
130
+ hash = {}
131
+ self.class.attribute_map.each_pair do |attr, param|
132
+ value = public_method(attr).call
133
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
134
+
135
+ hash[param] = _to_hash(value)
136
+ end
137
+ hash
138
+ end
139
+
140
+ private
141
+
142
+ # Outputs non-array value in the form of hash
143
+ # For object, use to_hash. Otherwise, just return the value
144
+ # @param [Object] value Any valid value
145
+ # @return [Hash] Returns the value in the form of hash
146
+ def _to_hash(value)
147
+ if value.is_a?(Array)
148
+ value.compact.map { |v| _to_hash(v) }
149
+ elsif value.is_a?(Hash)
150
+ {}.tap do |hash|
151
+ value.each { |k, v| hash[k] = _to_hash(v) }
152
+ end
153
+ elsif value.respond_to? :to_hash
154
+ value.to_hash
155
+ else
156
+ value
157
+ end
158
+ end
159
+ end
160
+ end
161
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -1,2 +1,3 @@
1
- # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
2
3
 
@@ -1,4 +1,5 @@
1
- # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
2
3
 
3
4
  module OCI
4
5
  module Dns
@@ -10,10 +11,18 @@ module OCI
10
11
  end
11
12
 
12
13
  # Require models
14
+ require 'oci/dns/models/change_steering_policy_compartment_details'
15
+ require 'oci/dns/models/change_tsig_key_compartment_details'
16
+ require 'oci/dns/models/change_zone_compartment_details'
17
+ require 'oci/dns/models/create_migrated_dynect_zone_details'
13
18
  require 'oci/dns/models/create_steering_policy_attachment_details'
14
19
  require 'oci/dns/models/create_steering_policy_details'
20
+ require 'oci/dns/models/create_tsig_key_details'
21
+ require 'oci/dns/models/create_zone_base_details'
15
22
  require 'oci/dns/models/create_zone_details'
23
+ require 'oci/dns/models/dynect_migration_details'
16
24
  require 'oci/dns/models/external_master'
25
+ require 'oci/dns/models/migration_replacement'
17
26
  require 'oci/dns/models/nameserver'
18
27
  require 'oci/dns/models/patch_domain_records_details'
19
28
  require 'oci/dns/models/patch_rr_set_details'
@@ -44,10 +53,13 @@ require 'oci/dns/models/steering_policy_weighted_answer_data'
44
53
  require 'oci/dns/models/steering_policy_weighted_rule'
45
54
  require 'oci/dns/models/steering_policy_weighted_rule_case'
46
55
  require 'oci/dns/models/tsig'
56
+ require 'oci/dns/models/tsig_key'
57
+ require 'oci/dns/models/tsig_key_summary'
47
58
  require 'oci/dns/models/update_domain_records_details'
48
59
  require 'oci/dns/models/update_rr_set_details'
49
60
  require 'oci/dns/models/update_steering_policy_attachment_details'
50
61
  require 'oci/dns/models/update_steering_policy_details'
62
+ require 'oci/dns/models/update_tsig_key_details'
51
63
  require 'oci/dns/models/update_zone_details'
52
64
  require 'oci/dns/models/update_zone_records_details'
53
65
  require 'oci/dns/models/zone'
@@ -1,4 +1,5 @@
1
- # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
2
3
 
3
4
  require 'uri'
4
5
  require 'logger'
@@ -51,16 +52,14 @@ module OCI
51
52
  # apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
52
53
  # will not perform any retries
53
54
  def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
54
- # If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
55
+ # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
55
56
  # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
56
57
  # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
57
58
  # pass it to this constructor.
58
59
  #
59
60
  # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
60
61
  # so try and load the config from the default file.
61
- config ||= OCI.config unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
62
- config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
63
- config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
62
+ config = OCI::Config.validate_and_build_config_with_signer(config, signer)
64
63
 
65
64
  if signer.nil?
66
65
  signer = OCI::Signer.new(
@@ -95,7 +94,7 @@ module OCI
95
94
 
96
95
  raise 'A region must be specified.' unless @region
97
96
 
98
- @endpoint = OCI::Regions.get_service_endpoint(@region, :DnsClient) + '/20180115'
97
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://dns.{region}.{secondLevelDomain}') + '/20180115'
99
98
  logger.info "DnsClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
100
99
  end
101
100
 
@@ -109,6 +108,226 @@ module OCI
109
108
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
110
109
 
111
110
 
111
+ # Moves a steering policy into a different compartment.
112
+ # @param [String] steering_policy_id The OCID of the target steering policy.
113
+ # @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
114
+ # @param [Hash] opts the optional parameters
115
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
116
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
117
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
118
+ # existence of at least one current representation of the target resource,
119
+ # when the field-value is `*`, or having a current representation of the
120
+ # target resource that has an entity-tag matching a member of the list of
121
+ # entity-tags provided in the field-value.
122
+ # (default to nil)
123
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
124
+ # of a timeout or server error without risk of executing that same action
125
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
126
+ # then due to conflicting operations (for example, if a resource has been
127
+ # deleted and purged from the system, then a retry of the original creation
128
+ # request may be rejected).
129
+ # (default to nil)
130
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
131
+ # to contact Oracle about a particular request, please provide
132
+ # the request ID.
133
+ # (default to nil)
134
+ # @return [Response] A Response object with data of type nil
135
+ def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
136
+ logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
137
+
138
+ raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
139
+ raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
140
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
141
+
142
+ path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
143
+ operation_signing_strategy = :standard
144
+
145
+ # rubocop:disable Style/NegatedIf
146
+ # Query Params
147
+ query_params = {}
148
+
149
+ # Header Params
150
+ header_params = {}
151
+ header_params[:accept] = 'application/json'
152
+ header_params[:'content-type'] = 'application/json'
153
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
154
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
155
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
156
+ # rubocop:enable Style/NegatedIf
157
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
158
+
159
+ post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
160
+
161
+ # rubocop:disable Metrics/BlockLength
162
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
163
+ @api_client.call_api(
164
+ :POST,
165
+ path,
166
+ endpoint,
167
+ header_params: header_params,
168
+ query_params: query_params,
169
+ operation_signing_strategy: operation_signing_strategy,
170
+ body: post_body
171
+ )
172
+ end
173
+ # rubocop:enable Metrics/BlockLength
174
+ end
175
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
176
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
177
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
178
+
179
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
180
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
181
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
182
+
183
+
184
+ # Moves a TSIG key into a different compartment.
185
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
186
+ # @param [OCI::Dns::Models::ChangeTsigKeyCompartmentDetails] change_tsig_key_compartment_details Details for moving a TSIG key into a different compartment.
187
+ # @param [Hash] opts the optional parameters
188
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
189
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
190
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
191
+ # existence of at least one current representation of the target resource,
192
+ # when the field-value is `*`, or having a current representation of the
193
+ # target resource that has an entity-tag matching a member of the list of
194
+ # entity-tags provided in the field-value.
195
+ # (default to nil)
196
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
197
+ # of a timeout or server error without risk of executing that same action
198
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
199
+ # then due to conflicting operations (for example, if a resource has been
200
+ # deleted and purged from the system, then a retry of the original creation
201
+ # request may be rejected).
202
+ # (default to nil)
203
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
204
+ # to contact Oracle about a particular request, please provide
205
+ # the request ID.
206
+ # (default to nil)
207
+ # @return [Response] A Response object with data of type nil
208
+ def change_tsig_key_compartment(tsig_key_id, change_tsig_key_compartment_details, opts = {})
209
+ logger.debug 'Calling operation DnsClient#change_tsig_key_compartment.' if logger
210
+
211
+ raise "Missing the required parameter 'tsig_key_id' when calling change_tsig_key_compartment." if tsig_key_id.nil?
212
+ raise "Missing the required parameter 'change_tsig_key_compartment_details' when calling change_tsig_key_compartment." if change_tsig_key_compartment_details.nil?
213
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
214
+
215
+ path = '/tsigKeys/{tsigKeyId}/actions/changeCompartment'.sub('{tsigKeyId}', tsig_key_id.to_s)
216
+ operation_signing_strategy = :standard
217
+
218
+ # rubocop:disable Style/NegatedIf
219
+ # Query Params
220
+ query_params = {}
221
+
222
+ # Header Params
223
+ header_params = {}
224
+ header_params[:accept] = 'application/json'
225
+ header_params[:'content-type'] = 'application/json'
226
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
227
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
228
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
229
+ # rubocop:enable Style/NegatedIf
230
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
231
+
232
+ post_body = @api_client.object_to_http_body(change_tsig_key_compartment_details)
233
+
234
+ # rubocop:disable Metrics/BlockLength
235
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_tsig_key_compartment') do
236
+ @api_client.call_api(
237
+ :POST,
238
+ path,
239
+ endpoint,
240
+ header_params: header_params,
241
+ query_params: query_params,
242
+ operation_signing_strategy: operation_signing_strategy,
243
+ body: post_body
244
+ )
245
+ end
246
+ # rubocop:enable Metrics/BlockLength
247
+ end
248
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
249
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
250
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
251
+
252
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
253
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
254
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
255
+
256
+
257
+ # Moves a zone into a different compartment.
258
+ # **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
259
+ # @param [String] zone_id The OCID of the target zone.
260
+ # @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
261
+ # @param [Hash] opts the optional parameters
262
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
263
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
264
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
265
+ # existence of at least one current representation of the target resource,
266
+ # when the field-value is `*`, or having a current representation of the
267
+ # target resource that has an entity-tag matching a member of the list of
268
+ # entity-tags provided in the field-value.
269
+ # (default to nil)
270
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
271
+ # of a timeout or server error without risk of executing that same action
272
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
273
+ # then due to conflicting operations (for example, if a resource has been
274
+ # deleted and purged from the system, then a retry of the original creation
275
+ # request may be rejected).
276
+ # (default to nil)
277
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
278
+ # to contact Oracle about a particular request, please provide
279
+ # the request ID.
280
+ # (default to nil)
281
+ # @return [Response] A Response object with data of type nil
282
+ def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
283
+ logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
284
+
285
+ raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
286
+ raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
287
+ raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
288
+
289
+ path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
290
+ operation_signing_strategy = :standard
291
+
292
+ # rubocop:disable Style/NegatedIf
293
+ # Query Params
294
+ query_params = {}
295
+
296
+ # Header Params
297
+ header_params = {}
298
+ header_params[:accept] = 'application/json'
299
+ header_params[:'content-type'] = 'application/json'
300
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
301
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
302
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
303
+ # rubocop:enable Style/NegatedIf
304
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
305
+
306
+ post_body = @api_client.object_to_http_body(change_zone_compartment_details)
307
+
308
+ # rubocop:disable Metrics/BlockLength
309
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
310
+ @api_client.call_api(
311
+ :POST,
312
+ path,
313
+ endpoint,
314
+ header_params: header_params,
315
+ query_params: query_params,
316
+ operation_signing_strategy: operation_signing_strategy,
317
+ body: post_body
318
+ )
319
+ end
320
+ # rubocop:enable Metrics/BlockLength
321
+ end
322
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
323
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
324
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
325
+
326
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
327
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
328
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
329
+
330
+
112
331
  # Creates a new steering policy in the specified compartment. For more information on
113
332
  # creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
114
333
  #
@@ -122,7 +341,11 @@ module OCI
122
341
  # then due to conflicting operations (for example, if a resource has been
123
342
  # deleted and purged from the system, then a retry of the original creation
124
343
  # request may be rejected).
125
- #
344
+ # (default to nil)
345
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
346
+ # to contact Oracle about a particular request, please provide
347
+ # the request ID.
348
+ # (default to nil)
126
349
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
127
350
  def create_steering_policy(create_steering_policy_details, opts = {})
128
351
  logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
@@ -141,6 +364,7 @@ module OCI
141
364
  header_params[:accept] = 'application/json'
142
365
  header_params[:'content-type'] = 'application/json'
143
366
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
367
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
144
368
  # rubocop:enable Style/NegatedIf
145
369
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
146
370
 
@@ -187,7 +411,11 @@ module OCI
187
411
  # then due to conflicting operations (for example, if a resource has been
188
412
  # deleted and purged from the system, then a retry of the original creation
189
413
  # request may be rejected).
190
- #
414
+ # (default to nil)
415
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
416
+ # to contact Oracle about a particular request, please provide
417
+ # the request ID.
418
+ # (default to nil)
191
419
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
192
420
  def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
193
421
  logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
@@ -206,6 +434,7 @@ module OCI
206
434
  header_params[:accept] = 'application/json'
207
435
  header_params[:'content-type'] = 'application/json'
208
436
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
437
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
209
438
  # rubocop:enable Style/NegatedIf
210
439
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
211
440
 
@@ -235,15 +464,76 @@ module OCI
235
464
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
236
465
 
237
466
 
467
+ # Creates a new TSIG key in the specified compartment. There is no
468
+ # `opc-retry-token` header since TSIG key names must be globally unique.
469
+ #
470
+ # @param [OCI::Dns::Models::CreateTsigKeyDetails] create_tsig_key_details Details for creating a new TSIG key.
471
+ # @param [Hash] opts the optional parameters
472
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
473
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
474
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
475
+ # to contact Oracle about a particular request, please provide
476
+ # the request ID.
477
+ # (default to nil)
478
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
479
+ def create_tsig_key(create_tsig_key_details, opts = {})
480
+ logger.debug 'Calling operation DnsClient#create_tsig_key.' if logger
481
+
482
+ raise "Missing the required parameter 'create_tsig_key_details' when calling create_tsig_key." if create_tsig_key_details.nil?
483
+
484
+ path = '/tsigKeys'
485
+ operation_signing_strategy = :standard
486
+
487
+ # rubocop:disable Style/NegatedIf
488
+ # Query Params
489
+ query_params = {}
490
+
491
+ # Header Params
492
+ header_params = {}
493
+ header_params[:accept] = 'application/json'
494
+ header_params[:'content-type'] = 'application/json'
495
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
496
+ # rubocop:enable Style/NegatedIf
497
+
498
+ post_body = @api_client.object_to_http_body(create_tsig_key_details)
499
+
500
+ # rubocop:disable Metrics/BlockLength
501
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_tsig_key') do
502
+ @api_client.call_api(
503
+ :POST,
504
+ path,
505
+ endpoint,
506
+ header_params: header_params,
507
+ query_params: query_params,
508
+ operation_signing_strategy: operation_signing_strategy,
509
+ body: post_body,
510
+ return_type: 'OCI::Dns::Models::TsigKey'
511
+ )
512
+ end
513
+ # rubocop:enable Metrics/BlockLength
514
+ end
515
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
516
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
517
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
518
+
519
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
520
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
521
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
522
+
523
+
238
524
  # Creates a new zone in the specified compartment. The `compartmentId`
239
525
  # query parameter is required if the `Content-Type` header for the
240
526
  # request is `text/dns`.
241
527
  #
242
- # @param [OCI::Dns::Models::CreateZoneDetails] create_zone_details Details for creating a new zone.
528
+ # @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
243
529
  # @param [Hash] opts the optional parameters
244
530
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
245
531
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
246
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
532
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
533
+ # to contact Oracle about a particular request, please provide
534
+ # the request ID.
535
+ # (default to nil)
536
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
247
537
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
248
538
  def create_zone(create_zone_details, opts = {})
249
539
  logger.debug 'Calling operation DnsClient#create_zone.' if logger
@@ -262,6 +552,7 @@ module OCI
262
552
  header_params = {}
263
553
  header_params[:accept] = 'application/json'
264
554
  header_params[:'content-type'] = 'application/json'
555
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
265
556
  # rubocop:enable Style/NegatedIf
266
557
 
267
558
  post_body = @api_client.object_to_http_body(create_zone_details)
@@ -301,14 +592,18 @@ module OCI
301
592
  # when the field-value is `*`, or having a current representation of the
302
593
  # target resource that has an entity-tag matching a member of the list of
303
594
  # entity-tags provided in the field-value.
304
- #
595
+ # (default to nil)
305
596
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
306
597
  # conditional on the selected representation's last modification date being
307
598
  # earlier than or equal to the date provided in the field-value. This
308
599
  # field accomplishes the same purpose as If-Match for cases where the user
309
600
  # agent does not have an entity-tag for the representation.
310
- #
311
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
601
+ # (default to nil)
602
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
603
+ # to contact Oracle about a particular request, please provide
604
+ # the request ID.
605
+ # (default to nil)
606
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
312
607
  # @return [Response] A Response object with data of type nil
313
608
  def delete_domain_records(zone_name_or_id, domain, opts = {})
314
609
  logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
@@ -332,6 +627,7 @@ module OCI
332
627
  header_params[:'content-type'] = 'application/json'
333
628
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
334
629
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
630
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
335
631
  # rubocop:enable Style/NegatedIf
336
632
 
337
633
  post_body = nil
@@ -372,14 +668,18 @@ module OCI
372
668
  # when the field-value is `*`, or having a current representation of the
373
669
  # target resource that has an entity-tag matching a member of the list of
374
670
  # entity-tags provided in the field-value.
375
- #
671
+ # (default to nil)
376
672
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
377
673
  # conditional on the selected representation's last modification date being
378
674
  # earlier than or equal to the date provided in the field-value. This
379
675
  # field accomplishes the same purpose as If-Match for cases where the user
380
676
  # agent does not have an entity-tag for the representation.
381
- #
382
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
677
+ # (default to nil)
678
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
679
+ # to contact Oracle about a particular request, please provide
680
+ # the request ID.
681
+ # (default to nil)
682
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
383
683
  # @return [Response] A Response object with data of type nil
384
684
  def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
385
685
  logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
@@ -405,6 +705,7 @@ module OCI
405
705
  header_params[:'content-type'] = 'application/json'
406
706
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
407
707
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
708
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
408
709
  # rubocop:enable Style/NegatedIf
409
710
 
410
711
  post_body = nil
@@ -446,13 +747,17 @@ module OCI
446
747
  # when the field-value is `*`, or having a current representation of the
447
748
  # target resource that has an entity-tag matching a member of the list of
448
749
  # entity-tags provided in the field-value.
449
- #
750
+ # (default to nil)
450
751
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
451
752
  # conditional on the selected representation's last modification date being
452
753
  # earlier than or equal to the date provided in the field-value. This
453
754
  # field accomplishes the same purpose as If-Match for cases where the user
454
755
  # agent does not have an entity-tag for the representation.
455
- #
756
+ # (default to nil)
757
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
758
+ # to contact Oracle about a particular request, please provide
759
+ # the request ID.
760
+ # (default to nil)
456
761
  # @return [Response] A Response object with data of type nil
457
762
  def delete_steering_policy(steering_policy_id, opts = {})
458
763
  logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
@@ -473,6 +778,7 @@ module OCI
473
778
  header_params[:'content-type'] = 'application/json'
474
779
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
475
780
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
781
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
476
782
  # rubocop:enable Style/NegatedIf
477
783
 
478
784
  post_body = nil
@@ -512,13 +818,17 @@ module OCI
512
818
  # when the field-value is `*`, or having a current representation of the
513
819
  # target resource that has an entity-tag matching a member of the list of
514
820
  # entity-tags provided in the field-value.
515
- #
821
+ # (default to nil)
516
822
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
517
823
  # conditional on the selected representation's last modification date being
518
824
  # earlier than or equal to the date provided in the field-value. This
519
825
  # field accomplishes the same purpose as If-Match for cases where the user
520
826
  # agent does not have an entity-tag for the representation.
521
- #
827
+ # (default to nil)
828
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
829
+ # to contact Oracle about a particular request, please provide
830
+ # the request ID.
831
+ # (default to nil)
522
832
  # @return [Response] A Response object with data of type nil
523
833
  def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
524
834
  logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
@@ -539,6 +849,7 @@ module OCI
539
849
  header_params[:'content-type'] = 'application/json'
540
850
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
541
851
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
852
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
542
853
  # rubocop:enable Style/NegatedIf
543
854
 
544
855
  post_body = nil
@@ -566,6 +877,76 @@ module OCI
566
877
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
567
878
 
568
879
 
880
+ # Deletes the specified TSIG key.
881
+ #
882
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
883
+ # @param [Hash] opts the optional parameters
884
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
885
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
886
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
887
+ # existence of at least one current representation of the target resource,
888
+ # when the field-value is `*`, or having a current representation of the
889
+ # target resource that has an entity-tag matching a member of the list of
890
+ # entity-tags provided in the field-value.
891
+ # (default to nil)
892
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
893
+ # conditional on the selected representation's last modification date being
894
+ # earlier than or equal to the date provided in the field-value. This
895
+ # field accomplishes the same purpose as If-Match for cases where the user
896
+ # agent does not have an entity-tag for the representation.
897
+ # (default to nil)
898
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
899
+ # to contact Oracle about a particular request, please provide
900
+ # the request ID.
901
+ # (default to nil)
902
+ # @return [Response] A Response object with data of type nil
903
+ def delete_tsig_key(tsig_key_id, opts = {})
904
+ logger.debug 'Calling operation DnsClient#delete_tsig_key.' if logger
905
+
906
+ raise "Missing the required parameter 'tsig_key_id' when calling delete_tsig_key." if tsig_key_id.nil?
907
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
908
+
909
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
910
+ operation_signing_strategy = :standard
911
+
912
+ # rubocop:disable Style/NegatedIf
913
+ # Query Params
914
+ query_params = {}
915
+
916
+ # Header Params
917
+ header_params = {}
918
+ header_params[:accept] = 'application/json'
919
+ header_params[:'content-type'] = 'application/json'
920
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
921
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
922
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
923
+ # rubocop:enable Style/NegatedIf
924
+
925
+ post_body = nil
926
+
927
+ # rubocop:disable Metrics/BlockLength
928
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_tsig_key') do
929
+ @api_client.call_api(
930
+ :DELETE,
931
+ path,
932
+ endpoint,
933
+ header_params: header_params,
934
+ query_params: query_params,
935
+ operation_signing_strategy: operation_signing_strategy,
936
+ body: post_body
937
+ )
938
+ end
939
+ # rubocop:enable Metrics/BlockLength
940
+ end
941
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
942
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
943
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
944
+
945
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
946
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
947
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
948
+
949
+
569
950
  # Deletes the specified zone and all its steering policy attachments.
570
951
  # A `204` response indicates that zone has been successfully deleted.
571
952
  #
@@ -578,14 +959,18 @@ module OCI
578
959
  # when the field-value is `*`, or having a current representation of the
579
960
  # target resource that has an entity-tag matching a member of the list of
580
961
  # entity-tags provided in the field-value.
581
- #
962
+ # (default to nil)
582
963
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
583
964
  # conditional on the selected representation's last modification date being
584
965
  # earlier than or equal to the date provided in the field-value. This
585
966
  # field accomplishes the same purpose as If-Match for cases where the user
586
967
  # agent does not have an entity-tag for the representation.
587
- #
588
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
968
+ # (default to nil)
969
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
970
+ # to contact Oracle about a particular request, please provide
971
+ # the request ID.
972
+ # (default to nil)
973
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
589
974
  # @return [Response] A Response object with data of type nil
590
975
  def delete_zone(zone_name_or_id, opts = {})
591
976
  logger.debug 'Calling operation DnsClient#delete_zone.' if logger
@@ -607,6 +992,7 @@ module OCI
607
992
  header_params[:'content-type'] = 'application/json'
608
993
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
609
994
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
995
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
610
996
  # rubocop:enable Style/NegatedIf
611
997
 
612
998
  post_body = nil
@@ -647,26 +1033,30 @@ module OCI
647
1033
  # the absence of any current representation of the target resource, when
648
1034
  # the field-value is `*`, or having a selected representation with an
649
1035
  # entity-tag that does not match any of those listed in the field-value.
650
- #
1036
+ # (default to nil)
651
1037
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
652
1038
  # conditional on the selected representation's modification date being more
653
1039
  # recent than the date provided in the field-value. Transfer of the
654
1040
  # selected representation's data is avoided if that data has not changed.
655
- #
1041
+ # (default to nil)
1042
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1043
+ # to contact Oracle about a particular request, please provide
1044
+ # the request ID.
1045
+ # (default to nil)
656
1046
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
657
1047
  # (default to 50)
658
1048
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
659
- #
1049
+ # (default to nil)
660
1050
  # @option opts [String] :zone_version The version of the zone for which data is requested.
661
- #
1051
+ # (default to nil)
662
1052
  # @option opts [String] :rtype Search by record type.
663
1053
  # Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
664
- #
1054
+ # (default to nil)
665
1055
  # @option opts [String] :sort_by The field by which to sort records. (default to rtype)
666
1056
  # Allowed values are: rtype, ttl
667
1057
  # @option opts [String] :sort_order The order to sort the resources.
668
- #
669
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1058
+ # (default to DESC)
1059
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
670
1060
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
671
1061
  def get_domain_records(zone_name_or_id, domain, opts = {})
672
1062
  logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
@@ -704,6 +1094,7 @@ module OCI
704
1094
  header_params[:'content-type'] = 'application/json'
705
1095
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
706
1096
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1097
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
707
1098
  # rubocop:enable Style/NegatedIf
708
1099
 
709
1100
  post_body = nil
@@ -745,19 +1136,23 @@ module OCI
745
1136
  # the absence of any current representation of the target resource, when
746
1137
  # the field-value is `*`, or having a selected representation with an
747
1138
  # entity-tag that does not match any of those listed in the field-value.
748
- #
1139
+ # (default to nil)
749
1140
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
750
1141
  # conditional on the selected representation's modification date being more
751
1142
  # recent than the date provided in the field-value. Transfer of the
752
1143
  # selected representation's data is avoided if that data has not changed.
753
- #
1144
+ # (default to nil)
1145
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1146
+ # to contact Oracle about a particular request, please provide
1147
+ # the request ID.
1148
+ # (default to nil)
754
1149
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
755
1150
  # (default to 50)
756
1151
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
757
- #
1152
+ # (default to nil)
758
1153
  # @option opts [String] :zone_version The version of the zone for which data is requested.
759
- #
760
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1154
+ # (default to nil)
1155
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
761
1156
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
762
1157
  def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
763
1158
  logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
@@ -786,6 +1181,7 @@ module OCI
786
1181
  header_params[:'content-type'] = 'application/json'
787
1182
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
788
1183
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1184
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
789
1185
  # rubocop:enable Style/NegatedIf
790
1186
 
791
1187
  post_body = nil
@@ -824,12 +1220,16 @@ module OCI
824
1220
  # the absence of any current representation of the target resource, when
825
1221
  # the field-value is `*`, or having a selected representation with an
826
1222
  # entity-tag that does not match any of those listed in the field-value.
827
- #
1223
+ # (default to nil)
828
1224
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
829
1225
  # conditional on the selected representation's modification date being more
830
1226
  # recent than the date provided in the field-value. Transfer of the
831
1227
  # selected representation's data is avoided if that data has not changed.
832
- #
1228
+ # (default to nil)
1229
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1230
+ # to contact Oracle about a particular request, please provide
1231
+ # the request ID.
1232
+ # (default to nil)
833
1233
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
834
1234
  def get_steering_policy(steering_policy_id, opts = {})
835
1235
  logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
@@ -850,6 +1250,7 @@ module OCI
850
1250
  header_params[:'content-type'] = 'application/json'
851
1251
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
852
1252
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1253
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
853
1254
  # rubocop:enable Style/NegatedIf
854
1255
 
855
1256
  post_body = nil
@@ -888,12 +1289,16 @@ module OCI
888
1289
  # the absence of any current representation of the target resource, when
889
1290
  # the field-value is `*`, or having a selected representation with an
890
1291
  # entity-tag that does not match any of those listed in the field-value.
891
- #
1292
+ # (default to nil)
892
1293
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
893
1294
  # conditional on the selected representation's modification date being more
894
1295
  # recent than the date provided in the field-value. Transfer of the
895
1296
  # selected representation's data is avoided if that data has not changed.
896
- #
1297
+ # (default to nil)
1298
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1299
+ # to contact Oracle about a particular request, please provide
1300
+ # the request ID.
1301
+ # (default to nil)
897
1302
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
898
1303
  def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
899
1304
  logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
@@ -914,6 +1319,7 @@ module OCI
914
1319
  header_params[:'content-type'] = 'application/json'
915
1320
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
916
1321
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1322
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
917
1323
  # rubocop:enable Style/NegatedIf
918
1324
 
919
1325
  post_body = nil
@@ -942,6 +1348,75 @@ module OCI
942
1348
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
943
1349
 
944
1350
 
1351
+ # Gets information about the specified TSIG key.
1352
+ #
1353
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
1354
+ # @param [Hash] opts the optional parameters
1355
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1356
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1357
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1358
+ # the absence of any current representation of the target resource, when
1359
+ # the field-value is `*`, or having a selected representation with an
1360
+ # entity-tag that does not match any of those listed in the field-value.
1361
+ # (default to nil)
1362
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1363
+ # conditional on the selected representation's modification date being more
1364
+ # recent than the date provided in the field-value. Transfer of the
1365
+ # selected representation's data is avoided if that data has not changed.
1366
+ # (default to nil)
1367
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1368
+ # to contact Oracle about a particular request, please provide
1369
+ # the request ID.
1370
+ # (default to nil)
1371
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
1372
+ def get_tsig_key(tsig_key_id, opts = {})
1373
+ logger.debug 'Calling operation DnsClient#get_tsig_key.' if logger
1374
+
1375
+ raise "Missing the required parameter 'tsig_key_id' when calling get_tsig_key." if tsig_key_id.nil?
1376
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
1377
+
1378
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
1379
+ operation_signing_strategy = :standard
1380
+
1381
+ # rubocop:disable Style/NegatedIf
1382
+ # Query Params
1383
+ query_params = {}
1384
+
1385
+ # Header Params
1386
+ header_params = {}
1387
+ header_params[:accept] = 'application/json'
1388
+ header_params[:'content-type'] = 'application/json'
1389
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1390
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1391
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1392
+ # rubocop:enable Style/NegatedIf
1393
+
1394
+ post_body = nil
1395
+
1396
+ # rubocop:disable Metrics/BlockLength
1397
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_tsig_key') do
1398
+ @api_client.call_api(
1399
+ :GET,
1400
+ path,
1401
+ endpoint,
1402
+ header_params: header_params,
1403
+ query_params: query_params,
1404
+ operation_signing_strategy: operation_signing_strategy,
1405
+ body: post_body,
1406
+ return_type: 'OCI::Dns::Models::TsigKey'
1407
+ )
1408
+ end
1409
+ # rubocop:enable Metrics/BlockLength
1410
+ end
1411
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1412
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1413
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1414
+
1415
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1416
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1417
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1418
+
1419
+
945
1420
  # Gets information about the specified zone, including its creation date,
946
1421
  # zone type, and serial.
947
1422
  #
@@ -953,13 +1428,17 @@ module OCI
953
1428
  # the absence of any current representation of the target resource, when
954
1429
  # the field-value is `*`, or having a selected representation with an
955
1430
  # entity-tag that does not match any of those listed in the field-value.
956
- #
1431
+ # (default to nil)
957
1432
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
958
1433
  # conditional on the selected representation's modification date being more
959
1434
  # recent than the date provided in the field-value. Transfer of the
960
1435
  # selected representation's data is avoided if that data has not changed.
961
- #
962
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1436
+ # (default to nil)
1437
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1438
+ # to contact Oracle about a particular request, please provide
1439
+ # the request ID.
1440
+ # (default to nil)
1441
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
963
1442
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
964
1443
  def get_zone(zone_name_or_id, opts = {})
965
1444
  logger.debug 'Calling operation DnsClient#get_zone.' if logger
@@ -981,6 +1460,7 @@ module OCI
981
1460
  header_params[:'content-type'] = 'application/json'
982
1461
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
983
1462
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1463
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
984
1464
  # rubocop:enable Style/NegatedIf
985
1465
 
986
1466
  post_body = nil
@@ -1021,32 +1501,36 @@ module OCI
1021
1501
  # the absence of any current representation of the target resource, when
1022
1502
  # the field-value is `*`, or having a selected representation with an
1023
1503
  # entity-tag that does not match any of those listed in the field-value.
1024
- #
1504
+ # (default to nil)
1025
1505
  # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1026
1506
  # conditional on the selected representation's modification date being more
1027
1507
  # recent than the date provided in the field-value. Transfer of the
1028
1508
  # selected representation's data is avoided if that data has not changed.
1029
- #
1509
+ # (default to nil)
1510
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1511
+ # to contact Oracle about a particular request, please provide
1512
+ # the request ID.
1513
+ # (default to nil)
1030
1514
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1031
1515
  # (default to 50)
1032
1516
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1033
- #
1517
+ # (default to nil)
1034
1518
  # @option opts [String] :zone_version The version of the zone for which data is requested.
1035
- #
1519
+ # (default to nil)
1036
1520
  # @option opts [String] :domain Search by domain.
1037
1521
  # Will match any record whose domain (case-insensitive) equals the provided value.
1038
- #
1522
+ # (default to nil)
1039
1523
  # @option opts [String] :domain_contains Search by domain.
1040
1524
  # Will match any record whose domain (case-insensitive) contains the provided value.
1041
- #
1525
+ # (default to nil)
1042
1526
  # @option opts [String] :rtype Search by record type.
1043
1527
  # Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
1044
- #
1528
+ # (default to nil)
1045
1529
  # @option opts [String] :sort_by The field by which to sort records. (default to domain)
1046
1530
  # Allowed values are: domain, rtype, ttl
1047
1531
  # @option opts [String] :sort_order The order to sort the resources.
1048
- #
1049
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1532
+ # (default to DESC)
1533
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1050
1534
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1051
1535
  def get_zone_records(zone_name_or_id, opts = {})
1052
1536
  logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
@@ -1084,6 +1568,7 @@ module OCI
1084
1568
  header_params[:'content-type'] = 'application/json'
1085
1569
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1086
1570
  header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1571
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1087
1572
  # rubocop:enable Style/NegatedIf
1088
1573
 
1089
1574
  post_body = nil
@@ -1118,32 +1603,36 @@ module OCI
1118
1603
  # @param [Hash] opts the optional parameters
1119
1604
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1120
1605
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1606
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1607
+ # to contact Oracle about a particular request, please provide
1608
+ # the request ID.
1609
+ # (default to nil)
1121
1610
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1122
1611
  # (default to 50)
1123
1612
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1124
- #
1125
- # @option opts [String] :id The OCID of a resource.
1126
- # @option opts [String] :display_name The displayName of a resource.
1613
+ # (default to nil)
1614
+ # @option opts [String] :id The OCID of a resource. (default to nil)
1615
+ # @option opts [String] :display_name The displayName of a resource. (default to nil)
1127
1616
  # @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
1128
1617
  # (case-insensitive) contains the provided value.
1129
- #
1618
+ # (default to nil)
1130
1619
  # @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
1131
1620
  # Will match any resource whose health check monitor ID matches the provided value.
1132
- #
1621
+ # (default to nil)
1133
1622
  # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1134
1623
  # all returned resources were created on or after the indicated time.
1135
- #
1624
+ # (default to nil)
1136
1625
  # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1137
1626
  # all returned resources were created before the indicated time.
1138
- #
1627
+ # (default to nil)
1139
1628
  # @option opts [String] :template Search by steering template type.
1140
1629
  # Will match any resource whose template type matches the provided value.
1141
- #
1142
- # @option opts [String] :lifecycle_state The state of a resource.
1630
+ # (default to nil)
1631
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
1143
1632
  # @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
1144
1633
  # Allowed values are: displayName, timeCreated, template
1145
1634
  # @option opts [String] :sort_order The order to sort the resources.
1146
- #
1635
+ # (default to DESC)
1147
1636
  # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
1148
1637
  def list_steering_policies(compartment_id, opts = {})
1149
1638
  logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
@@ -1186,6 +1675,7 @@ module OCI
1186
1675
  header_params = {}
1187
1676
  header_params[:accept] = 'application/json'
1188
1677
  header_params[:'content-type'] = 'application/json'
1678
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1189
1679
  # rubocop:enable Style/NegatedIf
1190
1680
 
1191
1681
  post_body = nil
@@ -1220,35 +1710,39 @@ module OCI
1220
1710
  # @param [Hash] opts the optional parameters
1221
1711
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1222
1712
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1713
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1714
+ # to contact Oracle about a particular request, please provide
1715
+ # the request ID.
1716
+ # (default to nil)
1223
1717
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1224
1718
  # (default to 50)
1225
1719
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1226
- #
1227
- # @option opts [String] :id The OCID of a resource.
1228
- # @option opts [String] :display_name The displayName of a resource.
1720
+ # (default to nil)
1721
+ # @option opts [String] :id The OCID of a resource. (default to nil)
1722
+ # @option opts [String] :display_name The displayName of a resource. (default to nil)
1229
1723
  # @option opts [String] :steering_policy_id Search by steering policy OCID.
1230
1724
  # Will match any resource whose steering policy ID matches the provided value.
1231
- #
1725
+ # (default to nil)
1232
1726
  # @option opts [String] :zone_id Search by zone OCID.
1233
1727
  # Will match any resource whose zone ID matches the provided value.
1234
- #
1728
+ # (default to nil)
1235
1729
  # @option opts [String] :domain Search by domain.
1236
1730
  # Will match any record whose domain (case-insensitive) equals the provided value.
1237
- #
1731
+ # (default to nil)
1238
1732
  # @option opts [String] :domain_contains Search by domain.
1239
1733
  # Will match any record whose domain (case-insensitive) contains the provided value.
1240
- #
1734
+ # (default to nil)
1241
1735
  # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1242
1736
  # all returned resources were created on or after the indicated time.
1243
- #
1737
+ # (default to nil)
1244
1738
  # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1245
1739
  # all returned resources were created before the indicated time.
1246
- #
1247
- # @option opts [String] :lifecycle_state The state of a resource.
1740
+ # (default to nil)
1741
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
1248
1742
  # @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
1249
1743
  # Allowed values are: displayName, timeCreated, domainName
1250
1744
  # @option opts [String] :sort_order The order to sort the resources.
1251
- #
1745
+ # (default to DESC)
1252
1746
  # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
1253
1747
  def list_steering_policy_attachments(compartment_id, opts = {})
1254
1748
  logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
@@ -1292,6 +1786,7 @@ module OCI
1292
1786
  header_params = {}
1293
1787
  header_params[:accept] = 'application/json'
1294
1788
  header_params[:'content-type'] = 'application/json'
1789
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1295
1790
  # rubocop:enable Style/NegatedIf
1296
1791
 
1297
1792
  post_body = nil
@@ -1320,6 +1815,93 @@ module OCI
1320
1815
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1321
1816
 
1322
1817
 
1818
+ # Gets a list of all TSIG keys in the specified compartment.
1819
+ #
1820
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1821
+ # @param [Hash] opts the optional parameters
1822
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1823
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1824
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1825
+ # to contact Oracle about a particular request, please provide
1826
+ # the request ID.
1827
+ # (default to nil)
1828
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1829
+ # (default to 50)
1830
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1831
+ # (default to nil)
1832
+ # @option opts [String] :id The OCID of a resource. (default to nil)
1833
+ # @option opts [String] :name The name of a resource. (default to nil)
1834
+ # @option opts [String] :lifecycle_state The state of a resource. (default to nil)
1835
+ # @option opts [String] :sort_by The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. (default to timeCreated)
1836
+ # Allowed values are: name, timeCreated
1837
+ # @option opts [String] :sort_order The order to sort the resources.
1838
+ # (default to DESC)
1839
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::TsigKeySummary TsigKeySummary}>
1840
+ def list_tsig_keys(compartment_id, opts = {})
1841
+ logger.debug 'Calling operation DnsClient#list_tsig_keys.' if logger
1842
+
1843
+ raise "Missing the required parameter 'compartment_id' when calling list_tsig_keys." if compartment_id.nil?
1844
+
1845
+ if opts[:lifecycle_state] && !OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1846
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.'
1847
+ end
1848
+
1849
+ if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
1850
+ raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
1851
+ end
1852
+
1853
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1854
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1855
+ end
1856
+
1857
+ path = '/tsigKeys'
1858
+ operation_signing_strategy = :standard
1859
+
1860
+ # rubocop:disable Style/NegatedIf
1861
+ # Query Params
1862
+ query_params = {}
1863
+ query_params[:compartmentId] = compartment_id
1864
+ query_params[:limit] = opts[:limit] if opts[:limit]
1865
+ query_params[:page] = opts[:page] if opts[:page]
1866
+ query_params[:id] = opts[:id] if opts[:id]
1867
+ query_params[:name] = opts[:name] if opts[:name]
1868
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1869
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1870
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1871
+
1872
+ # Header Params
1873
+ header_params = {}
1874
+ header_params[:accept] = 'application/json'
1875
+ header_params[:'content-type'] = 'application/json'
1876
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1877
+ # rubocop:enable Style/NegatedIf
1878
+
1879
+ post_body = nil
1880
+
1881
+ # rubocop:disable Metrics/BlockLength
1882
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_tsig_keys') do
1883
+ @api_client.call_api(
1884
+ :GET,
1885
+ path,
1886
+ endpoint,
1887
+ header_params: header_params,
1888
+ query_params: query_params,
1889
+ operation_signing_strategy: operation_signing_strategy,
1890
+ body: post_body,
1891
+ return_type: 'Array<OCI::Dns::Models::TsigKeySummary>'
1892
+ )
1893
+ end
1894
+ # rubocop:enable Metrics/BlockLength
1895
+ end
1896
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1897
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1898
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1899
+
1900
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1901
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1902
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1903
+
1904
+
1323
1905
  # Gets a list of all zones in the specified compartment. The collection
1324
1906
  # can be filtered by name, time created, and zone type.
1325
1907
  #
@@ -1327,32 +1909,36 @@ module OCI
1327
1909
  # @param [Hash] opts the optional parameters
1328
1910
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1329
1911
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1912
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1913
+ # to contact Oracle about a particular request, please provide
1914
+ # the request ID.
1915
+ # (default to nil)
1330
1916
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1331
1917
  # (default to 50)
1332
1918
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1333
- #
1919
+ # (default to nil)
1334
1920
  # @option opts [String] :name A case-sensitive filter for zone names.
1335
1921
  # Will match any zone with a name that equals the provided value.
1336
- #
1922
+ # (default to nil)
1337
1923
  # @option opts [String] :name_contains Search by zone name.
1338
1924
  # Will match any zone whose name (case-insensitive) contains the provided value.
1339
- #
1925
+ # (default to nil)
1340
1926
  # @option opts [String] :zone_type Search by zone type, `PRIMARY` or `SECONDARY`.
1341
1927
  # Will match any zone whose type equals the provided value.
1342
- #
1928
+ # (default to nil)
1343
1929
  # Allowed values are: PRIMARY, SECONDARY
1344
1930
  # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1345
1931
  # all returned resources were created on or after the indicated time.
1346
- #
1932
+ # (default to nil)
1347
1933
  # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1348
1934
  # all returned resources were created before the indicated time.
1349
- #
1350
- # @option opts [String] :lifecycle_state The state of a resource.
1935
+ # (default to nil)
1936
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
1351
1937
  # Allowed values are: ACTIVE, CREATING, DELETED, DELETING, FAILED
1352
1938
  # @option opts [String] :sort_by The field by which to sort zones. (default to timeCreated)
1353
1939
  # Allowed values are: name, zoneType, timeCreated
1354
1940
  # @option opts [String] :sort_order The order to sort the resources.
1355
- #
1941
+ # (default to DESC)
1356
1942
  # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ZoneSummary ZoneSummary}>
1357
1943
  def list_zones(compartment_id, opts = {})
1358
1944
  logger.debug 'Calling operation DnsClient#list_zones.' if logger
@@ -1397,6 +1983,7 @@ module OCI
1397
1983
  header_params = {}
1398
1984
  header_params[:accept] = 'application/json'
1399
1985
  header_params[:'content-type'] = 'application/json'
1986
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1400
1987
  # rubocop:enable Style/NegatedIf
1401
1988
 
1402
1989
  post_body = nil
@@ -1441,14 +2028,18 @@ module OCI
1441
2028
  # when the field-value is `*`, or having a current representation of the
1442
2029
  # target resource that has an entity-tag matching a member of the list of
1443
2030
  # entity-tags provided in the field-value.
1444
- #
2031
+ # (default to nil)
1445
2032
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1446
2033
  # conditional on the selected representation's last modification date being
1447
2034
  # earlier than or equal to the date provided in the field-value. This
1448
2035
  # field accomplishes the same purpose as If-Match for cases where the user
1449
2036
  # agent does not have an entity-tag for the representation.
1450
- #
1451
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2037
+ # (default to nil)
2038
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2039
+ # to contact Oracle about a particular request, please provide
2040
+ # the request ID.
2041
+ # (default to nil)
2042
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1452
2043
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1453
2044
  def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
1454
2045
  logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
@@ -1473,6 +2064,7 @@ module OCI
1473
2064
  header_params[:'content-type'] = 'application/json'
1474
2065
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1475
2066
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2067
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1476
2068
  # rubocop:enable Style/NegatedIf
1477
2069
 
1478
2070
  post_body = @api_client.object_to_http_body(patch_domain_records_details)
@@ -1514,14 +2106,18 @@ module OCI
1514
2106
  # when the field-value is `*`, or having a current representation of the
1515
2107
  # target resource that has an entity-tag matching a member of the list of
1516
2108
  # entity-tags provided in the field-value.
1517
- #
2109
+ # (default to nil)
1518
2110
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1519
2111
  # conditional on the selected representation's last modification date being
1520
2112
  # earlier than or equal to the date provided in the field-value. This
1521
2113
  # field accomplishes the same purpose as If-Match for cases where the user
1522
2114
  # agent does not have an entity-tag for the representation.
1523
- #
1524
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2115
+ # (default to nil)
2116
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2117
+ # to contact Oracle about a particular request, please provide
2118
+ # the request ID.
2119
+ # (default to nil)
2120
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1525
2121
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1526
2122
  def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
1527
2123
  logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
@@ -1548,6 +2144,7 @@ module OCI
1548
2144
  header_params[:'content-type'] = 'application/json'
1549
2145
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1550
2146
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2147
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1551
2148
  # rubocop:enable Style/NegatedIf
1552
2149
 
1553
2150
  post_body = @api_client.object_to_http_body(patch_rr_set_details)
@@ -1592,14 +2189,18 @@ module OCI
1592
2189
  # when the field-value is `*`, or having a current representation of the
1593
2190
  # target resource that has an entity-tag matching a member of the list of
1594
2191
  # entity-tags provided in the field-value.
1595
- #
2192
+ # (default to nil)
1596
2193
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1597
2194
  # conditional on the selected representation's last modification date being
1598
2195
  # earlier than or equal to the date provided in the field-value. This
1599
2196
  # field accomplishes the same purpose as If-Match for cases where the user
1600
2197
  # agent does not have an entity-tag for the representation.
1601
- #
1602
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2198
+ # (default to nil)
2199
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2200
+ # to contact Oracle about a particular request, please provide
2201
+ # the request ID.
2202
+ # (default to nil)
2203
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1603
2204
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1604
2205
  def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
1605
2206
  logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
@@ -1622,6 +2223,7 @@ module OCI
1622
2223
  header_params[:'content-type'] = 'application/json'
1623
2224
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1624
2225
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2226
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1625
2227
  # rubocop:enable Style/NegatedIf
1626
2228
 
1627
2229
  post_body = @api_client.object_to_http_body(patch_zone_records_details)
@@ -1668,14 +2270,18 @@ module OCI
1668
2270
  # when the field-value is `*`, or having a current representation of the
1669
2271
  # target resource that has an entity-tag matching a member of the list of
1670
2272
  # entity-tags provided in the field-value.
1671
- #
2273
+ # (default to nil)
1672
2274
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1673
2275
  # conditional on the selected representation's last modification date being
1674
2276
  # earlier than or equal to the date provided in the field-value. This
1675
2277
  # field accomplishes the same purpose as If-Match for cases where the user
1676
2278
  # agent does not have an entity-tag for the representation.
1677
- #
1678
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2279
+ # (default to nil)
2280
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2281
+ # to contact Oracle about a particular request, please provide
2282
+ # the request ID.
2283
+ # (default to nil)
2284
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1679
2285
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1680
2286
  def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
1681
2287
  logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
@@ -1700,6 +2306,7 @@ module OCI
1700
2306
  header_params[:'content-type'] = 'application/json'
1701
2307
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1702
2308
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2309
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1703
2310
  # rubocop:enable Style/NegatedIf
1704
2311
 
1705
2312
  post_body = @api_client.object_to_http_body(update_domain_records_details)
@@ -1741,14 +2348,18 @@ module OCI
1741
2348
  # when the field-value is `*`, or having a current representation of the
1742
2349
  # target resource that has an entity-tag matching a member of the list of
1743
2350
  # entity-tags provided in the field-value.
1744
- #
2351
+ # (default to nil)
1745
2352
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1746
2353
  # conditional on the selected representation's last modification date being
1747
2354
  # earlier than or equal to the date provided in the field-value. This
1748
2355
  # field accomplishes the same purpose as If-Match for cases where the user
1749
2356
  # agent does not have an entity-tag for the representation.
1750
- #
1751
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2357
+ # (default to nil)
2358
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2359
+ # to contact Oracle about a particular request, please provide
2360
+ # the request ID.
2361
+ # (default to nil)
2362
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1752
2363
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1753
2364
  def update_rr_set(zone_name_or_id, domain, rtype, update_rr_set_details, opts = {})
1754
2365
  logger.debug 'Calling operation DnsClient#update_rr_set.' if logger
@@ -1775,6 +2386,7 @@ module OCI
1775
2386
  header_params[:'content-type'] = 'application/json'
1776
2387
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1777
2388
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2389
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1778
2390
  # rubocop:enable Style/NegatedIf
1779
2391
 
1780
2392
  post_body = @api_client.object_to_http_body(update_rr_set_details)
@@ -1815,13 +2427,17 @@ module OCI
1815
2427
  # when the field-value is `*`, or having a current representation of the
1816
2428
  # target resource that has an entity-tag matching a member of the list of
1817
2429
  # entity-tags provided in the field-value.
1818
- #
2430
+ # (default to nil)
1819
2431
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1820
2432
  # conditional on the selected representation's last modification date being
1821
2433
  # earlier than or equal to the date provided in the field-value. This
1822
2434
  # field accomplishes the same purpose as If-Match for cases where the user
1823
2435
  # agent does not have an entity-tag for the representation.
1824
- #
2436
+ # (default to nil)
2437
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2438
+ # to contact Oracle about a particular request, please provide
2439
+ # the request ID.
2440
+ # (default to nil)
1825
2441
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
1826
2442
  def update_steering_policy(steering_policy_id, update_steering_policy_details, opts = {})
1827
2443
  logger.debug 'Calling operation DnsClient#update_steering_policy.' if logger
@@ -1843,6 +2459,7 @@ module OCI
1843
2459
  header_params[:'content-type'] = 'application/json'
1844
2460
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1845
2461
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2462
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1846
2463
  # rubocop:enable Style/NegatedIf
1847
2464
 
1848
2465
  post_body = @api_client.object_to_http_body(update_steering_policy_details)
@@ -1883,13 +2500,17 @@ module OCI
1883
2500
  # when the field-value is `*`, or having a current representation of the
1884
2501
  # target resource that has an entity-tag matching a member of the list of
1885
2502
  # entity-tags provided in the field-value.
1886
- #
2503
+ # (default to nil)
1887
2504
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1888
2505
  # conditional on the selected representation's last modification date being
1889
2506
  # earlier than or equal to the date provided in the field-value. This
1890
2507
  # field accomplishes the same purpose as If-Match for cases where the user
1891
2508
  # agent does not have an entity-tag for the representation.
1892
- #
2509
+ # (default to nil)
2510
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2511
+ # to contact Oracle about a particular request, please provide
2512
+ # the request ID.
2513
+ # (default to nil)
1893
2514
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
1894
2515
  def update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, opts = {})
1895
2516
  logger.debug 'Calling operation DnsClient#update_steering_policy_attachment.' if logger
@@ -1911,6 +2532,7 @@ module OCI
1911
2532
  header_params[:'content-type'] = 'application/json'
1912
2533
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1913
2534
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2535
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1914
2536
  # rubocop:enable Style/NegatedIf
1915
2537
 
1916
2538
  post_body = @api_client.object_to_http_body(update_steering_policy_attachment_details)
@@ -1939,6 +2561,79 @@ module OCI
1939
2561
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1940
2562
 
1941
2563
 
2564
+ # Updates the specified TSIG key.
2565
+ #
2566
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
2567
+ # @param [OCI::Dns::Models::UpdateTsigKeyDetails] update_tsig_key_details New data for the TSIG key.
2568
+ # @param [Hash] opts the optional parameters
2569
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2570
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2571
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
2572
+ # existence of at least one current representation of the target resource,
2573
+ # when the field-value is `*`, or having a current representation of the
2574
+ # target resource that has an entity-tag matching a member of the list of
2575
+ # entity-tags provided in the field-value.
2576
+ # (default to nil)
2577
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
2578
+ # conditional on the selected representation's last modification date being
2579
+ # earlier than or equal to the date provided in the field-value. This
2580
+ # field accomplishes the same purpose as If-Match for cases where the user
2581
+ # agent does not have an entity-tag for the representation.
2582
+ # (default to nil)
2583
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2584
+ # to contact Oracle about a particular request, please provide
2585
+ # the request ID.
2586
+ # (default to nil)
2587
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
2588
+ def update_tsig_key(tsig_key_id, update_tsig_key_details, opts = {})
2589
+ logger.debug 'Calling operation DnsClient#update_tsig_key.' if logger
2590
+
2591
+ raise "Missing the required parameter 'tsig_key_id' when calling update_tsig_key." if tsig_key_id.nil?
2592
+ raise "Missing the required parameter 'update_tsig_key_details' when calling update_tsig_key." if update_tsig_key_details.nil?
2593
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
2594
+
2595
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
2596
+ operation_signing_strategy = :standard
2597
+
2598
+ # rubocop:disable Style/NegatedIf
2599
+ # Query Params
2600
+ query_params = {}
2601
+
2602
+ # Header Params
2603
+ header_params = {}
2604
+ header_params[:accept] = 'application/json'
2605
+ header_params[:'content-type'] = 'application/json'
2606
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2607
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2608
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2609
+ # rubocop:enable Style/NegatedIf
2610
+
2611
+ post_body = @api_client.object_to_http_body(update_tsig_key_details)
2612
+
2613
+ # rubocop:disable Metrics/BlockLength
2614
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_tsig_key') do
2615
+ @api_client.call_api(
2616
+ :PUT,
2617
+ path,
2618
+ endpoint,
2619
+ header_params: header_params,
2620
+ query_params: query_params,
2621
+ operation_signing_strategy: operation_signing_strategy,
2622
+ body: post_body,
2623
+ return_type: 'OCI::Dns::Models::TsigKey'
2624
+ )
2625
+ end
2626
+ # rubocop:enable Metrics/BlockLength
2627
+ end
2628
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2629
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2630
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2631
+
2632
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2633
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2634
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2635
+
2636
+
1942
2637
  # Updates the specified secondary zone with your new external master
1943
2638
  # server information. For more information about secondary zone, see
1944
2639
  # [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).
@@ -1953,14 +2648,18 @@ module OCI
1953
2648
  # when the field-value is `*`, or having a current representation of the
1954
2649
  # target resource that has an entity-tag matching a member of the list of
1955
2650
  # entity-tags provided in the field-value.
1956
- #
2651
+ # (default to nil)
1957
2652
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1958
2653
  # conditional on the selected representation's last modification date being
1959
2654
  # earlier than or equal to the date provided in the field-value. This
1960
2655
  # field accomplishes the same purpose as If-Match for cases where the user
1961
2656
  # agent does not have an entity-tag for the representation.
1962
- #
1963
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2657
+ # (default to nil)
2658
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2659
+ # to contact Oracle about a particular request, please provide
2660
+ # the request ID.
2661
+ # (default to nil)
2662
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
1964
2663
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
1965
2664
  def update_zone(zone_name_or_id, update_zone_details, opts = {})
1966
2665
  logger.debug 'Calling operation DnsClient#update_zone.' if logger
@@ -1983,6 +2682,7 @@ module OCI
1983
2682
  header_params[:'content-type'] = 'application/json'
1984
2683
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1985
2684
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2685
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1986
2686
  # rubocop:enable Style/NegatedIf
1987
2687
 
1988
2688
  post_body = @api_client.object_to_http_body(update_zone_details)
@@ -2027,14 +2727,18 @@ module OCI
2027
2727
  # when the field-value is `*`, or having a current representation of the
2028
2728
  # target resource that has an entity-tag matching a member of the list of
2029
2729
  # entity-tags provided in the field-value.
2030
- #
2730
+ # (default to nil)
2031
2731
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
2032
2732
  # conditional on the selected representation's last modification date being
2033
2733
  # earlier than or equal to the date provided in the field-value. This
2034
2734
  # field accomplishes the same purpose as If-Match for cases where the user
2035
2735
  # agent does not have an entity-tag for the representation.
2036
- #
2037
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2736
+ # (default to nil)
2737
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2738
+ # to contact Oracle about a particular request, please provide
2739
+ # the request ID.
2740
+ # (default to nil)
2741
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
2038
2742
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
2039
2743
  def update_zone_records(zone_name_or_id, update_zone_records_details, opts = {})
2040
2744
  logger.debug 'Calling operation DnsClient#update_zone_records.' if logger
@@ -2057,6 +2761,7 @@ module OCI
2057
2761
  header_params[:'content-type'] = 'application/json'
2058
2762
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2059
2763
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
2764
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2060
2765
  # rubocop:enable Style/NegatedIf
2061
2766
 
2062
2767
  post_body = @api_client.object_to_http_body(update_zone_records_details)