oci 2.6.0 → 2.11.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 (3475) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +48 -11
  3. data/lib/oci.rb +36 -1
  4. data/lib/oci/analytics/analytics.rb +49 -0
  5. data/lib/oci/analytics/analytics_client.rb +1197 -0
  6. data/lib/oci/analytics/analytics_client_composite_operations.rb +424 -0
  7. data/lib/oci/analytics/models/analytics_instance.rb +421 -0
  8. data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
  9. data/lib/oci/analytics/models/analytics_instance_summary.rb +385 -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_analytics_instance_network_endpoint_details.rb +155 -0
  13. data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
  14. data/lib/oci/analytics/models/create_analytics_instance_details.rb +323 -0
  15. data/lib/oci/analytics/models/feature_set.rb +11 -0
  16. data/lib/oci/analytics/models/license_type.rb +11 -0
  17. data/lib/oci/analytics/models/network_endpoint_details.rb +193 -0
  18. data/lib/oci/analytics/models/network_endpoint_type.rb +11 -0
  19. data/lib/oci/analytics/models/private_endpoint_details.rb +179 -0
  20. data/lib/oci/analytics/models/public_endpoint_details.rb +179 -0
  21. data/lib/oci/analytics/models/scale_analytics_instance_details.rb +151 -0
  22. data/lib/oci/analytics/models/sort_by.rb +15 -0
  23. data/lib/oci/analytics/models/sort_order.rb +11 -0
  24. data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
  25. data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
  26. data/lib/oci/analytics/models/work_request.rb +318 -0
  27. data/lib/oci/analytics/models/work_request_action_result.rb +17 -0
  28. data/lib/oci/analytics/models/work_request_error.rb +177 -0
  29. data/lib/oci/analytics/models/work_request_log.rb +165 -0
  30. data/lib/oci/analytics/models/work_request_operation_type.rb +16 -0
  31. data/lib/oci/analytics/models/work_request_resource.rb +250 -0
  32. data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
  33. data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
  34. data/lib/oci/analytics/models/work_request_status.rb +15 -0
  35. data/lib/oci/analytics/models/work_request_summary.rb +302 -0
  36. data/lib/oci/analytics/util.rb +3 -0
  37. data/lib/oci/announcements_service/announcement_client.rb +6 -16
  38. data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
  39. data/lib/oci/announcements_service/announcements_service.rb +2 -1
  40. data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
  41. data/lib/oci/announcements_service/models/announcement.rb +2 -1
  42. data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
  43. data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
  44. data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
  45. data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
  46. data/lib/oci/announcements_service/util.rb +2 -1
  47. data/lib/oci/api_client.rb +14 -11
  48. data/lib/oci/api_client_proxy_settings.rb +2 -1
  49. data/lib/oci/apigateway/api_gateway_client.rb +1119 -0
  50. data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +371 -0
  51. data/lib/oci/apigateway/apigateway.rb +105 -0
  52. data/lib/oci/apigateway/deployment_client.rb +502 -0
  53. data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
  54. data/lib/oci/apigateway/gateway_client.rb +502 -0
  55. data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
  56. data/lib/oci/apigateway/models/access_log_policy.rb +166 -0
  57. data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
  58. data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
  59. data/lib/oci/apigateway/models/api.rb +340 -0
  60. data/lib/oci/apigateway/models/api_collection.rb +150 -0
  61. data/lib/oci/apigateway/models/api_specification.rb +176 -0
  62. data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
  63. data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
  64. data/lib/oci/apigateway/models/api_specification_route.rb +246 -0
  65. data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
  66. data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +185 -0
  67. data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +154 -0
  68. data/lib/oci/apigateway/models/api_summary.rb +342 -0
  69. data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
  70. data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → apigateway/models/api_validation_details.rb} +46 -40
  71. data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
  72. data/lib/oci/apigateway/models/api_validations.rb +150 -0
  73. data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
  74. data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
  75. data/lib/oci/apigateway/models/certificate.rb +362 -0
  76. data/lib/oci/apigateway/models/certificate_collection.rb +150 -0
  77. data/lib/oci/apigateway/models/certificate_summary.rb +311 -0
  78. data/lib/oci/apigateway/models/change_api_compartment_details.rb +156 -0
  79. data/lib/oci/apigateway/models/change_certificate_compartment_details.rb +156 -0
  80. data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
  81. data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
  82. data/lib/oci/apigateway/models/cors_policy.rb +240 -0
  83. data/lib/oci/apigateway/models/create_api_details.rb +222 -0
  84. data/lib/oci/apigateway/models/create_certificate_details.rb +250 -0
  85. data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
  86. data/lib/oci/apigateway/models/create_gateway_details.rb +261 -0
  87. data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
  88. data/lib/oci/apigateway/models/deployment.rb +362 -0
  89. data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
  90. data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
  91. data/lib/oci/apigateway/models/execution_log_policy.rb +205 -0
  92. data/lib/oci/apigateway/models/filter_header_policy.rb +186 -0
  93. data/lib/oci/apigateway/models/filter_header_policy_item.rb +152 -0
  94. data/lib/oci/apigateway/models/filter_query_parameter_policy.rb +186 -0
  95. data/lib/oci/apigateway/models/filter_query_parameter_policy_item.rb +152 -0
  96. data/lib/oci/apigateway/models/gateway.rb +400 -0
  97. data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
  98. data/lib/oci/apigateway/models/gateway_summary.rb +341 -0
  99. data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
  100. data/lib/oci/apigateway/models/header_transformation_policy.rb +180 -0
  101. data/lib/oci/apigateway/models/http_backend.rb +227 -0
  102. data/lib/oci/apigateway/models/ip_address.rb +154 -0
  103. data/lib/oci/apigateway/models/json_web_key.rb +278 -0
  104. data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
  105. data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
  106. data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
  107. data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
  108. data/lib/oci/apigateway/models/public_key_set.rb +187 -0
  109. data/lib/oci/apigateway/models/query_parameter_transformation_policy.rb +180 -0
  110. data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
  111. data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
  112. data/lib/oci/apigateway/models/rename_header_policy.rb +151 -0
  113. data/lib/oci/apigateway/models/rename_header_policy_item.rb +164 -0
  114. data/lib/oci/apigateway/models/rename_query_parameter_policy.rb +152 -0
  115. data/lib/oci/apigateway/models/rename_query_parameter_policy_item.rb +165 -0
  116. data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
  117. data/lib/oci/apigateway/models/set_header_policy.rb +151 -0
  118. data/lib/oci/apigateway/models/set_header_policy_item.rb +204 -0
  119. data/lib/oci/apigateway/models/set_query_parameter_policy.rb +152 -0
  120. data/lib/oci/apigateway/models/set_query_parameter_policy_item.rb +204 -0
  121. data/lib/oci/apigateway/models/static_public_key.rb +199 -0
  122. data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
  123. data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
  124. data/lib/oci/apigateway/models/update_api_details.rb +206 -0
  125. data/lib/oci/apigateway/models/update_certificate_details.rb +196 -0
  126. data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
  127. data/lib/oci/apigateway/models/update_gateway_details.rb +211 -0
  128. data/lib/oci/apigateway/models/work_request.rb +316 -0
  129. data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
  130. data/lib/oci/apigateway/models/work_request_error.rb +173 -0
  131. data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
  132. data/lib/oci/apigateway/models/work_request_log.rb +160 -0
  133. data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
  134. data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
  135. data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
  136. data/lib/oci/apigateway/util.rb +3 -0
  137. data/lib/oci/apigateway/work_requests_client.rb +457 -0
  138. data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
  139. data/lib/oci/application_migration/application_migration.rb +59 -0
  140. data/lib/oci/application_migration/application_migration_client.rb +1495 -0
  141. data/lib/oci/application_migration/application_migration_client_composite_operations.rb +472 -0
  142. data/lib/oci/application_migration/models/authorization_details.rb +182 -0
  143. data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
  144. data/lib/oci/application_migration/models/configuration_field.rb +227 -0
  145. data/lib/oci/application_migration/models/create_migration_details.rb +326 -0
  146. data/lib/oci/application_migration/models/create_source_details.rb +245 -0
  147. data/lib/oci/application_migration/models/discovery_details.rb +188 -0
  148. data/lib/oci/application_migration/models/ics_discovery_details.rb +178 -0
  149. data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
  150. data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
  151. data/lib/oci/application_migration/models/jcs_discovery_details.rb +179 -0
  152. data/lib/oci/application_migration/models/migration.rb +467 -0
  153. data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
  154. data/lib/oci/application_migration/models/migration_states.rb +16 -0
  155. data/lib/oci/application_migration/models/migration_summary.rb +392 -0
  156. data/lib/oci/application_migration/models/migration_types.rb +15 -0
  157. data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
  158. data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
  159. data/lib/oci/application_migration/models/ocic_source_details.rb +178 -0
  160. data/lib/oci/application_migration/models/oic_discovery_details.rb +178 -0
  161. data/lib/oci/application_migration/models/operation_status.rb +15 -0
  162. data/lib/oci/application_migration/models/operation_types.rb +20 -0
  163. data/lib/oci/application_migration/models/pcs_discovery_details.rb +178 -0
  164. data/lib/oci/application_migration/models/soacs_discovery_details.rb +179 -0
  165. data/lib/oci/application_migration/models/sort_orders.rb +11 -0
  166. data/lib/oci/application_migration/models/source.rb +306 -0
  167. data/lib/oci/application_migration/models/source_application.rb +212 -0
  168. data/lib/oci/application_migration/models/source_application_summary.rb +220 -0
  169. data/lib/oci/application_migration/models/source_details.rb +195 -0
  170. data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
  171. data/lib/oci/application_migration/models/source_summary.rb +317 -0
  172. data/lib/oci/application_migration/models/source_types.rb +11 -0
  173. data/lib/oci/application_migration/models/target_database_types.rb +11 -0
  174. data/lib/oci/application_migration/models/update_migration_details.rb +248 -0
  175. data/lib/oci/application_migration/models/update_source_details.rb +224 -0
  176. data/lib/oci/application_migration/models/work_request.rb +309 -0
  177. data/lib/oci/application_migration/models/work_request_error.rb +171 -0
  178. data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
  179. data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
  180. data/lib/oci/application_migration/models/work_request_summary.rb +302 -0
  181. data/lib/oci/application_migration/util.rb +3 -0
  182. data/lib/oci/audit/audit.rb +7 -1
  183. data/lib/oci/audit/audit_client.rb +36 -30
  184. data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
  185. data/lib/oci/audit/models/audit_event.rb +83 -262
  186. data/lib/oci/audit/models/configuration.rb +9 -3
  187. data/lib/oci/audit/models/data.rb +465 -0
  188. data/lib/oci/audit/models/identity.rb +314 -0
  189. data/lib/oci/audit/models/request.rb +286 -0
  190. data/lib/oci/audit/models/response.rb +274 -0
  191. data/lib/oci/audit/models/state_change.rb +176 -0
  192. data/lib/oci/audit/models/update_configuration_details.rb +9 -3
  193. data/lib/oci/audit/util.rb +2 -1
  194. data/lib/oci/auth/auth.rb +8 -1
  195. data/lib/oci/auth/federation_client.rb +6 -3
  196. data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
  197. data/lib/oci/auth/security_token_container.rb +2 -1
  198. data/lib/oci/auth/session_key_supplier.rb +2 -1
  199. data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +127 -0
  200. data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +62 -0
  201. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +10 -4
  202. data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
  203. data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
  204. data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
  205. data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
  206. data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
  207. data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
  208. data/lib/oci/auth/signers/resource_principals_signer.rb +57 -0
  209. data/lib/oci/auth/signers/security_token_signer.rb +2 -1
  210. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
  211. data/lib/oci/auth/url_based_certificate_retriever.rb +2 -1
  212. data/lib/oci/auth/util.rb +17 -1
  213. data/lib/oci/autoscaling/auto_scaling_client.rb +22 -28
  214. data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
  215. data/lib/oci/autoscaling/autoscaling.rb +7 -1
  216. data/lib/oci/autoscaling/models/action.rb +2 -1
  217. data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
  218. data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
  219. data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
  220. data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
  221. data/lib/oci/autoscaling/models/capacity.rb +5 -4
  222. data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
  223. data/lib/oci/autoscaling/models/condition.rb +2 -1
  224. data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
  225. data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
  226. data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
  227. data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
  228. data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
  229. data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
  230. data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
  231. data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
  232. data/lib/oci/autoscaling/models/metric.rb +2 -1
  233. data/lib/oci/autoscaling/models/resource.rb +2 -1
  234. data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
  235. data/lib/oci/autoscaling/models/threshold.rb +2 -1
  236. data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
  237. data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
  238. data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
  239. data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
  240. data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
  241. data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
  242. data/lib/oci/autoscaling/util.rb +2 -1
  243. data/lib/oci/base_signer.rb +4 -3
  244. data/lib/oci/bds/bds.rb +48 -0
  245. data/lib/oci/bds/bds_client.rb +1178 -0
  246. data/lib/oci/bds/bds_client_composite_operations.rb +523 -0
  247. data/lib/oci/bds/models/action_types.rb +14 -0
  248. data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
  249. data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
  250. data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
  251. data/lib/oci/bds/models/bds_instance.rb +437 -0
  252. data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
  253. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
  254. data/lib/oci/bds/models/change_shape_details.rb +164 -0
  255. data/lib/oci/bds/models/change_shape_nodes.rb +180 -0
  256. data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
  257. data/lib/oci/bds/models/cluster_details.rb +310 -0
  258. data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
  259. data/lib/oci/bds/models/create_node_details.rb +194 -0
  260. data/lib/oci/bds/models/default_error.rb +160 -0
  261. data/lib/oci/bds/models/kerberos_details.rb +168 -0
  262. data/lib/oci/bds/models/network_config.rb +168 -0
  263. data/lib/oci/bds/models/node.rb +392 -0
  264. data/lib/oci/bds/models/operation_status.rb +15 -0
  265. data/lib/oci/bds/models/operation_types.rb +20 -0
  266. data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
  267. data/lib/oci/bds/models/restart_node_details.rb +154 -0
  268. data/lib/oci/bds/models/sort_orders.rb +11 -0
  269. data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
  270. data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
  271. data/lib/oci/bds/models/work_request.rb +315 -0
  272. data/lib/oci/bds/models/work_request_error.rb +173 -0
  273. data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
  274. data/lib/oci/bds/models/work_request_resource.rb +219 -0
  275. data/lib/oci/bds/util.rb +3 -0
  276. data/lib/oci/blockchain/blockchain.rb +57 -0
  277. data/lib/oci/blockchain/blockchain_platform_client.rb +1715 -0
  278. data/lib/oci/blockchain/blockchain_platform_client_composite_operations.rb +728 -0
  279. data/lib/oci/blockchain/models/availability_domain.rb +171 -0
  280. data/lib/oci/blockchain/models/blockchain_platform.rb +506 -0
  281. data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +318 -0
  282. data/lib/oci/blockchain/models/blockchain_platform_collection.rb +150 -0
  283. data/lib/oci/blockchain/models/blockchain_platform_component_details.rb +160 -0
  284. data/lib/oci/blockchain/models/blockchain_platform_summary.rb +318 -0
  285. data/lib/oci/blockchain/models/change_blockchain_platform_compartment_details.rb +156 -0
  286. data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +303 -0
  287. data/lib/oci/blockchain/models/create_osn_details.rb +163 -0
  288. data/lib/oci/blockchain/models/create_peer_details.rb +188 -0
  289. data/lib/oci/blockchain/models/metadata_details.rb +182 -0
  290. data/lib/oci/blockchain/models/modify_peer_details.rb +168 -0
  291. data/lib/oci/blockchain/models/ocpu_allocation_number_param.rb +154 -0
  292. data/lib/oci/blockchain/models/ocpu_utilization_info.rb +178 -0
  293. data/lib/oci/blockchain/models/osn.rb +212 -0
  294. data/lib/oci/blockchain/models/osn_collection.rb +150 -0
  295. data/lib/oci/blockchain/models/osn_summary.rb +168 -0
  296. data/lib/oci/blockchain/models/peer.rb +246 -0
  297. data/lib/oci/blockchain/models/peer_collection.rb +150 -0
  298. data/lib/oci/blockchain/models/peer_role.rb +163 -0
  299. data/lib/oci/blockchain/models/peer_summary.rb +168 -0
  300. data/lib/oci/blockchain/models/replica_details.rb +182 -0
  301. data/lib/oci/blockchain/models/scale_blockchain_platform_details.rb +259 -0
  302. data/lib/oci/blockchain/models/scale_storage_details.rb +154 -0
  303. data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +346 -0
  304. data/lib/oci/blockchain/models/scaled_platform_metering_preview.rb +210 -0
  305. data/lib/oci/blockchain/models/update_blockchain_platform_details.rb +219 -0
  306. data/lib/oci/blockchain/models/update_osn_details.rb +154 -0
  307. data/lib/oci/blockchain/models/update_peer_details.rb +154 -0
  308. data/lib/oci/blockchain/models/work_request.rb +311 -0
  309. data/lib/oci/blockchain/models/work_request_collection.rb +150 -0
  310. data/lib/oci/blockchain/models/work_request_error.rb +173 -0
  311. data/lib/oci/blockchain/models/work_request_error_collection.rb +150 -0
  312. data/lib/oci/blockchain/models/work_request_log_entry.rb +160 -0
  313. data/lib/oci/blockchain/models/work_request_log_entry_collection.rb +150 -0
  314. data/lib/oci/blockchain/models/work_request_resource.rb +219 -0
  315. data/lib/oci/blockchain/models/work_request_summary.rb +288 -0
  316. data/lib/oci/blockchain/util.rb +3 -0
  317. data/lib/oci/budget/budget.rb +2 -1
  318. data/lib/oci/budget/budget_client.rb +15 -27
  319. data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
  320. data/lib/oci/budget/models/alert_rule.rb +2 -1
  321. data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
  322. data/lib/oci/budget/models/alert_type.rb +2 -1
  323. data/lib/oci/budget/models/budget.rb +3 -2
  324. data/lib/oci/budget/models/budget_summary.rb +3 -2
  325. data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
  326. data/lib/oci/budget/models/create_budget_details.rb +3 -2
  327. data/lib/oci/budget/models/lifecycle_state.rb +2 -1
  328. data/lib/oci/budget/models/reset_period.rb +2 -1
  329. data/lib/oci/budget/models/sort_by.rb +2 -1
  330. data/lib/oci/budget/models/sort_order.rb +2 -1
  331. data/lib/oci/budget/models/target_type.rb +2 -1
  332. data/lib/oci/budget/models/threshold_type.rb +2 -1
  333. data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
  334. data/lib/oci/budget/models/update_budget_details.rb +2 -1
  335. data/lib/oci/budget/util.rb +2 -1
  336. data/lib/oci/cims/cims.rb +68 -0
  337. data/lib/oci/cims/incident_client.rb +579 -0
  338. data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
  339. data/lib/oci/cims/models/activity_item.rb +275 -0
  340. data/lib/oci/cims/models/availability_domain.rb +45 -0
  341. data/lib/oci/cims/models/category.rb +164 -0
  342. data/lib/oci/cims/models/classifier.rb +256 -0
  343. data/lib/oci/cims/models/contact.rb +219 -0
  344. data/lib/oci/cims/models/contact_list.rb +154 -0
  345. data/lib/oci/cims/models/contextual_data.rb +192 -0
  346. data/lib/oci/cims/models/create_category_details.rb +157 -0
  347. data/lib/oci/cims/models/create_incident.rb +226 -0
  348. data/lib/oci/cims/models/create_issue_type_details.rb +157 -0
  349. data/lib/oci/cims/models/create_item_details.rb +215 -0
  350. data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
  351. data/lib/oci/cims/models/create_resource_details.rb +257 -0
  352. data/lib/oci/cims/models/create_sub_category_details.rb +157 -0
  353. data/lib/oci/cims/models/create_tech_support_item_details.rb +164 -0
  354. data/lib/oci/cims/models/create_ticket_details.rb +215 -0
  355. data/lib/oci/cims/models/create_user_details.rb +236 -0
  356. data/lib/oci/cims/models/error_code.rb +32 -0
  357. data/lib/oci/cims/models/incident.rb +258 -0
  358. data/lib/oci/cims/models/incident_resource_type.rb +198 -0
  359. data/lib/oci/cims/models/incident_summary.rb +248 -0
  360. data/lib/oci/cims/models/incident_type.rb +194 -0
  361. data/lib/oci/cims/models/issue_type.rb +164 -0
  362. data/lib/oci/cims/models/item.rb +227 -0
  363. data/lib/oci/cims/models/lifecycle_details.rb +13 -0
  364. data/lib/oci/cims/models/lifecycle_state.rb +11 -0
  365. data/lib/oci/cims/models/limit_item.rb +245 -0
  366. data/lib/oci/cims/models/problem_type.rb +13 -0
  367. data/lib/oci/cims/models/region.rb +32 -0
  368. data/lib/oci/cims/models/resource.rb +267 -0
  369. data/lib/oci/cims/models/scope.rb +13 -0
  370. data/lib/oci/cims/models/service_category.rb +270 -0
  371. data/lib/oci/cims/models/sort_by.rb +11 -0
  372. data/lib/oci/cims/models/sort_order.rb +11 -0
  373. data/lib/oci/cims/models/status.rb +160 -0
  374. data/lib/oci/cims/models/sub_category.rb +164 -0
  375. data/lib/oci/cims/models/tech_support_item.rb +165 -0
  376. data/lib/oci/cims/models/tenancy_information.rb +168 -0
  377. data/lib/oci/cims/models/ticket.rb +315 -0
  378. data/lib/oci/cims/models/time_zone.rb +37 -0
  379. data/lib/oci/cims/models/unit.rb +12 -0
  380. data/lib/oci/cims/models/update_activity_item_details.rb +190 -0
  381. data/lib/oci/cims/models/update_incident.rb +150 -0
  382. data/lib/oci/cims/models/update_item_details.rb +169 -0
  383. data/lib/oci/cims/models/update_resource_details.rb +152 -0
  384. data/lib/oci/cims/models/update_ticket_details.rb +153 -0
  385. data/lib/oci/cims/models/user.rb +261 -0
  386. data/lib/oci/cims/models/validation_response.rb +154 -0
  387. data/lib/oci/cims/user_client.rb +162 -0
  388. data/lib/oci/cims/user_client_composite_operations.rb +25 -0
  389. data/lib/oci/cims/util.rb +3 -0
  390. data/lib/oci/cloud_guard/cloud_guard.rb +182 -0
  391. data/lib/oci/cloud_guard/cloud_guard_client.rb +6019 -0
  392. data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +788 -0
  393. data/lib/oci/cloud_guard/models/activity_problem_aggregation.rb +192 -0
  394. data/lib/oci/cloud_guard/models/activity_problem_aggregation_collection.rb +150 -0
  395. data/lib/oci/cloud_guard/models/actor_type.rb +13 -0
  396. data/lib/oci/cloud_guard/models/attach_target_detector_recipe_details.rb +154 -0
  397. data/lib/oci/cloud_guard/models/attach_target_responder_recipe_details.rb +154 -0
  398. data/lib/oci/cloud_guard/models/candidate_responder_rule.rb +178 -0
  399. data/lib/oci/cloud_guard/models/change_detector_recipe_compartment_details.rb +154 -0
  400. data/lib/oci/cloud_guard/models/change_managed_list_compartment_details.rb +154 -0
  401. data/lib/oci/cloud_guard/models/change_responder_recipe_compartment_details.rb +154 -0
  402. data/lib/oci/cloud_guard/models/cloud_guard_status.rb +11 -0
  403. data/lib/oci/cloud_guard/models/composite_condition.rb +207 -0
  404. data/lib/oci/cloud_guard/models/condition.rb +187 -0
  405. data/lib/oci/cloud_guard/models/condition_filter_type.rb +11 -0
  406. data/lib/oci/cloud_guard/models/condition_group.rb +164 -0
  407. data/lib/oci/cloud_guard/models/condition_metadata_type.rb +164 -0
  408. data/lib/oci/cloud_guard/models/condition_metadata_type_collection.rb +150 -0
  409. data/lib/oci/cloud_guard/models/condition_metadata_type_summary.rb +199 -0
  410. data/lib/oci/cloud_guard/models/condition_operator.rb +191 -0
  411. data/lib/oci/cloud_guard/models/condition_operator_name.rb +18 -0
  412. data/lib/oci/cloud_guard/models/condition_type_enum.rb +12 -0
  413. data/lib/oci/cloud_guard/models/condition_value_type.rb +11 -0
  414. data/lib/oci/cloud_guard/models/config_value.rb +198 -0
  415. data/lib/oci/cloud_guard/models/configuration.rb +199 -0
  416. data/lib/oci/cloud_guard/models/configuration_list_item_type.rb +11 -0
  417. data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +238 -0
  418. data/lib/oci/cloud_guard/models/create_managed_list_details.rb +274 -0
  419. data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +238 -0
  420. data/lib/oci/cloud_guard/models/create_target_details.rb +312 -0
  421. data/lib/oci/cloud_guard/models/create_target_detector_recipe_details.rb +168 -0
  422. data/lib/oci/cloud_guard/models/create_target_responder_recipe_details.rb +168 -0
  423. data/lib/oci/cloud_guard/models/detector.rb +199 -0
  424. data/lib/oci/cloud_guard/models/detector_collection.rb +150 -0
  425. data/lib/oci/cloud_guard/models/detector_configuration.rb +198 -0
  426. data/lib/oci/cloud_guard/models/detector_details.rb +234 -0
  427. data/lib/oci/cloud_guard/models/detector_enum.rb +11 -0
  428. data/lib/oci/cloud_guard/models/detector_recipe.rb +406 -0
  429. data/lib/oci/cloud_guard/models/detector_recipe_collection.rb +150 -0
  430. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +398 -0
  431. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_collection.rb +150 -0
  432. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +398 -0
  433. data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +392 -0
  434. data/lib/oci/cloud_guard/models/detector_rule.rb +398 -0
  435. data/lib/oci/cloud_guard/models/detector_rule_collection.rb +150 -0
  436. data/lib/oci/cloud_guard/models/detector_rule_summary.rb +398 -0
  437. data/lib/oci/cloud_guard/models/detector_summary.rb +199 -0
  438. data/lib/oci/cloud_guard/models/event_status.rb +14 -0
  439. data/lib/oci/cloud_guard/models/execute_responder_execution_details.rb +150 -0
  440. data/lib/oci/cloud_guard/models/feed_provider_type.rb +11 -0
  441. data/lib/oci/cloud_guard/models/geographical_location.rb +160 -0
  442. data/lib/oci/cloud_guard/models/impacted_resource_collection.rb +150 -0
  443. data/lib/oci/cloud_guard/models/impacted_resource_summary.rb +244 -0
  444. data/lib/oci/cloud_guard/models/lifecycle_state.rb +16 -0
  445. data/lib/oci/cloud_guard/models/managed_list.rb +437 -0
  446. data/lib/oci/cloud_guard/models/managed_list_collection.rb +150 -0
  447. data/lib/oci/cloud_guard/models/managed_list_summary.rb +437 -0
  448. data/lib/oci/cloud_guard/models/managed_list_type.rb +20 -0
  449. data/lib/oci/cloud_guard/models/managed_list_type_collection.rb +150 -0
  450. data/lib/oci/cloud_guard/models/managed_list_type_summary.rb +199 -0
  451. data/lib/oci/cloud_guard/models/operator_summary.rb +246 -0
  452. data/lib/oci/cloud_guard/models/operator_type.rb +13 -0
  453. data/lib/oci/cloud_guard/models/owner_type.rb +11 -0
  454. data/lib/oci/cloud_guard/models/political_location.rb +170 -0
  455. data/lib/oci/cloud_guard/models/problem.rb +439 -0
  456. data/lib/oci/cloud_guard/models/problem_aggregation.rb +164 -0
  457. data/lib/oci/cloud_guard/models/problem_aggregation_collection.rb +150 -0
  458. data/lib/oci/cloud_guard/models/problem_collection.rb +150 -0
  459. data/lib/oci/cloud_guard/models/problem_dimension.rb +13 -0
  460. data/lib/oci/cloud_guard/models/problem_history_collection.rb +150 -0
  461. data/lib/oci/cloud_guard/models/problem_history_summary.rb +328 -0
  462. data/lib/oci/cloud_guard/models/problem_lifecycle_detail.rb +12 -0
  463. data/lib/oci/cloud_guard/models/problem_lifecycle_state.rb +11 -0
  464. data/lib/oci/cloud_guard/models/problem_summary.rb +429 -0
  465. data/lib/oci/cloud_guard/models/problem_trend_aggregation.rb +192 -0
  466. data/lib/oci/cloud_guard/models/problem_trend_aggregation_collection.rb +150 -0
  467. data/lib/oci/cloud_guard/models/recommendation_lifecycle_detail.rb +12 -0
  468. data/lib/oci/cloud_guard/models/recommendation_summary.rb +402 -0
  469. data/lib/oci/cloud_guard/models/recommendation_summary_collection.rb +150 -0
  470. data/lib/oci/cloud_guard/models/recommendation_type.rb +11 -0
  471. data/lib/oci/cloud_guard/models/resource_type_collection.rb +150 -0
  472. data/lib/oci/cloud_guard/models/resource_type_summary.rb +174 -0
  473. data/lib/oci/cloud_guard/models/responder_activity_collection.rb +150 -0
  474. data/lib/oci/cloud_guard/models/responder_activity_summary.rb +321 -0
  475. data/lib/oci/cloud_guard/models/responder_activity_type.rb +11 -0
  476. data/lib/oci/cloud_guard/models/responder_configuration.rb +174 -0
  477. data/lib/oci/cloud_guard/models/responder_dimension.rb +11 -0
  478. data/lib/oci/cloud_guard/models/responder_execution.rb +415 -0
  479. data/lib/oci/cloud_guard/models/responder_execution_aggregation.rb +164 -0
  480. data/lib/oci/cloud_guard/models/responder_execution_aggregation_collection.rb +150 -0
  481. data/lib/oci/cloud_guard/models/responder_execution_collection.rb +150 -0
  482. data/lib/oci/cloud_guard/models/responder_execution_modes.rb +12 -0
  483. data/lib/oci/cloud_guard/models/responder_execution_states.rb +16 -0
  484. data/lib/oci/cloud_guard/models/responder_execution_status.rb +14 -0
  485. data/lib/oci/cloud_guard/models/responder_execution_summary.rb +429 -0
  486. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation.rb +192 -0
  487. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation_collection.rb +150 -0
  488. data/lib/oci/cloud_guard/models/responder_mode_types.rb +11 -0
  489. data/lib/oci/cloud_guard/models/responder_recipe.rb +391 -0
  490. data/lib/oci/cloud_guard/models/responder_recipe_collection.rb +150 -0
  491. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +361 -0
  492. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_collection.rb +150 -0
  493. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_summary.rb +357 -0
  494. data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +377 -0
  495. data/lib/oci/cloud_guard/models/responder_rule.rb +343 -0
  496. data/lib/oci/cloud_guard/models/responder_rule_collection.rb +150 -0
  497. data/lib/oci/cloud_guard/models/responder_rule_details.rb +203 -0
  498. data/lib/oci/cloud_guard/models/responder_rule_execution_details.rb +159 -0
  499. data/lib/oci/cloud_guard/models/responder_rule_summary.rb +343 -0
  500. data/lib/oci/cloud_guard/models/responder_type.rb +11 -0
  501. data/lib/oci/cloud_guard/models/risk_level.rb +14 -0
  502. data/lib/oci/cloud_guard/models/risk_score_aggregation.rb +168 -0
  503. data/lib/oci/cloud_guard/models/risk_score_aggregation_collection.rb +150 -0
  504. data/lib/oci/cloud_guard/models/rule_summary.rb +170 -0
  505. data/lib/oci/cloud_guard/models/security_rating.rb +13 -0
  506. data/lib/oci/cloud_guard/models/security_score_aggregation.rb +204 -0
  507. data/lib/oci/cloud_guard/models/security_score_aggregation_collection.rb +150 -0
  508. data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +232 -0
  509. data/lib/oci/cloud_guard/models/security_score_trend_aggregation_collection.rb +150 -0
  510. data/lib/oci/cloud_guard/models/service_type_summary.rb +164 -0
  511. data/lib/oci/cloud_guard/models/simple_condition.rb +233 -0
  512. data/lib/oci/cloud_guard/models/skip_bulk_responder_execution_details.rb +154 -0
  513. data/lib/oci/cloud_guard/models/sort_orders.rb +11 -0
  514. data/lib/oci/cloud_guard/models/target.rb +424 -0
  515. data/lib/oci/cloud_guard/models/target_collection.rb +150 -0
  516. data/lib/oci/cloud_guard/models/target_detector_details.rb +239 -0
  517. data/lib/oci/cloud_guard/models/target_detector_recipe.rb +355 -0
  518. data/lib/oci/cloud_guard/models/target_detector_recipe_collection.rb +150 -0
  519. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +384 -0
  520. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.rb +150 -0
  521. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +384 -0
  522. data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +341 -0
  523. data/lib/oci/cloud_guard/models/target_resource_type.rb +12 -0
  524. data/lib/oci/cloud_guard/models/target_responder_recipe.rb +288 -0
  525. data/lib/oci/cloud_guard/models/target_responder_recipe_collection.rb +150 -0
  526. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +361 -0
  527. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.rb +150 -0
  528. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.rb +357 -0
  529. data/lib/oci/cloud_guard/models/target_responder_recipe_summary.rb +312 -0
  530. data/lib/oci/cloud_guard/models/target_summary.rb +372 -0
  531. data/lib/oci/cloud_guard/models/trigger_responder_details.rb +164 -0
  532. data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +178 -0
  533. data/lib/oci/cloud_guard/models/update_configuration_details.rb +193 -0
  534. data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +210 -0
  535. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule.rb +164 -0
  536. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule_details.rb +149 -0
  537. data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +213 -0
  538. data/lib/oci/cloud_guard/models/update_managed_list_details.rb +210 -0
  539. data/lib/oci/cloud_guard/models/update_problem_status_details.rb +174 -0
  540. data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +210 -0
  541. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule.rb +164 -0
  542. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule_details.rb +150 -0
  543. data/lib/oci/cloud_guard/models/update_responder_rule_details.rb +154 -0
  544. data/lib/oci/cloud_guard/models/update_target_details.rb +246 -0
  545. data/lib/oci/cloud_guard/models/update_target_detector_recipe.rb +168 -0
  546. data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +154 -0
  547. data/lib/oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.rb +150 -0
  548. data/lib/oci/cloud_guard/models/update_target_detector_rule_details.rb +154 -0
  549. data/lib/oci/cloud_guard/models/update_target_recipe_detector_rule_details.rb +164 -0
  550. data/lib/oci/cloud_guard/models/update_target_recipe_responder_rule_details.rb +164 -0
  551. data/lib/oci/cloud_guard/models/update_target_responder_recipe.rb +168 -0
  552. data/lib/oci/cloud_guard/models/update_target_responder_recipe_details.rb +154 -0
  553. data/lib/oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.rb +150 -0
  554. data/lib/oci/cloud_guard/models/update_target_responder_rule_details.rb +182 -0
  555. data/lib/oci/cloud_guard/util.rb +3 -0
  556. data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
  557. data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
  558. data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
  559. data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
  560. data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
  561. data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
  562. data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
  563. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
  564. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
  565. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
  566. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
  567. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
  568. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
  569. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
  570. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
  571. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
  572. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
  573. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
  574. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
  575. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
  576. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
  577. data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
  578. data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
  579. data/lib/oci/compute_instance_agent/util.rb +3 -0
  580. data/lib/oci/config.rb +44 -3
  581. data/lib/oci/config_file_loader.rb +9 -1
  582. data/lib/oci/container_engine/container_engine.rb +16 -1
  583. data/lib/oci/container_engine/container_engine_client.rb +11 -28
  584. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
  585. data/lib/oci/container_engine/models/add_on_options.rb +2 -1
  586. data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
  587. data/lib/oci/container_engine/models/cluster.rb +17 -2
  588. data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
  589. data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
  590. data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
  591. data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
  592. data/lib/oci/container_engine/models/cluster_options.rb +2 -1
  593. data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
  594. data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
  595. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
  596. data/lib/oci/container_engine/models/create_node_pool_details.rb +67 -10
  597. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
  598. data/lib/oci/container_engine/models/create_node_shape_config_details.rb +164 -0
  599. data/lib/oci/container_engine/models/key_value.rb +2 -1
  600. data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
  601. data/lib/oci/container_engine/models/node.rb +45 -2
  602. data/lib/oci/container_engine/models/node_error.rb +2 -1
  603. data/lib/oci/container_engine/models/node_pool.rb +68 -9
  604. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
  605. data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
  606. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
  607. data/lib/oci/container_engine/models/node_pool_summary.rb +67 -8
  608. data/lib/oci/container_engine/models/node_shape_config.rb +167 -0
  609. data/lib/oci/container_engine/models/node_source_details.rb +191 -0
  610. data/lib/oci/container_engine/models/node_source_option.rb +206 -0
  611. data/lib/oci/container_engine/models/node_source_type.rb +10 -0
  612. data/lib/oci/container_engine/models/node_source_via_image_details.rb +176 -0
  613. data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
  614. data/lib/oci/container_engine/models/sort_order.rb +2 -1
  615. data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
  616. data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
  617. data/lib/oci/container_engine/models/update_node_pool_details.rb +119 -20
  618. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
  619. data/lib/oci/container_engine/models/update_node_shape_config_details.rb +164 -0
  620. data/lib/oci/container_engine/models/work_request.rb +2 -1
  621. data/lib/oci/container_engine/models/work_request_error.rb +2 -1
  622. data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
  623. data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
  624. data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
  625. data/lib/oci/container_engine/models/work_request_status.rb +2 -1
  626. data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
  627. data/lib/oci/container_engine/util.rb +2 -1
  628. data/lib/oci/core/blockstorage_client.rb +306 -33
  629. data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
  630. data/lib/oci/core/compute_client.rb +1094 -109
  631. data/lib/oci/core/compute_client_composite_operations.rb +44 -3
  632. data/lib/oci/core/compute_management_client.rb +532 -28
  633. data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
  634. data/lib/oci/core/core.rb +81 -1
  635. data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +166 -0
  636. data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
  637. data/lib/oci/core/models/add_public_ip_pool_capacity_details.rb +170 -0
  638. data/lib/oci/core/models/add_security_rule_details.rb +6 -3
  639. data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
  640. data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
  641. data/lib/oci/core/models/app_catalog_listing.rb +3 -2
  642. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +3 -2
  643. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +3 -2
  644. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +3 -2
  645. data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
  646. data/lib/oci/core/models/app_catalog_subscription.rb +3 -2
  647. data/lib/oci/core/models/app_catalog_subscription_summary.rb +3 -2
  648. data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
  649. data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
  650. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
  651. data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
  652. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
  653. data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
  654. data/lib/oci/core/models/attach_vnic_details.rb +2 -1
  655. data/lib/oci/core/models/attach_volume_details.rb +22 -3
  656. data/lib/oci/core/models/bgp_session_info.rb +2 -1
  657. data/lib/oci/core/models/boolean_image_capability_schema_descriptor.rb +166 -0
  658. data/lib/oci/core/models/boot_volume.rb +79 -7
  659. data/lib/oci/core/models/boot_volume_attachment.rb +3 -2
  660. data/lib/oci/core/models/boot_volume_backup.rb +37 -6
  661. data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
  662. data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
  663. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
  664. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
  665. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  666. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  667. data/lib/oci/core/models/byoip_allocated_range_collection.rb +150 -0
  668. data/lib/oci/core/models/byoip_allocated_range_summary.rb +169 -0
  669. data/lib/oci/core/models/byoip_range.rb +388 -0
  670. data/lib/oci/core/models/byoip_range_collection.rb +150 -0
  671. data/lib/oci/core/models/byoip_range_summary.rb +276 -0
  672. data/lib/oci/core/models/capture_console_history_details.rb +2 -1
  673. data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -1
  674. data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -1
  675. data/lib/oci/core/models/change_byoip_range_compartment_details.rb +156 -0
  676. data/lib/oci/core/models/change_cluster_network_compartment_details.rb +156 -0
  677. data/lib/oci/core/models/change_compute_image_capability_schema_compartment_details.rb +156 -0
  678. data/lib/oci/core/models/change_cpe_compartment_details.rb +2 -1
  679. data/lib/oci/core/models/change_cross_connect_compartment_details.rb +2 -1
  680. data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +2 -1
  681. data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +4 -3
  682. data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +2 -1
  683. data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
  684. data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
  685. data/lib/oci/core/models/change_instance_compartment_details.rb +2 -1
  686. data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
  687. data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
  688. data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +2 -1
  689. data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +2 -1
  690. data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +2 -1
  691. data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
  692. data/lib/oci/core/models/change_network_security_group_compartment_details.rb +2 -1
  693. data/lib/oci/core/models/change_public_ip_compartment_details.rb +2 -1
  694. data/lib/oci/core/models/change_public_ip_pool_compartment_details.rb +156 -0
  695. data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +2 -1
  696. data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
  697. data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
  698. data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
  699. data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
  700. data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
  701. data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +2 -1
  702. data/lib/oci/core/models/change_vlan_compartment_details.rb +155 -0
  703. data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -1
  704. data/lib/oci/core/models/change_volume_compartment_details.rb +2 -1
  705. data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -1
  706. data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -1
  707. data/lib/oci/core/models/cluster_network.rb +323 -0
  708. data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
  709. data/lib/oci/core/models/cluster_network_summary.rb +305 -0
  710. data/lib/oci/core/models/compute_global_image_capability_schema.rb +249 -0
  711. data/lib/oci/core/models/compute_global_image_capability_schema_summary.rb +248 -0
  712. data/lib/oci/core/models/compute_global_image_capability_schema_version.rb +214 -0
  713. data/lib/oci/core/models/compute_global_image_capability_schema_version_summary.rb +197 -0
  714. data/lib/oci/core/models/compute_image_capability_schema.rb +295 -0
  715. data/lib/oci/core/models/compute_image_capability_schema_summary.rb +263 -0
  716. data/lib/oci/core/models/compute_instance_details.rb +2 -1
  717. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
  718. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
  719. data/lib/oci/core/models/console_history.rb +3 -2
  720. data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
  721. data/lib/oci/core/models/copy_volume_backup_details.rb +3 -2
  722. data/lib/oci/core/models/cpe.rb +32 -3
  723. data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
  724. data/lib/oci/core/models/cpe_device_config_question.rb +181 -0
  725. data/lib/oci/core/models/cpe_device_info.rb +164 -0
  726. data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
  727. data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
  728. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
  729. data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
  730. data/lib/oci/core/models/create_boot_volume_details.rb +47 -6
  731. data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
  732. data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
  733. data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +224 -0
  734. data/lib/oci/core/models/create_compute_image_capability_schema_details.rb +250 -0
  735. data/lib/oci/core/models/create_cpe_details.rb +33 -6
  736. data/lib/oci/core/models/create_cross_connect_details.rb +2 -1
  737. data/lib/oci/core/models/create_cross_connect_group_details.rb +2 -1
  738. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +12 -9
  739. data/lib/oci/core/models/create_dhcp_details.rb +2 -1
  740. data/lib/oci/core/models/create_drg_attachment_details.rb +2 -1
  741. data/lib/oci/core/models/create_drg_details.rb +2 -1
  742. data/lib/oci/core/models/create_image_details.rb +3 -2
  743. data/lib/oci/core/models/create_instance_configuration_base.rb +2 -1
  744. data/lib/oci/core/models/create_instance_configuration_details.rb +2 -1
  745. data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +2 -1
  746. data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
  747. data/lib/oci/core/models/create_instance_pool_details.rb +7 -3
  748. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
  749. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
  750. data/lib/oci/core/models/create_ip_sec_connection_details.rb +6 -1
  751. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -4
  752. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
  753. data/lib/oci/core/models/create_ipv6_details.rb +3 -2
  754. data/lib/oci/core/models/create_local_peering_gateway_details.rb +2 -1
  755. data/lib/oci/core/models/create_nat_gateway_details.rb +21 -5
  756. data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
  757. data/lib/oci/core/models/create_private_ip_details.rb +25 -6
  758. data/lib/oci/core/models/create_public_ip_details.rb +20 -5
  759. data/lib/oci/core/models/create_public_ip_pool_details.rb +207 -0
  760. data/lib/oci/core/models/create_remote_peering_connection_details.rb +2 -1
  761. data/lib/oci/core/models/create_route_table_details.rb +2 -1
  762. data/lib/oci/core/models/create_security_list_details.rb +2 -1
  763. data/lib/oci/core/models/create_service_gateway_details.rb +2 -1
  764. data/lib/oci/core/models/create_subnet_details.rb +7 -3
  765. data/lib/oci/core/models/create_vcn_details.rb +27 -5
  766. data/lib/oci/core/models/create_virtual_circuit_details.rb +23 -3
  767. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
  768. data/lib/oci/core/models/create_vlan_details.rb +306 -0
  769. data/lib/oci/core/models/create_vnic_details.rb +51 -6
  770. data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
  771. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
  772. data/lib/oci/core/models/create_volume_backup_policy_details.rb +239 -0
  773. data/lib/oci/core/models/create_volume_details.rb +49 -6
  774. data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -1
  775. data/lib/oci/core/models/create_volume_group_details.rb +2 -1
  776. data/lib/oci/core/models/cross_connect.rb +3 -2
  777. data/lib/oci/core/models/cross_connect_group.rb +3 -2
  778. data/lib/oci/core/models/cross_connect_location.rb +2 -1
  779. data/lib/oci/core/models/cross_connect_mapping.rb +6 -3
  780. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
  781. data/lib/oci/core/models/cross_connect_status.rb +2 -1
  782. data/lib/oci/core/models/dedicated_vm_host.rb +13 -10
  783. data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +2 -1
  784. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +3 -2
  785. data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +2 -1
  786. data/lib/oci/core/models/dedicated_vm_host_summary.rb +3 -2
  787. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  788. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
  789. data/lib/oci/core/models/device.rb +2 -1
  790. data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
  791. data/lib/oci/core/models/dhcp_option.rb +2 -1
  792. data/lib/oci/core/models/dhcp_options.rb +3 -2
  793. data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
  794. data/lib/oci/core/models/drg.rb +3 -2
  795. data/lib/oci/core/models/drg_attachment.rb +3 -2
  796. data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
  797. data/lib/oci/core/models/egress_security_rule.rb +19 -6
  798. data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
  799. data/lib/oci/core/models/enum_integer_image_capability_descriptor.rb +176 -0
  800. data/lib/oci/core/models/enum_string_image_capability_schema_descriptor.rb +176 -0
  801. data/lib/oci/core/models/export_image_details.rb +2 -1
  802. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
  803. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  804. data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
  805. data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
  806. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +3 -2
  807. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
  808. data/lib/oci/core/models/i_scsi_volume_attachment.rb +12 -8
  809. data/lib/oci/core/models/icmp_options.rb +2 -1
  810. data/lib/oci/core/models/image.rb +4 -3
  811. data/lib/oci/core/models/image_capability_schema_descriptor.rb +204 -0
  812. data/lib/oci/core/models/image_memory_constraints.rb +168 -0
  813. data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
  814. data/lib/oci/core/models/image_shape_compatibility_entry.rb +190 -0
  815. data/lib/oci/core/models/image_shape_compatibility_summary.rb +190 -0
  816. data/lib/oci/core/models/image_source_details.rb +2 -1
  817. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
  818. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
  819. data/lib/oci/core/models/ingress_security_rule.rb +19 -6
  820. data/lib/oci/core/models/instance.rb +70 -9
  821. data/lib/oci/core/models/instance_agent_config.rb +23 -5
  822. data/lib/oci/core/models/instance_agent_features.rb +21 -5
  823. data/lib/oci/core/models/instance_availability_config.rb +181 -0
  824. data/lib/oci/core/models/instance_configuration.rb +3 -2
  825. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
  826. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +31 -2
  827. data/lib/oci/core/models/instance_configuration_availability_config.rb +181 -0
  828. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
  829. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
  830. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
  831. data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
  832. data/lib/oci/core/models/instance_configuration_instance_options.rb +157 -0
  833. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
  834. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
  835. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
  836. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +11 -2
  837. data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
  838. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +204 -27
  839. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +178 -0
  840. data/lib/oci/core/models/instance_configuration_launch_options.rb +334 -0
  841. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +31 -5
  842. data/lib/oci/core/models/instance_configuration_summary.rb +3 -2
  843. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
  844. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
  845. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
  846. data/lib/oci/core/models/instance_console_connection.rb +3 -2
  847. data/lib/oci/core/models/instance_credentials.rb +2 -1
  848. data/lib/oci/core/models/instance_options.rb +157 -0
  849. data/lib/oci/core/models/instance_pool.rb +11 -6
  850. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
  851. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
  852. data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
  853. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
  854. data/lib/oci/core/models/instance_pool_summary.rb +3 -2
  855. data/lib/oci/core/models/instance_shape_config.rb +290 -0
  856. data/lib/oci/core/models/instance_source_details.rb +2 -1
  857. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  858. data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
  859. data/lib/oci/core/models/instance_summary.rb +4 -3
  860. data/lib/oci/core/models/internet_gateway.rb +3 -2
  861. data/lib/oci/core/models/ip_sec_connection.rb +7 -2
  862. data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
  863. data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -2
  864. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +41 -6
  865. data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -3
  866. data/lib/oci/core/models/ipv6.rb +5 -5
  867. data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
  868. data/lib/oci/core/models/launch_instance_availability_config_details.rb +174 -0
  869. data/lib/oci/core/models/launch_instance_details.rb +77 -24
  870. data/lib/oci/core/models/launch_instance_shape_config_details.rb +177 -0
  871. data/lib/oci/core/models/launch_options.rb +23 -19
  872. data/lib/oci/core/models/letter_of_authority.rb +4 -3
  873. data/lib/oci/core/models/local_peering_gateway.rb +3 -2
  874. data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
  875. data/lib/oci/core/models/nat_gateway.rb +22 -6
  876. data/lib/oci/core/models/network_security_group.rb +3 -2
  877. data/lib/oci/core/models/network_security_group_vnic.rb +3 -2
  878. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
  879. data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
  880. data/lib/oci/core/models/port_range.rb +2 -1
  881. data/lib/oci/core/models/private_ip.rb +37 -3
  882. data/lib/oci/core/models/public_ip.rb +22 -7
  883. data/lib/oci/core/models/public_ip_pool.rb +285 -0
  884. data/lib/oci/core/models/public_ip_pool_collection.rb +150 -0
  885. data/lib/oci/core/models/public_ip_pool_summary.rb +248 -0
  886. data/lib/oci/core/models/remote_peering_connection.rb +3 -2
  887. data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
  888. data/lib/oci/core/models/remove_public_ip_pool_capacity_details.rb +156 -0
  889. data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
  890. data/lib/oci/core/models/route_rule.rb +19 -7
  891. data/lib/oci/core/models/route_table.rb +3 -2
  892. data/lib/oci/core/models/security_list.rb +3 -3
  893. data/lib/oci/core/models/security_rule.rb +7 -4
  894. data/lib/oci/core/models/service.rb +2 -1
  895. data/lib/oci/core/models/service_gateway.rb +3 -3
  896. data/lib/oci/core/models/service_id_request_details.rb +2 -1
  897. data/lib/oci/core/models/service_id_response_details.rb +2 -1
  898. data/lib/oci/core/models/shape.rb +208 -6
  899. data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +180 -0
  900. data/lib/oci/core/models/shape_memory_options.rb +218 -0
  901. data/lib/oci/core/models/shape_networking_bandwidth_options.rb +188 -0
  902. data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
  903. data/lib/oci/core/models/subnet.rb +8 -6
  904. data/lib/oci/core/models/tcp_options.rb +2 -1
  905. data/lib/oci/core/models/tunnel_config.rb +4 -5
  906. data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
  907. data/lib/oci/core/models/tunnel_status.rb +5 -4
  908. data/lib/oci/core/models/udp_options.rb +2 -1
  909. data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
  910. data/lib/oci/core/models/update_boot_volume_details.rb +44 -5
  911. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
  912. data/lib/oci/core/models/update_byoip_range_details.rb +192 -0
  913. data/lib/oci/core/models/update_cluster_network_details.rb +192 -0
  914. data/lib/oci/core/models/update_compute_image_capability_schema_details.rb +206 -0
  915. data/lib/oci/core/models/update_console_history_details.rb +2 -1
  916. data/lib/oci/core/models/update_cpe_details.rb +31 -5
  917. data/lib/oci/core/models/update_cross_connect_details.rb +2 -1
  918. data/lib/oci/core/models/update_cross_connect_group_details.rb +2 -1
  919. data/lib/oci/core/models/update_dedicated_vm_host_details.rb +3 -2
  920. data/lib/oci/core/models/update_dhcp_details.rb +2 -1
  921. data/lib/oci/core/models/update_drg_attachment_details.rb +2 -1
  922. data/lib/oci/core/models/update_drg_details.rb +2 -1
  923. data/lib/oci/core/models/update_image_details.rb +2 -1
  924. data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
  925. data/lib/oci/core/models/update_instance_availability_config_details.rb +174 -0
  926. data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
  927. data/lib/oci/core/models/update_instance_console_connection_details.rb +177 -0
  928. data/lib/oci/core/models/update_instance_details.rb +98 -33
  929. data/lib/oci/core/models/update_instance_pool_details.rb +5 -2
  930. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
  931. data/lib/oci/core/models/update_instance_shape_config_details.rb +174 -0
  932. data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
  933. data/lib/oci/core/models/update_ip_sec_connection_details.rb +6 -1
  934. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
  935. data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -3
  936. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
  937. data/lib/oci/core/models/update_ipv6_details.rb +2 -1
  938. data/lib/oci/core/models/update_launch_options.rb +248 -0
  939. data/lib/oci/core/models/update_local_peering_gateway_details.rb +2 -1
  940. data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
  941. data/lib/oci/core/models/update_network_security_group_details.rb +2 -1
  942. data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
  943. data/lib/oci/core/models/update_private_ip_details.rb +2 -1
  944. data/lib/oci/core/models/update_public_ip_details.rb +2 -1
  945. data/lib/oci/core/models/update_public_ip_pool_details.rb +192 -0
  946. data/lib/oci/core/models/update_remote_peering_connection_details.rb +2 -1
  947. data/lib/oci/core/models/update_route_table_details.rb +2 -1
  948. data/lib/oci/core/models/update_security_list_details.rb +2 -1
  949. data/lib/oci/core/models/update_security_rule_details.rb +6 -3
  950. data/lib/oci/core/models/update_service_gateway_details.rb +2 -2
  951. data/lib/oci/core/models/update_subnet_details.rb +29 -5
  952. data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
  953. data/lib/oci/core/models/update_vcn_details.rb +2 -1
  954. data/lib/oci/core/models/update_virtual_circuit_details.rb +22 -3
  955. data/lib/oci/core/models/update_vlan_details.rb +246 -0
  956. data/lib/oci/core/models/update_vnic_details.rb +11 -3
  957. data/lib/oci/core/models/update_volume_backup_details.rb +2 -1
  958. data/lib/oci/core/models/update_volume_backup_policy_details.rb +226 -0
  959. data/lib/oci/core/models/update_volume_details.rb +46 -5
  960. data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -1
  961. data/lib/oci/core/models/update_volume_group_details.rb +2 -1
  962. data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
  963. data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
  964. data/lib/oci/core/models/vcn.rb +23 -5
  965. data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
  966. data/lib/oci/core/models/virtual_circuit.rb +23 -5
  967. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
  968. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
  969. data/lib/oci/core/models/vlan.rb +378 -0
  970. data/lib/oci/core/models/vnic.rb +45 -7
  971. data/lib/oci/core/models/vnic_attachment.rb +28 -4
  972. data/lib/oci/core/models/volume.rb +79 -7
  973. data/lib/oci/core/models/volume_attachment.rb +18 -3
  974. data/lib/oci/core/models/volume_backup.rb +23 -6
  975. data/lib/oci/core/models/volume_backup_policy.rb +73 -6
  976. data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
  977. data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
  978. data/lib/oci/core/models/volume_group.rb +4 -3
  979. data/lib/oci/core/models/volume_group_backup.rb +4 -3
  980. data/lib/oci/core/models/volume_group_source_details.rb +2 -1
  981. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
  982. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
  983. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
  984. data/lib/oci/core/models/volume_kms_key.rb +4 -3
  985. data/lib/oci/core/models/volume_source_details.rb +2 -1
  986. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
  987. data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
  988. data/lib/oci/core/util.rb +2 -1
  989. data/lib/oci/core/virtual_network_client.rb +3537 -876
  990. data/lib/oci/core/virtual_network_client_composite_operations.rb +439 -1
  991. data/lib/oci/data_catalog/data_catalog.rb +173 -0
  992. data/lib/oci/data_catalog/data_catalog_client.rb +9788 -0
  993. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +2001 -0
  994. data/lib/oci/data_catalog/models/attach_catalog_private_endpoint_details.rb +154 -0
  995. data/lib/oci/data_catalog/models/attribute.rb +541 -0
  996. data/lib/oci/data_catalog/models/attribute_collection.rb +161 -0
  997. data/lib/oci/data_catalog/models/attribute_summary.rb +405 -0
  998. data/lib/oci/data_catalog/models/attribute_tag.rb +296 -0
  999. data/lib/oci/data_catalog/models/attribute_tag_collection.rb +161 -0
  1000. data/lib/oci/data_catalog/models/attribute_tag_summary.rb +296 -0
  1001. data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
  1002. data/lib/oci/data_catalog/models/base_tag.rb +275 -0
  1003. data/lib/oci/data_catalog/models/base_tag_summary.rb +275 -0
  1004. data/lib/oci/data_catalog/models/catalog.rb +352 -0
  1005. data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
  1006. data/lib/oci/data_catalog/models/catalog_private_endpoint.rb +336 -0
  1007. data/lib/oci/data_catalog/models/catalog_private_endpoint_summary.rb +336 -0
  1008. data/lib/oci/data_catalog/models/catalog_summary.rb +320 -0
  1009. data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
  1010. data/lib/oci/data_catalog/models/change_catalog_private_endpoint_compartment_details.rb +154 -0
  1011. data/lib/oci/data_catalog/models/connection.rb +384 -0
  1012. data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
  1013. data/lib/oci/data_catalog/models/connection_collection.rb +161 -0
  1014. data/lib/oci/data_catalog/models/connection_result.rb +11 -0
  1015. data/lib/oci/data_catalog/models/connection_summary.rb +298 -0
  1016. data/lib/oci/data_catalog/models/create_attribute_details.rb +357 -0
  1017. data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
  1018. data/lib/oci/data_catalog/models/create_catalog_private_endpoint_details.rb +231 -0
  1019. data/lib/oci/data_catalog/models/create_connection_details.rb +252 -0
  1020. data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
  1021. data/lib/oci/data_catalog/models/create_data_asset_details.rb +212 -0
  1022. data/lib/oci/data_catalog/models/create_entity_details.rb +333 -0
  1023. data/lib/oci/data_catalog/models/create_folder_details.rb +269 -0
  1024. data/lib/oci/data_catalog/models/create_glossary_details.rb +219 -0
  1025. data/lib/oci/data_catalog/models/create_job_definition_details.rb +298 -0
  1026. data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
  1027. data/lib/oci/data_catalog/models/create_job_execution_details.rb +386 -0
  1028. data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
  1029. data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
  1030. data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
  1031. data/lib/oci/data_catalog/models/create_term_details.rb +249 -0
  1032. data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
  1033. data/lib/oci/data_catalog/models/custom_property.rb +506 -0
  1034. data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
  1035. data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
  1036. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
  1037. data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
  1038. data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
  1039. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
  1040. data/lib/oci/data_catalog/models/data_asset.rb +374 -0
  1041. data/lib/oci/data_catalog/models/data_asset_collection.rb +161 -0
  1042. data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
  1043. data/lib/oci/data_catalog/models/data_asset_summary.rb +288 -0
  1044. data/lib/oci/data_catalog/models/data_asset_tag.rb +296 -0
  1045. data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +161 -0
  1046. data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +296 -0
  1047. data/lib/oci/data_catalog/models/data_selector_pattern_details.rb +151 -0
  1048. data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
  1049. data/lib/oci/data_catalog/models/detach_catalog_private_endpoint_details.rb +154 -0
  1050. data/lib/oci/data_catalog/models/entity.rb +532 -0
  1051. data/lib/oci/data_catalog/models/entity_collection.rb +161 -0
  1052. data/lib/oci/data_catalog/models/entity_summary.rb +368 -0
  1053. data/lib/oci/data_catalog/models/entity_tag.rb +296 -0
  1054. data/lib/oci/data_catalog/models/entity_tag_collection.rb +161 -0
  1055. data/lib/oci/data_catalog/models/entity_tag_summary.rb +296 -0
  1056. data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
  1057. data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
  1058. data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
  1059. data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
  1060. data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
  1061. data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
  1062. data/lib/oci/data_catalog/models/folder.rb +433 -0
  1063. data/lib/oci/data_catalog/models/folder_collection.rb +161 -0
  1064. data/lib/oci/data_catalog/models/folder_summary.rb +313 -0
  1065. data/lib/oci/data_catalog/models/folder_tag.rb +296 -0
  1066. data/lib/oci/data_catalog/models/folder_tag_collection.rb +161 -0
  1067. data/lib/oci/data_catalog/models/folder_tag_summary.rb +296 -0
  1068. data/lib/oci/data_catalog/models/glossary.rb +424 -0
  1069. data/lib/oci/data_catalog/models/glossary_collection.rb +161 -0
  1070. data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
  1071. data/lib/oci/data_catalog/models/glossary_summary.rb +357 -0
  1072. data/lib/oci/data_catalog/models/glossary_tree_element.rb +359 -0
  1073. data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
  1074. data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
  1075. data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
  1076. data/lib/oci/data_catalog/models/job.rb +536 -0
  1077. data/lib/oci/data_catalog/models/job_collection.rb +161 -0
  1078. data/lib/oci/data_catalog/models/job_definition.rb +550 -0
  1079. data/lib/oci/data_catalog/models/job_definition_collection.rb +161 -0
  1080. data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
  1081. data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
  1082. data/lib/oci/data_catalog/models/job_definition_summary.rb +436 -0
  1083. data/lib/oci/data_catalog/models/job_execution.rb +477 -0
  1084. data/lib/oci/data_catalog/models/job_execution_collection.rb +161 -0
  1085. data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
  1086. data/lib/oci/data_catalog/models/job_execution_summary.rb +332 -0
  1087. data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
  1088. data/lib/oci/data_catalog/models/job_log.rb +259 -0
  1089. data/lib/oci/data_catalog/models/job_log_collection.rb +161 -0
  1090. data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
  1091. data/lib/oci/data_catalog/models/job_metric.rb +337 -0
  1092. data/lib/oci/data_catalog/models/job_metric_collection.rb +161 -0
  1093. data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
  1094. data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
  1095. data/lib/oci/data_catalog/models/job_summary.rb +484 -0
  1096. data/lib/oci/data_catalog/models/job_type.rb +24 -0
  1097. data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
  1098. data/lib/oci/data_catalog/models/namespace.rb +290 -0
  1099. data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
  1100. data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
  1101. data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
  1102. data/lib/oci/data_catalog/models/pattern.rb +368 -0
  1103. data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
  1104. data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
  1105. data/lib/oci/data_catalog/models/property_definition.rb +188 -0
  1106. data/lib/oci/data_catalog/models/search_criteria.rb +194 -0
  1107. data/lib/oci/data_catalog/models/search_result.rb +515 -0
  1108. data/lib/oci/data_catalog/models/search_result_collection.rb +186 -0
  1109. data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
  1110. data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
  1111. data/lib/oci/data_catalog/models/term.rb +429 -0
  1112. data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
  1113. data/lib/oci/data_catalog/models/term_collection.rb +161 -0
  1114. data/lib/oci/data_catalog/models/term_relationship.rb +355 -0
  1115. data/lib/oci/data_catalog/models/term_relationship_collection.rb +161 -0
  1116. data/lib/oci/data_catalog/models/term_relationship_summary.rb +355 -0
  1117. data/lib/oci/data_catalog/models/term_summary.rb +348 -0
  1118. data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
  1119. data/lib/oci/data_catalog/models/type.rb +349 -0
  1120. data/lib/oci/data_catalog/models/type_collection.rb +161 -0
  1121. data/lib/oci/data_catalog/models/type_custom_property_details.rb +154 -0
  1122. data/lib/oci/data_catalog/models/type_summary.rb +250 -0
  1123. data/lib/oci/data_catalog/models/update_attribute_details.rb +353 -0
  1124. data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
  1125. data/lib/oci/data_catalog/models/update_catalog_private_endpoint_details.rb +202 -0
  1126. data/lib/oci/data_catalog/models/update_connection_details.rb +234 -0
  1127. data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
  1128. data/lib/oci/data_catalog/models/update_data_asset_details.rb +195 -0
  1129. data/lib/oci/data_catalog/models/update_entity_details.rb +329 -0
  1130. data/lib/oci/data_catalog/models/update_folder_details.rb +269 -0
  1131. data/lib/oci/data_catalog/models/update_glossary_details.rb +219 -0
  1132. data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
  1133. data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
  1134. data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
  1135. data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
  1136. data/lib/oci/data_catalog/models/update_term_details.rb +233 -0
  1137. data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
  1138. data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
  1139. data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
  1140. data/lib/oci/data_catalog/models/validate_connection_result.rb +180 -0
  1141. data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
  1142. data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
  1143. data/lib/oci/data_catalog/models/work_request.rb +314 -0
  1144. data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
  1145. data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
  1146. data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
  1147. data/lib/oci/data_catalog/util.rb +3 -0
  1148. data/lib/oci/data_flow/data_flow.rb +52 -0
  1149. data/lib/oci/data_flow/data_flow_client.rb +1762 -0
  1150. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +475 -0
  1151. data/lib/oci/data_flow/models/application.rb +559 -0
  1152. data/lib/oci/data_flow/models/application_language.rb +13 -0
  1153. data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
  1154. data/lib/oci/data_flow/models/application_parameter.rb +166 -0
  1155. data/lib/oci/data_flow/models/application_summary.rb +346 -0
  1156. data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
  1157. data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +156 -0
  1158. data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
  1159. data/lib/oci/data_flow/models/create_application_details.rb +443 -0
  1160. data/lib/oci/data_flow/models/create_private_endpoint_details.rb +279 -0
  1161. data/lib/oci/data_flow/models/create_run_details.rb +359 -0
  1162. data/lib/oci/data_flow/models/private_endpoint.rb +408 -0
  1163. data/lib/oci/data_flow/models/private_endpoint_collection.rb +152 -0
  1164. data/lib/oci/data_flow/models/private_endpoint_lifecycle_state.rb +16 -0
  1165. data/lib/oci/data_flow/models/private_endpoint_summary.rb +382 -0
  1166. data/lib/oci/data_flow/models/run.rb +721 -0
  1167. data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
  1168. data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
  1169. data/lib/oci/data_flow/models/run_summary.rb +455 -0
  1170. data/lib/oci/data_flow/models/update_application_details.rb +428 -0
  1171. data/lib/oci/data_flow/models/update_private_endpoint_details.rb +249 -0
  1172. data/lib/oci/data_flow/models/update_run_details.rb +174 -0
  1173. data/lib/oci/data_flow/models/work_request.rb +308 -0
  1174. data/lib/oci/data_flow/models/work_request_collection.rb +152 -0
  1175. data/lib/oci/data_flow/models/work_request_error.rb +199 -0
  1176. data/lib/oci/data_flow/models/work_request_error_collection.rb +152 -0
  1177. data/lib/oci/data_flow/models/work_request_log.rb +187 -0
  1178. data/lib/oci/data_flow/models/work_request_log_collection.rb +152 -0
  1179. data/lib/oci/data_flow/models/work_request_operation.rb +13 -0
  1180. data/lib/oci/data_flow/models/work_request_resource.rb +250 -0
  1181. data/lib/oci/data_flow/models/work_request_status.rb +15 -0
  1182. data/lib/oci/data_flow/models/work_request_summary.rb +308 -0
  1183. data/lib/oci/data_flow/util.rb +3 -0
  1184. data/lib/oci/data_integration/data_integration.rb +318 -0
  1185. data/lib/oci/data_integration/data_integration_client.rb +6423 -0
  1186. data/lib/oci/data_integration/data_integration_client_composite_operations.rb +321 -0
  1187. data/lib/oci/data_integration/models/abstract_data_operation_config.rb +184 -0
  1188. data/lib/oci/data_integration/models/abstract_field.rb +173 -0
  1189. data/lib/oci/data_integration/models/abstract_format_attribute.rb +193 -0
  1190. data/lib/oci/data_integration/models/abstract_read_attribute.rb +190 -0
  1191. data/lib/oci/data_integration/models/abstract_write_attribute.rb +196 -0
  1192. data/lib/oci/data_integration/models/aggregator.rb +209 -0
  1193. data/lib/oci/data_integration/models/application.rb +343 -0
  1194. data/lib/oci/data_integration/models/application_details.rb +272 -0
  1195. data/lib/oci/data_integration/models/application_summary.rb +340 -0
  1196. data/lib/oci/data_integration/models/application_summary_collection.rb +150 -0
  1197. data/lib/oci/data_integration/models/avro_format_attribute.rb +158 -0
  1198. data/lib/oci/data_integration/models/base_type.rb +270 -0
  1199. data/lib/oci/data_integration/models/change_compartment_details.rb +154 -0
  1200. data/lib/oci/data_integration/models/child_reference.rb +270 -0
  1201. data/lib/oci/data_integration/models/child_reference_detail.rb +164 -0
  1202. data/lib/oci/data_integration/models/composite_field_map.rb +230 -0
  1203. data/lib/oci/data_integration/models/composite_type.rb +208 -0
  1204. data/lib/oci/data_integration/models/conditional_input_link.rb +207 -0
  1205. data/lib/oci/data_integration/models/config_definition.rb +243 -0
  1206. data/lib/oci/data_integration/models/config_parameter_definition.rb +233 -0
  1207. data/lib/oci/data_integration/models/config_parameter_value.rb +196 -0
  1208. data/lib/oci/data_integration/models/config_provider.rb +164 -0
  1209. data/lib/oci/data_integration/models/config_values.rb +167 -0
  1210. data/lib/oci/data_integration/models/configuration_details.rb +185 -0
  1211. data/lib/oci/data_integration/models/configured_type.rb +212 -0
  1212. data/lib/oci/data_integration/models/connection.rb +360 -0
  1213. data/lib/oci/data_integration/models/connection_details.rb +339 -0
  1214. data/lib/oci/data_integration/models/connection_from_adwc.rb +220 -0
  1215. data/lib/oci/data_integration/models/connection_from_adwc_details.rb +216 -0
  1216. data/lib/oci/data_integration/models/connection_from_atp.rb +220 -0
  1217. data/lib/oci/data_integration/models/connection_from_atp_details.rb +216 -0
  1218. data/lib/oci/data_integration/models/connection_from_jdbc.rb +210 -0
  1219. data/lib/oci/data_integration/models/connection_from_jdbc_details.rb +206 -0
  1220. data/lib/oci/data_integration/models/connection_from_my_sql.rb +210 -0
  1221. data/lib/oci/data_integration/models/connection_from_my_sql_details.rb +206 -0
  1222. data/lib/oci/data_integration/models/connection_from_object_storage.rb +256 -0
  1223. data/lib/oci/data_integration/models/connection_from_object_storage_details.rb +252 -0
  1224. data/lib/oci/data_integration/models/connection_from_oracle.rb +220 -0
  1225. data/lib/oci/data_integration/models/connection_from_oracle_details.rb +217 -0
  1226. data/lib/oci/data_integration/models/connection_property.rb +160 -0
  1227. data/lib/oci/data_integration/models/connection_summary.rb +360 -0
  1228. data/lib/oci/data_integration/models/connection_summary_collection.rb +150 -0
  1229. data/lib/oci/data_integration/models/connection_summary_from_adwc.rb +220 -0
  1230. data/lib/oci/data_integration/models/connection_summary_from_atp.rb +220 -0
  1231. data/lib/oci/data_integration/models/connection_summary_from_jdbc.rb +210 -0
  1232. data/lib/oci/data_integration/models/connection_summary_from_my_sql.rb +210 -0
  1233. data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +256 -0
  1234. data/lib/oci/data_integration/models/connection_summary_from_oracle.rb +221 -0
  1235. data/lib/oci/data_integration/models/connection_validation.rb +271 -0
  1236. data/lib/oci/data_integration/models/connection_validation_summary.rb +268 -0
  1237. data/lib/oci/data_integration/models/connection_validation_summary_collection.rb +150 -0
  1238. data/lib/oci/data_integration/models/count_statistic.rb +154 -0
  1239. data/lib/oci/data_integration/models/count_statistic_summary.rb +193 -0
  1240. data/lib/oci/data_integration/models/create_application_details.rb +260 -0
  1241. data/lib/oci/data_integration/models/create_config_provider.rb +150 -0
  1242. data/lib/oci/data_integration/models/create_connection_details.rb +300 -0
  1243. data/lib/oci/data_integration/models/create_connection_from_adwc.rb +204 -0
  1244. data/lib/oci/data_integration/models/create_connection_from_atp.rb +204 -0
  1245. data/lib/oci/data_integration/models/create_connection_from_jdbc.rb +204 -0
  1246. data/lib/oci/data_integration/models/create_connection_from_my_sql.rb +204 -0
  1247. data/lib/oci/data_integration/models/create_connection_from_object_storage.rb +240 -0
  1248. data/lib/oci/data_integration/models/create_connection_from_oracle.rb +204 -0
  1249. data/lib/oci/data_integration/models/create_connection_validation_details.rb +175 -0
  1250. data/lib/oci/data_integration/models/create_data_asset_details.rb +301 -0
  1251. data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +239 -0
  1252. data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +239 -0
  1253. data/lib/oci/data_integration/models/create_data_asset_from_jdbc.rb +231 -0
  1254. data/lib/oci/data_integration/models/create_data_asset_from_my_sql.rb +231 -0
  1255. data/lib/oci/data_integration/models/create_data_asset_from_object_storage.rb +231 -0
  1256. data/lib/oci/data_integration/models/create_data_asset_from_oracle.rb +269 -0
  1257. data/lib/oci/data_integration/models/create_data_flow_details.rb +268 -0
  1258. data/lib/oci/data_integration/models/create_data_flow_validation_details.rb +302 -0
  1259. data/lib/oci/data_integration/models/create_entity_shape_details.rb +182 -0
  1260. data/lib/oci/data_integration/models/create_entity_shape_from_file.rb +389 -0
  1261. data/lib/oci/data_integration/models/create_external_publication_details.rb +218 -0
  1262. data/lib/oci/data_integration/models/create_external_publication_validation_details.rb +150 -0
  1263. data/lib/oci/data_integration/models/create_folder_details.rb +236 -0
  1264. data/lib/oci/data_integration/models/create_patch_details.rb +263 -0
  1265. data/lib/oci/data_integration/models/create_project_details.rb +221 -0
  1266. data/lib/oci/data_integration/models/create_source_application_info.rb +168 -0
  1267. data/lib/oci/data_integration/models/create_task_details.rb +343 -0
  1268. data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +213 -0
  1269. data/lib/oci/data_integration/models/create_task_from_integration_task.rb +213 -0
  1270. data/lib/oci/data_integration/models/create_task_run_details.rb +234 -0
  1271. data/lib/oci/data_integration/models/create_task_validation_details.rb +352 -0
  1272. data/lib/oci/data_integration/models/create_task_validation_from_data_loader_task.rb +217 -0
  1273. data/lib/oci/data_integration/models/create_task_validation_from_integration_task.rb +217 -0
  1274. data/lib/oci/data_integration/models/create_workspace_details.rb +282 -0
  1275. data/lib/oci/data_integration/models/csv_format_attribute.rb +238 -0
  1276. data/lib/oci/data_integration/models/data_asset.rb +358 -0
  1277. data/lib/oci/data_integration/models/data_asset_from_adwc_details.rb +255 -0
  1278. data/lib/oci/data_integration/models/data_asset_from_atp_details.rb +255 -0
  1279. data/lib/oci/data_integration/models/data_asset_from_jdbc.rb +247 -0
  1280. data/lib/oci/data_integration/models/data_asset_from_my_sql.rb +247 -0
  1281. data/lib/oci/data_integration/models/data_asset_from_object_storage_details.rb +247 -0
  1282. data/lib/oci/data_integration/models/data_asset_from_oracle_details.rb +285 -0
  1283. data/lib/oci/data_integration/models/data_asset_summary.rb +344 -0
  1284. data/lib/oci/data_integration/models/data_asset_summary_collection.rb +150 -0
  1285. data/lib/oci/data_integration/models/data_asset_summary_from_adwc.rb +251 -0
  1286. data/lib/oci/data_integration/models/data_asset_summary_from_atp.rb +251 -0
  1287. data/lib/oci/data_integration/models/data_asset_summary_from_jdbc.rb +243 -0
  1288. data/lib/oci/data_integration/models/data_asset_summary_from_my_sql.rb +243 -0
  1289. data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +243 -0
  1290. data/lib/oci/data_integration/models/data_asset_summary_from_oracle.rb +281 -0
  1291. data/lib/oci/data_integration/models/data_entity.rb +202 -0
  1292. data/lib/oci/data_integration/models/data_entity_details.rb +186 -0
  1293. data/lib/oci/data_integration/models/data_entity_from_file.rb +400 -0
  1294. data/lib/oci/data_integration/models/data_entity_from_file_entity_details.rb +389 -0
  1295. data/lib/oci/data_integration/models/data_entity_from_table.rb +387 -0
  1296. data/lib/oci/data_integration/models/data_entity_from_table_entity_details.rb +376 -0
  1297. data/lib/oci/data_integration/models/data_entity_from_view.rb +387 -0
  1298. data/lib/oci/data_integration/models/data_entity_from_view_entity_details.rb +376 -0
  1299. data/lib/oci/data_integration/models/data_entity_summary.rb +202 -0
  1300. data/lib/oci/data_integration/models/data_entity_summary_collection.rb +150 -0
  1301. data/lib/oci/data_integration/models/data_entity_summary_from_file.rb +400 -0
  1302. data/lib/oci/data_integration/models/data_entity_summary_from_table.rb +387 -0
  1303. data/lib/oci/data_integration/models/data_entity_summary_from_view.rb +387 -0
  1304. data/lib/oci/data_integration/models/data_flow.rb +305 -0
  1305. data/lib/oci/data_integration/models/data_flow_details.rb +295 -0
  1306. data/lib/oci/data_integration/models/data_flow_summary.rb +302 -0
  1307. data/lib/oci/data_integration/models/data_flow_summary_collection.rb +150 -0
  1308. data/lib/oci/data_integration/models/data_flow_validation.rb +328 -0
  1309. data/lib/oci/data_integration/models/data_flow_validation_summary.rb +325 -0
  1310. data/lib/oci/data_integration/models/data_flow_validation_summary_collection.rb +150 -0
  1311. data/lib/oci/data_integration/models/data_format.rb +187 -0
  1312. data/lib/oci/data_integration/models/data_type.rb +233 -0
  1313. data/lib/oci/data_integration/models/dependent_object.rb +339 -0
  1314. data/lib/oci/data_integration/models/dependent_object_summary.rb +303 -0
  1315. data/lib/oci/data_integration/models/dependent_object_summary_collection.rb +150 -0
  1316. data/lib/oci/data_integration/models/derived_field.rb +205 -0
  1317. data/lib/oci/data_integration/models/derived_type.rb +169 -0
  1318. data/lib/oci/data_integration/models/direct_field_map.rb +244 -0
  1319. data/lib/oci/data_integration/models/direct_named_field_map.rb +272 -0
  1320. data/lib/oci/data_integration/models/distinct.rb +193 -0
  1321. data/lib/oci/data_integration/models/dynamic_input_field.rb +195 -0
  1322. data/lib/oci/data_integration/models/dynamic_proxy_field.rb +195 -0
  1323. data/lib/oci/data_integration/models/dynamic_type.rb +198 -0
  1324. data/lib/oci/data_integration/models/dynamic_type_handler.rb +189 -0
  1325. data/lib/oci/data_integration/models/enriched_entity.rb +162 -0
  1326. data/lib/oci/data_integration/models/entity_shape.rb +198 -0
  1327. data/lib/oci/data_integration/models/entity_shape_from_file.rb +400 -0
  1328. data/lib/oci/data_integration/models/error_details.rb +162 -0
  1329. data/lib/oci/data_integration/models/expression.rb +232 -0
  1330. data/lib/oci/data_integration/models/external_publication.rb +385 -0
  1331. data/lib/oci/data_integration/models/external_publication_summary.rb +382 -0
  1332. data/lib/oci/data_integration/models/external_publication_summary_collection.rb +150 -0
  1333. data/lib/oci/data_integration/models/external_publication_validation.rb +220 -0
  1334. data/lib/oci/data_integration/models/external_publication_validation_summary.rb +217 -0
  1335. data/lib/oci/data_integration/models/external_publication_validation_summary_collection.rb +150 -0
  1336. data/lib/oci/data_integration/models/field_map.rb +205 -0
  1337. data/lib/oci/data_integration/models/filter.rb +209 -0
  1338. data/lib/oci/data_integration/models/filter_push.rb +162 -0
  1339. data/lib/oci/data_integration/models/flow_node.rb +288 -0
  1340. data/lib/oci/data_integration/models/flow_port.rb +173 -0
  1341. data/lib/oci/data_integration/models/flow_port_link.rb +257 -0
  1342. data/lib/oci/data_integration/models/folder.rb +287 -0
  1343. data/lib/oci/data_integration/models/folder_details.rb +276 -0
  1344. data/lib/oci/data_integration/models/folder_summary.rb +284 -0
  1345. data/lib/oci/data_integration/models/folder_summary_collection.rb +150 -0
  1346. data/lib/oci/data_integration/models/foreign_key.rb +264 -0
  1347. data/lib/oci/data_integration/models/input_field.rb +195 -0
  1348. data/lib/oci/data_integration/models/input_link.rb +200 -0
  1349. data/lib/oci/data_integration/models/input_port.rb +221 -0
  1350. data/lib/oci/data_integration/models/java_type.rb +199 -0
  1351. data/lib/oci/data_integration/models/join.rb +190 -0
  1352. data/lib/oci/data_integration/models/joiner.rb +245 -0
  1353. data/lib/oci/data_integration/models/json_format_attribute.rb +158 -0
  1354. data/lib/oci/data_integration/models/key.rb +192 -0
  1355. data/lib/oci/data_integration/models/key_attribute.rb +159 -0
  1356. data/lib/oci/data_integration/models/key_range.rb +159 -0
  1357. data/lib/oci/data_integration/models/key_range_partition_config.rb +175 -0
  1358. data/lib/oci/data_integration/models/macro_field.rb +231 -0
  1359. data/lib/oci/data_integration/models/message.rb +191 -0
  1360. data/lib/oci/data_integration/models/name_list_rule.rb +306 -0
  1361. data/lib/oci/data_integration/models/name_pattern_rule.rb +306 -0
  1362. data/lib/oci/data_integration/models/native_shape_field.rb +225 -0
  1363. data/lib/oci/data_integration/models/object_metadata.rb +306 -0
  1364. data/lib/oci/data_integration/models/operator.rb +349 -0
  1365. data/lib/oci/{streaming/models/update_archiver_details.rb → data_integration/models/oracle_adwc_write_attribute.rb} +41 -61
  1366. data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +191 -0
  1367. data/lib/oci/{streaming/models/create_archiver_details.rb → data_integration/models/oracle_atp_write_attribute.rb} +41 -62
  1368. data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +191 -0
  1369. data/lib/oci/data_integration/models/oracle_read_attribute.rb +162 -0
  1370. data/lib/oci/data_integration/models/oracle_read_attributes.rb +151 -0
  1371. data/lib/oci/data_integration/models/oracle_write_attribute.rb +190 -0
  1372. data/lib/oci/data_integration/models/oracle_write_attributes.rb +179 -0
  1373. data/lib/oci/data_integration/models/output_field.rb +195 -0
  1374. data/lib/oci/data_integration/models/output_link.rb +186 -0
  1375. data/lib/oci/data_integration/models/output_port.rb +221 -0
  1376. data/lib/oci/data_integration/models/parameter.rb +291 -0
  1377. data/lib/oci/data_integration/models/parameter_value.rb +168 -0
  1378. data/lib/oci/data_integration/models/parent_reference.rb +150 -0
  1379. data/lib/oci/data_integration/models/partition_config.rb +189 -0
  1380. data/lib/oci/data_integration/models/patch.rb +412 -0
  1381. data/lib/oci/data_integration/models/patch_change_summary.rb +255 -0
  1382. data/lib/oci/data_integration/models/patch_change_summary_collection.rb +150 -0
  1383. data/lib/oci/data_integration/models/patch_object_metadata.rb +258 -0
  1384. data/lib/oci/data_integration/models/patch_summary.rb +409 -0
  1385. data/lib/oci/data_integration/models/patch_summary_collection.rb +150 -0
  1386. data/lib/oci/data_integration/models/primary_key.rb +212 -0
  1387. data/lib/oci/data_integration/models/project.rb +273 -0
  1388. data/lib/oci/data_integration/models/project_details.rb +262 -0
  1389. data/lib/oci/data_integration/models/project_summary.rb +270 -0
  1390. data/lib/oci/data_integration/models/project_summary_collection.rb +150 -0
  1391. data/lib/oci/data_integration/models/projection.rb +193 -0
  1392. data/lib/oci/data_integration/models/projection_rule.rb +285 -0
  1393. data/lib/oci/data_integration/models/proxy_field.rb +205 -0
  1394. data/lib/oci/data_integration/models/published_object.rb +286 -0
  1395. data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +257 -0
  1396. data/lib/oci/data_integration/models/published_object_from_integration_task.rb +257 -0
  1397. data/lib/oci/data_integration/models/published_object_summary.rb +295 -0
  1398. data/lib/oci/data_integration/models/published_object_summary_collection.rb +150 -0
  1399. data/lib/oci/data_integration/models/published_object_summary_from_data_loader_task.rb +261 -0
  1400. data/lib/oci/data_integration/models/published_object_summary_from_integration_task.rb +261 -0
  1401. data/lib/oci/data_integration/models/push_down_operation.rb +197 -0
  1402. data/lib/oci/data_integration/models/query.rb +158 -0
  1403. data/lib/oci/data_integration/models/read_operation_config.rb +249 -0
  1404. data/lib/oci/data_integration/models/reference.rb +284 -0
  1405. data/lib/oci/data_integration/models/reference_summary.rb +284 -0
  1406. data/lib/oci/data_integration/models/reference_summary_collection.rb +150 -0
  1407. data/lib/oci/data_integration/models/reference_used_by.rb +174 -0
  1408. data/lib/oci/data_integration/models/registry_metadata.rb +204 -0
  1409. data/lib/oci/data_integration/models/rename_rule.rb +218 -0
  1410. data/lib/oci/data_integration/models/resource_configuration.rb +196 -0
  1411. data/lib/oci/data_integration/models/root_object.rb +205 -0
  1412. data/lib/oci/data_integration/models/rule_based_field_map.rb +319 -0
  1413. data/lib/oci/data_integration/models/rule_type_config.rb +251 -0
  1414. data/lib/oci/data_integration/models/schema.rb +314 -0
  1415. data/lib/oci/data_integration/models/schema_summary.rb +311 -0
  1416. data/lib/oci/data_integration/models/schema_summary_collection.rb +150 -0
  1417. data/lib/oci/data_integration/models/select.rb +176 -0
  1418. data/lib/oci/data_integration/models/shape.rb +186 -0
  1419. data/lib/oci/data_integration/models/shape_field.rb +209 -0
  1420. data/lib/oci/data_integration/models/sort.rb +162 -0
  1421. data/lib/oci/data_integration/models/sort_clause.rb +179 -0
  1422. data/lib/oci/data_integration/models/sort_key.rb +154 -0
  1423. data/lib/oci/data_integration/models/sort_key_rule.rb +167 -0
  1424. data/lib/oci/data_integration/models/sort_oper.rb +209 -0
  1425. data/lib/oci/data_integration/models/source.rb +261 -0
  1426. data/lib/oci/data_integration/models/source_application_info.rb +196 -0
  1427. data/lib/oci/data_integration/models/structured_type.rb +203 -0
  1428. data/lib/oci/data_integration/models/target.rb +298 -0
  1429. data/lib/oci/data_integration/models/task.rb +373 -0
  1430. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +221 -0
  1431. data/lib/oci/data_integration/models/task_from_integration_task_details.rb +221 -0
  1432. data/lib/oci/data_integration/models/task_run.rb +451 -0
  1433. data/lib/oci/data_integration/models/task_run_details.rb +396 -0
  1434. data/lib/oci/data_integration/models/task_run_log_summary.rb +150 -0
  1435. data/lib/oci/data_integration/models/task_run_summary.rb +393 -0
  1436. data/lib/oci/data_integration/models/task_run_summary_collection.rb +150 -0
  1437. data/lib/oci/data_integration/models/task_summary.rb +373 -0
  1438. data/lib/oci/data_integration/models/task_summary_collection.rb +150 -0
  1439. data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +221 -0
  1440. data/lib/oci/data_integration/models/task_summary_from_integration_task.rb +221 -0
  1441. data/lib/oci/data_integration/models/task_validation.rb +328 -0
  1442. data/lib/oci/data_integration/models/task_validation_summary.rb +325 -0
  1443. data/lib/oci/data_integration/models/task_validation_summary_collection.rb +150 -0
  1444. data/lib/oci/data_integration/models/type_library.rb +259 -0
  1445. data/lib/oci/data_integration/models/type_list_rule.rb +306 -0
  1446. data/lib/oci/data_integration/models/type_system.rb +287 -0
  1447. data/lib/oci/data_integration/models/typed_name_pattern_rule.rb +326 -0
  1448. data/lib/oci/data_integration/models/typed_object.rb +290 -0
  1449. data/lib/oci/data_integration/models/ui_properties.rb +168 -0
  1450. data/lib/oci/data_integration/models/unique_key.rb +224 -0
  1451. data/lib/oci/data_integration/models/update_application_details.rb +269 -0
  1452. data/lib/oci/data_integration/models/update_connection_details.rb +314 -0
  1453. data/lib/oci/data_integration/models/update_connection_from_adwc.rb +208 -0
  1454. data/lib/oci/data_integration/models/update_connection_from_atp.rb +208 -0
  1455. data/lib/oci/data_integration/models/update_connection_from_jdbc.rb +208 -0
  1456. data/lib/oci/data_integration/models/update_connection_from_my_sql.rb +208 -0
  1457. data/lib/oci/data_integration/models/update_connection_from_object_storage.rb +244 -0
  1458. data/lib/oci/data_integration/models/update_connection_from_oracle.rb +208 -0
  1459. data/lib/oci/data_integration/models/update_data_asset_details.rb +315 -0
  1460. data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +243 -0
  1461. data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +243 -0
  1462. data/lib/oci/data_integration/models/update_data_asset_from_jdbc.rb +235 -0
  1463. data/lib/oci/data_integration/models/update_data_asset_from_my_sql.rb +235 -0
  1464. data/lib/oci/data_integration/models/update_data_asset_from_object_storage.rb +235 -0
  1465. data/lib/oci/data_integration/models/update_data_asset_from_oracle.rb +273 -0
  1466. data/lib/oci/data_integration/models/update_data_flow_details.rb +292 -0
  1467. data/lib/oci/data_integration/models/update_external_publication_details.rb +218 -0
  1468. data/lib/oci/data_integration/models/update_folder_details.rb +273 -0
  1469. data/lib/oci/data_integration/models/update_project_details.rb +259 -0
  1470. data/lib/oci/data_integration/models/update_reference_details.rb +178 -0
  1471. data/lib/oci/data_integration/models/update_task_details.rb +356 -0
  1472. data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +217 -0
  1473. data/lib/oci/data_integration/models/update_task_from_integration_task.rb +217 -0
  1474. data/lib/oci/data_integration/models/update_task_run_details.rb +247 -0
  1475. data/lib/oci/data_integration/models/update_workspace_details.rb +196 -0
  1476. data/lib/oci/data_integration/models/validation_message.rb +178 -0
  1477. data/lib/oci/data_integration/models/work_request.rb +306 -0
  1478. data/lib/oci/data_integration/models/work_request_error.rb +172 -0
  1479. data/lib/oci/data_integration/models/work_request_log_entry.rb +160 -0
  1480. data/lib/oci/data_integration/models/work_request_resource.rb +222 -0
  1481. data/lib/oci/data_integration/models/work_request_summary.rb +303 -0
  1482. data/lib/oci/data_integration/models/workspace.rb +387 -0
  1483. data/lib/oci/data_integration/models/workspace_summary.rb +306 -0
  1484. data/lib/oci/data_integration/models/write_operation_config.rb +297 -0
  1485. data/lib/oci/data_integration/util.rb +3 -0
  1486. data/lib/oci/data_safe/data_safe.rb +34 -0
  1487. data/lib/oci/data_safe/data_safe_client.rb +822 -0
  1488. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
  1489. data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
  1490. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
  1491. data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
  1492. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
  1493. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
  1494. data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
  1495. data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
  1496. data/lib/oci/data_safe/models/service_list.rb +21 -0
  1497. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
  1498. data/lib/oci/data_safe/models/work_request.rb +302 -0
  1499. data/lib/oci/data_safe/models/work_request_error.rb +173 -0
  1500. data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
  1501. data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
  1502. data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
  1503. data/lib/oci/data_safe/util.rb +3 -0
  1504. data/lib/oci/data_science/data_science.rb +50 -0
  1505. data/lib/oci/data_science/data_science_client.rb +2349 -0
  1506. data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
  1507. data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
  1508. data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
  1509. data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
  1510. data/lib/oci/data_science/models/create_model_details.rb +226 -0
  1511. data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
  1512. data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
  1513. data/lib/oci/data_science/models/create_project_details.rb +211 -0
  1514. data/lib/oci/data_science/models/model.rb +300 -0
  1515. data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
  1516. data/lib/oci/data_science/models/model_provenance.rb +211 -0
  1517. data/lib/oci/data_science/models/model_summary.rb +290 -0
  1518. data/lib/oci/data_science/models/notebook_session.rb +337 -0
  1519. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
  1520. data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
  1521. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
  1522. data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
  1523. data/lib/oci/data_science/models/project.rb +286 -0
  1524. data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
  1525. data/lib/oci/data_science/models/project_summary.rb +285 -0
  1526. data/lib/oci/data_science/models/update_model_details.rb +199 -0
  1527. data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
  1528. data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
  1529. data/lib/oci/data_science/models/update_project_details.rb +196 -0
  1530. data/lib/oci/data_science/models/work_request.rb +301 -0
  1531. data/lib/oci/data_science/models/work_request_error.rb +171 -0
  1532. data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
  1533. data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
  1534. data/lib/oci/data_science/models/work_request_resource.rb +215 -0
  1535. data/lib/oci/data_science/models/work_request_status.rb +15 -0
  1536. data/lib/oci/data_science/models/work_request_summary.rb +301 -0
  1537. data/lib/oci/data_science/util.rb +3 -0
  1538. data/lib/oci/database/database.rb +112 -3
  1539. data/lib/oci/database/database_client.rb +8465 -1714
  1540. data/lib/oci/database/database_client_composite_operations.rb +1939 -306
  1541. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
  1542. data/lib/oci/database/models/associated_database_details.rb +164 -0
  1543. data/lib/oci/database/models/automated_mount_details.rb +176 -0
  1544. data/lib/oci/database/models/autonomous_container_database.rb +215 -10
  1545. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +17 -2
  1546. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
  1547. data/lib/oci/database/models/autonomous_container_database_summary.rb +215 -10
  1548. data/lib/oci/database/models/autonomous_data_warehouse.rb +2 -3
  1549. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
  1550. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
  1551. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
  1552. data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +2 -1
  1553. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +2 -3
  1554. data/lib/oci/database/models/autonomous_database.rb +691 -16
  1555. data/lib/oci/database/models/autonomous_database_backup.rb +50 -5
  1556. data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
  1557. data/lib/oci/database/models/autonomous_database_backup_summary.rb +50 -5
  1558. data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
  1559. data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
  1560. data/lib/oci/database/models/autonomous_database_console_token_details.rb +3 -2
  1561. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
  1562. data/lib/oci/database/models/autonomous_database_manual_refresh_details.rb +155 -0
  1563. data/lib/oci/database/models/autonomous_database_standby_summary.rb +220 -0
  1564. data/lib/oci/database/models/autonomous_database_summary.rb +691 -16
  1565. data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
  1566. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +10 -3
  1567. data/lib/oci/database/models/autonomous_db_version_summary.rb +272 -0
  1568. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
  1569. data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
  1570. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
  1571. data/lib/oci/database/models/autonomous_patch.rb +296 -0
  1572. data/lib/oci/database/models/autonomous_patch_summary.rb +304 -0
  1573. data/lib/oci/database/models/autonomous_vm_cluster.rb +452 -0
  1574. data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +455 -0
  1575. data/lib/oci/database/models/backup.rb +26 -5
  1576. data/lib/oci/database/models/backup_destination.rb +421 -0
  1577. data/lib/oci/database/models/backup_destination_details.rb +224 -0
  1578. data/lib/oci/database/models/backup_destination_summary.rb +424 -0
  1579. data/lib/oci/database/models/backup_summary.rb +26 -5
  1580. data/lib/oci/database/models/change_autonomous_vm_cluster_compartment_details.rb +156 -0
  1581. data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +155 -0
  1582. data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +155 -0
  1583. data/lib/oci/database/models/change_compartment_details.rb +2 -1
  1584. data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +156 -0
  1585. data/lib/oci/database/models/change_key_store_compartment_details.rb +156 -0
  1586. data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
  1587. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +398 -0
  1588. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +401 -0
  1589. data/lib/oci/database/models/cloud_vm_cluster.rb +734 -0
  1590. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +721 -0
  1591. data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
  1592. data/lib/oci/database/models/console_connection.rb +236 -0
  1593. data/lib/oci/database/models/console_connection_summary.rb +241 -0
  1594. data/lib/oci/database/models/create_autonomous_container_database_details.rb +226 -10
  1595. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
  1596. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
  1597. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
  1598. data/lib/oci/database/models/create_autonomous_database_base.rb +174 -15
  1599. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +36 -3
  1600. data/lib/oci/database/models/create_autonomous_database_details.rb +35 -2
  1601. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +278 -0
  1602. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +288 -0
  1603. data/lib/oci/database/models/create_autonomous_vm_cluster_details.rb +288 -0
  1604. data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
  1605. data/lib/oci/database/models/create_backup_details.rb +2 -1
  1606. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
  1607. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +464 -0
  1608. data/lib/oci/database/models/create_console_connection_details.rb +156 -0
  1609. data/lib/oci/database/models/create_data_guard_association_details.rb +19 -3
  1610. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +28 -7
  1611. data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +197 -0
  1612. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +27 -6
  1613. data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_database_base.rb} +30 -26
  1614. data/lib/oci/database/models/create_database_details.rb +45 -4
  1615. data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
  1616. data/lib/oci/database/models/create_database_from_backup.rb +169 -0
  1617. data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
  1618. data/lib/oci/database/models/create_database_from_db_system_details.rb +246 -0
  1619. data/lib/oci/database/models/create_database_software_image_details.rb +319 -0
  1620. data/lib/oci/database/models/create_db_home_base.rb +253 -0
  1621. data/lib/oci/database/models/create_db_home_details.rb +56 -7
  1622. data/lib/oci/database/models/create_db_home_from_backup_details.rb +42 -7
  1623. data/lib/oci/database/models/create_db_home_from_database_details.rb +201 -0
  1624. data/lib/oci/database/models/create_db_home_from_db_system_details.rb +201 -0
  1625. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +33 -11
  1626. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +32 -9
  1627. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +189 -0
  1628. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +202 -0
  1629. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +189 -0
  1630. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +361 -0
  1631. data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
  1632. data/lib/oci/database/models/create_key_store_details.rb +217 -0
  1633. data/lib/oci/database/models/create_new_database_details.rb +169 -0
  1634. data/lib/oci/database/models/create_nfs_backup_destination_details.rb +193 -0
  1635. data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
  1636. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +278 -0
  1637. data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
  1638. data/lib/oci/database/models/data_guard_association.rb +3 -2
  1639. data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
  1640. data/lib/oci/database/models/database.rb +78 -8
  1641. data/lib/oci/database/models/database_connection_strings.rb +2 -1
  1642. data/lib/oci/database/models/database_software_image.rb +442 -0
  1643. data/lib/oci/database/models/database_software_image_summary.rb +452 -0
  1644. data/lib/oci/database/models/database_summary.rb +78 -8
  1645. data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
  1646. data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
  1647. data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
  1648. data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
  1649. data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
  1650. data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
  1651. data/lib/oci/database/models/day_of_week.rb +2 -1
  1652. data/lib/oci/database/models/db_backup_config.rb +67 -5
  1653. data/lib/oci/database/models/db_home.rb +114 -9
  1654. data/lib/oci/database/models/db_home_summary.rb +117 -12
  1655. data/lib/oci/database/models/db_iorm_config.rb +6 -5
  1656. data/lib/oci/database/models/db_iorm_config_update_detail.rb +5 -4
  1657. data/lib/oci/database/models/db_node.rb +80 -5
  1658. data/lib/oci/database/models/db_node_summary.rb +80 -5
  1659. data/lib/oci/database/models/db_system.rb +96 -10
  1660. data/lib/oci/database/models/db_system_options.rb +179 -0
  1661. data/lib/oci/database/models/db_system_shape_summary.rb +133 -6
  1662. data/lib/oci/database/models/db_system_summary.rb +96 -10
  1663. data/lib/oci/database/models/db_version_summary.rb +34 -5
  1664. data/lib/oci/database/models/deregister_autonomous_database_data_safe_details.rb +155 -0
  1665. data/lib/oci/database/models/exadata_db_system_migration.rb +197 -0
  1666. data/lib/oci/database/models/exadata_db_system_migration_summary.rb +183 -0
  1667. data/lib/oci/database/models/exadata_infrastructure.rb +559 -0
  1668. data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
  1669. data/lib/oci/database/models/exadata_infrastructure_summary.rb +562 -0
  1670. data/lib/oci/database/models/exadata_iorm_config.rb +9 -8
  1671. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
  1672. data/lib/oci/database/models/external_backup_job.rb +2 -1
  1673. data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
  1674. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
  1675. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +39 -2
  1676. data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
  1677. data/lib/oci/database/models/gi_version_summary.rb +153 -0
  1678. data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
  1679. data/lib/oci/database/models/key_store.rb +300 -0
  1680. data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
  1681. data/lib/oci/database/models/key_store_summary.rb +303 -0
  1682. data/lib/oci/database/models/key_store_type_details.rb +185 -0
  1683. data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
  1684. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +20 -4
  1685. data/lib/oci/database/models/launch_db_system_base.rb +48 -13
  1686. data/lib/oci/database/models/launch_db_system_details.rb +27 -5
  1687. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +11 -2
  1688. data/lib/oci/database/models/launch_db_system_from_database_details.rb +344 -0
  1689. data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +297 -0
  1690. data/lib/oci/database/models/maintenance_run.rb +49 -15
  1691. data/lib/oci/database/models/maintenance_run_summary.rb +49 -15
  1692. data/lib/oci/database/models/maintenance_window.rb +21 -5
  1693. data/lib/oci/database/models/month.rb +2 -1
  1694. data/lib/oci/database/models/mount_type_details.rb +186 -0
  1695. data/lib/oci/database/models/node_details.rb +184 -0
  1696. data/lib/oci/database/models/ocp_us.rb +182 -0
  1697. data/lib/oci/database/models/patch.rb +2 -1
  1698. data/lib/oci/database/models/patch_details.rb +18 -3
  1699. data/lib/oci/database/models/patch_history_entry.rb +3 -2
  1700. data/lib/oci/database/models/patch_history_entry_summary.rb +3 -2
  1701. data/lib/oci/database/models/patch_summary.rb +2 -1
  1702. data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
  1703. data/lib/oci/database/models/register_autonomous_database_data_safe_details.rb +155 -0
  1704. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
  1705. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +2 -1
  1706. data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
  1707. data/lib/oci/database/models/restore_database_details.rb +2 -1
  1708. data/lib/oci/database/models/scan_details.rb +171 -0
  1709. data/lib/oci/database/models/self_mount_details.rb +163 -0
  1710. data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
  1711. data/lib/oci/database/models/update.rb +340 -0
  1712. data/lib/oci/database/models/update_autonomous_container_database_details.rb +32 -4
  1713. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
  1714. data/lib/oci/database/models/update_autonomous_database_details.rb +274 -15
  1715. data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
  1716. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
  1717. data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
  1718. data/lib/oci/database/models/update_backup_destination_details.rb +274 -0
  1719. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
  1720. data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +318 -0
  1721. data/lib/oci/database/models/update_database_details.rb +59 -4
  1722. data/lib/oci/database/models/update_database_software_image_details.rb +189 -0
  1723. data/lib/oci/database/models/update_db_home_details.rb +55 -6
  1724. data/lib/oci/database/models/update_db_system_details.rb +65 -9
  1725. data/lib/oci/database/models/update_details.rb +183 -0
  1726. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +318 -0
  1727. data/lib/oci/database/models/update_history_entry.rb +306 -0
  1728. data/lib/oci/database/models/update_history_entry_summary.rb +309 -0
  1729. data/lib/oci/database/models/update_key_store_details.rb +187 -0
  1730. data/lib/oci/database/models/update_maintenance_run_details.rb +50 -7
  1731. data/lib/oci/database/models/update_summary.rb +348 -0
  1732. data/lib/oci/database/models/update_vm_cluster_details.rb +281 -0
  1733. data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
  1734. data/lib/oci/database/models/upgrade_database_details.rb +179 -0
  1735. data/lib/oci/database/models/vm_cluster.rb +492 -0
  1736. data/lib/oci/database/models/vm_cluster_network.rb +351 -0
  1737. data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
  1738. data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
  1739. data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
  1740. data/lib/oci/database/models/vm_network_details.rb +232 -0
  1741. data/lib/oci/database/models/workload_type.rb +161 -0
  1742. data/lib/oci/database/util.rb +2 -1
  1743. data/lib/oci/dns/dns.rb +35 -1
  1744. data/lib/oci/dns/dns_client.rb +2649 -570
  1745. data/lib/oci/dns/dns_client_composite_operations.rb +362 -2
  1746. data/lib/oci/dns/models/attached_view.rb +155 -0
  1747. data/lib/oci/dns/models/attached_view_details.rb +155 -0
  1748. data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
  1749. data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +2 -1
  1750. data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
  1751. data/lib/oci/dns/models/change_view_compartment_details.rb +156 -0
  1752. data/lib/oci/dns/models/change_zone_compartment_details.rb +2 -1
  1753. data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +180 -0
  1754. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
  1755. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
  1756. data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
  1757. data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
  1758. data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
  1759. data/lib/oci/dns/models/create_view_details.rb +210 -0
  1760. data/lib/oci/dns/models/create_zone_base_details.rb +253 -0
  1761. data/lib/oci/dns/models/create_zone_details.rb +51 -49
  1762. data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
  1763. data/lib/oci/dns/models/external_master.rb +23 -5
  1764. data/lib/oci/dns/models/migration_replacement.rb +188 -0
  1765. data/lib/oci/dns/models/nameserver.rb +2 -1
  1766. data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
  1767. data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
  1768. data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
  1769. data/lib/oci/dns/models/record.rb +3 -3
  1770. data/lib/oci/dns/models/record_collection.rb +3 -1
  1771. data/lib/oci/dns/models/record_details.rb +3 -3
  1772. data/lib/oci/dns/models/record_operation.rb +3 -3
  1773. data/lib/oci/dns/models/resolver.rb +393 -0
  1774. data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
  1775. data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
  1776. data/lib/oci/dns/models/resolver_forward_rule.rb +187 -0
  1777. data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
  1778. data/lib/oci/dns/models/resolver_rule.rb +222 -0
  1779. data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
  1780. data/lib/oci/dns/models/resolver_summary.rb +357 -0
  1781. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
  1782. data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
  1783. data/lib/oci/dns/models/rr_set.rb +3 -1
  1784. data/lib/oci/dns/models/scope.rb +11 -0
  1785. data/lib/oci/dns/models/sort_order.rb +2 -1
  1786. data/lib/oci/dns/models/steering_policy.rb +14 -13
  1787. data/lib/oci/dns/models/steering_policy_answer.rb +3 -2
  1788. data/lib/oci/dns/models/steering_policy_attachment.rb +12 -11
  1789. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +12 -11
  1790. data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
  1791. data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
  1792. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
  1793. data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
  1794. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
  1795. data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
  1796. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
  1797. data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
  1798. data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
  1799. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
  1800. data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
  1801. data/lib/oci/dns/models/steering_policy_summary.rb +12 -11
  1802. data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
  1803. data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
  1804. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
  1805. data/lib/oci/dns/models/tsig.rb +2 -1
  1806. data/lib/oci/dns/models/tsig_key.rb +321 -0
  1807. data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
  1808. data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
  1809. data/lib/oci/dns/models/update_resolver_details.rb +221 -0
  1810. data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
  1811. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
  1812. data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
  1813. data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
  1814. data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
  1815. data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
  1816. data/lib/oci/dns/models/update_view_details.rb +196 -0
  1817. data/lib/oci/dns/models/update_zone_details.rb +2 -1
  1818. data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
  1819. data/lib/oci/dns/models/view.rb +321 -0
  1820. data/lib/oci/dns/models/view_summary.rb +321 -0
  1821. data/lib/oci/dns/models/zone.rb +77 -15
  1822. data/lib/oci/dns/models/zone_summary.rb +78 -16
  1823. data/lib/oci/dns/util.rb +2 -1
  1824. data/lib/oci/dts/appliance_export_job_client.rb +485 -0
  1825. data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
  1826. data/lib/oci/dts/dts.rb +11 -1
  1827. data/lib/oci/dts/models/appliance_export_job.rb +551 -0
  1828. data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
  1829. data/lib/oci/dts/models/attach_devices_details.rb +2 -1
  1830. data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
  1831. data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +2 -1
  1832. data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
  1833. data/lib/oci/dts/models/create_transfer_appliance_details.rb +2 -1
  1834. data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +55 -5
  1835. data/lib/oci/dts/models/create_transfer_device_details.rb +2 -1
  1836. data/lib/oci/dts/models/create_transfer_job_details.rb +10 -5
  1837. data/lib/oci/dts/models/create_transfer_package_details.rb +2 -1
  1838. data/lib/oci/dts/models/detach_devices_details.rb +2 -1
  1839. data/lib/oci/dts/models/multiple_transfer_appliances.rb +2 -1
  1840. data/lib/oci/dts/models/multiple_transfer_devices.rb +2 -1
  1841. data/lib/oci/dts/models/multiple_transfer_packages.rb +2 -1
  1842. data/lib/oci/dts/models/new_transfer_device.rb +2 -1
  1843. data/lib/oci/dts/models/shipping_address.rb +2 -1
  1844. data/lib/oci/dts/models/shipping_vendors.rb +2 -1
  1845. data/lib/oci/dts/models/transfer_appliance.rb +4 -1
  1846. data/lib/oci/dts/models/transfer_appliance_certificate.rb +2 -1
  1847. data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +2 -1
  1848. data/lib/oci/dts/models/transfer_appliance_entitlement.rb +108 -34
  1849. data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
  1850. data/lib/oci/dts/models/transfer_appliance_public_key.rb +2 -1
  1851. data/lib/oci/dts/models/transfer_appliance_summary.rb +4 -1
  1852. data/lib/oci/dts/models/transfer_device.rb +2 -1
  1853. data/lib/oci/dts/models/transfer_device_summary.rb +2 -1
  1854. data/lib/oci/dts/models/transfer_job.rb +10 -9
  1855. data/lib/oci/dts/models/transfer_job_summary.rb +10 -5
  1856. data/lib/oci/dts/models/transfer_package.rb +2 -1
  1857. data/lib/oci/dts/models/transfer_package_summary.rb +2 -1
  1858. data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
  1859. data/lib/oci/dts/models/update_transfer_appliance_details.rb +3 -1
  1860. data/lib/oci/dts/models/update_transfer_device_details.rb +2 -1
  1861. data/lib/oci/dts/models/update_transfer_job_details.rb +10 -5
  1862. data/lib/oci/dts/models/update_transfer_package_details.rb +2 -1
  1863. data/lib/oci/dts/shipping_vendors_client.rb +8 -18
  1864. data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +2 -1
  1865. data/lib/oci/dts/transfer_appliance_client.rb +11 -21
  1866. data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +2 -1
  1867. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +93 -27
  1868. data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +41 -1
  1869. data/lib/oci/dts/transfer_device_client.rb +8 -18
  1870. data/lib/oci/dts/transfer_device_client_composite_operations.rb +2 -1
  1871. data/lib/oci/dts/transfer_job_client.rb +40 -22
  1872. data/lib/oci/dts/transfer_job_client_composite_operations.rb +2 -1
  1873. data/lib/oci/dts/transfer_package_client.rb +8 -18
  1874. data/lib/oci/dts/transfer_package_client_composite_operations.rb +2 -1
  1875. data/lib/oci/dts/util.rb +2 -1
  1876. data/lib/oci/email/email.rb +2 -1
  1877. data/lib/oci/email/email_client.rb +6 -16
  1878. data/lib/oci/email/email_client_composite_operations.rb +2 -1
  1879. data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
  1880. data/lib/oci/email/models/create_sender_details.rb +2 -1
  1881. data/lib/oci/email/models/create_suppression_details.rb +2 -1
  1882. data/lib/oci/email/models/sender.rb +2 -1
  1883. data/lib/oci/email/models/sender_summary.rb +2 -1
  1884. data/lib/oci/email/models/suppression.rb +2 -1
  1885. data/lib/oci/email/models/suppression_summary.rb +2 -1
  1886. data/lib/oci/email/models/update_sender_details.rb +2 -1
  1887. data/lib/oci/email/util.rb +2 -1
  1888. data/lib/oci/errors.rb +2 -1
  1889. data/lib/oci/events/events.rb +2 -1
  1890. data/lib/oci/events/events_client.rb +7 -17
  1891. data/lib/oci/events/events_client_composite_operations.rb +2 -1
  1892. data/lib/oci/events/models/action.rb +23 -3
  1893. data/lib/oci/events/models/action_details.rb +2 -1
  1894. data/lib/oci/events/models/action_details_list.rb +2 -1
  1895. data/lib/oci/events/models/action_list.rb +2 -1
  1896. data/lib/oci/events/models/change_rule_compartment_details.rb +2 -1
  1897. data/lib/oci/events/models/create_faa_s_action_details.rb +2 -1
  1898. data/lib/oci/events/models/create_notification_service_action_details.rb +2 -1
  1899. data/lib/oci/events/models/create_rule_details.rb +3 -7
  1900. data/lib/oci/events/models/create_streaming_service_action_details.rb +2 -1
  1901. data/lib/oci/events/models/faa_s_action.rb +7 -2
  1902. data/lib/oci/events/models/notification_service_action.rb +7 -2
  1903. data/lib/oci/events/models/rule.rb +4 -8
  1904. data/lib/oci/events/models/rule_summary.rb +4 -8
  1905. data/lib/oci/events/models/streaming_service_action.rb +7 -2
  1906. data/lib/oci/events/models/update_rule_details.rb +3 -7
  1907. data/lib/oci/events/util.rb +2 -1
  1908. data/lib/oci/file_storage/file_storage.rb +2 -1
  1909. data/lib/oci/file_storage/file_storage_client.rb +73 -75
  1910. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
  1911. data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
  1912. data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
  1913. data/lib/oci/file_storage/models/client_options.rb +2 -1
  1914. data/lib/oci/file_storage/models/create_export_details.rb +2 -1
  1915. data/lib/oci/file_storage/models/create_file_system_details.rb +2 -1
  1916. data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
  1917. data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
  1918. data/lib/oci/file_storage/models/export.rb +2 -1
  1919. data/lib/oci/file_storage/models/export_set.rb +2 -1
  1920. data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
  1921. data/lib/oci/file_storage/models/export_summary.rb +2 -1
  1922. data/lib/oci/file_storage/models/file_system.rb +3 -2
  1923. data/lib/oci/file_storage/models/file_system_summary.rb +2 -1
  1924. data/lib/oci/file_storage/models/mount_target.rb +21 -2
  1925. data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
  1926. data/lib/oci/file_storage/models/snapshot.rb +2 -1
  1927. data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
  1928. data/lib/oci/file_storage/models/update_export_details.rb +2 -1
  1929. data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
  1930. data/lib/oci/file_storage/models/update_file_system_details.rb +7 -5
  1931. data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
  1932. data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
  1933. data/lib/oci/file_storage/util.rb +2 -1
  1934. data/lib/oci/functions/functions.rb +2 -1
  1935. data/lib/oci/functions/functions_invoke_client.rb +7 -17
  1936. data/lib/oci/functions/functions_invoke_client_composite_operations.rb +2 -1
  1937. data/lib/oci/functions/functions_management_client.rb +8 -18
  1938. data/lib/oci/functions/functions_management_client_composite_operations.rb +2 -1
  1939. data/lib/oci/functions/models/application.rb +23 -3
  1940. data/lib/oci/functions/models/application_summary.rb +3 -2
  1941. data/lib/oci/functions/models/change_application_compartment_details.rb +2 -1
  1942. data/lib/oci/functions/models/create_application_details.rb +22 -2
  1943. data/lib/oci/functions/models/create_function_details.rb +2 -1
  1944. data/lib/oci/functions/models/function.rb +3 -2
  1945. data/lib/oci/functions/models/function_summary.rb +3 -2
  1946. data/lib/oci/functions/models/update_application_details.rb +22 -2
  1947. data/lib/oci/functions/models/update_function_details.rb +2 -1
  1948. data/lib/oci/functions/util.rb +2 -1
  1949. data/lib/oci/global_context.rb +2 -1
  1950. data/lib/oci/healthchecks/health_checks_client.rb +24 -30
  1951. data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
  1952. data/lib/oci/healthchecks/healthchecks.rb +2 -1
  1953. data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +2 -1
  1954. data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +2 -1
  1955. data/lib/oci/healthchecks/models/connection.rb +2 -1
  1956. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
  1957. data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
  1958. data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
  1959. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
  1960. data/lib/oci/healthchecks/models/dns.rb +2 -1
  1961. data/lib/oci/healthchecks/models/geolocation.rb +2 -1
  1962. data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
  1963. data/lib/oci/healthchecks/models/http_monitor.rb +33 -2
  1964. data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
  1965. data/lib/oci/healthchecks/models/http_probe.rb +33 -2
  1966. data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
  1967. data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
  1968. data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
  1969. data/lib/oci/healthchecks/models/ping_monitor.rb +33 -2
  1970. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
  1971. data/lib/oci/healthchecks/models/ping_probe.rb +33 -2
  1972. data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
  1973. data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
  1974. data/lib/oci/healthchecks/models/routing.rb +2 -1
  1975. data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
  1976. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -1
  1977. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -1
  1978. data/lib/oci/healthchecks/util.rb +2 -1
  1979. data/lib/oci/identity/identity.rb +31 -1
  1980. data/lib/oci/identity/identity_client.rb +2957 -1242
  1981. data/lib/oci/identity/identity_client_composite_operations.rb +288 -1
  1982. data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
  1983. data/lib/oci/identity/models/api_key.rb +2 -1
  1984. data/lib/oci/identity/models/auth_token.rb +2 -1
  1985. data/lib/oci/identity/models/authentication_policy.rb +19 -6
  1986. data/lib/oci/identity/models/availability_domain.rb +2 -1
  1987. data/lib/oci/identity/models/base_tag_definition_validator.rb +203 -0
  1988. data/lib/oci/identity/models/bulk_action_resource.rb +203 -0
  1989. data/lib/oci/identity/models/bulk_action_resource_type.rb +167 -0
  1990. data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
  1991. data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
  1992. data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
  1993. data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
  1994. data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
  1995. data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
  1996. data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
  1997. data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
  1998. data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
  1999. data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
  2000. data/lib/oci/identity/models/compartment.rb +5 -1
  2001. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  2002. data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
  2003. data/lib/oci/identity/models/create_compartment_details.rb +2 -1
  2004. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  2005. data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
  2006. data/lib/oci/identity/models/create_group_details.rb +2 -1
  2007. data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
  2008. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
  2009. data/lib/oci/identity/models/create_network_source_details.rb +254 -0
  2010. data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
  2011. data/lib/oci/identity/models/create_policy_details.rb +2 -1
  2012. data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
  2013. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
  2014. data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
  2015. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  2016. data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
  2017. data/lib/oci/identity/models/create_tag_details.rb +19 -6
  2018. data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
  2019. data/lib/oci/identity/models/create_user_details.rb +2 -1
  2020. data/lib/oci/identity/models/customer_secret_key.rb +5 -4
  2021. data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
  2022. data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
  2023. data/lib/oci/identity/models/dynamic_group.rb +5 -1
  2024. data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
  2025. data/lib/oci/identity/models/fault_domain.rb +2 -1
  2026. data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
  2027. data/lib/oci/identity/models/group.rb +5 -1
  2028. data/lib/oci/identity/models/identity_provider.rb +5 -1
  2029. data/lib/oci/identity/models/identity_provider_group_summary.rb +13 -2
  2030. data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
  2031. data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
  2032. data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
  2033. data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
  2034. data/lib/oci/identity/models/move_compartment_details.rb +4 -3
  2035. data/lib/oci/identity/models/network_policy.rb +156 -0
  2036. data/lib/oci/identity/models/network_sources.rb +337 -0
  2037. data/lib/oci/identity/models/network_sources_summary.rb +283 -0
  2038. data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
  2039. data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
  2040. data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
  2041. data/lib/oci/identity/models/password_policy.rb +2 -1
  2042. data/lib/oci/identity/models/policy.rb +5 -1
  2043. data/lib/oci/identity/models/region.rb +8 -13
  2044. data/lib/oci/identity/models/region_subscription.rb +8 -13
  2045. data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
  2046. data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
  2047. data/lib/oci/identity/models/smtp_credential.rb +2 -1
  2048. data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
  2049. data/lib/oci/identity/models/swift_password.rb +2 -1
  2050. data/lib/oci/identity/models/tag.rb +25 -8
  2051. data/lib/oci/identity/models/tag_default.rb +28 -5
  2052. data/lib/oci/identity/models/tag_default_summary.rb +28 -5
  2053. data/lib/oci/identity/models/tag_namespace.rb +7 -3
  2054. data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
  2055. data/lib/oci/identity/models/tag_summary.rb +5 -3
  2056. data/lib/oci/identity/models/tagging_work_request.rb +310 -0
  2057. data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
  2058. data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
  2059. data/lib/oci/identity/models/tagging_work_request_summary.rb +309 -0
  2060. data/lib/oci/identity/models/tenancy.rb +19 -8
  2061. data/lib/oci/identity/models/ui_password.rb +2 -1
  2062. data/lib/oci/identity/models/ui_password_information.rb +2 -1
  2063. data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
  2064. data/lib/oci/identity/models/update_authentication_policy_details.rb +19 -6
  2065. data/lib/oci/identity/models/update_compartment_details.rb +2 -1
  2066. data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
  2067. data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
  2068. data/lib/oci/identity/models/update_group_details.rb +2 -1
  2069. data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
  2070. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
  2071. data/lib/oci/identity/models/update_network_source_details.rb +227 -0
  2072. data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
  2073. data/lib/oci/identity/models/update_policy_details.rb +2 -1
  2074. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
  2075. data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
  2076. data/lib/oci/identity/models/update_state_details.rb +2 -1
  2077. data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
  2078. data/lib/oci/identity/models/update_tag_default_details.rb +28 -5
  2079. data/lib/oci/identity/models/update_tag_details.rb +17 -5
  2080. data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
  2081. data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
  2082. data/lib/oci/identity/models/update_user_details.rb +2 -1
  2083. data/lib/oci/identity/models/user.rb +75 -7
  2084. data/lib/oci/identity/models/user_capabilities.rb +21 -5
  2085. data/lib/oci/identity/models/user_group_membership.rb +2 -1
  2086. data/lib/oci/identity/models/work_request.rb +2 -1
  2087. data/lib/oci/identity/models/work_request_error.rb +2 -1
  2088. data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
  2089. data/lib/oci/identity/models/work_request_resource.rb +3 -1
  2090. data/lib/oci/identity/models/work_request_summary.rb +2 -1
  2091. data/lib/oci/identity/util.rb +2 -1
  2092. data/lib/oci/integration/integration.rb +30 -0
  2093. data/lib/oci/integration/integration_instance_client.rb +868 -0
  2094. data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
  2095. data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
  2096. data/lib/oci/integration/models/create_integration_instance_details.rb +315 -0
  2097. data/lib/oci/integration/models/integration_instance.rb +416 -0
  2098. data/lib/oci/integration/models/integration_instance_summary.rb +382 -0
  2099. data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
  2100. data/lib/oci/integration/models/work_request.rb +313 -0
  2101. data/lib/oci/integration/models/work_request_error.rb +171 -0
  2102. data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
  2103. data/lib/oci/integration/models/work_request_resource.rb +221 -0
  2104. data/lib/oci/integration/models/work_request_summary.rb +313 -0
  2105. data/lib/oci/integration/util.rb +3 -0
  2106. data/lib/oci/internal/internal.rb +2 -1
  2107. data/lib/oci/internal/util.rb +2 -1
  2108. data/lib/oci/key_management/key_management.rb +17 -1
  2109. data/lib/oci/key_management/kms_crypto_client.rb +66 -21
  2110. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
  2111. data/lib/oci/key_management/kms_management_client.rb +782 -121
  2112. data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
  2113. data/lib/oci/key_management/kms_vault_client.rb +358 -34
  2114. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
  2115. data/lib/oci/key_management/models/backup_key_details.rb +153 -0
  2116. data/lib/oci/key_management/models/backup_location.rb +183 -0
  2117. data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
  2118. data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
  2119. data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
  2120. data/lib/oci/key_management/models/change_key_compartment_details.rb +3 -2
  2121. data/lib/oci/key_management/models/change_vault_compartment_details.rb +3 -2
  2122. data/lib/oci/key_management/models/create_key_details.rb +45 -11
  2123. data/lib/oci/key_management/models/create_vault_details.rb +10 -7
  2124. data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
  2125. data/lib/oci/key_management/models/decrypted_data.rb +2 -1
  2126. data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
  2127. data/lib/oci/key_management/models/encrypted_data.rb +2 -1
  2128. data/lib/oci/key_management/models/export_key_details.rb +229 -0
  2129. data/lib/oci/key_management/models/exported_key_data.rb +249 -0
  2130. data/lib/oci/key_management/models/generate_key_details.rb +7 -6
  2131. data/lib/oci/key_management/models/generated_key.rb +9 -9
  2132. data/lib/oci/key_management/models/import_key_details.rb +265 -0
  2133. data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
  2134. data/lib/oci/key_management/models/key.rb +72 -16
  2135. data/lib/oci/key_management/models/key_shape.rb +4 -2
  2136. data/lib/oci/key_management/models/key_summary.rb +53 -11
  2137. data/lib/oci/key_management/models/key_version.rb +113 -5
  2138. data/lib/oci/key_management/models/key_version_summary.rb +94 -3
  2139. data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
  2140. data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
  2141. data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
  2142. data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
  2143. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
  2144. data/lib/oci/key_management/models/update_key_details.rb +8 -6
  2145. data/lib/oci/key_management/models/update_vault_details.rb +8 -6
  2146. data/lib/oci/key_management/models/vault.rb +55 -15
  2147. data/lib/oci/key_management/models/vault_summary.rb +19 -10
  2148. data/lib/oci/key_management/models/vault_usage.rb +196 -0
  2149. data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
  2150. data/lib/oci/key_management/models/wrapping_key.rb +258 -0
  2151. data/lib/oci/key_management/util.rb +2 -1
  2152. data/lib/oci/limits/limits.rb +2 -1
  2153. data/lib/oci/limits/limits_client.rb +6 -16
  2154. data/lib/oci/limits/limits_client_composite_operations.rb +2 -1
  2155. data/lib/oci/limits/models/create_quota_details.rb +2 -1
  2156. data/lib/oci/limits/models/limit_definition_summary.rb +2 -1
  2157. data/lib/oci/limits/models/limit_value_summary.rb +2 -1
  2158. data/lib/oci/limits/models/quota.rb +2 -1
  2159. data/lib/oci/limits/models/quota_summary.rb +2 -1
  2160. data/lib/oci/limits/models/resource_availability.rb +2 -1
  2161. data/lib/oci/limits/models/service_summary.rb +2 -1
  2162. data/lib/oci/limits/models/update_quota_details.rb +2 -1
  2163. data/lib/oci/limits/quotas_client.rb +6 -16
  2164. data/lib/oci/limits/quotas_client_composite_operations.rb +2 -1
  2165. data/lib/oci/limits/util.rb +2 -1
  2166. data/lib/oci/load_balancer/load_balancer.rb +12 -1
  2167. data/lib/oci/load_balancer/load_balancer_client.rb +394 -19
  2168. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +214 -3
  2169. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +4 -2
  2170. data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
  2171. data/lib/oci/load_balancer/models/allow_rule.rb +2 -1
  2172. data/lib/oci/load_balancer/models/backend.rb +4 -1
  2173. data/lib/oci/load_balancer/models/backend_details.rb +4 -1
  2174. data/lib/oci/load_balancer/models/backend_health.rb +2 -1
  2175. data/lib/oci/load_balancer/models/backend_set.rb +2 -1
  2176. data/lib/oci/load_balancer/models/backend_set_details.rb +2 -1
  2177. data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
  2178. data/lib/oci/load_balancer/models/certificate.rb +2 -1
  2179. data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
  2180. data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +2 -1
  2181. data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
  2182. data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +2 -1
  2183. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -1
  2184. data/lib/oci/load_balancer/models/create_backend_set_details.rb +2 -1
  2185. data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
  2186. data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
  2187. data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
  2188. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +43 -3
  2189. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
  2190. data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
  2191. data/lib/oci/load_balancer/models/create_ssl_cipher_suite_details.rb +445 -0
  2192. data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
  2193. data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
  2194. data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
  2195. data/lib/oci/load_balancer/models/health_checker.rb +4 -2
  2196. data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
  2197. data/lib/oci/load_balancer/models/hostname.rb +2 -1
  2198. data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
  2199. data/lib/oci/load_balancer/models/http_header_rule.rb +188 -0
  2200. data/lib/oci/load_balancer/models/ip_address.rb +19 -5
  2201. data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +4 -3
  2202. data/lib/oci/load_balancer/models/listener.rb +2 -1
  2203. data/lib/oci/load_balancer/models/listener_details.rb +2 -1
  2204. data/lib/oci/load_balancer/models/listener_rule_summary.rb +2 -1
  2205. data/lib/oci/load_balancer/models/load_balancer.rb +48 -3
  2206. data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
  2207. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
  2208. data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
  2209. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
  2210. data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
  2211. data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
  2212. data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
  2213. data/lib/oci/load_balancer/models/path_route.rb +2 -1
  2214. data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
  2215. data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
  2216. data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
  2217. data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
  2218. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -3
  2219. data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
  2220. data/lib/oci/load_balancer/models/reserved_ip.rb +149 -0
  2221. data/lib/oci/load_balancer/models/rule.rb +6 -1
  2222. data/lib/oci/load_balancer/models/rule_condition.rb +4 -1
  2223. data/lib/oci/load_balancer/models/rule_set.rb +2 -1
  2224. data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
  2225. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -1
  2226. data/lib/oci/load_balancer/models/source_ip_address_condition.rb +2 -1
  2227. data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +2 -1
  2228. data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +2 -1
  2229. data/lib/oci/load_balancer/models/ssl_cipher_suite.rb +445 -0
  2230. data/lib/oci/load_balancer/models/ssl_cipher_suite_details.rb +445 -0
  2231. data/lib/oci/load_balancer/models/ssl_configuration.rb +141 -24
  2232. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +134 -24
  2233. data/lib/oci/load_balancer/models/update_backend_details.rb +4 -1
  2234. data/lib/oci/load_balancer/models/update_backend_set_details.rb +2 -1
  2235. data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -2
  2236. data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
  2237. data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
  2238. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
  2239. data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +161 -0
  2240. data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
  2241. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
  2242. data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
  2243. data/lib/oci/load_balancer/models/update_ssl_cipher_suite_details.rb +259 -0
  2244. data/lib/oci/load_balancer/models/work_request.rb +17 -2
  2245. data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
  2246. data/lib/oci/load_balancer/util.rb +2 -1
  2247. data/lib/oci/log_analytics/log_analytics.rb +290 -0
  2248. data/lib/oci/log_analytics/log_analytics_client.rb +8876 -0
  2249. data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +685 -0
  2250. data/lib/oci/log_analytics/models/abstract_column.rb +386 -0
  2251. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +330 -0
  2252. data/lib/oci/log_analytics/models/abstract_field.rb +354 -0
  2253. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_entry.rb +234 -0
  2254. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_line.rb +168 -0
  2255. data/lib/oci/log_analytics/models/action.rb +187 -0
  2256. data/lib/oci/log_analytics/models/action_types.rb +14 -0
  2257. data/lib/oci/log_analytics/models/add_entity_association_details.rb +156 -0
  2258. data/lib/oci/log_analytics/models/add_fields_command_descriptor.rb +184 -0
  2259. data/lib/oci/log_analytics/models/archiving_configuration.rb +174 -0
  2260. data/lib/oci/log_analytics/models/argument.rb +189 -0
  2261. data/lib/oci/log_analytics/models/association_summary_report.rb +154 -0
  2262. data/lib/oci/log_analytics/models/auto_lookups.rb +168 -0
  2263. data/lib/oci/log_analytics/models/bottom_command_descriptor.rb +180 -0
  2264. data/lib/oci/log_analytics/models/bucket_command_descriptor.rb +223 -0
  2265. data/lib/oci/log_analytics/models/bucket_range.rb +178 -0
  2266. data/lib/oci/log_analytics/models/change_log_analytics_entity_compartment_details.rb +156 -0
  2267. data/lib/oci/log_analytics/models/change_log_analytics_log_group_compartment_details.rb +156 -0
  2268. data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +156 -0
  2269. data/lib/oci/log_analytics/models/change_scheduled_task_compartment_details.rb +155 -0
  2270. data/lib/oci/log_analytics/models/char_encoding_collection.rb +150 -0
  2271. data/lib/oci/log_analytics/models/chart_column.rb +241 -0
  2272. data/lib/oci/log_analytics/models/chart_data_column.rb +219 -0
  2273. data/lib/oci/log_analytics/models/classify_column.rb +294 -0
  2274. data/lib/oci/log_analytics/models/classify_command_descriptor.rb +210 -0
  2275. data/lib/oci/log_analytics/models/cluster_command_descriptor.rb +166 -0
  2276. data/lib/oci/log_analytics/models/cluster_compare_command_descriptor.rb +257 -0
  2277. data/lib/oci/log_analytics/models/cluster_details_command_descriptor.rb +166 -0
  2278. data/lib/oci/log_analytics/models/cluster_split_command_descriptor.rb +166 -0
  2279. data/lib/oci/log_analytics/models/column.rb +186 -0
  2280. data/lib/oci/log_analytics/models/column_name.rb +150 -0
  2281. data/lib/oci/log_analytics/models/column_name_collection.rb +150 -0
  2282. data/lib/oci/log_analytics/models/command_descriptor.rb +166 -0
  2283. data/lib/oci/log_analytics/models/create_acceleration_task_details.rb +181 -0
  2284. data/lib/oci/log_analytics/models/create_log_analytics_entity_details.rb +298 -0
  2285. data/lib/oci/log_analytics/models/create_log_analytics_entity_type_details.rb +172 -0
  2286. data/lib/oci/log_analytics/models/create_log_analytics_log_group_details.rb +216 -0
  2287. data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +380 -0
  2288. data/lib/oci/log_analytics/models/create_scheduled_task_details.rb +245 -0
  2289. data/lib/oci/log_analytics/models/create_standard_task_details.rb +216 -0
  2290. data/lib/oci/log_analytics/models/cron_schedule.rb +178 -0
  2291. data/lib/oci/log_analytics/models/delete_command_descriptor.rb +184 -0
  2292. data/lib/oci/log_analytics/models/delete_log_analytics_association.rb +234 -0
  2293. data/lib/oci/log_analytics/models/delete_log_analytics_association_details.rb +164 -0
  2294. data/lib/oci/log_analytics/models/delta_command_descriptor.rb +180 -0
  2295. data/lib/oci/log_analytics/models/demo_mode_command_descriptor.rb +166 -0
  2296. data/lib/oci/log_analytics/models/distinct_command_descriptor.rb +166 -0
  2297. data/lib/oci/log_analytics/models/efd_regex_result.rb +263 -0
  2298. data/lib/oci/log_analytics/models/entity_cloud_type.rb +11 -0
  2299. data/lib/oci/log_analytics/models/entity_lifecycle_states.rb +11 -0
  2300. data/lib/oci/log_analytics/models/entity_type_property.rb +163 -0
  2301. data/lib/oci/log_analytics/models/error_details.rb +160 -0
  2302. data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +226 -0
  2303. data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +155 -0
  2304. data/lib/oci/log_analytics/models/eval_command_descriptor.rb +166 -0
  2305. data/lib/oci/log_analytics/models/event_stats_command_descriptor.rb +195 -0
  2306. data/lib/oci/log_analytics/models/export_content.rb +182 -0
  2307. data/lib/oci/log_analytics/models/export_details.rb +358 -0
  2308. data/lib/oci/log_analytics/models/extended_fields_validation_result.rb +150 -0
  2309. data/lib/oci/log_analytics/models/extract_command_descriptor.rb +166 -0
  2310. data/lib/oci/log_analytics/models/extract_log_field_results.rb +150 -0
  2311. data/lib/oci/log_analytics/models/extract_log_header_details.rb +168 -0
  2312. data/lib/oci/log_analytics/models/extract_log_header_results.rb +168 -0
  2313. data/lib/oci/log_analytics/models/field.rb +182 -0
  2314. data/lib/oci/log_analytics/models/field_argument.rb +158 -0
  2315. data/lib/oci/log_analytics/models/field_summary_command_descriptor.rb +186 -0
  2316. data/lib/oci/log_analytics/models/field_summary_report.rb +182 -0
  2317. data/lib/oci/log_analytics/models/field_value.rb +186 -0
  2318. data/lib/oci/log_analytics/models/fields_add_remove_field.rb +216 -0
  2319. data/lib/oci/log_analytics/models/fields_command_descriptor.rb +166 -0
  2320. data/lib/oci/log_analytics/models/file_validation_response.rb +178 -0
  2321. data/lib/oci/log_analytics/models/filter.rb +207 -0
  2322. data/lib/oci/log_analytics/models/filter_details.rb +193 -0
  2323. data/lib/oci/log_analytics/models/filter_output.rb +186 -0
  2324. data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +189 -0
  2325. data/lib/oci/log_analytics/models/function_field.rb +207 -0
  2326. data/lib/oci/log_analytics/models/head_command_descriptor.rb +180 -0
  2327. data/lib/oci/log_analytics/models/highlight_command_descriptor.rb +202 -0
  2328. data/lib/oci/log_analytics/models/highlight_rows_command_descriptor.rb +180 -0
  2329. data/lib/oci/log_analytics/models/indexes.rb +168 -0
  2330. data/lib/oci/log_analytics/models/job_mode.rb +11 -0
  2331. data/lib/oci/log_analytics/models/job_mode_filter.rb +12 -0
  2332. data/lib/oci/log_analytics/models/label_names.rb +154 -0
  2333. data/lib/oci/log_analytics/models/label_priority.rb +174 -0
  2334. data/lib/oci/log_analytics/models/label_priority_collection.rb +150 -0
  2335. data/lib/oci/log_analytics/models/label_source_collection.rb +151 -0
  2336. data/lib/oci/log_analytics/models/label_source_summary.rb +238 -0
  2337. data/lib/oci/log_analytics/models/label_summary_report.rb +168 -0
  2338. data/lib/oci/log_analytics/models/lifecycle_states.rb +11 -0
  2339. data/lib/oci/log_analytics/models/link_command_descriptor.rb +214 -0
  2340. data/lib/oci/log_analytics/models/link_details_command_descriptor.rb +166 -0
  2341. data/lib/oci/log_analytics/models/literal_argument.rb +175 -0
  2342. data/lib/oci/log_analytics/models/log_analytics_associated_entity.rb +224 -0
  2343. data/lib/oci/log_analytics/models/log_analytics_associated_entity_collection.rb +150 -0
  2344. data/lib/oci/log_analytics/models/log_analytics_association.rb +398 -0
  2345. data/lib/oci/log_analytics/models/log_analytics_association_collection.rb +150 -0
  2346. data/lib/oci/log_analytics/models/log_analytics_association_parameter.rb +283 -0
  2347. data/lib/oci/log_analytics/models/log_analytics_association_parameter_collection.rb +150 -0
  2348. data/lib/oci/log_analytics/models/log_analytics_config_work_request.rb +299 -0
  2349. data/lib/oci/log_analytics/models/log_analytics_config_work_request_collection.rb +150 -0
  2350. data/lib/oci/log_analytics/models/log_analytics_config_work_request_payload.rb +182 -0
  2351. data/lib/oci/log_analytics/models/log_analytics_config_work_request_summary.rb +275 -0
  2352. data/lib/oci/log_analytics/models/log_analytics_entity.rb +450 -0
  2353. data/lib/oci/log_analytics/models/log_analytics_entity_collection.rb +151 -0
  2354. data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +396 -0
  2355. data/lib/oci/log_analytics/models/log_analytics_entity_summary_report.rb +200 -0
  2356. data/lib/oci/log_analytics/models/log_analytics_entity_type.rb +302 -0
  2357. data/lib/oci/log_analytics/models/log_analytics_entity_type_collection.rb +151 -0
  2358. data/lib/oci/log_analytics/models/log_analytics_entity_type_summary.rb +277 -0
  2359. data/lib/oci/log_analytics/models/log_analytics_extended_field.rb +232 -0
  2360. data/lib/oci/log_analytics/models/log_analytics_field.rb +428 -0
  2361. data/lib/oci/log_analytics/models/log_analytics_field_collection.rb +150 -0
  2362. data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +425 -0
  2363. data/lib/oci/log_analytics/models/log_analytics_import_custom_change_list.rb +266 -0
  2364. data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +209 -0
  2365. data/lib/oci/log_analytics/models/log_analytics_label.rb +337 -0
  2366. data/lib/oci/log_analytics/models/log_analytics_label_alias.rb +239 -0
  2367. data/lib/oci/log_analytics/models/log_analytics_label_collection.rb +151 -0
  2368. data/lib/oci/log_analytics/models/log_analytics_label_definition.rb +196 -0
  2369. data/lib/oci/log_analytics/models/log_analytics_label_operator.rb +164 -0
  2370. data/lib/oci/log_analytics/models/log_analytics_label_operator_collection.rb +150 -0
  2371. data/lib/oci/log_analytics/models/log_analytics_label_summary.rb +337 -0
  2372. data/lib/oci/log_analytics/models/log_analytics_label_view.rb +341 -0
  2373. data/lib/oci/log_analytics/models/log_analytics_log_group.rb +258 -0
  2374. data/lib/oci/log_analytics/models/log_analytics_log_group_summary.rb +258 -0
  2375. data/lib/oci/log_analytics/models/log_analytics_log_group_summary_collection.rb +150 -0
  2376. data/lib/oci/log_analytics/models/log_analytics_lookup.rb +308 -0
  2377. data/lib/oci/log_analytics/models/log_analytics_meta_function.rb +226 -0
  2378. data/lib/oci/log_analytics/models/log_analytics_meta_function_argument.rb +322 -0
  2379. data/lib/oci/log_analytics/models/log_analytics_meta_function_collection.rb +150 -0
  2380. data/lib/oci/log_analytics/models/log_analytics_meta_source_type.rb +244 -0
  2381. data/lib/oci/log_analytics/models/log_analytics_meta_source_type_collection.rb +150 -0
  2382. data/lib/oci/log_analytics/models/log_analytics_metric.rb +466 -0
  2383. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +473 -0
  2384. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_collection.rb +150 -0
  2385. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +343 -0
  2386. data/lib/oci/log_analytics/models/log_analytics_operation_types.rb +11 -0
  2387. data/lib/oci/log_analytics/models/log_analytics_parameter.rb +202 -0
  2388. data/lib/oci/log_analytics/models/log_analytics_parser.rb +540 -0
  2389. data/lib/oci/log_analytics/models/log_analytics_parser_collection.rb +150 -0
  2390. data/lib/oci/log_analytics/models/log_analytics_parser_field.rb +270 -0
  2391. data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +225 -0
  2392. data/lib/oci/log_analytics/models/log_analytics_parser_function.rb +279 -0
  2393. data/lib/oci/log_analytics/models/log_analytics_parser_function_collection.rb +150 -0
  2394. data/lib/oci/log_analytics/models/log_analytics_parser_function_parameter.rb +237 -0
  2395. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin.rb +188 -0
  2396. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_collection.rb +150 -0
  2397. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_parameter.rb +212 -0
  2398. data/lib/oci/log_analytics/models/log_analytics_parser_summary.rb +540 -0
  2399. data/lib/oci/log_analytics/models/log_analytics_pattern_filter.rb +238 -0
  2400. data/lib/oci/log_analytics/models/log_analytics_source.rb +598 -0
  2401. data/lib/oci/log_analytics/models/log_analytics_source_collection.rb +150 -0
  2402. data/lib/oci/log_analytics/models/log_analytics_source_data_filter.rb +348 -0
  2403. data/lib/oci/log_analytics/models/log_analytics_source_entity_type.rb +196 -0
  2404. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition.rb +359 -0
  2405. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition_collection.rb +150 -0
  2406. data/lib/oci/log_analytics/models/log_analytics_source_function.rb +295 -0
  2407. data/lib/oci/log_analytics/models/log_analytics_source_label_condition.rb +388 -0
  2408. data/lib/oci/log_analytics/models/log_analytics_source_metadata_field.rb +206 -0
  2409. data/lib/oci/log_analytics/models/log_analytics_source_metric.rb +196 -0
  2410. data/lib/oci/log_analytics/models/log_analytics_source_pattern.rb +397 -0
  2411. data/lib/oci/log_analytics/models/log_analytics_source_pattern_collection.rb +150 -0
  2412. data/lib/oci/log_analytics/models/log_analytics_source_summary.rb +598 -0
  2413. data/lib/oci/log_analytics/models/log_group_summary_report.rb +150 -0
  2414. data/lib/oci/log_analytics/models/lookup_command_descriptor.rb +166 -0
  2415. data/lib/oci/log_analytics/models/lookup_field.rb +230 -0
  2416. data/lib/oci/log_analytics/models/macro_command_descriptor.rb +166 -0
  2417. data/lib/oci/log_analytics/models/match_info.rb +182 -0
  2418. data/lib/oci/log_analytics/models/multi_search_command_descriptor.rb +184 -0
  2419. data/lib/oci/log_analytics/models/namespace.rb +183 -0
  2420. data/lib/oci/log_analytics/models/namespace_collection.rb +152 -0
  2421. data/lib/oci/log_analytics/models/namespace_summary.rb +180 -0
  2422. data/lib/oci/log_analytics/models/object_collection_rule_collection_types.rb +12 -0
  2423. data/lib/oci/log_analytics/models/operation_status.rb +15 -0
  2424. data/lib/oci/log_analytics/models/parse_query_details.rb +182 -0
  2425. data/lib/oci/log_analytics/models/parse_query_output.rb +208 -0
  2426. data/lib/oci/log_analytics/models/parsed_content.rb +224 -0
  2427. data/lib/oci/log_analytics/models/parsed_field.rb +168 -0
  2428. data/lib/oci/log_analytics/models/parser_summary_report.rb +168 -0
  2429. data/lib/oci/log_analytics/models/parser_test_result.rb +202 -0
  2430. data/lib/oci/log_analytics/models/property_override.rb +201 -0
  2431. data/lib/oci/log_analytics/models/purge_action.rb +246 -0
  2432. data/lib/oci/log_analytics/models/purge_storage_data_details.rb +226 -0
  2433. data/lib/oci/log_analytics/models/query_aggregation.rb +264 -0
  2434. data/lib/oci/log_analytics/models/query_details.rb +401 -0
  2435. data/lib/oci/log_analytics/models/query_operation_type.rb +11 -0
  2436. data/lib/oci/log_analytics/models/query_work_request.rb +440 -0
  2437. data/lib/oci/log_analytics/models/query_work_request_collection.rb +152 -0
  2438. data/lib/oci/log_analytics/models/query_work_request_summary.rb +335 -0
  2439. data/lib/oci/log_analytics/models/recall_archived_data_details.rb +210 -0
  2440. data/lib/oci/log_analytics/models/regex_command_descriptor.rb +166 -0
  2441. data/lib/oci/log_analytics/models/regex_match_result.rb +210 -0
  2442. data/lib/oci/log_analytics/models/release_recalled_data_details.rb +210 -0
  2443. data/lib/oci/log_analytics/models/remove_entity_associations_details.rb +156 -0
  2444. data/lib/oci/log_analytics/models/rename_command_descriptor.rb +166 -0
  2445. data/lib/oci/log_analytics/models/result_column.rb +205 -0
  2446. data/lib/oci/log_analytics/models/schedule.rb +223 -0
  2447. data/lib/oci/log_analytics/models/scheduled_task.rb +398 -0
  2448. data/lib/oci/log_analytics/models/scheduled_task_collection.rb +150 -0
  2449. data/lib/oci/log_analytics/models/scheduled_task_summary.rb +344 -0
  2450. data/lib/oci/log_analytics/models/scheduler_resource.rb +154 -0
  2451. data/lib/oci/log_analytics/models/scope_filter.rb +167 -0
  2452. data/lib/oci/log_analytics/models/search_command_descriptor.rb +184 -0
  2453. data/lib/oci/log_analytics/models/search_lookup_command_descriptor.rb +166 -0
  2454. data/lib/oci/log_analytics/models/sort_command_descriptor.rb +166 -0
  2455. data/lib/oci/log_analytics/models/sort_field.rb +216 -0
  2456. data/lib/oci/log_analytics/models/source_mapping_response.rb +154 -0
  2457. data/lib/oci/log_analytics/models/source_summary_report.rb +182 -0
  2458. data/lib/oci/log_analytics/models/source_validate_details.rb +160 -0
  2459. data/lib/oci/log_analytics/models/source_validate_results.rb +150 -0
  2460. data/lib/oci/log_analytics/models/stats_command_descriptor.rb +195 -0
  2461. data/lib/oci/log_analytics/models/status_summary.rb +202 -0
  2462. data/lib/oci/log_analytics/models/step_info.rb +182 -0
  2463. data/lib/oci/log_analytics/models/storage.rb +170 -0
  2464. data/lib/oci/log_analytics/models/storage_data_type.rb +11 -0
  2465. data/lib/oci/log_analytics/models/storage_operation_type.rb +15 -0
  2466. data/lib/oci/log_analytics/models/storage_usage.rb +182 -0
  2467. data/lib/oci/log_analytics/models/storage_work_request.rb +469 -0
  2468. data/lib/oci/log_analytics/models/storage_work_request_collection.rb +152 -0
  2469. data/lib/oci/log_analytics/models/storage_work_request_summary.rb +466 -0
  2470. data/lib/oci/log_analytics/models/stream_action.rb +162 -0
  2471. data/lib/oci/log_analytics/models/sub_system_name.rb +10 -0
  2472. data/lib/oci/log_analytics/models/success.rb +150 -0
  2473. data/lib/oci/log_analytics/models/suggest_details.rb +214 -0
  2474. data/lib/oci/log_analytics/models/suggest_output.rb +222 -0
  2475. data/lib/oci/log_analytics/models/tail_command_descriptor.rb +180 -0
  2476. data/lib/oci/log_analytics/models/task_type.rb +13 -0
  2477. data/lib/oci/log_analytics/models/test_parser_payload_details.rb +463 -0
  2478. data/lib/oci/log_analytics/models/time_column.rb +211 -0
  2479. data/lib/oci/log_analytics/models/time_compare_command_descriptor.rb +166 -0
  2480. data/lib/oci/log_analytics/models/time_range.rb +188 -0
  2481. data/lib/oci/log_analytics/models/time_stats_command_descriptor.rb +217 -0
  2482. data/lib/oci/log_analytics/models/timezone_collection.rb +150 -0
  2483. data/lib/oci/log_analytics/models/top_command_descriptor.rb +180 -0
  2484. data/lib/oci/log_analytics/models/trend_column.rb +269 -0
  2485. data/lib/oci/log_analytics/models/ui_parser_test_metadata.rb +182 -0
  2486. data/lib/oci/log_analytics/models/update_log_analytics_entity_details.rb +238 -0
  2487. data/lib/oci/log_analytics/models/update_log_analytics_entity_type_details.rb +161 -0
  2488. data/lib/oci/log_analytics/models/update_log_analytics_log_group_details.rb +202 -0
  2489. data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +258 -0
  2490. data/lib/oci/log_analytics/models/update_scheduled_task_details.rb +202 -0
  2491. data/lib/oci/log_analytics/models/update_storage_details.rb +154 -0
  2492. data/lib/oci/log_analytics/models/upload.rb +231 -0
  2493. data/lib/oci/log_analytics/models/upload_collection.rb +150 -0
  2494. data/lib/oci/log_analytics/models/upload_file_collection.rb +150 -0
  2495. data/lib/oci/log_analytics/models/upload_file_status.rb +168 -0
  2496. data/lib/oci/log_analytics/models/upload_file_summary.rb +359 -0
  2497. data/lib/oci/log_analytics/models/upload_summary.rb +230 -0
  2498. data/lib/oci/log_analytics/models/upload_warning_collection.rb +150 -0
  2499. data/lib/oci/log_analytics/models/upload_warning_summary.rb +188 -0
  2500. data/lib/oci/log_analytics/models/upsert_log_analytics_association.rb +248 -0
  2501. data/lib/oci/log_analytics/models/upsert_log_analytics_association_details.rb +164 -0
  2502. data/lib/oci/log_analytics/models/upsert_log_analytics_field_details.rb +202 -0
  2503. data/lib/oci/log_analytics/models/upsert_log_analytics_label_details.rb +296 -0
  2504. data/lib/oci/log_analytics/models/upsert_log_analytics_parser_details.rb +440 -0
  2505. data/lib/oci/log_analytics/models/upsert_log_analytics_source_details.rb +500 -0
  2506. data/lib/oci/log_analytics/models/usage_status_item.rb +196 -0
  2507. data/lib/oci/log_analytics/models/value_type.rb +17 -0
  2508. data/lib/oci/log_analytics/models/verify_output.rb +216 -0
  2509. data/lib/oci/log_analytics/models/violation.rb +226 -0
  2510. data/lib/oci/log_analytics/models/where_command_descriptor.rb +166 -0
  2511. data/lib/oci/log_analytics/models/work_request.rb +306 -0
  2512. data/lib/oci/log_analytics/models/work_request_collection.rb +152 -0
  2513. data/lib/oci/log_analytics/models/work_request_error.rb +173 -0
  2514. data/lib/oci/log_analytics/models/work_request_error_collection.rb +152 -0
  2515. data/lib/oci/log_analytics/models/work_request_log.rb +160 -0
  2516. data/lib/oci/log_analytics/models/work_request_log_collection.rb +152 -0
  2517. data/lib/oci/log_analytics/models/work_request_resource.rb +219 -0
  2518. data/lib/oci/log_analytics/models/work_request_status.rb +14 -0
  2519. data/lib/oci/log_analytics/models/work_request_summary.rb +258 -0
  2520. data/lib/oci/log_analytics/util.rb +3 -0
  2521. data/lib/oci/logging/logging.rb +90 -0
  2522. data/lib/oci/logging/logging_management_client.rb +2280 -0
  2523. data/lib/oci/logging/logging_management_client_composite_operations.rb +794 -0
  2524. data/lib/oci/logging/models/action_types.rb +14 -0
  2525. data/lib/oci/logging/models/archiving.rb +156 -0
  2526. data/lib/oci/logging/models/category.rb +174 -0
  2527. data/lib/oci/logging/models/change_log_group_compartment_details.rb +154 -0
  2528. data/lib/oci/logging/models/change_log_log_group_details.rb +154 -0
  2529. data/lib/oci/logging/models/change_log_saved_search_compartment_details.rb +155 -0
  2530. data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +154 -0
  2531. data/lib/oci/logging/models/configuration.rb +174 -0
  2532. data/lib/oci/logging/models/create_log_details.rb +259 -0
  2533. data/lib/oci/logging/models/create_log_group_details.rb +215 -0
  2534. data/lib/oci/logging/models/create_log_saved_search_details.rb +223 -0
  2535. data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +258 -0
  2536. data/lib/oci/logging/models/grok_pattern.rb +202 -0
  2537. data/lib/oci/logging/models/group_association_details.rb +154 -0
  2538. data/lib/oci/logging/models/log.rb +383 -0
  2539. data/lib/oci/logging/models/log_group.rb +291 -0
  2540. data/lib/oci/logging/models/log_group_lifecycle_state.rb +15 -0
  2541. data/lib/oci/logging/models/log_group_summary.rb +291 -0
  2542. data/lib/oci/logging/models/log_included_search.rb +251 -0
  2543. data/lib/oci/logging/models/log_included_search_summary.rb +195 -0
  2544. data/lib/oci/logging/models/log_included_search_summary_collection.rb +150 -0
  2545. data/lib/oci/logging/models/log_lifecycle_state.rb +15 -0
  2546. data/lib/oci/logging/models/log_saved_search.rb +300 -0
  2547. data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +15 -0
  2548. data/lib/oci/logging/models/log_saved_search_summary.rb +300 -0
  2549. data/lib/oci/logging/models/log_saved_search_summary_collection.rb +151 -0
  2550. data/lib/oci/logging/models/log_summary.rb +369 -0
  2551. data/lib/oci/logging/models/oci_service.rb +188 -0
  2552. data/lib/oci/logging/models/operation_status.rb +15 -0
  2553. data/lib/oci/logging/models/operation_types.rb +21 -0
  2554. data/lib/oci/logging/models/parameter.rb +191 -0
  2555. data/lib/oci/logging/models/resource_type.rb +160 -0
  2556. data/lib/oci/logging/models/service_summary.rb +222 -0
  2557. data/lib/oci/logging/models/source.rb +191 -0
  2558. data/lib/oci/logging/models/source_update_details.rb +150 -0
  2559. data/lib/oci/logging/models/unified_agent_apache2_parser.rb +173 -0
  2560. data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +173 -0
  2561. data/lib/oci/logging/models/unified_agent_auditd_parser.rb +173 -0
  2562. data/lib/oci/logging/models/unified_agent_configuration.rb +368 -0
  2563. data/lib/oci/logging/models/unified_agent_configuration_collection.rb +150 -0
  2564. data/lib/oci/logging/models/unified_agent_configuration_summary.rb +372 -0
  2565. data/lib/oci/logging/models/unified_agent_csv_parser.rb +194 -0
  2566. data/lib/oci/logging/models/unified_agent_grok_parser.rb +211 -0
  2567. data/lib/oci/logging/models/unified_agent_logging_configuration.rb +166 -0
  2568. data/lib/oci/logging/models/unified_agent_logging_destination.rb +154 -0
  2569. data/lib/oci/logging/models/unified_agent_logging_source.rb +201 -0
  2570. data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +173 -0
  2571. data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +224 -0
  2572. data/lib/oci/logging/models/unified_agent_multiline_parser.rb +198 -0
  2573. data/lib/oci/logging/models/unified_agent_none_parser.rb +189 -0
  2574. data/lib/oci/logging/models/unified_agent_parser.rb +313 -0
  2575. data/lib/oci/logging/models/unified_agent_regex_parser.rb +198 -0
  2576. data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +189 -0
  2577. data/lib/oci/logging/models/unified_agent_service_configuration_states.rb +11 -0
  2578. data/lib/oci/logging/models/unified_agent_service_configuration_types.rb +10 -0
  2579. data/lib/oci/logging/models/unified_agent_syslog_parser.rb +294 -0
  2580. data/lib/oci/logging/models/unified_agent_tail_log_source.rb +170 -0
  2581. data/lib/oci/logging/models/unified_agent_tsv_parser.rb +194 -0
  2582. data/lib/oci/logging/models/unified_agent_windows_event_source.rb +161 -0
  2583. data/lib/oci/logging/models/unified_json_parser.rb +223 -0
  2584. data/lib/oci/logging/models/update_configuration_details.rb +159 -0
  2585. data/lib/oci/logging/models/update_log_details.rb +230 -0
  2586. data/lib/oci/logging/models/update_log_group_details.rb +201 -0
  2587. data/lib/oci/logging/models/update_log_saved_search_details.rb +209 -0
  2588. data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +244 -0
  2589. data/lib/oci/logging/models/work_request.rb +307 -0
  2590. data/lib/oci/logging/models/work_request_error.rb +173 -0
  2591. data/lib/oci/logging/models/work_request_log.rb +160 -0
  2592. data/lib/oci/logging/models/work_request_resource.rb +219 -0
  2593. data/lib/oci/logging/models/work_request_summary.rb +307 -0
  2594. data/lib/oci/logging/util.rb +3 -0
  2595. data/lib/oci/loggingingestion/logging_client.rb +169 -0
  2596. data/lib/oci/loggingingestion/logging_client_composite_operations.rb +25 -0
  2597. data/lib/oci/loggingingestion/loggingingestion.rb +22 -0
  2598. data/lib/oci/loggingingestion/models/log_entry.rb +177 -0
  2599. data/lib/oci/loggingingestion/models/log_entry_batch.rb +201 -0
  2600. data/lib/oci/loggingingestion/models/put_logs_details.rb +167 -0
  2601. data/lib/oci/loggingingestion/util.rb +3 -0
  2602. data/lib/oci/loggingsearch/log_search_client.rb +169 -0
  2603. data/lib/oci/loggingsearch/log_search_client_composite_operations.rb +25 -0
  2604. data/lib/oci/loggingsearch/loggingsearch.rb +24 -0
  2605. data/lib/oci/loggingsearch/models/field_info.rb +195 -0
  2606. data/lib/oci/loggingsearch/models/search_logs_details.rb +202 -0
  2607. data/lib/oci/loggingsearch/models/search_response.rb +170 -0
  2608. data/lib/oci/loggingsearch/models/search_result.rb +150 -0
  2609. data/lib/oci/loggingsearch/models/search_result_summary.rb +168 -0
  2610. data/lib/oci/loggingsearch/util.rb +3 -0
  2611. data/lib/oci/management_agent/management_agent.rb +48 -0
  2612. data/lib/oci/management_agent/management_agent_client.rb +1382 -0
  2613. data/lib/oci/management_agent/management_agent_client_composite_operations.rb +273 -0
  2614. data/lib/oci/management_agent/models/action_types.rb +14 -0
  2615. data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +196 -0
  2616. data/lib/oci/management_agent/models/datatypes.rb +14 -0
  2617. data/lib/oci/management_agent/models/deploy_plugins_details.rb +182 -0
  2618. data/lib/oci/management_agent/models/edit_modes.rb +12 -0
  2619. data/lib/oci/management_agent/models/lifecycle_states.rb +17 -0
  2620. data/lib/oci/management_agent/models/management_agent.rb +443 -0
  2621. data/lib/oci/management_agent/models/management_agent_error.rb +160 -0
  2622. data/lib/oci/management_agent/models/management_agent_image.rb +268 -0
  2623. data/lib/oci/management_agent/models/management_agent_image_summary.rb +281 -0
  2624. data/lib/oci/management_agent/models/management_agent_install_key.rb +326 -0
  2625. data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +302 -0
  2626. data/lib/oci/management_agent/models/management_agent_plugin.rb +257 -0
  2627. data/lib/oci/management_agent/models/management_agent_plugin_details.rb +196 -0
  2628. data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +264 -0
  2629. data/lib/oci/management_agent/models/management_agent_summary.rb +401 -0
  2630. data/lib/oci/management_agent/models/operation_status.rb +16 -0
  2631. data/lib/oci/management_agent/models/operation_types.rb +12 -0
  2632. data/lib/oci/management_agent/models/platform_types.rb +11 -0
  2633. data/lib/oci/management_agent/models/update_management_agent_details.rb +200 -0
  2634. data/lib/oci/management_agent/models/update_management_agent_install_key_details.rb +168 -0
  2635. data/lib/oci/management_agent/models/work_delivery_status.rb +15 -0
  2636. data/lib/oci/management_agent/models/work_request.rb +308 -0
  2637. data/lib/oci/management_agent/models/work_request_error.rb +173 -0
  2638. data/lib/oci/management_agent/models/work_request_log_entry.rb +160 -0
  2639. data/lib/oci/management_agent/models/work_request_resource.rb +281 -0
  2640. data/lib/oci/management_agent/models/work_request_summary.rb +308 -0
  2641. data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
  2642. data/lib/oci/management_agent/util.rb +3 -0
  2643. data/lib/oci/management_dashboard/dashx_apis_client.rb +1024 -0
  2644. data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +25 -0
  2645. data/lib/oci/management_dashboard/management_dashboard.rb +39 -0
  2646. data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +154 -0
  2647. data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +154 -0
  2648. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +408 -0
  2649. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +395 -0
  2650. data/lib/oci/management_dashboard/models/lifecycle_states.rb +10 -0
  2651. data/lib/oci/management_dashboard/models/management_dashboard.rb +478 -0
  2652. data/lib/oci/management_dashboard/models/management_dashboard_collection.rb +150 -0
  2653. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +182 -0
  2654. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +422 -0
  2655. data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +182 -0
  2656. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +375 -0
  2657. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +293 -0
  2658. data/lib/oci/management_dashboard/models/management_saved_search.rb +458 -0
  2659. data/lib/oci/management_dashboard/models/management_saved_search_collection.rb +150 -0
  2660. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +402 -0
  2661. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +462 -0
  2662. data/lib/oci/management_dashboard/models/saved_search_types.rb +13 -0
  2663. data/lib/oci/management_dashboard/models/sort_orders.rb +11 -0
  2664. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +394 -0
  2665. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +385 -0
  2666. data/lib/oci/management_dashboard/util.rb +3 -0
  2667. data/lib/oci/marketplace/marketplace.rb +56 -0
  2668. data/lib/oci/marketplace/marketplace_client.rb +1242 -0
  2669. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
  2670. data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
  2671. data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
  2672. data/lib/oci/marketplace/models/agreement.rb +230 -0
  2673. data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
  2674. data/lib/oci/marketplace/models/category_summary.rb +150 -0
  2675. data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
  2676. data/lib/oci/marketplace/models/documentation_link.rb +174 -0
  2677. data/lib/oci/{streaming/models/archiver_error.rb → marketplace/models/error_entity.rb} +6 -5
  2678. data/lib/oci/marketplace/models/image_listing_package.rb +226 -0
  2679. data/lib/oci/marketplace/models/item.rb +160 -0
  2680. data/lib/oci/marketplace/models/link.rb +183 -0
  2681. data/lib/oci/marketplace/models/link_enum.rb +14 -0
  2682. data/lib/oci/marketplace/models/listing.rb +480 -0
  2683. data/lib/oci/marketplace/models/listing_package.rb +266 -0
  2684. data/lib/oci/marketplace/models/listing_package_summary.rb +245 -0
  2685. data/lib/oci/marketplace/models/listing_summary.rb +312 -0
  2686. data/lib/oci/marketplace/models/named_link.rb +160 -0
  2687. data/lib/oci/marketplace/models/orchestration_listing_package.rb +207 -0
  2688. data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
  2689. data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
  2690. data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
  2691. data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
  2692. data/lib/oci/marketplace/models/pricing_model.rb +244 -0
  2693. data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
  2694. data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
  2695. data/lib/oci/marketplace/models/publisher.rb +259 -0
  2696. data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
  2697. data/lib/oci/marketplace/models/region.rb +170 -0
  2698. data/lib/oci/marketplace/models/report_collection.rb +150 -0
  2699. data/lib/oci/marketplace/models/report_summary.rb +184 -0
  2700. data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
  2701. data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
  2702. data/lib/oci/marketplace/models/screenshot.rb +202 -0
  2703. data/lib/oci/marketplace/models/support_contact.rb +180 -0
  2704. data/lib/oci/marketplace/models/tax_summary.rb +180 -0
  2705. data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
  2706. data/lib/oci/marketplace/models/upload_data.rb +192 -0
  2707. data/lib/oci/marketplace/util.rb +3 -0
  2708. data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
  2709. data/lib/oci/monitoring/models/alarm.rb +8 -6
  2710. data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
  2711. data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
  2712. data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
  2713. data/lib/oci/monitoring/models/alarm_summary.rb +2 -1
  2714. data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +2 -1
  2715. data/lib/oci/monitoring/models/create_alarm_details.rb +8 -6
  2716. data/lib/oci/monitoring/models/datapoint.rb +2 -1
  2717. data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
  2718. data/lib/oci/monitoring/models/list_metrics_details.rb +2 -1
  2719. data/lib/oci/monitoring/models/metric.rb +2 -1
  2720. data/lib/oci/monitoring/models/metric_data.rb +2 -1
  2721. data/lib/oci/monitoring/models/metric_data_details.rb +2 -1
  2722. data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
  2723. data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
  2724. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -1
  2725. data/lib/oci/monitoring/models/suppression.rb +2 -1
  2726. data/lib/oci/monitoring/models/update_alarm_details.rb +8 -6
  2727. data/lib/oci/monitoring/monitoring.rb +2 -1
  2728. data/lib/oci/monitoring/monitoring_client.rb +31 -25
  2729. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
  2730. data/lib/oci/monitoring/util.rb +2 -1
  2731. data/lib/oci/mysql/db_backups_client.rb +453 -0
  2732. data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
  2733. data/lib/oci/mysql/db_system_client.rb +1296 -0
  2734. data/lib/oci/mysql/db_system_client_composite_operations.rb +667 -0
  2735. data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
  2736. data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
  2737. data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
  2738. data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
  2739. data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
  2740. data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
  2741. data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
  2742. data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
  2743. data/lib/oci/mysql/models/backup.rb +460 -0
  2744. data/lib/oci/mysql/models/backup_policy.rb +235 -0
  2745. data/lib/oci/mysql/models/backup_summary.rb +339 -0
  2746. data/lib/oci/mysql/models/configuration.rb +353 -0
  2747. data/lib/oci/mysql/models/configuration_summary.rb +287 -0
  2748. data/lib/oci/mysql/models/configuration_variables.rb +913 -0
  2749. data/lib/oci/mysql/models/create_backup_details.rb +253 -0
  2750. data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
  2751. data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
  2752. data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
  2753. data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
  2754. data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
  2755. data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
  2756. data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
  2757. data/lib/oci/mysql/models/db_system.rb +543 -0
  2758. data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
  2759. data/lib/oci/mysql/models/db_system_source.rb +196 -0
  2760. data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
  2761. data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
  2762. data/lib/oci/mysql/models/db_system_summary.rb +349 -0
  2763. data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
  2764. data/lib/oci/mysql/models/maintenance_details.rb +162 -0
  2765. data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
  2766. data/lib/oci/mysql/models/shape_summary.rb +224 -0
  2767. data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
  2768. data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
  2769. data/lib/oci/mysql/models/update_backup_details.rb +212 -0
  2770. data/lib/oci/mysql/models/update_backup_policy_details.rb +226 -0
  2771. data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
  2772. data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
  2773. data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
  2774. data/lib/oci/mysql/models/version.rb +161 -0
  2775. data/lib/oci/mysql/models/version_summary.rb +165 -0
  2776. data/lib/oci/mysql/models/work_request.rb +320 -0
  2777. data/lib/oci/mysql/models/work_request_error.rb +174 -0
  2778. data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
  2779. data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
  2780. data/lib/oci/mysql/models/work_request_operation_type.rb +22 -0
  2781. data/lib/oci/mysql/models/work_request_resource.rb +219 -0
  2782. data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
  2783. data/lib/oci/mysql/models/work_request_summary.rb +310 -0
  2784. data/lib/oci/mysql/mysql.rb +74 -0
  2785. data/lib/oci/mysql/mysqlaas_client.rb +612 -0
  2786. data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
  2787. data/lib/oci/mysql/util.rb +3 -0
  2788. data/lib/oci/mysql/work_requests_client.rb +380 -0
  2789. data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
  2790. data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
  2791. data/lib/oci/nosql/models/column.rb +188 -0
  2792. data/lib/oci/nosql/models/create_index_details.rb +196 -0
  2793. data/lib/oci/nosql/models/create_table_details.rb +240 -0
  2794. data/lib/oci/nosql/models/delete_row_result.rb +194 -0
  2795. data/lib/oci/nosql/models/index.rb +255 -0
  2796. data/lib/oci/nosql/models/index_collection.rb +150 -0
  2797. data/lib/oci/nosql/models/index_key.rb +187 -0
  2798. data/lib/oci/nosql/models/index_summary.rb +189 -0
  2799. data/lib/oci/nosql/models/prepared_statement.rb +161 -0
  2800. data/lib/oci/nosql/models/query_details.rb +246 -0
  2801. data/lib/oci/nosql/models/query_result_collection.rb +159 -0
  2802. data/lib/oci/nosql/models/request_usage.rb +168 -0
  2803. data/lib/oci/nosql/models/row.rb +176 -0
  2804. data/lib/oci/nosql/models/schema.rb +188 -0
  2805. data/lib/oci/nosql/models/statement_summary.rb +248 -0
  2806. data/lib/oci/nosql/models/table.rb +380 -0
  2807. data/lib/oci/nosql/models/table_collection.rb +178 -0
  2808. data/lib/oci/nosql/models/table_limits.rb +182 -0
  2809. data/lib/oci/nosql/models/table_summary.rb +332 -0
  2810. data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
  2811. data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
  2812. data/lib/oci/nosql/models/update_row_details.rb +285 -0
  2813. data/lib/oci/nosql/models/update_row_result.rb +208 -0
  2814. data/lib/oci/nosql/models/update_table_details.rb +220 -0
  2815. data/lib/oci/nosql/models/work_request.rb +306 -0
  2816. data/lib/oci/nosql/models/work_request_collection.rb +150 -0
  2817. data/lib/oci/nosql/models/work_request_error.rb +174 -0
  2818. data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
  2819. data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
  2820. data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
  2821. data/lib/oci/nosql/models/work_request_resource.rb +220 -0
  2822. data/lib/oci/nosql/models/work_request_summary.rb +306 -0
  2823. data/lib/oci/nosql/nosql.rb +53 -0
  2824. data/lib/oci/nosql/nosql_client.rb +1549 -0
  2825. data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
  2826. data/lib/oci/nosql/util.rb +3 -0
  2827. data/lib/oci/object_storage/models/bucket.rb +102 -8
  2828. data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
  2829. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
  2830. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
  2831. data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
  2832. data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
  2833. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
  2834. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
  2835. data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
  2836. data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
  2837. data/lib/oci/object_storage/models/duration.rb +193 -0
  2838. data/lib/oci/object_storage/models/list_objects.rb +3 -2
  2839. data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
  2840. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
  2841. data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
  2842. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
  2843. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +22 -5
  2844. data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
  2845. data/lib/oci/object_storage/models/object_summary.rb +31 -6
  2846. data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
  2847. data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
  2848. data/lib/oci/object_storage/models/pattern_details.rb +2 -1
  2849. data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
  2850. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
  2851. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
  2852. data/lib/oci/object_storage/models/reencrypt_object_details.rb +195 -0
  2853. data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
  2854. data/lib/oci/object_storage/models/replication_policy.rb +263 -0
  2855. data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
  2856. data/lib/oci/object_storage/models/replication_source.rb +182 -0
  2857. data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
  2858. data/lib/oci/object_storage/models/retention_rule.rb +227 -0
  2859. data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
  2860. data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
  2861. data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
  2862. data/lib/oci/object_storage/models/sse_customer_key_details.rb +191 -0
  2863. data/lib/oci/object_storage/models/update_bucket_details.rb +56 -11
  2864. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
  2865. data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
  2866. data/lib/oci/object_storage/models/work_request.rb +12 -8
  2867. data/lib/oci/object_storage/models/work_request_error.rb +2 -1
  2868. data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
  2869. data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
  2870. data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
  2871. data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
  2872. data/lib/oci/object_storage/object_storage.rb +17 -1
  2873. data/lib/oci/object_storage/object_storage_client.rb +1173 -92
  2874. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
  2875. data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
  2876. data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
  2877. data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
  2878. data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
  2879. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
  2880. data/lib/oci/object_storage/transfer/transfer.rb +2 -1
  2881. data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
  2882. data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
  2883. data/lib/oci/object_storage/util.rb +2 -1
  2884. data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
  2885. data/lib/oci/oce/models/create_oce_instance_details.rb +400 -0
  2886. data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
  2887. data/lib/oci/oce/models/license_type.rb +11 -0
  2888. data/lib/oci/oce/models/oce_instance.rb +549 -0
  2889. data/lib/oci/oce/models/oce_instance_summary.rb +517 -0
  2890. data/lib/oci/oce/models/update_oce_instance_details.rb +223 -0
  2891. data/lib/oci/oce/models/work_request.rb +320 -0
  2892. data/lib/oci/oce/models/work_request_error.rb +173 -0
  2893. data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
  2894. data/lib/oci/oce/models/work_request_resource.rb +219 -0
  2895. data/lib/oci/oce/models/workflow_monitor.rb +182 -0
  2896. data/lib/oci/oce/models/workflow_step.rb +164 -0
  2897. data/lib/oci/oce/oce.rb +33 -0
  2898. data/lib/oci/oce/oce_instance_client.rb +721 -0
  2899. data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
  2900. data/lib/oci/oce/util.rb +3 -0
  2901. data/lib/oci/ocvp/esxi_host_client.rb +477 -0
  2902. data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +165 -0
  2903. data/lib/oci/ocvp/models/action_types.rb +14 -0
  2904. data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +156 -0
  2905. data/lib/oci/ocvp/models/create_esxi_host_details.rb +215 -0
  2906. data/lib/oci/ocvp/models/create_sddc_details.rb +475 -0
  2907. data/lib/oci/ocvp/models/esxi_host.rb +332 -0
  2908. data/lib/oci/ocvp/models/esxi_host_collection.rb +150 -0
  2909. data/lib/oci/ocvp/models/esxi_host_summary.rb +324 -0
  2910. data/lib/oci/ocvp/models/lifecycle_states.rb +15 -0
  2911. data/lib/oci/ocvp/models/operation_status.rb +15 -0
  2912. data/lib/oci/ocvp/models/operation_types.rb +13 -0
  2913. data/lib/oci/ocvp/models/sddc.rb +883 -0
  2914. data/lib/oci/ocvp/models/sddc_collection.rb +150 -0
  2915. data/lib/oci/ocvp/models/sddc_summary.rb +414 -0
  2916. data/lib/oci/ocvp/models/sort_orders.rb +11 -0
  2917. data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +150 -0
  2918. data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +163 -0
  2919. data/lib/oci/ocvp/models/update_esxi_host_details.rb +194 -0
  2920. data/lib/oci/ocvp/models/update_sddc_details.rb +365 -0
  2921. data/lib/oci/ocvp/models/work_request.rb +309 -0
  2922. data/lib/oci/ocvp/models/work_request_collection.rb +150 -0
  2923. data/lib/oci/ocvp/models/work_request_error.rb +175 -0
  2924. data/lib/oci/ocvp/models/work_request_error_collection.rb +150 -0
  2925. data/lib/oci/ocvp/models/work_request_log_entry.rb +163 -0
  2926. data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +150 -0
  2927. data/lib/oci/ocvp/models/work_request_resource.rb +222 -0
  2928. data/lib/oci/ocvp/ocvp.rb +48 -0
  2929. data/lib/oci/ocvp/sddc_client.rb +610 -0
  2930. data/lib/oci/ocvp/sddc_client_composite_operations.rb +165 -0
  2931. data/lib/oci/ocvp/util.rb +3 -0
  2932. data/lib/oci/ocvp/work_request_client.rb +361 -0
  2933. data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
  2934. data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
  2935. data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
  2936. data/lib/oci/oda/models/error_body.rb +160 -0
  2937. data/lib/oci/oda/models/oda_instance.rb +406 -0
  2938. data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
  2939. data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
  2940. data/lib/oci/oda/models/work_request.rb +343 -0
  2941. data/lib/oci/oda/models/work_request_error.rb +177 -0
  2942. data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
  2943. data/lib/oci/oda/models/work_request_resource.rb +275 -0
  2944. data/lib/oci/oda/models/work_request_summary.rb +265 -0
  2945. data/lib/oci/oda/oda.rb +31 -0
  2946. data/lib/oci/oda/oda_client.rb +975 -0
  2947. data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
  2948. data/lib/oci/oda/util.rb +3 -0
  2949. data/lib/oci/ons/models/backoff_retry_policy.rb +4 -2
  2950. data/lib/oci/ons/models/change_compartment_details.rb +2 -1
  2951. data/lib/oci/ons/models/confirmation_result.rb +7 -4
  2952. data/lib/oci/ons/models/create_subscription_details.rb +22 -5
  2953. data/lib/oci/ons/models/create_topic_details.rb +2 -1
  2954. data/lib/oci/ons/models/delivery_policy.rb +2 -1
  2955. data/lib/oci/ons/models/message_details.rb +2 -1
  2956. data/lib/oci/ons/models/notification_topic.rb +5 -3
  2957. data/lib/oci/ons/models/notification_topic_summary.rb +3 -2
  2958. data/lib/oci/ons/models/publish_result.rb +2 -1
  2959. data/lib/oci/ons/models/subscription.rb +10 -4
  2960. data/lib/oci/ons/models/subscription_summary.rb +7 -4
  2961. data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
  2962. data/lib/oci/ons/models/update_subscription_details.rb +2 -1
  2963. data/lib/oci/ons/notification_control_plane_client.rb +11 -20
  2964. data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
  2965. data/lib/oci/ons/notification_data_plane_client.rb +44 -22
  2966. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
  2967. data/lib/oci/ons/ons.rb +2 -1
  2968. data/lib/oci/ons/util.rb +2 -1
  2969. data/lib/oci/opsi/models/database_details.rb +210 -0
  2970. data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
  2971. data/lib/oci/opsi/models/database_insights.rb +154 -0
  2972. data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
  2973. data/lib/oci/opsi/models/historical_data_item.rb +165 -0
  2974. data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
  2975. data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
  2976. data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
  2977. data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
  2978. data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
  2979. data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
  2980. data/lib/oci/opsi/models/projected_data_item.rb +195 -0
  2981. data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
  2982. data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
  2983. data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
  2984. data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
  2985. data/lib/oci/opsi/models/resource_statistics.rb +219 -0
  2986. data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
  2987. data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
  2988. data/lib/oci/opsi/models/sort_order.rb +11 -0
  2989. data/lib/oci/opsi/models/sql_bucket.rb +307 -0
  2990. data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
  2991. data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
  2992. data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
  2993. data/lib/oci/opsi/models/sql_inventory.rb +182 -0
  2994. data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
  2995. data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
  2996. data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
  2997. data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
  2998. data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
  2999. data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
  3000. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
  3001. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
  3002. data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
  3003. data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
  3004. data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
  3005. data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
  3006. data/lib/oci/opsi/models/sql_statistics.rb +402 -0
  3007. data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
  3008. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
  3009. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
  3010. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
  3011. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
  3012. data/lib/oci/opsi/models/sql_text.rb +248 -0
  3013. data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
  3014. data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
  3015. data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
  3016. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
  3017. data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
  3018. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
  3019. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
  3020. data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
  3021. data/lib/oci/opsi/models/usage_unit.rb +13 -0
  3022. data/lib/oci/opsi/operations_insights_client.rb +2008 -0
  3023. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
  3024. data/lib/oci/opsi/opsi.rb +72 -0
  3025. data/lib/oci/opsi/util.rb +3 -0
  3026. data/lib/oci/optimizer/models/action.rb +192 -0
  3027. data/lib/oci/optimizer/models/action_type.rb +10 -0
  3028. data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
  3029. data/lib/oci/optimizer/models/category.rb +298 -0
  3030. data/lib/oci/optimizer/models/category_collection.rb +151 -0
  3031. data/lib/oci/optimizer/models/category_summary.rb +298 -0
  3032. data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
  3033. data/lib/oci/{streaming/models/archiver.rb → optimizer/models/enrollment_status.rb} +82 -94
  3034. data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
  3035. data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
  3036. data/lib/oci/optimizer/models/history_collection.rb +151 -0
  3037. data/lib/oci/optimizer/models/history_summary.rb +429 -0
  3038. data/lib/oci/optimizer/models/importance.rb +14 -0
  3039. data/lib/oci/optimizer/models/level_configuration.rb +164 -0
  3040. data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
  3041. data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
  3042. data/lib/oci/optimizer/models/operation_status.rb +15 -0
  3043. data/lib/oci/optimizer/models/operation_type.rb +10 -0
  3044. data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
  3045. data/lib/oci/optimizer/models/profile.rb +305 -0
  3046. data/lib/oci/optimizer/models/profile_collection.rb +151 -0
  3047. data/lib/oci/optimizer/models/profile_summary.rb +303 -0
  3048. data/lib/oci/optimizer/models/recommendation.rb +409 -0
  3049. data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
  3050. data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
  3051. data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
  3052. data/lib/oci/optimizer/models/resource_action.rb +450 -0
  3053. data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
  3054. data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
  3055. data/lib/oci/optimizer/models/resource_count.rb +182 -0
  3056. data/lib/oci/optimizer/models/sort_order.rb +11 -0
  3057. data/lib/oci/optimizer/models/status.rb +13 -0
  3058. data/lib/oci/optimizer/models/supported_level.rb +151 -0
  3059. data/lib/oci/optimizer/models/supported_levels.rb +153 -0
  3060. data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
  3061. data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
  3062. data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
  3063. data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
  3064. data/lib/oci/optimizer/models/work_request.rb +300 -0
  3065. data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
  3066. data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
  3067. data/lib/oci/optimizer/models/work_request_error.rb +173 -0
  3068. data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
  3069. data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
  3070. data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
  3071. data/lib/oci/optimizer/models/work_request_resource.rb +220 -0
  3072. data/lib/oci/optimizer/optimizer.rb +66 -0
  3073. data/lib/oci/optimizer/optimizer_client.rb +1652 -0
  3074. data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
  3075. data/lib/oci/optimizer/util.rb +3 -0
  3076. data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
  3077. data/lib/oci/os_management/models/api_error.rb +162 -0
  3078. data/lib/oci/os_management/models/arch_types.rb +14 -0
  3079. data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
  3080. data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
  3081. data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
  3082. data/lib/oci/os_management/models/available_update_summary.rb +286 -0
  3083. data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
  3084. data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
  3085. data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
  3086. data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
  3087. data/lib/oci/os_management/models/checksum_types.rb +13 -0
  3088. data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
  3089. data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
  3090. data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
  3091. data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
  3092. data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
  3093. data/lib/oci/os_management/models/erratum.rb +332 -0
  3094. data/lib/oci/os_management/models/erratum_summary.rb +247 -0
  3095. data/lib/oci/os_management/models/id.rb +164 -0
  3096. data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
  3097. data/lib/oci/os_management/models/installation_requirements.rb +12 -0
  3098. data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
  3099. data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
  3100. data/lib/oci/os_management/models/interval_types.rb +13 -0
  3101. data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
  3102. data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
  3103. data/lib/oci/os_management/models/managed_instance.rb +396 -0
  3104. data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
  3105. data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
  3106. data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
  3107. data/lib/oci/os_management/models/operation_status.rb +15 -0
  3108. data/lib/oci/os_management/models/operation_types.rb +13 -0
  3109. data/lib/oci/os_management/models/os_families.rb +12 -0
  3110. data/lib/oci/os_management/models/package_name.rb +150 -0
  3111. data/lib/oci/os_management/models/package_update_types.rb +13 -0
  3112. data/lib/oci/os_management/models/recurrence.rb +183 -0
  3113. data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
  3114. data/lib/oci/os_management/models/schedule_types.rb +11 -0
  3115. data/lib/oci/os_management/models/scheduled_job.rb +544 -0
  3116. data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
  3117. data/lib/oci/os_management/models/software_package.rb +290 -0
  3118. data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
  3119. data/lib/oci/os_management/models/software_package_file.rb +214 -0
  3120. data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
  3121. data/lib/oci/os_management/models/software_package_summary.rb +218 -0
  3122. data/lib/oci/os_management/models/software_source.rb +520 -0
  3123. data/lib/oci/os_management/models/software_source_id.rb +160 -0
  3124. data/lib/oci/os_management/models/software_source_summary.rb +341 -0
  3125. data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
  3126. data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
  3127. data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
  3128. data/lib/oci/os_management/models/update_types.rb +13 -0
  3129. data/lib/oci/os_management/models/windows_update.rb +330 -0
  3130. data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
  3131. data/lib/oci/os_management/models/work_request.rb +375 -0
  3132. data/lib/oci/os_management/models/work_request_error.rb +173 -0
  3133. data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
  3134. data/lib/oci/os_management/models/work_request_resource.rb +232 -0
  3135. data/lib/oci/os_management/models/work_request_summary.rb +321 -0
  3136. data/lib/oci/os_management/os_management.rb +80 -0
  3137. data/lib/oci/os_management/os_management_client.rb +3744 -0
  3138. data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
  3139. data/lib/oci/os_management/util.rb +3 -0
  3140. data/lib/oci/regions.rb +244 -8
  3141. data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
  3142. data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
  3143. data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
  3144. data/lib/oci/resource_manager/models/change_configuration_source_provider_compartment_details.rb +157 -0
  3145. data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +3 -2
  3146. data/lib/oci/resource_manager/models/compartment_config_source.rb +201 -0
  3147. data/lib/oci/resource_manager/models/config_source.rb +11 -5
  3148. data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
  3149. data/lib/oci/resource_manager/models/configuration_source_provider.rb +327 -0
  3150. data/lib/oci/resource_manager/models/configuration_source_provider_collection.rb +151 -0
  3151. data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +291 -0
  3152. data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
  3153. data/lib/oci/resource_manager/models/create_compartment_config_source_details.rb +199 -0
  3154. data/lib/oci/resource_manager/models/create_config_source_details.rb +7 -3
  3155. data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +246 -0
  3156. data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
  3157. data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -0
  3158. data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +200 -0
  3159. data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +164 -0
  3160. data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
  3161. data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
  3162. data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
  3163. data/lib/oci/resource_manager/models/create_stack_details.rb +22 -5
  3164. data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
  3165. data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
  3166. data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
  3167. data/lib/oci/resource_manager/models/failure_details.rb +4 -1
  3168. data/lib/oci/resource_manager/models/git_config_source.rb +198 -0
  3169. data/lib/oci/resource_manager/models/git_config_source_record.rb +207 -0
  3170. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +198 -0
  3171. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +198 -0
  3172. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +146 -0
  3173. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
  3174. data/lib/oci/resource_manager/models/job.rb +56 -11
  3175. data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
  3176. data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
  3177. data/lib/oci/resource_manager/models/job_summary.rb +33 -7
  3178. data/lib/oci/resource_manager/models/log_entry.rb +6 -2
  3179. data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
  3180. data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
  3181. data/lib/oci/resource_manager/models/resource_discovery_service_collection.rb +151 -0
  3182. data/lib/oci/resource_manager/models/resource_discovery_service_summary.rb +190 -0
  3183. data/lib/oci/resource_manager/models/stack.rb +81 -8
  3184. data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
  3185. data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +305 -0
  3186. data/lib/oci/resource_manager/models/stack_summary.rb +33 -3
  3187. data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
  3188. data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
  3189. data/lib/oci/resource_manager/models/update_config_source_details.rb +6 -3
  3190. data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +230 -0
  3191. data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -0
  3192. data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +196 -0
  3193. data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
  3194. data/lib/oci/resource_manager/models/update_stack_details.rb +20 -4
  3195. data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
  3196. data/lib/oci/resource_manager/models/work_request.rb +18 -6
  3197. data/lib/oci/resource_manager/models/work_request_error.rb +6 -2
  3198. data/lib/oci/resource_manager/models/work_request_log_entry.rb +6 -2
  3199. data/lib/oci/resource_manager/models/work_request_resource.rb +3 -2
  3200. data/lib/oci/resource_manager/models/work_request_summary.rb +16 -6
  3201. data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
  3202. data/lib/oci/resource_manager/models/zip_upload_config_source_record.rb +146 -0
  3203. data/lib/oci/resource_manager/resource_manager.rb +41 -1
  3204. data/lib/oci/resource_manager/resource_manager_client.rb +943 -165
  3205. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +195 -13
  3206. data/lib/oci/resource_manager/util.rb +2 -1
  3207. data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
  3208. data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
  3209. data/lib/oci/resource_search/models/resource_summary.rb +50 -11
  3210. data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
  3211. data/lib/oci/resource_search/models/resource_type.rb +2 -1
  3212. data/lib/oci/resource_search/models/search_context.rb +3 -2
  3213. data/lib/oci/resource_search/models/search_details.rb +4 -3
  3214. data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
  3215. data/lib/oci/resource_search/resource_search.rb +2 -1
  3216. data/lib/oci/resource_search/resource_search_client.rb +12 -19
  3217. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
  3218. data/lib/oci/resource_search/util.rb +2 -1
  3219. data/lib/oci/response.rb +2 -1
  3220. data/lib/oci/response_headers.rb +2 -1
  3221. data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
  3222. data/lib/oci/retry/functions/sleep.rb +2 -1
  3223. data/lib/oci/retry/internal/retry_state.rb +2 -1
  3224. data/lib/oci/retry/retry.rb +2 -1
  3225. data/lib/oci/retry/retry_config.rb +2 -1
  3226. data/lib/oci/sch/models/action_type.rb +14 -0
  3227. data/lib/oci/sch/models/change_service_connector_compartment_details.rb +157 -0
  3228. data/lib/oci/sch/models/create_service_connector_details.rb +247 -0
  3229. data/lib/oci/sch/models/functions_target_details.rb +164 -0
  3230. data/lib/oci/sch/models/lifecycle_state.rb +16 -0
  3231. data/lib/oci/sch/models/log_rule_task_details.rb +160 -0
  3232. data/lib/oci/sch/models/log_source.rb +186 -0
  3233. data/lib/oci/sch/models/logging_source_details.rb +164 -0
  3234. data/lib/oci/sch/models/monitoring_target_details.rb +194 -0
  3235. data/lib/oci/sch/models/notifications_target_details.rb +164 -0
  3236. data/lib/oci/sch/models/object_storage_target_details.rb +190 -0
  3237. data/lib/oci/sch/models/operation_status.rb +15 -0
  3238. data/lib/oci/sch/models/operation_type.rb +14 -0
  3239. data/lib/oci/sch/models/service_connector.rb +365 -0
  3240. data/lib/oci/sch/models/service_connector_collection.rb +152 -0
  3241. data/lib/oci/sch/models/service_connector_summary.rb +334 -0
  3242. data/lib/oci/sch/models/sort_order.rb +11 -0
  3243. data/lib/oci/sch/models/source_details.rb +190 -0
  3244. data/lib/oci/sch/models/streaming_target_details.rb +164 -0
  3245. data/lib/oci/sch/models/target_details.rb +198 -0
  3246. data/lib/oci/sch/models/task_details.rb +190 -0
  3247. data/lib/oci/sch/models/update_service_connector_details.rb +229 -0
  3248. data/lib/oci/sch/models/work_request.rb +325 -0
  3249. data/lib/oci/sch/models/work_request_collection.rb +152 -0
  3250. data/lib/oci/sch/models/work_request_error.rb +178 -0
  3251. data/lib/oci/sch/models/work_request_error_collection.rb +152 -0
  3252. data/lib/oci/sch/models/work_request_log_entry.rb +165 -0
  3253. data/lib/oci/sch/models/work_request_log_entry_collection.rb +152 -0
  3254. data/lib/oci/sch/models/work_request_resource.rb +223 -0
  3255. data/lib/oci/sch/sch.rb +49 -0
  3256. data/lib/oci/sch/service_connector_client.rb +958 -0
  3257. data/lib/oci/sch/service_connector_client_composite_operations.rb +329 -0
  3258. data/lib/oci/sch/util.rb +3 -0
  3259. data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
  3260. data/lib/oci/secrets/models/secret_bundle.rb +294 -0
  3261. data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
  3262. data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
  3263. data/lib/oci/secrets/secrets.rb +23 -0
  3264. data/lib/oci/secrets/secrets_client.rb +249 -0
  3265. data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
  3266. data/lib/oci/secrets/util.rb +3 -0
  3267. data/lib/oci/signer.rb +31 -5
  3268. data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
  3269. data/lib/oci/streaming/models/change_stream_compartment_details.rb +2 -1
  3270. data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
  3271. data/lib/oci/streaming/models/connect_harness.rb +281 -0
  3272. data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
  3273. data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
  3274. data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
  3275. data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
  3276. data/lib/oci/streaming/models/create_stream_details.rb +18 -3
  3277. data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
  3278. data/lib/oci/streaming/models/cursor.rb +2 -1
  3279. data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
  3280. data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
  3281. data/lib/oci/streaming/models/group.rb +4 -3
  3282. data/lib/oci/streaming/models/kafka_settings.rb +196 -0
  3283. data/lib/oci/streaming/models/message.rb +2 -1
  3284. data/lib/oci/streaming/models/partition_reservation.rb +2 -1
  3285. data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
  3286. data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
  3287. data/lib/oci/streaming/models/put_messages_details.rb +2 -1
  3288. data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
  3289. data/lib/oci/streaming/models/put_messages_result.rb +3 -2
  3290. data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
  3291. data/lib/oci/streaming/models/stream.rb +20 -2
  3292. data/lib/oci/streaming/models/stream_pool.rb +352 -0
  3293. data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
  3294. data/lib/oci/streaming/models/stream_summary.rb +20 -2
  3295. data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
  3296. data/lib/oci/streaming/models/update_group_details.rb +2 -1
  3297. data/lib/oci/streaming/models/update_stream_details.rb +18 -2
  3298. data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
  3299. data/lib/oci/streaming/stream_admin_client.rb +571 -99
  3300. data/lib/oci/streaming/stream_admin_client_composite_operations.rb +130 -47
  3301. data/lib/oci/streaming/stream_client.rb +27 -55
  3302. data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
  3303. data/lib/oci/streaming/streaming.rb +17 -7
  3304. data/lib/oci/streaming/util.rb +2 -1
  3305. data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
  3306. data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
  3307. data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
  3308. data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
  3309. data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
  3310. data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
  3311. data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
  3312. data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
  3313. data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
  3314. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
  3315. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
  3316. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
  3317. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
  3318. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
  3319. data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
  3320. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
  3321. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
  3322. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
  3323. data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
  3324. data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
  3325. data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
  3326. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
  3327. data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
  3328. data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
  3329. data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
  3330. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
  3331. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
  3332. data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
  3333. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
  3334. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
  3335. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
  3336. data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
  3337. data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
  3338. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
  3339. data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
  3340. data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
  3341. data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
  3342. data/lib/oci/usage_api/models/configuration.rb +161 -0
  3343. data/lib/oci/usage_api/models/configuration_aggregation.rb +150 -0
  3344. data/lib/oci/usage_api/models/dimension.rb +163 -0
  3345. data/lib/oci/usage_api/models/filter.rb +194 -0
  3346. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +282 -0
  3347. data/lib/oci/usage_api/models/tag.rb +171 -0
  3348. data/lib/oci/usage_api/models/usage_aggregation.rb +164 -0
  3349. data/lib/oci/usage_api/models/usage_summary.rb +488 -0
  3350. data/lib/oci/usage_api/usage_api.rb +27 -0
  3351. data/lib/oci/usage_api/usageapi_client.rb +223 -0
  3352. data/lib/oci/usage_api/usageapi_client_composite_operations.rb +25 -0
  3353. data/lib/oci/usage_api/util.rb +3 -0
  3354. data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
  3355. data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
  3356. data/lib/oci/vault/models/create_secret_details.rb +282 -0
  3357. data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
  3358. data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
  3359. data/lib/oci/vault/models/secret.rb +394 -0
  3360. data/lib/oci/vault/models/secret_content_details.rb +221 -0
  3361. data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
  3362. data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
  3363. data/lib/oci/vault/models/secret_rule.rb +191 -0
  3364. data/lib/oci/vault/models/secret_summary.rb +353 -0
  3365. data/lib/oci/vault/models/secret_version.rb +305 -0
  3366. data/lib/oci/vault/models/secret_version_summary.rb +305 -0
  3367. data/lib/oci/vault/models/update_secret_details.rb +241 -0
  3368. data/lib/oci/vault/util.rb +3 -0
  3369. data/lib/oci/vault/vault.rb +34 -0
  3370. data/lib/oci/vault/vaults_client.rb +872 -0
  3371. data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
  3372. data/lib/oci/version.rb +4 -2
  3373. data/lib/oci/waas/models/access_rule.rb +92 -10
  3374. data/lib/oci/waas/models/access_rule_criteria.rb +69 -32
  3375. data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
  3376. data/lib/oci/waas/models/address_list.rb +3 -1
  3377. data/lib/oci/waas/models/address_list_summary.rb +2 -1
  3378. data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
  3379. data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
  3380. data/lib/oci/waas/models/caching_rule.rb +12 -10
  3381. data/lib/oci/waas/models/caching_rule_criteria.rb +3 -6
  3382. data/lib/oci/waas/models/caching_rule_summary.rb +12 -10
  3383. data/lib/oci/waas/models/captcha.rb +2 -1
  3384. data/lib/oci/waas/models/certificate.rb +2 -1
  3385. data/lib/oci/waas/models/certificate_extensions.rb +2 -1
  3386. data/lib/oci/waas/models/certificate_issuer_name.rb +2 -1
  3387. data/lib/oci/waas/models/certificate_public_key_info.rb +2 -1
  3388. data/lib/oci/waas/models/certificate_subject_name.rb +2 -1
  3389. data/lib/oci/waas/models/certificate_summary.rb +2 -1
  3390. data/lib/oci/waas/models/change_address_list_compartment_details.rb +3 -2
  3391. data/lib/oci/waas/models/change_certificate_compartment_details.rb +3 -1
  3392. data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +3 -2
  3393. data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
  3394. data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +3 -1
  3395. data/lib/oci/waas/models/create_address_list_details.rb +4 -3
  3396. data/lib/oci/waas/models/create_certificate_details.rb +2 -1
  3397. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +19 -13
  3398. data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
  3399. data/lib/oci/waas/models/create_waas_policy_details.rb +4 -2
  3400. data/lib/oci/waas/models/custom_protection_rule.rb +22 -17
  3401. data/lib/oci/waas/models/custom_protection_rule_setting.rb +19 -8
  3402. data/lib/oci/waas/models/custom_protection_rule_summary.rb +8 -7
  3403. data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
  3404. data/lib/oci/waas/models/edge_subnet.rb +2 -1
  3405. data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
  3406. data/lib/oci/waas/models/good_bot.rb +2 -1
  3407. data/lib/oci/waas/models/header.rb +3 -2
  3408. data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
  3409. data/lib/oci/waas/models/health_check.rb +346 -0
  3410. data/lib/oci/waas/models/http_redirect.rb +302 -0
  3411. data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
  3412. data/lib/oci/waas/models/http_redirect_target.rb +210 -0
  3413. data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
  3414. data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
  3415. data/lib/oci/waas/models/js_challenge.rb +49 -6
  3416. data/lib/oci/waas/models/lifecycle_states.rb +2 -1
  3417. data/lib/oci/waas/models/load_balancing_method.rb +195 -0
  3418. data/lib/oci/waas/models/origin.rb +2 -1
  3419. data/lib/oci/waas/models/origin_group.rb +2 -1
  3420. data/lib/oci/waas/models/origin_group_origins.rb +4 -3
  3421. data/lib/oci/waas/models/policy_config.rb +77 -12
  3422. data/lib/oci/waas/models/protection_rule.rb +2 -1
  3423. data/lib/oci/waas/models/protection_rule_action.rb +2 -1
  3424. data/lib/oci/waas/models/protection_rule_exclusion.rb +5 -4
  3425. data/lib/oci/waas/models/protection_settings.rb +3 -2
  3426. data/lib/oci/waas/models/purge_cache.rb +4 -3
  3427. data/lib/oci/waas/models/recommendation.rb +2 -1
  3428. data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
  3429. data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
  3430. data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
  3431. data/lib/oci/waas/models/threat_feed.rb +2 -1
  3432. data/lib/oci/waas/models/threat_feed_action.rb +2 -1
  3433. data/lib/oci/waas/models/update_address_list_details.rb +4 -3
  3434. data/lib/oci/waas/models/update_certificate_details.rb +2 -1
  3435. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +18 -13
  3436. data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
  3437. data/lib/oci/waas/models/update_waas_policy_details.rb +4 -2
  3438. data/lib/oci/waas/models/waas_policy.rb +3 -2
  3439. data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +20 -9
  3440. data/lib/oci/waas/models/waas_policy_summary.rb +2 -1
  3441. data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
  3442. data/lib/oci/waas/models/waf_config.rb +4 -2
  3443. data/lib/oci/waas/models/waf_config_details.rb +4 -2
  3444. data/lib/oci/waas/models/waf_log.rb +4 -3
  3445. data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
  3446. data/lib/oci/waas/models/waf_request.rb +2 -1
  3447. data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
  3448. data/lib/oci/waas/models/whitelist.rb +21 -6
  3449. data/lib/oci/waas/models/work_request.rb +5 -1
  3450. data/lib/oci/waas/models/work_request_error.rb +2 -1
  3451. data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
  3452. data/lib/oci/waas/models/work_request_operation_types.rb +5 -1
  3453. data/lib/oci/waas/models/work_request_resource.rb +2 -1
  3454. data/lib/oci/waas/models/work_request_status_values.rb +2 -1
  3455. data/lib/oci/waas/models/work_request_summary.rb +5 -1
  3456. data/lib/oci/waas/redirect_client.rb +483 -0
  3457. data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
  3458. data/lib/oci/waas/util.rb +2 -1
  3459. data/lib/oci/waas/waas.rb +19 -1
  3460. data/lib/oci/waas/waas_client.rb +65 -61
  3461. data/lib/oci/waas/waas_client_composite_operations.rb +6 -5
  3462. data/lib/oci/waiter.rb +2 -1
  3463. data/lib/oci/work_requests/models/work_request.rb +2 -1
  3464. data/lib/oci/work_requests/models/work_request_error.rb +2 -1
  3465. data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -1
  3466. data/lib/oci/work_requests/models/work_request_resource.rb +2 -1
  3467. data/lib/oci/work_requests/models/work_request_summary.rb +2 -1
  3468. data/lib/oci/work_requests/util.rb +2 -1
  3469. data/lib/oci/work_requests/work_request_client.rb +6 -16
  3470. data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
  3471. data/lib/oci/work_requests/work_requests.rb +2 -1
  3472. data/lib/oraclebmc.rb +2 -1
  3473. metadata +2368 -14
  3474. data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
  3475. data/lib/oci/streaming/models/archiver_start_position.rb +0 -10
@@ -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,27 +52,16 @@ 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)
64
-
65
- if signer.nil?
66
- signer = OCI::Signer.new(
67
- config.user,
68
- config.fingerprint,
69
- config.tenancy,
70
- config.key_file,
71
- pass_phrase: config.pass_phrase,
72
- private_key_content: config.key_content
73
- )
74
- end
62
+ config = OCI::Config.validate_and_build_config_with_signer(config, signer)
63
+
64
+ signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
75
65
 
76
66
  @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
77
67
  @retry_config = retry_config
@@ -109,9 +99,13 @@ module OCI
109
99
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
110
100
 
111
101
 
112
- # Moves a steering policy into a different compartment. When provided, If-Match is checked against ETag values of the resource.
113
- # @param [String] steering_policy_id The OCID of the target steering policy.
114
- # @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
102
+ # Moves a resolver into a different compartment along with its protected default view and any endpoints.
103
+ # Zones in the default view are not moved.
104
+ #
105
+ # @param [String] resolver_id The OCID of the target resolver.
106
+ # @param [OCI::Dns::Models::ChangeResolverCompartmentDetails] change_resolver_compartment_details Details for moving a resolver, along with its protected default view and endpoints, into a
107
+ # different compartment.
108
+ #
115
109
  # @param [Hash] opts the optional parameters
116
110
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
117
111
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -128,20 +122,31 @@ module OCI
128
122
  # deleted and purged from the system, then a retry of the original creation
129
123
  # request may be rejected).
130
124
  #
125
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
126
+ # to contact Oracle about a particular request, please provide
127
+ # the request ID.
128
+ #
129
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
130
+ #
131
131
  # @return [Response] A Response object with data of type nil
132
- def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
133
- logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
132
+ def change_resolver_compartment(resolver_id, change_resolver_compartment_details, opts = {})
133
+ logger.debug 'Calling operation DnsClient#change_resolver_compartment.' if logger
134
134
 
135
- raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
136
- raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
137
- raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
135
+ raise "Missing the required parameter 'resolver_id' when calling change_resolver_compartment." if resolver_id.nil?
136
+ raise "Missing the required parameter 'change_resolver_compartment_details' when calling change_resolver_compartment." if change_resolver_compartment_details.nil?
138
137
 
139
- path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
138
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
139
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
140
+ end
141
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
142
+
143
+ path = '/resolvers/{resolverId}/actions/changeCompartment'.sub('{resolverId}', resolver_id.to_s)
140
144
  operation_signing_strategy = :standard
141
145
 
142
146
  # rubocop:disable Style/NegatedIf
143
147
  # Query Params
144
148
  query_params = {}
149
+ query_params[:scope] = opts[:scope] if opts[:scope]
145
150
 
146
151
  # Header Params
147
152
  header_params = {}
@@ -149,13 +154,14 @@ module OCI
149
154
  header_params[:'content-type'] = 'application/json'
150
155
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
151
156
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
157
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
152
158
  # rubocop:enable Style/NegatedIf
153
159
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
154
160
 
155
- post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
161
+ post_body = @api_client.object_to_http_body(change_resolver_compartment_details)
156
162
 
157
163
  # rubocop:disable Metrics/BlockLength
158
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
164
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_resolver_compartment') do
159
165
  @api_client.call_api(
160
166
  :POST,
161
167
  path,
@@ -177,10 +183,9 @@ module OCI
177
183
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
178
184
 
179
185
 
180
- # Moves a zone into a different compartment. When provided, If-Match is checked against ETag values of the resource.
181
- # **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
182
- # @param [String] zone_id The OCID of the target zone.
183
- # @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
186
+ # Moves a steering policy into a different compartment.
187
+ # @param [String] steering_policy_id The OCID of the target steering policy.
188
+ # @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
184
189
  # @param [Hash] opts the optional parameters
185
190
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
186
191
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -197,20 +202,31 @@ module OCI
197
202
  # deleted and purged from the system, then a retry of the original creation
198
203
  # request may be rejected).
199
204
  #
205
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
206
+ # to contact Oracle about a particular request, please provide
207
+ # the request ID.
208
+ #
209
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
210
+ #
200
211
  # @return [Response] A Response object with data of type nil
201
- def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
202
- logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
212
+ def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
213
+ logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
203
214
 
204
- raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
205
- raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
206
- raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
215
+ raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
216
+ raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
207
217
 
208
- path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
218
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
219
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
220
+ end
221
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
222
+
223
+ path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
209
224
  operation_signing_strategy = :standard
210
225
 
211
226
  # rubocop:disable Style/NegatedIf
212
227
  # Query Params
213
228
  query_params = {}
229
+ query_params[:scope] = opts[:scope] if opts[:scope]
214
230
 
215
231
  # Header Params
216
232
  header_params = {}
@@ -218,13 +234,14 @@ module OCI
218
234
  header_params[:'content-type'] = 'application/json'
219
235
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
220
236
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
237
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
221
238
  # rubocop:enable Style/NegatedIf
222
239
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
223
240
 
224
- post_body = @api_client.object_to_http_body(change_zone_compartment_details)
241
+ post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
225
242
 
226
243
  # rubocop:disable Metrics/BlockLength
227
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
244
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
228
245
  @api_client.call_api(
229
246
  :POST,
230
247
  path,
@@ -246,13 +263,18 @@ module OCI
246
263
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
247
264
 
248
265
 
249
- # Creates a new steering policy in the specified compartment. For more information on
250
- # creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
251
- #
252
- # @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
266
+ # Moves a TSIG key into a different compartment.
267
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
268
+ # @param [OCI::Dns::Models::ChangeTsigKeyCompartmentDetails] change_tsig_key_compartment_details Details for moving a TSIG key into a different compartment.
253
269
  # @param [Hash] opts the optional parameters
254
270
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
255
271
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
272
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
273
+ # existence of at least one current representation of the target resource,
274
+ # when the field-value is `*`, or having a current representation of the
275
+ # target resource that has an entity-tag matching a member of the list of
276
+ # entity-tags provided in the field-value.
277
+ #
256
278
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
257
279
  # of a timeout or server error without risk of executing that same action
258
280
  # again. Retry tokens expire after 24 hours, but can be invalidated before
@@ -260,31 +282,46 @@ module OCI
260
282
  # deleted and purged from the system, then a retry of the original creation
261
283
  # request may be rejected).
262
284
  #
263
- # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
264
- def create_steering_policy(create_steering_policy_details, opts = {})
265
- logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
285
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
286
+ # to contact Oracle about a particular request, please provide
287
+ # the request ID.
288
+ #
289
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
290
+ #
291
+ # @return [Response] A Response object with data of type nil
292
+ def change_tsig_key_compartment(tsig_key_id, change_tsig_key_compartment_details, opts = {})
293
+ logger.debug 'Calling operation DnsClient#change_tsig_key_compartment.' if logger
266
294
 
267
- raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
295
+ raise "Missing the required parameter 'tsig_key_id' when calling change_tsig_key_compartment." if tsig_key_id.nil?
296
+ raise "Missing the required parameter 'change_tsig_key_compartment_details' when calling change_tsig_key_compartment." if change_tsig_key_compartment_details.nil?
268
297
 
269
- path = '/steeringPolicies'
298
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
299
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
300
+ end
301
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
302
+
303
+ path = '/tsigKeys/{tsigKeyId}/actions/changeCompartment'.sub('{tsigKeyId}', tsig_key_id.to_s)
270
304
  operation_signing_strategy = :standard
271
305
 
272
306
  # rubocop:disable Style/NegatedIf
273
307
  # Query Params
274
308
  query_params = {}
309
+ query_params[:scope] = opts[:scope] if opts[:scope]
275
310
 
276
311
  # Header Params
277
312
  header_params = {}
278
313
  header_params[:accept] = 'application/json'
279
314
  header_params[:'content-type'] = 'application/json'
315
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
280
316
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
317
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
281
318
  # rubocop:enable Style/NegatedIf
282
319
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
283
320
 
284
- post_body = @api_client.object_to_http_body(create_steering_policy_details)
321
+ post_body = @api_client.object_to_http_body(change_tsig_key_compartment_details)
285
322
 
286
323
  # rubocop:disable Metrics/BlockLength
287
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
324
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_tsig_key_compartment') do
288
325
  @api_client.call_api(
289
326
  :POST,
290
327
  path,
@@ -292,8 +329,7 @@ module OCI
292
329
  header_params: header_params,
293
330
  query_params: query_params,
294
331
  operation_signing_strategy: operation_signing_strategy,
295
- body: post_body,
296
- return_type: 'OCI::Dns::Models::SteeringPolicy'
332
+ body: post_body
297
333
  )
298
334
  end
299
335
  # rubocop:enable Metrics/BlockLength
@@ -307,17 +343,19 @@ module OCI
307
343
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
308
344
 
309
345
 
310
- # Creates a new attachment between a steering policy and a domain, giving the
311
- # policy permission to answer queries for the specified domain. A steering policy must
312
- # be attached to a domain for the policy to answer DNS queries for that domain.
313
- #
314
- # For the purposes of access control, the attachment is automatically placed
315
- # into the same compartment as the domain's zone.
346
+ # Moves a view into a different compartment. Protected views cannot have their compartment changed.
316
347
  #
317
- # @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
348
+ # @param [String] view_id The OCID of the target view.
349
+ # @param [OCI::Dns::Models::ChangeViewCompartmentDetails] change_view_compartment_details Details for moving a view into a different compartment.
318
350
  # @param [Hash] opts the optional parameters
319
351
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
320
352
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
353
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
354
+ # existence of at least one current representation of the target resource,
355
+ # when the field-value is `*`, or having a current representation of the
356
+ # target resource that has an entity-tag matching a member of the list of
357
+ # entity-tags provided in the field-value.
358
+ #
321
359
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
322
360
  # of a timeout or server error without risk of executing that same action
323
361
  # again. Retry tokens expire after 24 hours, but can be invalidated before
@@ -325,31 +363,46 @@ module OCI
325
363
  # deleted and purged from the system, then a retry of the original creation
326
364
  # request may be rejected).
327
365
  #
328
- # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
329
- def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
330
- logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
366
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
367
+ # to contact Oracle about a particular request, please provide
368
+ # the request ID.
369
+ #
370
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
371
+ #
372
+ # @return [Response] A Response object with data of type nil
373
+ def change_view_compartment(view_id, change_view_compartment_details, opts = {})
374
+ logger.debug 'Calling operation DnsClient#change_view_compartment.' if logger
331
375
 
332
- raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
376
+ raise "Missing the required parameter 'view_id' when calling change_view_compartment." if view_id.nil?
377
+ raise "Missing the required parameter 'change_view_compartment_details' when calling change_view_compartment." if change_view_compartment_details.nil?
333
378
 
334
- path = '/steeringPolicyAttachments'
379
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
380
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
381
+ end
382
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
383
+
384
+ path = '/views/{viewId}/actions/changeCompartment'.sub('{viewId}', view_id.to_s)
335
385
  operation_signing_strategy = :standard
336
386
 
337
387
  # rubocop:disable Style/NegatedIf
338
388
  # Query Params
339
389
  query_params = {}
390
+ query_params[:scope] = opts[:scope] if opts[:scope]
340
391
 
341
392
  # Header Params
342
393
  header_params = {}
343
394
  header_params[:accept] = 'application/json'
344
395
  header_params[:'content-type'] = 'application/json'
396
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
345
397
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
398
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
346
399
  # rubocop:enable Style/NegatedIf
347
400
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
348
401
 
349
- post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
402
+ post_body = @api_client.object_to_http_body(change_view_compartment_details)
350
403
 
351
404
  # rubocop:disable Metrics/BlockLength
352
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
405
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_view_compartment') do
353
406
  @api_client.call_api(
354
407
  :POST,
355
408
  path,
@@ -357,8 +410,7 @@ module OCI
357
410
  header_params: header_params,
358
411
  query_params: query_params,
359
412
  operation_signing_strategy: operation_signing_strategy,
360
- body: post_body,
361
- return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
413
+ body: post_body
362
414
  )
363
415
  end
364
416
  # rubocop:enable Metrics/BlockLength
@@ -372,39 +424,68 @@ module OCI
372
424
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
373
425
 
374
426
 
375
- # Creates a new zone in the specified compartment. The `compartmentId`
376
- # query parameter is required if the `Content-Type` header for the
377
- # request is `text/dns`.
427
+ # Moves a zone into a different compartment. Protected zones cannot have their compartment changed.
428
+ #
429
+ # **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
378
430
  #
379
- # @param [OCI::Dns::Models::CreateZoneDetails] create_zone_details Details for creating a new zone.
431
+ # @param [String] zone_id The OCID of the target zone.
432
+ # @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
380
433
  # @param [Hash] opts the optional parameters
381
434
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
382
435
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
383
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
384
- # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
385
- def create_zone(create_zone_details, opts = {})
386
- logger.debug 'Calling operation DnsClient#create_zone.' if logger
436
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
437
+ # existence of at least one current representation of the target resource,
438
+ # when the field-value is `*`, or having a current representation of the
439
+ # target resource that has an entity-tag matching a member of the list of
440
+ # entity-tags provided in the field-value.
441
+ #
442
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
443
+ # of a timeout or server error without risk of executing that same action
444
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
445
+ # then due to conflicting operations (for example, if a resource has been
446
+ # deleted and purged from the system, then a retry of the original creation
447
+ # request may be rejected).
448
+ #
449
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
450
+ # to contact Oracle about a particular request, please provide
451
+ # the request ID.
452
+ #
453
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
454
+ #
455
+ # @return [Response] A Response object with data of type nil
456
+ def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
457
+ logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
387
458
 
388
- raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
459
+ raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
460
+ raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
389
461
 
390
- path = '/zones'
462
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
463
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
464
+ end
465
+ raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
466
+
467
+ path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
391
468
  operation_signing_strategy = :standard
392
469
 
393
470
  # rubocop:disable Style/NegatedIf
394
471
  # Query Params
395
472
  query_params = {}
396
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
473
+ query_params[:scope] = opts[:scope] if opts[:scope]
397
474
 
398
475
  # Header Params
399
476
  header_params = {}
400
477
  header_params[:accept] = 'application/json'
401
478
  header_params[:'content-type'] = 'application/json'
479
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
480
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
481
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
402
482
  # rubocop:enable Style/NegatedIf
483
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
403
484
 
404
- post_body = @api_client.object_to_http_body(create_zone_details)
485
+ post_body = @api_client.object_to_http_body(change_zone_compartment_details)
405
486
 
406
487
  # rubocop:disable Metrics/BlockLength
407
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
488
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
408
489
  @api_client.call_api(
409
490
  :POST,
410
491
  path,
@@ -412,8 +493,7 @@ module OCI
412
493
  header_params: header_params,
413
494
  query_params: query_params,
414
495
  operation_signing_strategy: operation_signing_strategy,
415
- body: post_body,
416
- return_type: 'OCI::Dns::Models::Zone'
496
+ body: post_body
417
497
  )
418
498
  end
419
499
  # rubocop:enable Metrics/BlockLength
@@ -427,62 +507,68 @@ module OCI
427
507
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
428
508
 
429
509
 
430
- # Deletes all records at the specified zone and domain.
431
- # @param [String] zone_name_or_id The name or OCID of the target zone.
432
- # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
510
+ # Creates a new resolver endpoint.
511
+ #
512
+ # @param [String] resolver_id The OCID of the target resolver.
513
+ # @param [OCI::Dns::Models::CreateResolverEndpointDetails] create_resolver_endpoint_details Details for creating a new resolver endpoint.
433
514
  # @param [Hash] opts the optional parameters
434
515
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
435
516
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
436
- # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
437
- # existence of at least one current representation of the target resource,
438
- # when the field-value is `*`, or having a current representation of the
439
- # target resource that has an entity-tag matching a member of the list of
440
- # entity-tags provided in the field-value.
517
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
518
+ # of a timeout or server error without risk of executing that same action
519
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
520
+ # then due to conflicting operations (for example, if a resource has been
521
+ # deleted and purged from the system, then a retry of the original creation
522
+ # request may be rejected).
441
523
  #
442
- # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
443
- # conditional on the selected representation's last modification date being
444
- # earlier than or equal to the date provided in the field-value. This
445
- # field accomplishes the same purpose as If-Match for cases where the user
446
- # agent does not have an entity-tag for the representation.
524
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
525
+ # to contact Oracle about a particular request, please provide
526
+ # the request ID.
447
527
  #
448
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
449
- # @return [Response] A Response object with data of type nil
450
- def delete_domain_records(zone_name_or_id, domain, opts = {})
451
- logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
528
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
529
+ #
530
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
531
+ def create_resolver_endpoint(resolver_id, create_resolver_endpoint_details, opts = {})
532
+ logger.debug 'Calling operation DnsClient#create_resolver_endpoint.' if logger
452
533
 
453
- raise "Missing the required parameter 'zone_name_or_id' when calling delete_domain_records." if zone_name_or_id.nil?
454
- raise "Missing the required parameter 'domain' when calling delete_domain_records." if domain.nil?
455
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
456
- raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
534
+ raise "Missing the required parameter 'resolver_id' when calling create_resolver_endpoint." if resolver_id.nil?
535
+ raise "Missing the required parameter 'create_resolver_endpoint_details' when calling create_resolver_endpoint." if create_resolver_endpoint_details.nil?
457
536
 
458
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
537
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
538
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
539
+ end
540
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
541
+
542
+ path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
459
543
  operation_signing_strategy = :standard
460
544
 
461
545
  # rubocop:disable Style/NegatedIf
462
546
  # Query Params
463
547
  query_params = {}
464
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
548
+ query_params[:scope] = opts[:scope] if opts[:scope]
465
549
 
466
550
  # Header Params
467
551
  header_params = {}
468
552
  header_params[:accept] = 'application/json'
469
553
  header_params[:'content-type'] = 'application/json'
470
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
471
- header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
554
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
555
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
472
556
  # rubocop:enable Style/NegatedIf
557
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
473
558
 
474
- post_body = nil
559
+ post_body = @api_client.object_to_http_body(create_resolver_endpoint_details)
475
560
 
476
561
  # rubocop:disable Metrics/BlockLength
477
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
562
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_resolver_endpoint') do
478
563
  @api_client.call_api(
479
- :DELETE,
564
+ :POST,
480
565
  path,
481
566
  endpoint,
482
567
  header_params: header_params,
483
568
  query_params: query_params,
484
569
  operation_signing_strategy: operation_signing_strategy,
485
- body: post_body
570
+ body: post_body,
571
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
486
572
  )
487
573
  end
488
574
  # rubocop:enable Metrics/BlockLength
@@ -496,66 +582,66 @@ module OCI
496
582
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
497
583
 
498
584
 
499
- # Deletes all records in the specified RRSet.
585
+ # Creates a new steering policy in the specified compartment. For more information on
586
+ # creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
500
587
  #
501
- # @param [String] zone_name_or_id The name or OCID of the target zone.
502
- # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
503
- # @param [String] rtype The type of the target RRSet within the target zone.
588
+ # @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
504
589
  # @param [Hash] opts the optional parameters
505
590
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
506
591
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
507
- # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
508
- # existence of at least one current representation of the target resource,
509
- # when the field-value is `*`, or having a current representation of the
510
- # target resource that has an entity-tag matching a member of the list of
511
- # entity-tags provided in the field-value.
592
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
593
+ # of a timeout or server error without risk of executing that same action
594
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
595
+ # then due to conflicting operations (for example, if a resource has been
596
+ # deleted and purged from the system, then a retry of the original creation
597
+ # request may be rejected).
512
598
  #
513
- # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
514
- # conditional on the selected representation's last modification date being
515
- # earlier than or equal to the date provided in the field-value. This
516
- # field accomplishes the same purpose as If-Match for cases where the user
517
- # agent does not have an entity-tag for the representation.
599
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
600
+ # to contact Oracle about a particular request, please provide
601
+ # the request ID.
518
602
  #
519
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
520
- # @return [Response] A Response object with data of type nil
521
- def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
522
- logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
603
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
604
+ #
605
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
606
+ def create_steering_policy(create_steering_policy_details, opts = {})
607
+ logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
523
608
 
524
- raise "Missing the required parameter 'zone_name_or_id' when calling delete_rr_set." if zone_name_or_id.nil?
525
- raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
526
- raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
527
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
528
- raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
529
- raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
609
+ raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
530
610
 
531
- path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
611
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
612
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
613
+ end
614
+
615
+ path = '/steeringPolicies'
532
616
  operation_signing_strategy = :standard
533
617
 
534
618
  # rubocop:disable Style/NegatedIf
535
619
  # Query Params
536
620
  query_params = {}
537
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
621
+ query_params[:scope] = opts[:scope] if opts[:scope]
538
622
 
539
623
  # Header Params
540
624
  header_params = {}
541
625
  header_params[:accept] = 'application/json'
542
626
  header_params[:'content-type'] = 'application/json'
543
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
544
- header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
627
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
628
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
545
629
  # rubocop:enable Style/NegatedIf
630
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
546
631
 
547
- post_body = nil
632
+ post_body = @api_client.object_to_http_body(create_steering_policy_details)
548
633
 
549
634
  # rubocop:disable Metrics/BlockLength
550
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
635
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
551
636
  @api_client.call_api(
552
- :DELETE,
637
+ :POST,
553
638
  path,
554
639
  endpoint,
555
640
  header_params: header_params,
556
641
  query_params: query_params,
557
642
  operation_signing_strategy: operation_signing_strategy,
558
- body: post_body
643
+ body: post_body,
644
+ return_type: 'OCI::Dns::Models::SteeringPolicy'
559
645
  )
560
646
  end
561
647
  # rubocop:enable Metrics/BlockLength
@@ -569,61 +655,70 @@ module OCI
569
655
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
570
656
 
571
657
 
572
- # Deletes the specified steering policy.
573
- # A `204` response indicates that the delete has been successful.
574
- # Deletion will fail if the policy is attached to any zones. To detach a
575
- # policy from a zone, see `DeleteSteeringPolicyAttachment`.
658
+ # Creates a new attachment between a steering policy and a domain, giving the
659
+ # policy permission to answer queries for the specified domain. A steering policy must
660
+ # be attached to a domain for the policy to answer DNS queries for that domain.
576
661
  #
577
- # @param [String] steering_policy_id The OCID of the target steering policy.
662
+ # For the purposes of access control, the attachment is automatically placed
663
+ # into the same compartment as the domain's zone.
664
+ #
665
+ # @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
578
666
  # @param [Hash] opts the optional parameters
579
667
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
580
668
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
581
- # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
582
- # existence of at least one current representation of the target resource,
583
- # when the field-value is `*`, or having a current representation of the
584
- # target resource that has an entity-tag matching a member of the list of
585
- # entity-tags provided in the field-value.
669
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
670
+ # of a timeout or server error without risk of executing that same action
671
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
672
+ # then due to conflicting operations (for example, if a resource has been
673
+ # deleted and purged from the system, then a retry of the original creation
674
+ # request may be rejected).
586
675
  #
587
- # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
588
- # conditional on the selected representation's last modification date being
589
- # earlier than or equal to the date provided in the field-value. This
590
- # field accomplishes the same purpose as If-Match for cases where the user
591
- # agent does not have an entity-tag for the representation.
676
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
677
+ # to contact Oracle about a particular request, please provide
678
+ # the request ID.
592
679
  #
593
- # @return [Response] A Response object with data of type nil
594
- def delete_steering_policy(steering_policy_id, opts = {})
595
- logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
680
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
681
+ #
682
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
683
+ def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
684
+ logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
596
685
 
597
- raise "Missing the required parameter 'steering_policy_id' when calling delete_steering_policy." if steering_policy_id.nil?
598
- raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
686
+ raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
599
687
 
600
- path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
688
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
689
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
690
+ end
691
+
692
+ path = '/steeringPolicyAttachments'
601
693
  operation_signing_strategy = :standard
602
694
 
603
695
  # rubocop:disable Style/NegatedIf
604
696
  # Query Params
605
697
  query_params = {}
698
+ query_params[:scope] = opts[:scope] if opts[:scope]
606
699
 
607
700
  # Header Params
608
701
  header_params = {}
609
702
  header_params[:accept] = 'application/json'
610
703
  header_params[:'content-type'] = 'application/json'
611
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
612
- header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
704
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
705
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
613
706
  # rubocop:enable Style/NegatedIf
707
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
614
708
 
615
- post_body = nil
709
+ post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
616
710
 
617
711
  # rubocop:disable Metrics/BlockLength
618
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
712
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
619
713
  @api_client.call_api(
620
- :DELETE,
714
+ :POST,
621
715
  path,
622
716
  endpoint,
623
717
  header_params: header_params,
624
718
  query_params: query_params,
625
719
  operation_signing_strategy: operation_signing_strategy,
626
- body: post_body
720
+ body: post_body,
721
+ return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
627
722
  )
628
723
  end
629
724
  # rubocop:enable Metrics/BlockLength
@@ -637,59 +732,57 @@ module OCI
637
732
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
638
733
 
639
734
 
640
- # Deletes the specified steering policy attachment.
641
- # A `204` response indicates that the delete has been successful.
735
+ # Creates a new TSIG key in the specified compartment. There is no
736
+ # `opc-retry-token` header since TSIG key names must be globally unique.
642
737
  #
643
- # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
738
+ # @param [OCI::Dns::Models::CreateTsigKeyDetails] create_tsig_key_details Details for creating a new TSIG key.
644
739
  # @param [Hash] opts the optional parameters
645
740
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
646
741
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
647
- # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
648
- # existence of at least one current representation of the target resource,
649
- # when the field-value is `*`, or having a current representation of the
650
- # target resource that has an entity-tag matching a member of the list of
651
- # entity-tags provided in the field-value.
742
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
743
+ # to contact Oracle about a particular request, please provide
744
+ # the request ID.
652
745
  #
653
- # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
654
- # conditional on the selected representation's last modification date being
655
- # earlier than or equal to the date provided in the field-value. This
656
- # field accomplishes the same purpose as If-Match for cases where the user
657
- # agent does not have an entity-tag for the representation.
746
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
658
747
  #
659
- # @return [Response] A Response object with data of type nil
660
- def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
661
- logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
748
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
749
+ def create_tsig_key(create_tsig_key_details, opts = {})
750
+ logger.debug 'Calling operation DnsClient#create_tsig_key.' if logger
662
751
 
663
- raise "Missing the required parameter 'steering_policy_attachment_id' when calling delete_steering_policy_attachment." if steering_policy_attachment_id.nil?
664
- raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
752
+ raise "Missing the required parameter 'create_tsig_key_details' when calling create_tsig_key." if create_tsig_key_details.nil?
665
753
 
666
- path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
754
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
755
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
756
+ end
757
+
758
+ path = '/tsigKeys'
667
759
  operation_signing_strategy = :standard
668
760
 
669
761
  # rubocop:disable Style/NegatedIf
670
762
  # Query Params
671
763
  query_params = {}
764
+ query_params[:scope] = opts[:scope] if opts[:scope]
672
765
 
673
766
  # Header Params
674
767
  header_params = {}
675
768
  header_params[:accept] = 'application/json'
676
769
  header_params[:'content-type'] = 'application/json'
677
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
678
- header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
770
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
679
771
  # rubocop:enable Style/NegatedIf
680
772
 
681
- post_body = nil
773
+ post_body = @api_client.object_to_http_body(create_tsig_key_details)
682
774
 
683
775
  # rubocop:disable Metrics/BlockLength
684
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
776
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_tsig_key') do
685
777
  @api_client.call_api(
686
- :DELETE,
778
+ :POST,
687
779
  path,
688
780
  endpoint,
689
781
  header_params: header_params,
690
782
  query_params: query_params,
691
783
  operation_signing_strategy: operation_signing_strategy,
692
- body: post_body
784
+ body: post_body,
785
+ return_type: 'OCI::Dns::Models::TsigKey'
693
786
  )
694
787
  end
695
788
  # rubocop:enable Metrics/BlockLength
@@ -703,61 +796,65 @@ module OCI
703
796
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
704
797
 
705
798
 
706
- # Deletes the specified zone and all its steering policy attachments.
707
- # A `204` response indicates that zone has been successfully deleted.
799
+ # Creates a new view in the specified compartment.
708
800
  #
709
- # @param [String] zone_name_or_id The name or OCID of the target zone.
801
+ # @param [OCI::Dns::Models::CreateViewDetails] create_view_details Details for creating a new view.
710
802
  # @param [Hash] opts the optional parameters
711
803
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
712
804
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
713
- # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
714
- # existence of at least one current representation of the target resource,
715
- # when the field-value is `*`, or having a current representation of the
716
- # target resource that has an entity-tag matching a member of the list of
717
- # entity-tags provided in the field-value.
805
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
806
+ # of a timeout or server error without risk of executing that same action
807
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
808
+ # then due to conflicting operations (for example, if a resource has been
809
+ # deleted and purged from the system, then a retry of the original creation
810
+ # request may be rejected).
718
811
  #
719
- # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
720
- # conditional on the selected representation's last modification date being
721
- # earlier than or equal to the date provided in the field-value. This
722
- # field accomplishes the same purpose as If-Match for cases where the user
723
- # agent does not have an entity-tag for the representation.
812
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
813
+ # to contact Oracle about a particular request, please provide
814
+ # the request ID.
724
815
  #
725
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
726
- # @return [Response] A Response object with data of type nil
727
- def delete_zone(zone_name_or_id, opts = {})
728
- logger.debug 'Calling operation DnsClient#delete_zone.' if logger
816
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
817
+ #
818
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
819
+ def create_view(create_view_details, opts = {})
820
+ logger.debug 'Calling operation DnsClient#create_view.' if logger
729
821
 
730
- raise "Missing the required parameter 'zone_name_or_id' when calling delete_zone." if zone_name_or_id.nil?
731
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
822
+ raise "Missing the required parameter 'create_view_details' when calling create_view." if create_view_details.nil?
732
823
 
733
- path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
824
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
825
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
826
+ end
827
+
828
+ path = '/views'
734
829
  operation_signing_strategy = :standard
735
830
 
736
831
  # rubocop:disable Style/NegatedIf
737
832
  # Query Params
738
833
  query_params = {}
739
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
834
+ query_params[:scope] = opts[:scope] if opts[:scope]
740
835
 
741
836
  # Header Params
742
837
  header_params = {}
743
838
  header_params[:accept] = 'application/json'
744
839
  header_params[:'content-type'] = 'application/json'
745
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
746
- header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
840
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
841
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
747
842
  # rubocop:enable Style/NegatedIf
843
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
748
844
 
749
- post_body = nil
845
+ post_body = @api_client.object_to_http_body(create_view_details)
750
846
 
751
847
  # rubocop:disable Metrics/BlockLength
752
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
848
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_view') do
753
849
  @api_client.call_api(
754
- :DELETE,
850
+ :POST,
755
851
  path,
756
852
  endpoint,
757
853
  header_params: header_params,
758
854
  query_params: query_params,
759
855
  operation_signing_strategy: operation_signing_strategy,
760
- body: post_body
856
+ body: post_body,
857
+ return_type: 'OCI::Dns::Models::View'
761
858
  )
762
859
  end
763
860
  # rubocop:enable Metrics/BlockLength
@@ -771,91 +868,62 @@ module OCI
771
868
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
772
869
 
773
870
 
774
- # Gets a list of all records at the specified zone and domain.
775
- # The results are sorted by `rtype` in alphabetical order by default. You
776
- # can optionally filter and/or sort the results using the listed parameters.
871
+ # Creates a new zone in the specified compartment. If the `Content-Type` header for the request is `text/dns`, the
872
+ # `compartmentId` query parameter is required. Additionally, for `text/dns`, the `scope` and `viewId` query
873
+ # parameters are required to create a private zone.
777
874
  #
778
- # @param [String] zone_name_or_id The name or OCID of the target zone.
779
- # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
875
+ # @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
780
876
  # @param [Hash] opts the optional parameters
781
877
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
782
878
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
783
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
784
- # the absence of any current representation of the target resource, when
785
- # the field-value is `*`, or having a selected representation with an
786
- # entity-tag that does not match any of those listed in the field-value.
787
- #
788
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
789
- # conditional on the selected representation's modification date being more
790
- # recent than the date provided in the field-value. Transfer of the
791
- # selected representation's data is avoided if that data has not changed.
792
- #
793
- # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
794
- # (default to 50)
795
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
796
- #
797
- # @option opts [String] :zone_version The version of the zone for which data is requested.
798
- #
799
- # @option opts [String] :rtype Search by record type.
800
- # 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.
801
- #
802
- # @option opts [String] :sort_by The field by which to sort records. (default to rtype)
803
- # Allowed values are: rtype, ttl
804
- # @option opts [String] :sort_order The order to sort the resources.
879
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
880
+ # to contact Oracle about a particular request, please provide
881
+ # the request ID.
805
882
  #
806
883
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
807
- # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
808
- def get_domain_records(zone_name_or_id, domain, opts = {})
809
- logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
810
-
811
- raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
812
- raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
884
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
885
+ #
886
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
887
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
888
+ def create_zone(create_zone_details, opts = {})
889
+ logger.debug 'Calling operation DnsClient#create_zone.' if logger
813
890
 
814
- if opts[:sort_by] && !%w[rtype ttl].include?(opts[:sort_by])
815
- raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
816
- end
891
+ raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
817
892
 
818
- if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
819
- raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
893
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
894
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
820
895
  end
821
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
822
- raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
823
896
 
824
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
897
+ path = '/zones'
825
898
  operation_signing_strategy = :standard
826
899
 
827
900
  # rubocop:disable Style/NegatedIf
828
901
  # Query Params
829
902
  query_params = {}
830
- query_params[:limit] = opts[:limit] if opts[:limit]
831
- query_params[:page] = opts[:page] if opts[:page]
832
- query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
833
- query_params[:rtype] = opts[:rtype] if opts[:rtype]
834
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
835
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
836
903
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
904
+ query_params[:scope] = opts[:scope] if opts[:scope]
905
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
837
906
 
838
907
  # Header Params
839
908
  header_params = {}
840
909
  header_params[:accept] = 'application/json'
841
910
  header_params[:'content-type'] = 'application/json'
842
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
843
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
911
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
844
912
  # rubocop:enable Style/NegatedIf
845
913
 
846
- post_body = nil
914
+ post_body = @api_client.object_to_http_body(create_zone_details)
847
915
 
848
916
  # rubocop:disable Metrics/BlockLength
849
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
917
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
850
918
  @api_client.call_api(
851
- :GET,
919
+ :POST,
852
920
  path,
853
921
  endpoint,
854
922
  header_params: header_params,
855
923
  query_params: query_params,
856
924
  operation_signing_strategy: operation_signing_strategy,
857
925
  body: post_body,
858
- return_type: 'OCI::Dns::Models::RecordCollection'
926
+ return_type: 'OCI::Dns::Models::Zone'
859
927
  )
860
928
  end
861
929
  # rubocop:enable Metrics/BlockLength
@@ -869,75 +937,76 @@ module OCI
869
937
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
870
938
 
871
939
 
872
- # Gets a list of all records in the specified RRSet. The results are
873
- # sorted by `recordHash` by default.
874
- #
940
+ # Deletes all records at the specified zone and domain.
875
941
  # @param [String] zone_name_or_id The name or OCID of the target zone.
876
942
  # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
877
- # @param [String] rtype The type of the target RRSet within the target zone.
878
943
  # @param [Hash] opts the optional parameters
879
944
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
880
945
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
881
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
882
- # the absence of any current representation of the target resource, when
883
- # the field-value is `*`, or having a selected representation with an
884
- # entity-tag that does not match any of those listed in the field-value.
946
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
947
+ # existence of at least one current representation of the target resource,
948
+ # when the field-value is `*`, or having a current representation of the
949
+ # target resource that has an entity-tag matching a member of the list of
950
+ # entity-tags provided in the field-value.
885
951
  #
886
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
887
- # conditional on the selected representation's modification date being more
888
- # recent than the date provided in the field-value. Transfer of the
889
- # selected representation's data is avoided if that data has not changed.
952
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
953
+ # conditional on the selected representation's last modification date being
954
+ # earlier than or equal to the date provided in the field-value. This
955
+ # field accomplishes the same purpose as If-Match for cases where the user
956
+ # agent does not have an entity-tag for the representation.
890
957
  #
891
- # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
892
- # (default to 50)
893
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
958
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
959
+ # to contact Oracle about a particular request, please provide
960
+ # the request ID.
894
961
  #
895
- # @option opts [String] :zone_version The version of the zone for which data is requested.
962
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
896
963
  #
964
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
897
965
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
898
- # @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
899
- def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
900
- logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
966
+ # @return [Response] A Response object with data of type nil
967
+ def delete_domain_records(zone_name_or_id, domain, opts = {})
968
+ logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
901
969
 
902
- raise "Missing the required parameter 'zone_name_or_id' when calling get_rr_set." if zone_name_or_id.nil?
903
- raise "Missing the required parameter 'domain' when calling get_rr_set." if domain.nil?
904
- raise "Missing the required parameter 'rtype' when calling get_rr_set." if rtype.nil?
970
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_domain_records." if zone_name_or_id.nil?
971
+ raise "Missing the required parameter 'domain' when calling delete_domain_records." if domain.nil?
972
+
973
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
974
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
975
+ end
905
976
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
906
977
  raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
907
- raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
908
978
 
909
- path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
979
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
910
980
  operation_signing_strategy = :standard
911
981
 
912
982
  # rubocop:disable Style/NegatedIf
913
983
  # Query Params
914
984
  query_params = {}
915
- query_params[:limit] = opts[:limit] if opts[:limit]
916
- query_params[:page] = opts[:page] if opts[:page]
917
- query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
985
+ query_params[:scope] = opts[:scope] if opts[:scope]
986
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
918
987
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
919
988
 
920
989
  # Header Params
921
990
  header_params = {}
922
991
  header_params[:accept] = 'application/json'
923
992
  header_params[:'content-type'] = 'application/json'
924
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
925
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
993
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
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]
926
996
  # rubocop:enable Style/NegatedIf
927
997
 
928
998
  post_body = nil
929
999
 
930
1000
  # rubocop:disable Metrics/BlockLength
931
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
1001
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
932
1002
  @api_client.call_api(
933
- :GET,
1003
+ :DELETE,
934
1004
  path,
935
1005
  endpoint,
936
1006
  header_params: header_params,
937
1007
  query_params: query_params,
938
1008
  operation_signing_strategy: operation_signing_strategy,
939
- body: post_body,
940
- return_type: 'OCI::Dns::Models::RRSet'
1009
+ body: post_body
941
1010
  )
942
1011
  end
943
1012
  # rubocop:enable Metrics/BlockLength
@@ -951,48 +1020,1517 @@ module OCI
951
1020
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
952
1021
 
953
1022
 
954
- # Gets information about the specified steering policy.
1023
+ # Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the
1024
+ # DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
1025
+ # Resolver endpoints may not be deleted if they are referenced by a resolver rule.
955
1026
  #
956
- # @param [String] steering_policy_id The OCID of the target steering policy.
1027
+ # @param [String] resolver_id The OCID of the target resolver.
1028
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
957
1029
  # @param [Hash] opts the optional parameters
958
1030
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
959
1031
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
960
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
961
- # the absence of any current representation of the target resource, when
962
- # the field-value is `*`, or having a selected representation with an
963
- # entity-tag that does not match any of those listed in the field-value.
1032
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1033
+ # existence of at least one current representation of the target resource,
1034
+ # when the field-value is `*`, or having a current representation of the
1035
+ # target resource that has an entity-tag matching a member of the list of
1036
+ # entity-tags provided in the field-value.
964
1037
  #
965
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
966
- # conditional on the selected representation's modification date being more
967
- # recent than the date provided in the field-value. Transfer of the
968
- # selected representation's data is avoided if that data has not changed.
1038
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1039
+ # conditional on the selected representation's last modification date being
1040
+ # earlier than or equal to the date provided in the field-value. This
1041
+ # field accomplishes the same purpose as If-Match for cases where the user
1042
+ # agent does not have an entity-tag for the representation.
969
1043
  #
970
- # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
971
- def get_steering_policy(steering_policy_id, opts = {})
972
- logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
1044
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1045
+ # to contact Oracle about a particular request, please provide
1046
+ # the request ID.
1047
+ #
1048
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1049
+ #
1050
+ # @return [Response] A Response object with data of type nil
1051
+ def delete_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
1052
+ logger.debug 'Calling operation DnsClient#delete_resolver_endpoint.' if logger
973
1053
 
974
- raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
1054
+ raise "Missing the required parameter 'resolver_id' when calling delete_resolver_endpoint." if resolver_id.nil?
1055
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling delete_resolver_endpoint." if resolver_endpoint_name.nil?
1056
+
1057
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1058
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1059
+ end
1060
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1061
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
1062
+
1063
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1064
+ operation_signing_strategy = :standard
1065
+
1066
+ # rubocop:disable Style/NegatedIf
1067
+ # Query Params
1068
+ query_params = {}
1069
+ query_params[:scope] = opts[:scope] if opts[:scope]
1070
+
1071
+ # Header Params
1072
+ header_params = {}
1073
+ header_params[:accept] = 'application/json'
1074
+ header_params[:'content-type'] = 'application/json'
1075
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1076
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1077
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1078
+ # rubocop:enable Style/NegatedIf
1079
+
1080
+ post_body = nil
1081
+
1082
+ # rubocop:disable Metrics/BlockLength
1083
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_resolver_endpoint') do
1084
+ @api_client.call_api(
1085
+ :DELETE,
1086
+ path,
1087
+ endpoint,
1088
+ header_params: header_params,
1089
+ query_params: query_params,
1090
+ operation_signing_strategy: operation_signing_strategy,
1091
+ body: post_body
1092
+ )
1093
+ end
1094
+ # rubocop:enable Metrics/BlockLength
1095
+ end
1096
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1097
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1098
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1099
+
1100
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1101
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1102
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1103
+
1104
+
1105
+ # Deletes all records in the specified RRSet.
1106
+ #
1107
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1108
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1109
+ # @param [String] rtype The type of the target RRSet within the target zone.
1110
+ # @param [Hash] opts the optional parameters
1111
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1112
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1113
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1114
+ # existence of at least one current representation of the target resource,
1115
+ # when the field-value is `*`, or having a current representation of the
1116
+ # target resource that has an entity-tag matching a member of the list of
1117
+ # entity-tags provided in the field-value.
1118
+ #
1119
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1120
+ # conditional on the selected representation's last modification date being
1121
+ # earlier than or equal to the date provided in the field-value. This
1122
+ # field accomplishes the same purpose as If-Match for cases where the user
1123
+ # agent does not have an entity-tag for the representation.
1124
+ #
1125
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1126
+ # to contact Oracle about a particular request, please provide
1127
+ # the request ID.
1128
+ #
1129
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1130
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1131
+ #
1132
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1133
+ # @return [Response] A Response object with data of type nil
1134
+ def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
1135
+ logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
1136
+
1137
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_rr_set." if zone_name_or_id.nil?
1138
+ raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
1139
+ raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
1140
+
1141
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1142
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1143
+ end
1144
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1145
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1146
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
1147
+
1148
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
1149
+ operation_signing_strategy = :standard
1150
+
1151
+ # rubocop:disable Style/NegatedIf
1152
+ # Query Params
1153
+ query_params = {}
1154
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1155
+ query_params[:scope] = opts[:scope] if opts[:scope]
1156
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1157
+
1158
+ # Header Params
1159
+ header_params = {}
1160
+ header_params[:accept] = 'application/json'
1161
+ header_params[:'content-type'] = 'application/json'
1162
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1163
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1164
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1165
+ # rubocop:enable Style/NegatedIf
1166
+
1167
+ post_body = nil
1168
+
1169
+ # rubocop:disable Metrics/BlockLength
1170
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
1171
+ @api_client.call_api(
1172
+ :DELETE,
1173
+ path,
1174
+ endpoint,
1175
+ header_params: header_params,
1176
+ query_params: query_params,
1177
+ operation_signing_strategy: operation_signing_strategy,
1178
+ body: post_body
1179
+ )
1180
+ end
1181
+ # rubocop:enable Metrics/BlockLength
1182
+ end
1183
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1184
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1185
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1186
+
1187
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1188
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1189
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1190
+
1191
+
1192
+ # Deletes the specified steering policy.
1193
+ # A `204` response indicates that the delete has been successful.
1194
+ # Deletion will fail if the policy is attached to any zones. To detach a
1195
+ # policy from a zone, see `DeleteSteeringPolicyAttachment`.
1196
+ #
1197
+ # @param [String] steering_policy_id The OCID of the target steering policy.
1198
+ # @param [Hash] opts the optional parameters
1199
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1200
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1201
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1202
+ # existence of at least one current representation of the target resource,
1203
+ # when the field-value is `*`, or having a current representation of the
1204
+ # target resource that has an entity-tag matching a member of the list of
1205
+ # entity-tags provided in the field-value.
1206
+ #
1207
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1208
+ # conditional on the selected representation's last modification date being
1209
+ # earlier than or equal to the date provided in the field-value. This
1210
+ # field accomplishes the same purpose as If-Match for cases where the user
1211
+ # agent does not have an entity-tag for the representation.
1212
+ #
1213
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1214
+ # to contact Oracle about a particular request, please provide
1215
+ # the request ID.
1216
+ #
1217
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1218
+ #
1219
+ # @return [Response] A Response object with data of type nil
1220
+ def delete_steering_policy(steering_policy_id, opts = {})
1221
+ logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
1222
+
1223
+ raise "Missing the required parameter 'steering_policy_id' when calling delete_steering_policy." if steering_policy_id.nil?
1224
+
1225
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1226
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1227
+ end
975
1228
  raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
976
1229
 
977
- path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
1230
+ path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
1231
+ operation_signing_strategy = :standard
1232
+
1233
+ # rubocop:disable Style/NegatedIf
1234
+ # Query Params
1235
+ query_params = {}
1236
+ query_params[:scope] = opts[:scope] if opts[:scope]
1237
+
1238
+ # Header Params
1239
+ header_params = {}
1240
+ header_params[:accept] = 'application/json'
1241
+ header_params[:'content-type'] = 'application/json'
1242
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1243
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1244
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1245
+ # rubocop:enable Style/NegatedIf
1246
+
1247
+ post_body = nil
1248
+
1249
+ # rubocop:disable Metrics/BlockLength
1250
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
1251
+ @api_client.call_api(
1252
+ :DELETE,
1253
+ path,
1254
+ endpoint,
1255
+ header_params: header_params,
1256
+ query_params: query_params,
1257
+ operation_signing_strategy: operation_signing_strategy,
1258
+ body: post_body
1259
+ )
1260
+ end
1261
+ # rubocop:enable Metrics/BlockLength
1262
+ end
1263
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1264
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1265
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1266
+
1267
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1268
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1269
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1270
+
1271
+
1272
+ # Deletes the specified steering policy attachment.
1273
+ # A `204` response indicates that the delete has been successful.
1274
+ #
1275
+ # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
1276
+ # @param [Hash] opts the optional parameters
1277
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1278
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1279
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1280
+ # existence of at least one current representation of the target resource,
1281
+ # when the field-value is `*`, or having a current representation of the
1282
+ # target resource that has an entity-tag matching a member of the list of
1283
+ # entity-tags provided in the field-value.
1284
+ #
1285
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1286
+ # conditional on the selected representation's last modification date being
1287
+ # earlier than or equal to the date provided in the field-value. This
1288
+ # field accomplishes the same purpose as If-Match for cases where the user
1289
+ # agent does not have an entity-tag for the representation.
1290
+ #
1291
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1292
+ # to contact Oracle about a particular request, please provide
1293
+ # the request ID.
1294
+ #
1295
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1296
+ #
1297
+ # @return [Response] A Response object with data of type nil
1298
+ def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
1299
+ logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
1300
+
1301
+ raise "Missing the required parameter 'steering_policy_attachment_id' when calling delete_steering_policy_attachment." if steering_policy_attachment_id.nil?
1302
+
1303
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1304
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1305
+ end
1306
+ raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
1307
+
1308
+ path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
1309
+ operation_signing_strategy = :standard
1310
+
1311
+ # rubocop:disable Style/NegatedIf
1312
+ # Query Params
1313
+ query_params = {}
1314
+ query_params[:scope] = opts[:scope] if opts[:scope]
1315
+
1316
+ # Header Params
1317
+ header_params = {}
1318
+ header_params[:accept] = 'application/json'
1319
+ header_params[:'content-type'] = 'application/json'
1320
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1321
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1322
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1323
+ # rubocop:enable Style/NegatedIf
1324
+
1325
+ post_body = nil
1326
+
1327
+ # rubocop:disable Metrics/BlockLength
1328
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
1329
+ @api_client.call_api(
1330
+ :DELETE,
1331
+ path,
1332
+ endpoint,
1333
+ header_params: header_params,
1334
+ query_params: query_params,
1335
+ operation_signing_strategy: operation_signing_strategy,
1336
+ body: post_body
1337
+ )
1338
+ end
1339
+ # rubocop:enable Metrics/BlockLength
1340
+ end
1341
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1342
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1343
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1344
+
1345
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1346
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1347
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1348
+
1349
+
1350
+ # Deletes the specified TSIG key.
1351
+ #
1352
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
1353
+ # @param [Hash] opts the optional parameters
1354
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1355
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1356
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1357
+ # existence of at least one current representation of the target resource,
1358
+ # when the field-value is `*`, or having a current representation of the
1359
+ # target resource that has an entity-tag matching a member of the list of
1360
+ # entity-tags provided in the field-value.
1361
+ #
1362
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1363
+ # conditional on the selected representation's last modification date being
1364
+ # earlier than or equal to the date provided in the field-value. This
1365
+ # field accomplishes the same purpose as If-Match for cases where the user
1366
+ # agent does not have an entity-tag for the representation.
1367
+ #
1368
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1369
+ # to contact Oracle about a particular request, please provide
1370
+ # the request ID.
1371
+ #
1372
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1373
+ #
1374
+ # @return [Response] A Response object with data of type nil
1375
+ def delete_tsig_key(tsig_key_id, opts = {})
1376
+ logger.debug 'Calling operation DnsClient#delete_tsig_key.' if logger
1377
+
1378
+ raise "Missing the required parameter 'tsig_key_id' when calling delete_tsig_key." if tsig_key_id.nil?
1379
+
1380
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1381
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1382
+ end
1383
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
1384
+
1385
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
1386
+ operation_signing_strategy = :standard
1387
+
1388
+ # rubocop:disable Style/NegatedIf
1389
+ # Query Params
1390
+ query_params = {}
1391
+ query_params[:scope] = opts[:scope] if opts[:scope]
1392
+
1393
+ # Header Params
1394
+ header_params = {}
1395
+ header_params[:accept] = 'application/json'
1396
+ header_params[:'content-type'] = 'application/json'
1397
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1398
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1399
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1400
+ # rubocop:enable Style/NegatedIf
1401
+
1402
+ post_body = nil
1403
+
1404
+ # rubocop:disable Metrics/BlockLength
1405
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_tsig_key') do
1406
+ @api_client.call_api(
1407
+ :DELETE,
1408
+ path,
1409
+ endpoint,
1410
+ header_params: header_params,
1411
+ query_params: query_params,
1412
+ operation_signing_strategy: operation_signing_strategy,
1413
+ body: post_body
1414
+ )
1415
+ end
1416
+ # rubocop:enable Metrics/BlockLength
1417
+ end
1418
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1419
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1420
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1421
+
1422
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1423
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1424
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1425
+
1426
+
1427
+ # Deletes the specified view. Note that attempting to delete a
1428
+ # view in the DELETED lifecycleState will result in a 404 to be
1429
+ # consistent with other operations of the API. Views can not be
1430
+ # deleted if they are referenced by non-deleted zones or resolvers.
1431
+ # Protected views cannot be deleted.
1432
+ #
1433
+ # @param [String] view_id The OCID of the target view.
1434
+ # @param [Hash] opts the optional parameters
1435
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1436
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1437
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1438
+ # existence of at least one current representation of the target resource,
1439
+ # when the field-value is `*`, or having a current representation of the
1440
+ # target resource that has an entity-tag matching a member of the list of
1441
+ # entity-tags provided in the field-value.
1442
+ #
1443
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1444
+ # conditional on the selected representation's last modification date being
1445
+ # earlier than or equal to the date provided in the field-value. This
1446
+ # field accomplishes the same purpose as If-Match for cases where the user
1447
+ # agent does not have an entity-tag for the representation.
1448
+ #
1449
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1450
+ # to contact Oracle about a particular request, please provide
1451
+ # the request ID.
1452
+ #
1453
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1454
+ #
1455
+ # @return [Response] A Response object with data of type nil
1456
+ def delete_view(view_id, opts = {})
1457
+ logger.debug 'Calling operation DnsClient#delete_view.' if logger
1458
+
1459
+ raise "Missing the required parameter 'view_id' when calling delete_view." if view_id.nil?
1460
+
1461
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1462
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1463
+ end
1464
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
1465
+
1466
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
1467
+ operation_signing_strategy = :standard
1468
+
1469
+ # rubocop:disable Style/NegatedIf
1470
+ # Query Params
1471
+ query_params = {}
1472
+ query_params[:scope] = opts[:scope] if opts[:scope]
1473
+
1474
+ # Header Params
1475
+ header_params = {}
1476
+ header_params[:accept] = 'application/json'
1477
+ header_params[:'content-type'] = 'application/json'
1478
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1479
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1480
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1481
+ # rubocop:enable Style/NegatedIf
1482
+
1483
+ post_body = nil
1484
+
1485
+ # rubocop:disable Metrics/BlockLength
1486
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_view') do
1487
+ @api_client.call_api(
1488
+ :DELETE,
1489
+ path,
1490
+ endpoint,
1491
+ header_params: header_params,
1492
+ query_params: query_params,
1493
+ operation_signing_strategy: operation_signing_strategy,
1494
+ body: post_body
1495
+ )
1496
+ end
1497
+ # rubocop:enable Metrics/BlockLength
1498
+ end
1499
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1500
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1501
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1502
+
1503
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1504
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1505
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1506
+
1507
+
1508
+ # Deletes the specified zone and all its steering policy attachments.
1509
+ # A `204` response indicates that the zone has been successfully deleted.
1510
+ # Protected zones cannot be deleted.
1511
+ #
1512
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1513
+ # @param [Hash] opts the optional parameters
1514
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1515
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1516
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1517
+ # existence of at least one current representation of the target resource,
1518
+ # when the field-value is `*`, or having a current representation of the
1519
+ # target resource that has an entity-tag matching a member of the list of
1520
+ # entity-tags provided in the field-value.
1521
+ #
1522
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1523
+ # conditional on the selected representation's last modification date being
1524
+ # earlier than or equal to the date provided in the field-value. This
1525
+ # field accomplishes the same purpose as If-Match for cases where the user
1526
+ # agent does not have an entity-tag for the representation.
1527
+ #
1528
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1529
+ # to contact Oracle about a particular request, please provide
1530
+ # the request ID.
1531
+ #
1532
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1533
+ #
1534
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1535
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1536
+ # @return [Response] A Response object with data of type nil
1537
+ def delete_zone(zone_name_or_id, opts = {})
1538
+ logger.debug 'Calling operation DnsClient#delete_zone.' if logger
1539
+
1540
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_zone." if zone_name_or_id.nil?
1541
+
1542
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1543
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1544
+ end
1545
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1546
+
1547
+ path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1548
+ operation_signing_strategy = :standard
1549
+
1550
+ # rubocop:disable Style/NegatedIf
1551
+ # Query Params
1552
+ query_params = {}
1553
+ query_params[:scope] = opts[:scope] if opts[:scope]
1554
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1555
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1556
+
1557
+ # Header Params
1558
+ header_params = {}
1559
+ header_params[:accept] = 'application/json'
1560
+ header_params[:'content-type'] = 'application/json'
1561
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1562
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1563
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1564
+ # rubocop:enable Style/NegatedIf
1565
+
1566
+ post_body = nil
1567
+
1568
+ # rubocop:disable Metrics/BlockLength
1569
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
1570
+ @api_client.call_api(
1571
+ :DELETE,
1572
+ path,
1573
+ endpoint,
1574
+ header_params: header_params,
1575
+ query_params: query_params,
1576
+ operation_signing_strategy: operation_signing_strategy,
1577
+ body: post_body
1578
+ )
1579
+ end
1580
+ # rubocop:enable Metrics/BlockLength
1581
+ end
1582
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1583
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1584
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1585
+
1586
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1587
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1588
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1589
+
1590
+
1591
+ # Gets a list of all records at the specified zone and domain.
1592
+ # The results are sorted by `rtype` in alphabetical order by default. You
1593
+ # can optionally filter and/or sort the results using the listed parameters.
1594
+ #
1595
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1596
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1597
+ # @param [Hash] opts the optional parameters
1598
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1599
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1600
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1601
+ # the absence of any current representation of the target resource, when
1602
+ # the field-value is `*`, or having a selected representation with an
1603
+ # entity-tag that does not match any of those listed in the field-value.
1604
+ #
1605
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1606
+ # conditional on the selected representation's modification date being more
1607
+ # recent than the date provided in the field-value. Transfer of the
1608
+ # selected representation's data is avoided if that data has not changed.
1609
+ #
1610
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1611
+ # to contact Oracle about a particular request, please provide
1612
+ # the request ID.
1613
+ #
1614
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1615
+ # (default to 50)
1616
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1617
+ #
1618
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
1619
+ #
1620
+ # @option opts [String] :rtype Search by record type.
1621
+ # 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.
1622
+ #
1623
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1624
+ #
1625
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1626
+ # @option opts [String] :sort_by The field by which to sort records. (default to rtype)
1627
+ # Allowed values are: rtype, ttl
1628
+ # @option opts [String] :sort_order The order to sort the resources.
1629
+ # (default to ASC)
1630
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1631
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1632
+ def get_domain_records(zone_name_or_id, domain, opts = {})
1633
+ logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
1634
+
1635
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
1636
+ raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
1637
+
1638
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1639
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1640
+ end
1641
+
1642
+ if opts[:sort_by] && !%w[rtype ttl].include?(opts[:sort_by])
1643
+ raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
1644
+ end
1645
+
1646
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1647
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1648
+ end
1649
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1650
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1651
+
1652
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
1653
+ operation_signing_strategy = :standard
1654
+
1655
+ # rubocop:disable Style/NegatedIf
1656
+ # Query Params
1657
+ query_params = {}
1658
+ query_params[:limit] = opts[:limit] if opts[:limit]
1659
+ query_params[:page] = opts[:page] if opts[:page]
1660
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
1661
+ query_params[:rtype] = opts[:rtype] if opts[:rtype]
1662
+ query_params[:scope] = opts[:scope] if opts[:scope]
1663
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1664
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1665
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1666
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1667
+
1668
+ # Header Params
1669
+ header_params = {}
1670
+ header_params[:accept] = 'application/json'
1671
+ header_params[:'content-type'] = 'application/json'
1672
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1673
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1674
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1675
+ # rubocop:enable Style/NegatedIf
1676
+
1677
+ post_body = nil
1678
+
1679
+ # rubocop:disable Metrics/BlockLength
1680
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
1681
+ @api_client.call_api(
1682
+ :GET,
1683
+ path,
1684
+ endpoint,
1685
+ header_params: header_params,
1686
+ query_params: query_params,
1687
+ operation_signing_strategy: operation_signing_strategy,
1688
+ body: post_body,
1689
+ return_type: 'OCI::Dns::Models::RecordCollection'
1690
+ )
1691
+ end
1692
+ # rubocop:enable Metrics/BlockLength
1693
+ end
1694
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1695
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1696
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1697
+
1698
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1699
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1700
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1701
+
1702
+
1703
+ # Get information about a specific resolver. Note that attempting to get a
1704
+ # resolver in the DELETED lifecycleState will result in a 404 to be
1705
+ # consistent with other operations of the API.
1706
+ #
1707
+ # @param [String] resolver_id The OCID of the target resolver.
1708
+ # @param [Hash] opts the optional parameters
1709
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1710
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1711
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1712
+ # conditional on the selected representation's modification date being more
1713
+ # recent than the date provided in the field-value. Transfer of the
1714
+ # selected representation's data is avoided if that data has not changed.
1715
+ #
1716
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1717
+ # the absence of any current representation of the target resource, when
1718
+ # the field-value is `*`, or having a selected representation with an
1719
+ # entity-tag that does not match any of those listed in the field-value.
1720
+ #
1721
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1722
+ # to contact Oracle about a particular request, please provide
1723
+ # the request ID.
1724
+ #
1725
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1726
+ #
1727
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
1728
+ def get_resolver(resolver_id, opts = {})
1729
+ logger.debug 'Calling operation DnsClient#get_resolver.' if logger
1730
+
1731
+ raise "Missing the required parameter 'resolver_id' when calling get_resolver." if resolver_id.nil?
1732
+
1733
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1734
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1735
+ end
1736
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1737
+
1738
+ path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
1739
+ operation_signing_strategy = :standard
1740
+
1741
+ # rubocop:disable Style/NegatedIf
1742
+ # Query Params
1743
+ query_params = {}
1744
+ query_params[:scope] = opts[:scope] if opts[:scope]
1745
+
1746
+ # Header Params
1747
+ header_params = {}
1748
+ header_params[:accept] = 'application/json'
1749
+ header_params[:'content-type'] = 'application/json'
1750
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1751
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1752
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1753
+ # rubocop:enable Style/NegatedIf
1754
+
1755
+ post_body = nil
1756
+
1757
+ # rubocop:disable Metrics/BlockLength
1758
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver') do
1759
+ @api_client.call_api(
1760
+ :GET,
1761
+ path,
1762
+ endpoint,
1763
+ header_params: header_params,
1764
+ query_params: query_params,
1765
+ operation_signing_strategy: operation_signing_strategy,
1766
+ body: post_body,
1767
+ return_type: 'OCI::Dns::Models::Resolver'
1768
+ )
1769
+ end
1770
+ # rubocop:enable Metrics/BlockLength
1771
+ end
1772
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1773
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1774
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1775
+
1776
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1777
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1778
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1779
+
1780
+
1781
+ # Get information about a specific resolver endpoint. Note that attempting to get a resolver endpoint
1782
+ # in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
1783
+ #
1784
+ # @param [String] resolver_id The OCID of the target resolver.
1785
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
1786
+ # @param [Hash] opts the optional parameters
1787
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1788
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1789
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1790
+ # conditional on the selected representation's modification date being more
1791
+ # recent than the date provided in the field-value. Transfer of the
1792
+ # selected representation's data is avoided if that data has not changed.
1793
+ #
1794
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1795
+ # the absence of any current representation of the target resource, when
1796
+ # the field-value is `*`, or having a selected representation with an
1797
+ # entity-tag that does not match any of those listed in the field-value.
1798
+ #
1799
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1800
+ # to contact Oracle about a particular request, please provide
1801
+ # the request ID.
1802
+ #
1803
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1804
+ #
1805
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
1806
+ def get_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
1807
+ logger.debug 'Calling operation DnsClient#get_resolver_endpoint.' if logger
1808
+
1809
+ raise "Missing the required parameter 'resolver_id' when calling get_resolver_endpoint." if resolver_id.nil?
1810
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling get_resolver_endpoint." if resolver_endpoint_name.nil?
1811
+
1812
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1813
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1814
+ end
1815
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1816
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
1817
+
1818
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1819
+ operation_signing_strategy = :standard
1820
+
1821
+ # rubocop:disable Style/NegatedIf
1822
+ # Query Params
1823
+ query_params = {}
1824
+ query_params[:scope] = opts[:scope] if opts[:scope]
1825
+
1826
+ # Header Params
1827
+ header_params = {}
1828
+ header_params[:accept] = 'application/json'
1829
+ header_params[:'content-type'] = 'application/json'
1830
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1831
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1832
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1833
+ # rubocop:enable Style/NegatedIf
1834
+
1835
+ post_body = nil
1836
+
1837
+ # rubocop:disable Metrics/BlockLength
1838
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver_endpoint') do
1839
+ @api_client.call_api(
1840
+ :GET,
1841
+ path,
1842
+ endpoint,
1843
+ header_params: header_params,
1844
+ query_params: query_params,
1845
+ operation_signing_strategy: operation_signing_strategy,
1846
+ body: post_body,
1847
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
1848
+ )
1849
+ end
1850
+ # rubocop:enable Metrics/BlockLength
1851
+ end
1852
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1853
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1854
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1855
+
1856
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1857
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1858
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1859
+
1860
+
1861
+ # Gets a list of all records in the specified RRSet. The results are
1862
+ # sorted by `recordHash` by default.
1863
+ #
1864
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1865
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1866
+ # @param [String] rtype The type of the target RRSet within the target zone.
1867
+ # @param [Hash] opts the optional parameters
1868
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1869
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1870
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1871
+ # the absence of any current representation of the target resource, when
1872
+ # the field-value is `*`, or having a selected representation with an
1873
+ # entity-tag that does not match any of those listed in the field-value.
1874
+ #
1875
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1876
+ # conditional on the selected representation's modification date being more
1877
+ # recent than the date provided in the field-value. Transfer of the
1878
+ # selected representation's data is avoided if that data has not changed.
1879
+ #
1880
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1881
+ # to contact Oracle about a particular request, please provide
1882
+ # the request ID.
1883
+ #
1884
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1885
+ # (default to 50)
1886
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1887
+ #
1888
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
1889
+ #
1890
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1891
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1892
+ #
1893
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1894
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
1895
+ def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
1896
+ logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
1897
+
1898
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_rr_set." if zone_name_or_id.nil?
1899
+ raise "Missing the required parameter 'domain' when calling get_rr_set." if domain.nil?
1900
+ raise "Missing the required parameter 'rtype' when calling get_rr_set." if rtype.nil?
1901
+
1902
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1903
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1904
+ end
1905
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1906
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1907
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
1908
+
1909
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
1910
+ operation_signing_strategy = :standard
1911
+
1912
+ # rubocop:disable Style/NegatedIf
1913
+ # Query Params
1914
+ query_params = {}
1915
+ query_params[:limit] = opts[:limit] if opts[:limit]
1916
+ query_params[:page] = opts[:page] if opts[:page]
1917
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
1918
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1919
+ query_params[:scope] = opts[:scope] if opts[:scope]
1920
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1921
+
1922
+ # Header Params
1923
+ header_params = {}
1924
+ header_params[:accept] = 'application/json'
1925
+ header_params[:'content-type'] = 'application/json'
1926
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1927
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1928
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1929
+ # rubocop:enable Style/NegatedIf
1930
+
1931
+ post_body = nil
1932
+
1933
+ # rubocop:disable Metrics/BlockLength
1934
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
1935
+ @api_client.call_api(
1936
+ :GET,
1937
+ path,
1938
+ endpoint,
1939
+ header_params: header_params,
1940
+ query_params: query_params,
1941
+ operation_signing_strategy: operation_signing_strategy,
1942
+ body: post_body,
1943
+ return_type: 'OCI::Dns::Models::RRSet'
1944
+ )
1945
+ end
1946
+ # rubocop:enable Metrics/BlockLength
1947
+ end
1948
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1949
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1950
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1951
+
1952
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1953
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1954
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1955
+
1956
+
1957
+ # Gets information about the specified steering policy.
1958
+ #
1959
+ # @param [String] steering_policy_id The OCID of the target steering policy.
1960
+ # @param [Hash] opts the optional parameters
1961
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1962
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1963
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1964
+ # the absence of any current representation of the target resource, when
1965
+ # the field-value is `*`, or having a selected representation with an
1966
+ # entity-tag that does not match any of those listed in the field-value.
1967
+ #
1968
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1969
+ # conditional on the selected representation's modification date being more
1970
+ # recent than the date provided in the field-value. Transfer of the
1971
+ # selected representation's data is avoided if that data has not changed.
1972
+ #
1973
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1974
+ # to contact Oracle about a particular request, please provide
1975
+ # the request ID.
1976
+ #
1977
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1978
+ #
1979
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
1980
+ def get_steering_policy(steering_policy_id, opts = {})
1981
+ logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
1982
+
1983
+ raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
1984
+
1985
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1986
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1987
+ end
1988
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
1989
+
1990
+ path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
1991
+ operation_signing_strategy = :standard
1992
+
1993
+ # rubocop:disable Style/NegatedIf
1994
+ # Query Params
1995
+ query_params = {}
1996
+ query_params[:scope] = opts[:scope] if opts[:scope]
1997
+
1998
+ # Header Params
1999
+ header_params = {}
2000
+ header_params[:accept] = 'application/json'
2001
+ header_params[:'content-type'] = 'application/json'
2002
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2003
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2004
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2005
+ # rubocop:enable Style/NegatedIf
2006
+
2007
+ post_body = nil
2008
+
2009
+ # rubocop:disable Metrics/BlockLength
2010
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
2011
+ @api_client.call_api(
2012
+ :GET,
2013
+ path,
2014
+ endpoint,
2015
+ header_params: header_params,
2016
+ query_params: query_params,
2017
+ operation_signing_strategy: operation_signing_strategy,
2018
+ body: post_body,
2019
+ return_type: 'OCI::Dns::Models::SteeringPolicy'
2020
+ )
2021
+ end
2022
+ # rubocop:enable Metrics/BlockLength
2023
+ end
2024
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2025
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2026
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2027
+
2028
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2029
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2030
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2031
+
2032
+
2033
+ # Gets information about the specified steering policy attachment.
2034
+ #
2035
+ # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
2036
+ # @param [Hash] opts the optional parameters
2037
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2038
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2039
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2040
+ # the absence of any current representation of the target resource, when
2041
+ # the field-value is `*`, or having a selected representation with an
2042
+ # entity-tag that does not match any of those listed in the field-value.
2043
+ #
2044
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2045
+ # conditional on the selected representation's modification date being more
2046
+ # recent than the date provided in the field-value. Transfer of the
2047
+ # selected representation's data is avoided if that data has not changed.
2048
+ #
2049
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2050
+ # to contact Oracle about a particular request, please provide
2051
+ # the request ID.
2052
+ #
2053
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2054
+ #
2055
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
2056
+ def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
2057
+ logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
2058
+
2059
+ raise "Missing the required parameter 'steering_policy_attachment_id' when calling get_steering_policy_attachment." if steering_policy_attachment_id.nil?
2060
+
2061
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2062
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2063
+ end
2064
+ raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
2065
+
2066
+ path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
2067
+ operation_signing_strategy = :standard
2068
+
2069
+ # rubocop:disable Style/NegatedIf
2070
+ # Query Params
2071
+ query_params = {}
2072
+ query_params[:scope] = opts[:scope] if opts[:scope]
2073
+
2074
+ # Header Params
2075
+ header_params = {}
2076
+ header_params[:accept] = 'application/json'
2077
+ header_params[:'content-type'] = 'application/json'
2078
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2079
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2080
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2081
+ # rubocop:enable Style/NegatedIf
2082
+
2083
+ post_body = nil
2084
+
2085
+ # rubocop:disable Metrics/BlockLength
2086
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
2087
+ @api_client.call_api(
2088
+ :GET,
2089
+ path,
2090
+ endpoint,
2091
+ header_params: header_params,
2092
+ query_params: query_params,
2093
+ operation_signing_strategy: operation_signing_strategy,
2094
+ body: post_body,
2095
+ return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
2096
+ )
2097
+ end
2098
+ # rubocop:enable Metrics/BlockLength
2099
+ end
2100
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2101
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2102
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2103
+
2104
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2105
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2106
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2107
+
2108
+
2109
+ # Gets information about the specified TSIG key.
2110
+ #
2111
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
2112
+ # @param [Hash] opts the optional parameters
2113
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2114
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2115
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2116
+ # the absence of any current representation of the target resource, when
2117
+ # the field-value is `*`, or having a selected representation with an
2118
+ # entity-tag that does not match any of those listed in the field-value.
2119
+ #
2120
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2121
+ # conditional on the selected representation's modification date being more
2122
+ # recent than the date provided in the field-value. Transfer of the
2123
+ # selected representation's data is avoided if that data has not changed.
2124
+ #
2125
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2126
+ # to contact Oracle about a particular request, please provide
2127
+ # the request ID.
2128
+ #
2129
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2130
+ #
2131
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
2132
+ def get_tsig_key(tsig_key_id, opts = {})
2133
+ logger.debug 'Calling operation DnsClient#get_tsig_key.' if logger
2134
+
2135
+ raise "Missing the required parameter 'tsig_key_id' when calling get_tsig_key." if tsig_key_id.nil?
2136
+
2137
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2138
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2139
+ end
2140
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
2141
+
2142
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
2143
+ operation_signing_strategy = :standard
2144
+
2145
+ # rubocop:disable Style/NegatedIf
2146
+ # Query Params
2147
+ query_params = {}
2148
+ query_params[:scope] = opts[:scope] if opts[:scope]
2149
+
2150
+ # Header Params
2151
+ header_params = {}
2152
+ header_params[:accept] = 'application/json'
2153
+ header_params[:'content-type'] = 'application/json'
2154
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2155
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2156
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2157
+ # rubocop:enable Style/NegatedIf
2158
+
2159
+ post_body = nil
2160
+
2161
+ # rubocop:disable Metrics/BlockLength
2162
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_tsig_key') do
2163
+ @api_client.call_api(
2164
+ :GET,
2165
+ path,
2166
+ endpoint,
2167
+ header_params: header_params,
2168
+ query_params: query_params,
2169
+ operation_signing_strategy: operation_signing_strategy,
2170
+ body: post_body,
2171
+ return_type: 'OCI::Dns::Models::TsigKey'
2172
+ )
2173
+ end
2174
+ # rubocop:enable Metrics/BlockLength
2175
+ end
2176
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2177
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2178
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2179
+
2180
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2181
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2182
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2183
+
2184
+
2185
+ # Get information about a specific view. Note that attempting to get a
2186
+ # view in the DELETED lifecycleState will result in a 404 to be
2187
+ # consistent with other operations of the API.
2188
+ #
2189
+ # @param [String] view_id The OCID of the target view.
2190
+ # @param [Hash] opts the optional parameters
2191
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2192
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2193
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2194
+ # conditional on the selected representation's modification date being more
2195
+ # recent than the date provided in the field-value. Transfer of the
2196
+ # selected representation's data is avoided if that data has not changed.
2197
+ #
2198
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2199
+ # the absence of any current representation of the target resource, when
2200
+ # the field-value is `*`, or having a selected representation with an
2201
+ # entity-tag that does not match any of those listed in the field-value.
2202
+ #
2203
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2204
+ # to contact Oracle about a particular request, please provide
2205
+ # the request ID.
2206
+ #
2207
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2208
+ #
2209
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
2210
+ def get_view(view_id, opts = {})
2211
+ logger.debug 'Calling operation DnsClient#get_view.' if logger
2212
+
2213
+ raise "Missing the required parameter 'view_id' when calling get_view." if view_id.nil?
2214
+
2215
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2216
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2217
+ end
2218
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
2219
+
2220
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
2221
+ operation_signing_strategy = :standard
2222
+
2223
+ # rubocop:disable Style/NegatedIf
2224
+ # Query Params
2225
+ query_params = {}
2226
+ query_params[:scope] = opts[:scope] if opts[:scope]
2227
+
2228
+ # Header Params
2229
+ header_params = {}
2230
+ header_params[:accept] = 'application/json'
2231
+ header_params[:'content-type'] = 'application/json'
2232
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2233
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2234
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2235
+ # rubocop:enable Style/NegatedIf
2236
+
2237
+ post_body = nil
2238
+
2239
+ # rubocop:disable Metrics/BlockLength
2240
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_view') do
2241
+ @api_client.call_api(
2242
+ :GET,
2243
+ path,
2244
+ endpoint,
2245
+ header_params: header_params,
2246
+ query_params: query_params,
2247
+ operation_signing_strategy: operation_signing_strategy,
2248
+ body: post_body,
2249
+ return_type: 'OCI::Dns::Models::View'
2250
+ )
2251
+ end
2252
+ # rubocop:enable Metrics/BlockLength
2253
+ end
2254
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2255
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2256
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2257
+
2258
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2259
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2260
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2261
+
2262
+
2263
+ # Gets information about the specified zone, including its creation date,
2264
+ # zone type, and serial.
2265
+ #
2266
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
2267
+ # @param [Hash] opts the optional parameters
2268
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2269
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2270
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2271
+ # the absence of any current representation of the target resource, when
2272
+ # the field-value is `*`, or having a selected representation with an
2273
+ # entity-tag that does not match any of those listed in the field-value.
2274
+ #
2275
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2276
+ # conditional on the selected representation's modification date being more
2277
+ # recent than the date provided in the field-value. Transfer of the
2278
+ # selected representation's data is avoided if that data has not changed.
2279
+ #
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
+ #
2284
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2285
+ #
2286
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2287
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2288
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
2289
+ def get_zone(zone_name_or_id, opts = {})
2290
+ logger.debug 'Calling operation DnsClient#get_zone.' if logger
2291
+
2292
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_zone." if zone_name_or_id.nil?
2293
+
2294
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2295
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2296
+ end
2297
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2298
+
2299
+ path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2300
+ operation_signing_strategy = :standard
2301
+
2302
+ # rubocop:disable Style/NegatedIf
2303
+ # Query Params
2304
+ query_params = {}
2305
+ query_params[:scope] = opts[:scope] if opts[:scope]
2306
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2307
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2308
+
2309
+ # Header Params
2310
+ header_params = {}
2311
+ header_params[:accept] = 'application/json'
2312
+ header_params[:'content-type'] = 'application/json'
2313
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2314
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2315
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2316
+ # rubocop:enable Style/NegatedIf
2317
+
2318
+ post_body = nil
2319
+
2320
+ # rubocop:disable Metrics/BlockLength
2321
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
2322
+ @api_client.call_api(
2323
+ :GET,
2324
+ path,
2325
+ endpoint,
2326
+ header_params: header_params,
2327
+ query_params: query_params,
2328
+ operation_signing_strategy: operation_signing_strategy,
2329
+ body: post_body,
2330
+ return_type: 'OCI::Dns::Models::Zone'
2331
+ )
2332
+ end
2333
+ # rubocop:enable Metrics/BlockLength
2334
+ end
2335
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2336
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2337
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2338
+
2339
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2340
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2341
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2342
+
2343
+
2344
+ # Gets all records in the specified zone. The results are
2345
+ # sorted by `domain` in alphabetical order by default. For more
2346
+ # information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
2347
+ #
2348
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
2349
+ # @param [Hash] opts the optional parameters
2350
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2351
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2352
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2353
+ # the absence of any current representation of the target resource, when
2354
+ # the field-value is `*`, or having a selected representation with an
2355
+ # entity-tag that does not match any of those listed in the field-value.
2356
+ #
2357
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2358
+ # conditional on the selected representation's modification date being more
2359
+ # recent than the date provided in the field-value. Transfer of the
2360
+ # selected representation's data is avoided if that data has not changed.
2361
+ #
2362
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2363
+ # to contact Oracle about a particular request, please provide
2364
+ # the request ID.
2365
+ #
2366
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2367
+ # (default to 50)
2368
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2369
+ #
2370
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
2371
+ #
2372
+ # @option opts [String] :domain Search by domain.
2373
+ # Will match any record whose domain (case-insensitive) equals the provided value.
2374
+ #
2375
+ # @option opts [String] :domain_contains Search by domain.
2376
+ # Will match any record whose domain (case-insensitive) contains the provided value.
2377
+ #
2378
+ # @option opts [String] :rtype Search by record type.
2379
+ # 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.
2380
+ #
2381
+ # @option opts [String] :sort_by The field by which to sort records. (default to domain)
2382
+ # Allowed values are: domain, rtype, ttl
2383
+ # @option opts [String] :sort_order The order to sort the resources.
2384
+ # (default to ASC)
2385
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2386
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2387
+ #
2388
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2389
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
2390
+ def get_zone_records(zone_name_or_id, opts = {})
2391
+ logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
2392
+
2393
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
2394
+
2395
+ if opts[:sort_by] && !%w[domain rtype ttl].include?(opts[:sort_by])
2396
+ raise 'Invalid value for "sort_by", must be one of domain, rtype, ttl.'
2397
+ end
2398
+
2399
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2400
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2401
+ end
2402
+
2403
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2404
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2405
+ end
2406
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2407
+
2408
+ path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2409
+ operation_signing_strategy = :standard
2410
+
2411
+ # rubocop:disable Style/NegatedIf
2412
+ # Query Params
2413
+ query_params = {}
2414
+ query_params[:limit] = opts[:limit] if opts[:limit]
2415
+ query_params[:page] = opts[:page] if opts[:page]
2416
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
2417
+ query_params[:domain] = opts[:domain] if opts[:domain]
2418
+ query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
2419
+ query_params[:rtype] = opts[:rtype] if opts[:rtype]
2420
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2421
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2422
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2423
+ query_params[:scope] = opts[:scope] if opts[:scope]
2424
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2425
+
2426
+ # Header Params
2427
+ header_params = {}
2428
+ header_params[:accept] = 'application/json'
2429
+ header_params[:'content-type'] = 'application/json'
2430
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2431
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2432
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2433
+ # rubocop:enable Style/NegatedIf
2434
+
2435
+ post_body = nil
2436
+
2437
+ # rubocop:disable Metrics/BlockLength
2438
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
2439
+ @api_client.call_api(
2440
+ :GET,
2441
+ path,
2442
+ endpoint,
2443
+ header_params: header_params,
2444
+ query_params: query_params,
2445
+ operation_signing_strategy: operation_signing_strategy,
2446
+ body: post_body,
2447
+ return_type: 'OCI::Dns::Models::RecordCollection'
2448
+ )
2449
+ end
2450
+ # rubocop:enable Metrics/BlockLength
2451
+ end
2452
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2453
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2454
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2455
+
2456
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2457
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2458
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2459
+
2460
+
2461
+ # Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
2462
+ # It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
2463
+ # query parameter is provided that the collection does not include resolver endpoints in the DELETED
2464
+ # lifecycle state to be consistent with other operations of the API.
2465
+ #
2466
+ # @param [String] resolver_id The OCID of the target resolver.
2467
+ # @param [Hash] opts the optional parameters
2468
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2469
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2470
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2471
+ # to contact Oracle about a particular request, please provide
2472
+ # the request ID.
2473
+ #
2474
+ # @option opts [String] :name The name of a resource.
2475
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2476
+ #
2477
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2478
+ # (default to 50)
2479
+ # @option opts [String] :sort_order The order to sort the resources.
2480
+ # (default to DESC)
2481
+ # @option opts [String] :sort_by The field by which to sort resolver endpoints. (default to timeCreated)
2482
+ # Allowed values are: name, timeCreated
2483
+ # @option opts [String] :lifecycle_state The state of a resource.
2484
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2485
+ #
2486
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverEndpointSummary ResolverEndpointSummary}>
2487
+ def list_resolver_endpoints(resolver_id, opts = {})
2488
+ logger.debug 'Calling operation DnsClient#list_resolver_endpoints.' if logger
2489
+
2490
+ raise "Missing the required parameter 'resolver_id' when calling list_resolver_endpoints." if resolver_id.nil?
2491
+
2492
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2493
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2494
+ end
2495
+
2496
+ if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
2497
+ raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
2498
+ end
2499
+
2500
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2501
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.'
2502
+ end
2503
+
2504
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2505
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2506
+ end
2507
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
2508
+
2509
+ path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
978
2510
  operation_signing_strategy = :standard
979
2511
 
980
2512
  # rubocop:disable Style/NegatedIf
981
2513
  # Query Params
982
2514
  query_params = {}
2515
+ query_params[:name] = opts[:name] if opts[:name]
2516
+ query_params[:page] = opts[:page] if opts[:page]
2517
+ query_params[:limit] = opts[:limit] if opts[:limit]
2518
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2519
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2520
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2521
+ query_params[:scope] = opts[:scope] if opts[:scope]
983
2522
 
984
2523
  # Header Params
985
2524
  header_params = {}
986
2525
  header_params[:accept] = 'application/json'
987
2526
  header_params[:'content-type'] = 'application/json'
988
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
989
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2527
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
990
2528
  # rubocop:enable Style/NegatedIf
991
2529
 
992
2530
  post_body = nil
993
2531
 
994
2532
  # rubocop:disable Metrics/BlockLength
995
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
2533
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolver_endpoints') do
996
2534
  @api_client.call_api(
997
2535
  :GET,
998
2536
  path,
@@ -1001,7 +2539,7 @@ module OCI
1001
2539
  query_params: query_params,
1002
2540
  operation_signing_strategy: operation_signing_strategy,
1003
2541
  body: post_body,
1004
- return_type: 'OCI::Dns::Models::SteeringPolicy'
2542
+ return_type: 'Array<OCI::Dns::Models::ResolverEndpointSummary>'
1005
2543
  )
1006
2544
  end
1007
2545
  # rubocop:enable Metrics/BlockLength
@@ -1015,48 +2553,83 @@ module OCI
1015
2553
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1016
2554
 
1017
2555
 
1018
- # Gets information about the specified steering policy attachment.
2556
+ # Gets a list of all resolvers within a compartment. The collection can
2557
+ # be filtered by display name, id, or lifecycle state. It can be sorted
2558
+ # on creation time or displayName both in ASC or DESC order. Note that
2559
+ # when no lifecycleState query parameter is provided that the collection
2560
+ # does not include resolvers in the DELETED lifecycleState to be consistent
2561
+ # with other operations of the API.
1019
2562
  #
1020
- # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
2563
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1021
2564
  # @param [Hash] opts the optional parameters
1022
2565
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1023
2566
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1024
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1025
- # the absence of any current representation of the target resource, when
1026
- # the field-value is `*`, or having a selected representation with an
1027
- # entity-tag that does not match any of those listed in the field-value.
2567
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2568
+ # to contact Oracle about a particular request, please provide
2569
+ # the request ID.
1028
2570
  #
1029
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1030
- # conditional on the selected representation's modification date being more
1031
- # recent than the date provided in the field-value. Transfer of the
1032
- # selected representation's data is avoided if that data has not changed.
2571
+ # @option opts [String] :display_name The displayName of a resource.
2572
+ # @option opts [String] :id The OCID of a resource.
2573
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1033
2574
  #
1034
- # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
1035
- def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
1036
- logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
2575
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2576
+ # (default to 50)
2577
+ # @option opts [String] :sort_order The order to sort the resources.
2578
+ # (default to DESC)
2579
+ # @option opts [String] :sort_by The field by which to sort resolvers. (default to timeCreated)
2580
+ # Allowed values are: displayName, timeCreated
2581
+ # @option opts [String] :lifecycle_state The state of a resource.
2582
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2583
+ #
2584
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverSummary ResolverSummary}>
2585
+ def list_resolvers(compartment_id, opts = {})
2586
+ logger.debug 'Calling operation DnsClient#list_resolvers.' if logger
1037
2587
 
1038
- raise "Missing the required parameter 'steering_policy_attachment_id' when calling get_steering_policy_attachment." if steering_policy_attachment_id.nil?
1039
- raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
2588
+ raise "Missing the required parameter 'compartment_id' when calling list_resolvers." if compartment_id.nil?
1040
2589
 
1041
- path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
2590
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2591
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2592
+ end
2593
+
2594
+ if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
2595
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
2596
+ end
2597
+
2598
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2599
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.'
2600
+ end
2601
+
2602
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2603
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2604
+ end
2605
+
2606
+ path = '/resolvers'
1042
2607
  operation_signing_strategy = :standard
1043
2608
 
1044
2609
  # rubocop:disable Style/NegatedIf
1045
2610
  # Query Params
1046
2611
  query_params = {}
2612
+ query_params[:compartmentId] = compartment_id
2613
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2614
+ query_params[:id] = opts[:id] if opts[:id]
2615
+ query_params[:page] = opts[:page] if opts[:page]
2616
+ query_params[:limit] = opts[:limit] if opts[:limit]
2617
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2618
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2619
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2620
+ query_params[:scope] = opts[:scope] if opts[:scope]
1047
2621
 
1048
2622
  # Header Params
1049
2623
  header_params = {}
1050
2624
  header_params[:accept] = 'application/json'
1051
2625
  header_params[:'content-type'] = 'application/json'
1052
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1053
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2626
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1054
2627
  # rubocop:enable Style/NegatedIf
1055
2628
 
1056
2629
  post_body = nil
1057
2630
 
1058
2631
  # rubocop:disable Metrics/BlockLength
1059
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
2632
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolvers') do
1060
2633
  @api_client.call_api(
1061
2634
  :GET,
1062
2635
  path,
@@ -1065,7 +2638,7 @@ module OCI
1065
2638
  query_params: query_params,
1066
2639
  operation_signing_strategy: operation_signing_strategy,
1067
2640
  body: post_body,
1068
- return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
2641
+ return_type: 'Array<OCI::Dns::Models::ResolverSummary>'
1069
2642
  )
1070
2643
  end
1071
2644
  # rubocop:enable Metrics/BlockLength
@@ -1079,51 +2652,98 @@ module OCI
1079
2652
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1080
2653
 
1081
2654
 
1082
- # Gets information about the specified zone, including its creation date,
1083
- # zone type, and serial.
2655
+ # Gets a list of all steering policies in the specified compartment.
1084
2656
  #
1085
- # @param [String] zone_name_or_id The name or OCID of the target zone.
2657
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1086
2658
  # @param [Hash] opts the optional parameters
1087
2659
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1088
2660
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1089
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1090
- # the absence of any current representation of the target resource, when
1091
- # the field-value is `*`, or having a selected representation with an
1092
- # entity-tag that does not match any of those listed in the field-value.
2661
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2662
+ # to contact Oracle about a particular request, please provide
2663
+ # the request ID.
1093
2664
  #
1094
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1095
- # conditional on the selected representation's modification date being more
1096
- # recent than the date provided in the field-value. Transfer of the
1097
- # selected representation's data is avoided if that data has not changed.
2665
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2666
+ # (default to 50)
2667
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1098
2668
  #
1099
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1100
- # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
1101
- def get_zone(zone_name_or_id, opts = {})
1102
- logger.debug 'Calling operation DnsClient#get_zone.' if logger
2669
+ # @option opts [String] :id The OCID of a resource.
2670
+ # @option opts [String] :display_name The displayName of a resource.
2671
+ # @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
2672
+ # (case-insensitive) contains the provided value.
2673
+ #
2674
+ # @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
2675
+ # Will match any resource whose health check monitor ID matches the provided value.
2676
+ #
2677
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2678
+ # all returned resources were created on or after the indicated time.
2679
+ #
2680
+ # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2681
+ # all returned resources were created before the indicated time.
2682
+ #
2683
+ # @option opts [String] :template Search by steering template type.
2684
+ # Will match any resource whose template type matches the provided value.
2685
+ #
2686
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
2687
+ # @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2688
+ # Allowed values are: displayName, timeCreated, template
2689
+ # @option opts [String] :sort_order The order to sort the resources.
2690
+ # (default to DESC)
2691
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2692
+ #
2693
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
2694
+ def list_steering_policies(compartment_id, opts = {})
2695
+ logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
1103
2696
 
1104
- raise "Missing the required parameter 'zone_name_or_id' when calling get_zone." if zone_name_or_id.nil?
1105
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2697
+ raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
1106
2698
 
1107
- path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2699
+ if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2700
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.'
2701
+ end
2702
+
2703
+ if opts[:sort_by] && !%w[displayName timeCreated template].include?(opts[:sort_by])
2704
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, template.'
2705
+ end
2706
+
2707
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2708
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2709
+ end
2710
+
2711
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2712
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2713
+ end
2714
+
2715
+ path = '/steeringPolicies'
1108
2716
  operation_signing_strategy = :standard
1109
2717
 
1110
2718
  # rubocop:disable Style/NegatedIf
1111
2719
  # Query Params
1112
2720
  query_params = {}
1113
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2721
+ query_params[:compartmentId] = compartment_id
2722
+ query_params[:limit] = opts[:limit] if opts[:limit]
2723
+ query_params[:page] = opts[:page] if opts[:page]
2724
+ query_params[:id] = opts[:id] if opts[:id]
2725
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2726
+ query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
2727
+ query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
2728
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
2729
+ query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
2730
+ query_params[:template] = opts[:template] if opts[:template]
2731
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2732
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2733
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2734
+ query_params[:scope] = opts[:scope] if opts[:scope]
1114
2735
 
1115
2736
  # Header Params
1116
2737
  header_params = {}
1117
2738
  header_params[:accept] = 'application/json'
1118
2739
  header_params[:'content-type'] = 'application/json'
1119
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1120
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2740
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1121
2741
  # rubocop:enable Style/NegatedIf
1122
2742
 
1123
2743
  post_body = nil
1124
2744
 
1125
2745
  # rubocop:disable Metrics/BlockLength
1126
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
2746
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
1127
2747
  @api_client.call_api(
1128
2748
  :GET,
1129
2749
  path,
@@ -1132,7 +2752,7 @@ module OCI
1132
2752
  query_params: query_params,
1133
2753
  operation_signing_strategy: operation_signing_strategy,
1134
2754
  body: post_body,
1135
- return_type: 'OCI::Dns::Models::Zone'
2755
+ return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
1136
2756
  )
1137
2757
  end
1138
2758
  # rubocop:enable Metrics/BlockLength
@@ -1146,29 +2766,27 @@ module OCI
1146
2766
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1147
2767
 
1148
2768
 
1149
- # Gets all records in the specified zone. The results are
1150
- # sorted by `domain` in alphabetical order by default. For more
1151
- # information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
2769
+ # Lists the steering policy attachments in the specified compartment.
1152
2770
  #
1153
- # @param [String] zone_name_or_id The name or OCID of the target zone.
2771
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1154
2772
  # @param [Hash] opts the optional parameters
1155
2773
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1156
2774
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1157
- # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1158
- # the absence of any current representation of the target resource, when
1159
- # the field-value is `*`, or having a selected representation with an
1160
- # entity-tag that does not match any of those listed in the field-value.
1161
- #
1162
- # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1163
- # conditional on the selected representation's modification date being more
1164
- # recent than the date provided in the field-value. Transfer of the
1165
- # selected representation's data is avoided if that data has not changed.
2775
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2776
+ # to contact Oracle about a particular request, please provide
2777
+ # the request ID.
1166
2778
  #
1167
2779
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1168
2780
  # (default to 50)
1169
2781
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1170
2782
  #
1171
- # @option opts [String] :zone_version The version of the zone for which data is requested.
2783
+ # @option opts [String] :id The OCID of a resource.
2784
+ # @option opts [String] :display_name The displayName of a resource.
2785
+ # @option opts [String] :steering_policy_id Search by steering policy OCID.
2786
+ # Will match any resource whose steering policy ID matches the provided value.
2787
+ #
2788
+ # @option opts [String] :zone_id Search by zone OCID.
2789
+ # Will match any resource whose zone ID matches the provided value.
1172
2790
  #
1173
2791
  # @option opts [String] :domain Search by domain.
1174
2792
  # Will match any record whose domain (case-insensitive) equals the provided value.
@@ -1176,57 +2794,74 @@ module OCI
1176
2794
  # @option opts [String] :domain_contains Search by domain.
1177
2795
  # Will match any record whose domain (case-insensitive) contains the provided value.
1178
2796
  #
1179
- # @option opts [String] :rtype Search by record type.
1180
- # 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.
2797
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2798
+ # all returned resources were created on or after the indicated time.
1181
2799
  #
1182
- # @option opts [String] :sort_by The field by which to sort records. (default to domain)
1183
- # Allowed values are: domain, rtype, ttl
2800
+ # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2801
+ # all returned resources were created before the indicated time.
2802
+ #
2803
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
2804
+ # @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2805
+ # Allowed values are: displayName, timeCreated, domainName
1184
2806
  # @option opts [String] :sort_order The order to sort the resources.
2807
+ # (default to DESC)
2808
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1185
2809
  #
1186
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1187
- # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1188
- def get_zone_records(zone_name_or_id, opts = {})
1189
- logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
2810
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
2811
+ def list_steering_policy_attachments(compartment_id, opts = {})
2812
+ logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
1190
2813
 
1191
- raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
2814
+ raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
1192
2815
 
1193
- if opts[:sort_by] && !%w[domain rtype ttl].include?(opts[:sort_by])
1194
- raise 'Invalid value for "sort_by", must be one of domain, rtype, ttl.'
2816
+ if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2817
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.'
2818
+ end
2819
+
2820
+ if opts[:sort_by] && !%w[displayName timeCreated domainName].include?(opts[:sort_by])
2821
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, domainName.'
1195
2822
  end
1196
2823
 
1197
2824
  if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1198
2825
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1199
2826
  end
1200
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1201
2827
 
1202
- path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2828
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2829
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2830
+ end
2831
+
2832
+ path = '/steeringPolicyAttachments'
1203
2833
  operation_signing_strategy = :standard
1204
2834
 
1205
2835
  # rubocop:disable Style/NegatedIf
1206
2836
  # Query Params
1207
2837
  query_params = {}
2838
+ query_params[:compartmentId] = compartment_id
1208
2839
  query_params[:limit] = opts[:limit] if opts[:limit]
1209
2840
  query_params[:page] = opts[:page] if opts[:page]
1210
- query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
2841
+ query_params[:id] = opts[:id] if opts[:id]
2842
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2843
+ query_params[:steeringPolicyId] = opts[:steering_policy_id] if opts[:steering_policy_id]
2844
+ query_params[:zoneId] = opts[:zone_id] if opts[:zone_id]
1211
2845
  query_params[:domain] = opts[:domain] if opts[:domain]
1212
2846
  query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
1213
- query_params[:rtype] = opts[:rtype] if opts[:rtype]
2847
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
2848
+ query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
2849
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1214
2850
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1215
2851
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1216
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2852
+ query_params[:scope] = opts[:scope] if opts[:scope]
1217
2853
 
1218
2854
  # Header Params
1219
2855
  header_params = {}
1220
2856
  header_params[:accept] = 'application/json'
1221
2857
  header_params[:'content-type'] = 'application/json'
1222
- header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1223
- header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2858
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1224
2859
  # rubocop:enable Style/NegatedIf
1225
2860
 
1226
2861
  post_body = nil
1227
2862
 
1228
2863
  # rubocop:disable Metrics/BlockLength
1229
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
2864
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
1230
2865
  @api_client.call_api(
1231
2866
  :GET,
1232
2867
  path,
@@ -1235,7 +2870,7 @@ module OCI
1235
2870
  query_params: query_params,
1236
2871
  operation_signing_strategy: operation_signing_strategy,
1237
2872
  body: post_body,
1238
- return_type: 'OCI::Dns::Models::RecordCollection'
2873
+ return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
1239
2874
  )
1240
2875
  end
1241
2876
  # rubocop:enable Metrics/BlockLength
@@ -1246,60 +2881,55 @@ module OCI
1246
2881
 
1247
2882
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1248
2883
  # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1249
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1250
-
1251
-
1252
- # Gets a list of all steering policies in the specified compartment.
1253
- #
1254
- # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1255
- # @param [Hash] opts the optional parameters
1256
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1257
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1258
- # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1259
- # (default to 50)
1260
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1261
- #
1262
- # @option opts [String] :id The OCID of a resource.
1263
- # @option opts [String] :display_name The displayName of a resource.
1264
- # @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
1265
- # (case-insensitive) contains the provided value.
1266
- #
1267
- # @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
1268
- # Will match any resource whose health check monitor ID matches the provided value.
1269
- #
1270
- # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1271
- # all returned resources were created on or after the indicated time.
2884
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2885
+
2886
+
2887
+ # Gets a list of all TSIG keys in the specified compartment.
1272
2888
  #
1273
- # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1274
- # all returned resources were created before the indicated time.
2889
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
2890
+ # @param [Hash] opts the optional parameters
2891
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2892
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2893
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2894
+ # to contact Oracle about a particular request, please provide
2895
+ # the request ID.
1275
2896
  #
1276
- # @option opts [String] :template Search by steering template type.
1277
- # Will match any resource whose template type matches the provided value.
2897
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2898
+ # (default to 50)
2899
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1278
2900
  #
2901
+ # @option opts [String] :id The OCID of a resource.
2902
+ # @option opts [String] :name The name of a resource.
1279
2903
  # @option opts [String] :lifecycle_state The state of a resource.
1280
- # @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
1281
- # Allowed values are: displayName, timeCreated, template
2904
+ # @option opts [String] :sort_by The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2905
+ # Allowed values are: name, timeCreated
1282
2906
  # @option opts [String] :sort_order The order to sort the resources.
2907
+ # (default to DESC)
2908
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1283
2909
  #
1284
- # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
1285
- def list_steering_policies(compartment_id, opts = {})
1286
- logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
2910
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::TsigKeySummary TsigKeySummary}>
2911
+ def list_tsig_keys(compartment_id, opts = {})
2912
+ logger.debug 'Calling operation DnsClient#list_tsig_keys.' if logger
1287
2913
 
1288
- raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
2914
+ raise "Missing the required parameter 'compartment_id' when calling list_tsig_keys." if compartment_id.nil?
1289
2915
 
1290
- if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1291
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.'
2916
+ if opts[:lifecycle_state] && !OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2917
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.'
1292
2918
  end
1293
2919
 
1294
- if opts[:sort_by] && !%w[displayName timeCreated template].include?(opts[:sort_by])
1295
- raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, template.'
2920
+ if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
2921
+ raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
1296
2922
  end
1297
2923
 
1298
2924
  if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1299
2925
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1300
2926
  end
1301
2927
 
1302
- path = '/steeringPolicies'
2928
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2929
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2930
+ end
2931
+
2932
+ path = '/tsigKeys'
1303
2933
  operation_signing_strategy = :standard
1304
2934
 
1305
2935
  # rubocop:disable Style/NegatedIf
@@ -1309,26 +2939,23 @@ module OCI
1309
2939
  query_params[:limit] = opts[:limit] if opts[:limit]
1310
2940
  query_params[:page] = opts[:page] if opts[:page]
1311
2941
  query_params[:id] = opts[:id] if opts[:id]
1312
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
1313
- query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
1314
- query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
1315
- query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
1316
- query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
1317
- query_params[:template] = opts[:template] if opts[:template]
2942
+ query_params[:name] = opts[:name] if opts[:name]
1318
2943
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1319
2944
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1320
2945
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2946
+ query_params[:scope] = opts[:scope] if opts[:scope]
1321
2947
 
1322
2948
  # Header Params
1323
2949
  header_params = {}
1324
2950
  header_params[:accept] = 'application/json'
1325
2951
  header_params[:'content-type'] = 'application/json'
2952
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1326
2953
  # rubocop:enable Style/NegatedIf
1327
2954
 
1328
2955
  post_body = nil
1329
2956
 
1330
2957
  # rubocop:disable Metrics/BlockLength
1331
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
2958
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_tsig_keys') do
1332
2959
  @api_client.call_api(
1333
2960
  :GET,
1334
2961
  path,
@@ -1337,7 +2964,7 @@ module OCI
1337
2964
  query_params: query_params,
1338
2965
  operation_signing_strategy: operation_signing_strategy,
1339
2966
  body: post_body,
1340
- return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
2967
+ return_type: 'Array<OCI::Dns::Models::TsigKeySummary>'
1341
2968
  )
1342
2969
  end
1343
2970
  # rubocop:enable Metrics/BlockLength
@@ -1351,90 +2978,83 @@ module OCI
1351
2978
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1352
2979
 
1353
2980
 
1354
- # Lists the steering policy attachments in the specified compartment.
2981
+ # Gets a list of all views within a compartment. The collection can
2982
+ # be filtered by display name, id, or lifecycle state. It can be sorted
2983
+ # on creation time or displayName both in ASC or DESC order. Note that
2984
+ # when no lifecycleState query parameter is provided that the collection
2985
+ # does not include views in the DELETED lifecycleState to be consistent
2986
+ # with other operations of the API.
1355
2987
  #
1356
2988
  # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1357
2989
  # @param [Hash] opts the optional parameters
1358
2990
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1359
2991
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1360
- # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1361
- # (default to 50)
1362
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2992
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2993
+ # to contact Oracle about a particular request, please provide
2994
+ # the request ID.
1363
2995
  #
1364
- # @option opts [String] :id The OCID of a resource.
1365
2996
  # @option opts [String] :display_name The displayName of a resource.
1366
- # @option opts [String] :steering_policy_id Search by steering policy OCID.
1367
- # Will match any resource whose steering policy ID matches the provided value.
1368
- #
1369
- # @option opts [String] :zone_id Search by zone OCID.
1370
- # Will match any resource whose zone ID matches the provided value.
1371
- #
1372
- # @option opts [String] :domain Search by domain.
1373
- # Will match any record whose domain (case-insensitive) equals the provided value.
1374
- #
1375
- # @option opts [String] :domain_contains Search by domain.
1376
- # Will match any record whose domain (case-insensitive) contains the provided value.
1377
- #
1378
- # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1379
- # all returned resources were created on or after the indicated time.
1380
- #
1381
- # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1382
- # all returned resources were created before the indicated time.
2997
+ # @option opts [String] :id The OCID of a resource.
2998
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1383
2999
  #
1384
- # @option opts [String] :lifecycle_state The state of a resource.
1385
- # @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
1386
- # Allowed values are: displayName, timeCreated, domainName
3000
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
3001
+ # (default to 50)
1387
3002
  # @option opts [String] :sort_order The order to sort the resources.
3003
+ # (default to DESC)
3004
+ # @option opts [String] :sort_by The field by which to sort views. (default to timeCreated)
3005
+ # Allowed values are: displayName, timeCreated
3006
+ # @option opts [String] :lifecycle_state The state of a resource.
3007
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1388
3008
  #
1389
- # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
1390
- def list_steering_policy_attachments(compartment_id, opts = {})
1391
- logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
3009
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ViewSummary ViewSummary}>
3010
+ def list_views(compartment_id, opts = {})
3011
+ logger.debug 'Calling operation DnsClient#list_views.' if logger
1392
3012
 
1393
- raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
3013
+ raise "Missing the required parameter 'compartment_id' when calling list_views." if compartment_id.nil?
1394
3014
 
1395
- if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1396
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.'
3015
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
3016
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1397
3017
  end
1398
3018
 
1399
- if opts[:sort_by] && !%w[displayName timeCreated domainName].include?(opts[:sort_by])
1400
- raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, domainName.'
3019
+ if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
3020
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
1401
3021
  end
1402
3022
 
1403
- if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1404
- raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
3023
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
3024
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.'
1405
3025
  end
1406
3026
 
1407
- path = '/steeringPolicyAttachments'
3027
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3028
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3029
+ end
3030
+
3031
+ path = '/views'
1408
3032
  operation_signing_strategy = :standard
1409
3033
 
1410
3034
  # rubocop:disable Style/NegatedIf
1411
3035
  # Query Params
1412
3036
  query_params = {}
1413
3037
  query_params[:compartmentId] = compartment_id
1414
- query_params[:limit] = opts[:limit] if opts[:limit]
1415
- query_params[:page] = opts[:page] if opts[:page]
1416
- query_params[:id] = opts[:id] if opts[:id]
1417
3038
  query_params[:displayName] = opts[:display_name] if opts[:display_name]
1418
- query_params[:steeringPolicyId] = opts[:steering_policy_id] if opts[:steering_policy_id]
1419
- query_params[:zoneId] = opts[:zone_id] if opts[:zone_id]
1420
- query_params[:domain] = opts[:domain] if opts[:domain]
1421
- query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
1422
- query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
1423
- query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
1424
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1425
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3039
+ query_params[:id] = opts[:id] if opts[:id]
3040
+ query_params[:page] = opts[:page] if opts[:page]
3041
+ query_params[:limit] = opts[:limit] if opts[:limit]
1426
3042
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3043
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3044
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
3045
+ query_params[:scope] = opts[:scope] if opts[:scope]
1427
3046
 
1428
3047
  # Header Params
1429
3048
  header_params = {}
1430
3049
  header_params[:accept] = 'application/json'
1431
3050
  header_params[:'content-type'] = 'application/json'
3051
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1432
3052
  # rubocop:enable Style/NegatedIf
1433
3053
 
1434
3054
  post_body = nil
1435
3055
 
1436
3056
  # rubocop:disable Metrics/BlockLength
1437
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
3057
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_views') do
1438
3058
  @api_client.call_api(
1439
3059
  :GET,
1440
3060
  path,
@@ -1443,7 +3063,7 @@ module OCI
1443
3063
  query_params: query_params,
1444
3064
  operation_signing_strategy: operation_signing_strategy,
1445
3065
  body: post_body,
1446
- return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
3066
+ return_type: 'Array<OCI::Dns::Models::ViewSummary>'
1447
3067
  )
1448
3068
  end
1449
3069
  # rubocop:enable Metrics/BlockLength
@@ -1458,12 +3078,16 @@ module OCI
1458
3078
 
1459
3079
 
1460
3080
  # Gets a list of all zones in the specified compartment. The collection
1461
- # can be filtered by name, time created, and zone type.
3081
+ # can be filtered by name, time created, scope, associated view, and zone type.
1462
3082
  #
1463
3083
  # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1464
3084
  # @param [Hash] opts the optional parameters
1465
3085
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1466
3086
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3087
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3088
+ # to contact Oracle about a particular request, please provide
3089
+ # the request ID.
3090
+ #
1467
3091
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1468
3092
  # (default to 50)
1469
3093
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
@@ -1484,12 +3108,15 @@ module OCI
1484
3108
  # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1485
3109
  # all returned resources were created before the indicated time.
1486
3110
  #
1487
- # @option opts [String] :lifecycle_state The state of a resource.
3111
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
1488
3112
  # Allowed values are: ACTIVE, CREATING, DELETED, DELETING, FAILED
1489
3113
  # @option opts [String] :sort_by The field by which to sort zones. (default to timeCreated)
1490
3114
  # Allowed values are: name, zoneType, timeCreated
1491
3115
  # @option opts [String] :sort_order The order to sort the resources.
3116
+ # (default to DESC)
3117
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1492
3118
  #
3119
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1493
3120
  # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ZoneSummary ZoneSummary}>
1494
3121
  def list_zones(compartment_id, opts = {})
1495
3122
  logger.debug 'Calling operation DnsClient#list_zones.' if logger
@@ -1512,6 +3139,10 @@ module OCI
1512
3139
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1513
3140
  end
1514
3141
 
3142
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3143
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3144
+ end
3145
+
1515
3146
  path = '/zones'
1516
3147
  operation_signing_strategy = :standard
1517
3148
 
@@ -1529,11 +3160,14 @@ module OCI
1529
3160
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1530
3161
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1531
3162
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3163
+ query_params[:scope] = opts[:scope] if opts[:scope]
3164
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1532
3165
 
1533
3166
  # Header Params
1534
3167
  header_params = {}
1535
3168
  header_params[:accept] = 'application/json'
1536
3169
  header_params[:'content-type'] = 'application/json'
3170
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1537
3171
  # rubocop:enable Style/NegatedIf
1538
3172
 
1539
3173
  post_body = nil
@@ -1568,8 +3202,187 @@ module OCI
1568
3202
  # function.
1569
3203
  #
1570
3204
  # @param [String] zone_name_or_id The name or OCID of the target zone.
1571
- # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1572
- # @param [OCI::Dns::Models::PatchDomainRecordsDetails] patch_domain_records_details Operations describing how to modify the collection of records.
3205
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
3206
+ # @param [OCI::Dns::Models::PatchDomainRecordsDetails] patch_domain_records_details Operations describing how to modify the collection of records.
3207
+ # @param [Hash] opts the optional parameters
3208
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3209
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3210
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
3211
+ # existence of at least one current representation of the target resource,
3212
+ # when the field-value is `*`, or having a current representation of the
3213
+ # target resource that has an entity-tag matching a member of the list of
3214
+ # entity-tags provided in the field-value.
3215
+ #
3216
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
3217
+ # conditional on the selected representation's last modification date being
3218
+ # earlier than or equal to the date provided in the field-value. This
3219
+ # field accomplishes the same purpose as If-Match for cases where the user
3220
+ # agent does not have an entity-tag for the representation.
3221
+ #
3222
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3223
+ # to contact Oracle about a particular request, please provide
3224
+ # the request ID.
3225
+ #
3226
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3227
+ #
3228
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3229
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
3230
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3231
+ def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
3232
+ logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
3233
+
3234
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
3235
+ raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
3236
+ raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
3237
+
3238
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3239
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3240
+ end
3241
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
3242
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
3243
+
3244
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3245
+ operation_signing_strategy = :standard
3246
+
3247
+ # rubocop:disable Style/NegatedIf
3248
+ # Query Params
3249
+ query_params = {}
3250
+ query_params[:scope] = opts[:scope] if opts[:scope]
3251
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
3252
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3253
+
3254
+ # Header Params
3255
+ header_params = {}
3256
+ header_params[:accept] = 'application/json'
3257
+ header_params[:'content-type'] = 'application/json'
3258
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3259
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3260
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3261
+ # rubocop:enable Style/NegatedIf
3262
+
3263
+ post_body = @api_client.object_to_http_body(patch_domain_records_details)
3264
+
3265
+ # rubocop:disable Metrics/BlockLength
3266
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
3267
+ @api_client.call_api(
3268
+ :PATCH,
3269
+ path,
3270
+ endpoint,
3271
+ header_params: header_params,
3272
+ query_params: query_params,
3273
+ operation_signing_strategy: operation_signing_strategy,
3274
+ body: post_body,
3275
+ return_type: 'OCI::Dns::Models::RecordCollection'
3276
+ )
3277
+ end
3278
+ # rubocop:enable Metrics/BlockLength
3279
+ end
3280
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3281
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3282
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3283
+
3284
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3285
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3286
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3287
+
3288
+
3289
+ # Updates records in the specified RRSet.
3290
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
3291
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
3292
+ # @param [String] rtype The type of the target RRSet within the target zone.
3293
+ # @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
3294
+ # @param [Hash] opts the optional parameters
3295
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3296
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3297
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
3298
+ # existence of at least one current representation of the target resource,
3299
+ # when the field-value is `*`, or having a current representation of the
3300
+ # target resource that has an entity-tag matching a member of the list of
3301
+ # entity-tags provided in the field-value.
3302
+ #
3303
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
3304
+ # conditional on the selected representation's last modification date being
3305
+ # earlier than or equal to the date provided in the field-value. This
3306
+ # field accomplishes the same purpose as If-Match for cases where the user
3307
+ # agent does not have an entity-tag for the representation.
3308
+ #
3309
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3310
+ # to contact Oracle about a particular request, please provide
3311
+ # the request ID.
3312
+ #
3313
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3314
+ #
3315
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3316
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
3317
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3318
+ def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
3319
+ logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
3320
+
3321
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_rr_set." if zone_name_or_id.nil?
3322
+ raise "Missing the required parameter 'domain' when calling patch_rr_set." if domain.nil?
3323
+ raise "Missing the required parameter 'rtype' when calling patch_rr_set." if rtype.nil?
3324
+ raise "Missing the required parameter 'patch_rr_set_details' when calling patch_rr_set." if patch_rr_set_details.nil?
3325
+
3326
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3327
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3328
+ end
3329
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
3330
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
3331
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
3332
+
3333
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
3334
+ operation_signing_strategy = :standard
3335
+
3336
+ # rubocop:disable Style/NegatedIf
3337
+ # Query Params
3338
+ query_params = {}
3339
+ query_params[:scope] = opts[:scope] if opts[:scope]
3340
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
3341
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3342
+
3343
+ # Header Params
3344
+ header_params = {}
3345
+ header_params[:accept] = 'application/json'
3346
+ header_params[:'content-type'] = 'application/json'
3347
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3348
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3349
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3350
+ # rubocop:enable Style/NegatedIf
3351
+
3352
+ post_body = @api_client.object_to_http_body(patch_rr_set_details)
3353
+
3354
+ # rubocop:disable Metrics/BlockLength
3355
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
3356
+ @api_client.call_api(
3357
+ :PATCH,
3358
+ path,
3359
+ endpoint,
3360
+ header_params: header_params,
3361
+ query_params: query_params,
3362
+ operation_signing_strategy: operation_signing_strategy,
3363
+ body: post_body,
3364
+ return_type: 'OCI::Dns::Models::RecordCollection'
3365
+ )
3366
+ end
3367
+ # rubocop:enable Metrics/BlockLength
3368
+ end
3369
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3370
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3371
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3372
+
3373
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3374
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3375
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3376
+
3377
+
3378
+ # Updates a collection of records in the specified zone. You can update
3379
+ # one record or all records for the specified zone depending on the
3380
+ # changes provided in the request body. You can also add or remove records
3381
+ # using this function.
3382
+ #
3383
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
3384
+ # @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
3385
+ #
1573
3386
  # @param [Hash] opts the optional parameters
1574
3387
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1575
3388
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1585,23 +3398,34 @@ module OCI
1585
3398
  # field accomplishes the same purpose as If-Match for cases where the user
1586
3399
  # agent does not have an entity-tag for the representation.
1587
3400
  #
3401
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3402
+ # to contact Oracle about a particular request, please provide
3403
+ # the request ID.
3404
+ #
3405
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3406
+ #
3407
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1588
3408
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1589
3409
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1590
- def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
1591
- logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
3410
+ def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
3411
+ logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
1592
3412
 
1593
- raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
1594
- raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
1595
- raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
3413
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_zone_records." if zone_name_or_id.nil?
3414
+ raise "Missing the required parameter 'patch_zone_records_details' when calling patch_zone_records." if patch_zone_records_details.nil?
3415
+
3416
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3417
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3418
+ end
1596
3419
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1597
- raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1598
3420
 
1599
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3421
+ path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1600
3422
  operation_signing_strategy = :standard
1601
3423
 
1602
3424
  # rubocop:disable Style/NegatedIf
1603
3425
  # Query Params
1604
3426
  query_params = {}
3427
+ query_params[:scope] = opts[:scope] if opts[:scope]
3428
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1605
3429
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1606
3430
 
1607
3431
  # Header Params
@@ -1610,12 +3434,13 @@ module OCI
1610
3434
  header_params[:'content-type'] = 'application/json'
1611
3435
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1612
3436
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3437
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1613
3438
  # rubocop:enable Style/NegatedIf
1614
3439
 
1615
- post_body = @api_client.object_to_http_body(patch_domain_records_details)
3440
+ post_body = @api_client.object_to_http_body(patch_zone_records_details)
1616
3441
 
1617
3442
  # rubocop:disable Metrics/BlockLength
1618
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
3443
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
1619
3444
  @api_client.call_api(
1620
3445
  :PATCH,
1621
3446
  path,
@@ -1638,11 +3463,16 @@ module OCI
1638
3463
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1639
3464
 
1640
3465
 
1641
- # Updates records in the specified RRSet.
3466
+ # Replaces records in the specified zone at a domain with the records
3467
+ # specified in the request body. If a specified record does not exist,
3468
+ # it will be created. If the record exists, then it will be updated to
3469
+ # represent the record in the body of the request. If a record in the zone
3470
+ # does not exist in the request body, the record will be removed from the
3471
+ # zone.
3472
+ #
1642
3473
  # @param [String] zone_name_or_id The name or OCID of the target zone.
1643
3474
  # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1644
- # @param [String] rtype The type of the target RRSet within the target zone.
1645
- # @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
3475
+ # @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
1646
3476
  # @param [Hash] opts the optional parameters
1647
3477
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1648
3478
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1658,25 +3488,36 @@ module OCI
1658
3488
  # field accomplishes the same purpose as If-Match for cases where the user
1659
3489
  # agent does not have an entity-tag for the representation.
1660
3490
  #
3491
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3492
+ # to contact Oracle about a particular request, please provide
3493
+ # the request ID.
3494
+ #
3495
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3496
+ #
3497
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1661
3498
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1662
3499
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1663
- def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
1664
- logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
3500
+ def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
3501
+ logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
1665
3502
 
1666
- raise "Missing the required parameter 'zone_name_or_id' when calling patch_rr_set." if zone_name_or_id.nil?
1667
- raise "Missing the required parameter 'domain' when calling patch_rr_set." if domain.nil?
1668
- raise "Missing the required parameter 'rtype' when calling patch_rr_set." if rtype.nil?
1669
- raise "Missing the required parameter 'patch_rr_set_details' when calling patch_rr_set." if patch_rr_set_details.nil?
3503
+ raise "Missing the required parameter 'zone_name_or_id' when calling update_domain_records." if zone_name_or_id.nil?
3504
+ raise "Missing the required parameter 'domain' when calling update_domain_records." if domain.nil?
3505
+ raise "Missing the required parameter 'update_domain_records_details' when calling update_domain_records." if update_domain_records_details.nil?
3506
+
3507
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3508
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3509
+ end
1670
3510
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1671
3511
  raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1672
- raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
1673
3512
 
1674
- path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
3513
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
1675
3514
  operation_signing_strategy = :standard
1676
3515
 
1677
3516
  # rubocop:disable Style/NegatedIf
1678
3517
  # Query Params
1679
3518
  query_params = {}
3519
+ query_params[:scope] = opts[:scope] if opts[:scope]
3520
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1680
3521
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1681
3522
 
1682
3523
  # Header Params
@@ -1685,14 +3526,15 @@ module OCI
1685
3526
  header_params[:'content-type'] = 'application/json'
1686
3527
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1687
3528
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3529
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1688
3530
  # rubocop:enable Style/NegatedIf
1689
3531
 
1690
- post_body = @api_client.object_to_http_body(patch_rr_set_details)
3532
+ post_body = @api_client.object_to_http_body(update_domain_records_details)
1691
3533
 
1692
3534
  # rubocop:disable Metrics/BlockLength
1693
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
3535
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
1694
3536
  @api_client.call_api(
1695
- :PATCH,
3537
+ :PUT,
1696
3538
  path,
1697
3539
  endpoint,
1698
3540
  header_params: header_params,
@@ -1713,14 +3555,10 @@ module OCI
1713
3555
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1714
3556
 
1715
3557
 
1716
- # Updates a collection of records in the specified zone. You can update
1717
- # one record or all records for the specified zone depending on the
1718
- # changes provided in the request body. You can also add or remove records
1719
- # using this function.
1720
- #
1721
- # @param [String] zone_name_or_id The name or OCID of the target zone.
1722
- # @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
3558
+ # Updates the specified resolver with your new information.
1723
3559
  #
3560
+ # @param [String] resolver_id The OCID of the target resolver.
3561
+ # @param [OCI::Dns::Models::UpdateResolverDetails] update_resolver_details New data for the resolver.
1724
3562
  # @param [Hash] opts the optional parameters
1725
3563
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1726
3564
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1736,22 +3574,31 @@ module OCI
1736
3574
  # field accomplishes the same purpose as If-Match for cases where the user
1737
3575
  # agent does not have an entity-tag for the representation.
1738
3576
  #
1739
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1740
- # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1741
- def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
1742
- logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
3577
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3578
+ # to contact Oracle about a particular request, please provide
3579
+ # the request ID.
3580
+ #
3581
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3582
+ #
3583
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
3584
+ def update_resolver(resolver_id, update_resolver_details, opts = {})
3585
+ logger.debug 'Calling operation DnsClient#update_resolver.' if logger
1743
3586
 
1744
- raise "Missing the required parameter 'zone_name_or_id' when calling patch_zone_records." if zone_name_or_id.nil?
1745
- raise "Missing the required parameter 'patch_zone_records_details' when calling patch_zone_records." if patch_zone_records_details.nil?
1746
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
3587
+ raise "Missing the required parameter 'resolver_id' when calling update_resolver." if resolver_id.nil?
3588
+ raise "Missing the required parameter 'update_resolver_details' when calling update_resolver." if update_resolver_details.nil?
1747
3589
 
1748
- path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
3590
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3591
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3592
+ end
3593
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
3594
+
3595
+ path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
1749
3596
  operation_signing_strategy = :standard
1750
3597
 
1751
3598
  # rubocop:disable Style/NegatedIf
1752
3599
  # Query Params
1753
3600
  query_params = {}
1754
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3601
+ query_params[:scope] = opts[:scope] if opts[:scope]
1755
3602
 
1756
3603
  # Header Params
1757
3604
  header_params = {}
@@ -1759,21 +3606,22 @@ module OCI
1759
3606
  header_params[:'content-type'] = 'application/json'
1760
3607
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1761
3608
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3609
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1762
3610
  # rubocop:enable Style/NegatedIf
1763
3611
 
1764
- post_body = @api_client.object_to_http_body(patch_zone_records_details)
3612
+ post_body = @api_client.object_to_http_body(update_resolver_details)
1765
3613
 
1766
3614
  # rubocop:disable Metrics/BlockLength
1767
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
3615
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver') do
1768
3616
  @api_client.call_api(
1769
- :PATCH,
3617
+ :PUT,
1770
3618
  path,
1771
3619
  endpoint,
1772
3620
  header_params: header_params,
1773
3621
  query_params: query_params,
1774
3622
  operation_signing_strategy: operation_signing_strategy,
1775
3623
  body: post_body,
1776
- return_type: 'OCI::Dns::Models::RecordCollection'
3624
+ return_type: 'OCI::Dns::Models::Resolver'
1777
3625
  )
1778
3626
  end
1779
3627
  # rubocop:enable Metrics/BlockLength
@@ -1787,16 +3635,11 @@ module OCI
1787
3635
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1788
3636
 
1789
3637
 
1790
- # Replaces records in the specified zone at a domain with the records
1791
- # specified in the request body. If a specified record does not exist,
1792
- # it will be created. If the record exists, then it will be updated to
1793
- # represent the record in the body of the request. If a record in the zone
1794
- # does not exist in the request body, the record will be removed from the
1795
- # zone.
3638
+ # Updates the specified resolver endpoint with your new information.
1796
3639
  #
1797
- # @param [String] zone_name_or_id The name or OCID of the target zone.
1798
- # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1799
- # @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
3640
+ # @param [String] resolver_id The OCID of the target resolver.
3641
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
3642
+ # @param [OCI::Dns::Models::UpdateResolverEndpointDetails] update_resolver_endpoint_details New data for the resolver endpoint.
1800
3643
  # @param [Hash] opts the optional parameters
1801
3644
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1802
3645
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1812,24 +3655,33 @@ module OCI
1812
3655
  # field accomplishes the same purpose as If-Match for cases where the user
1813
3656
  # agent does not have an entity-tag for the representation.
1814
3657
  #
1815
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1816
- # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1817
- def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
1818
- logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
3658
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3659
+ # to contact Oracle about a particular request, please provide
3660
+ # the request ID.
3661
+ #
3662
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3663
+ #
3664
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
3665
+ def update_resolver_endpoint(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, opts = {})
3666
+ logger.debug 'Calling operation DnsClient#update_resolver_endpoint.' if logger
1819
3667
 
1820
- raise "Missing the required parameter 'zone_name_or_id' when calling update_domain_records." if zone_name_or_id.nil?
1821
- raise "Missing the required parameter 'domain' when calling update_domain_records." if domain.nil?
1822
- raise "Missing the required parameter 'update_domain_records_details' when calling update_domain_records." if update_domain_records_details.nil?
1823
- raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1824
- raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
3668
+ raise "Missing the required parameter 'resolver_id' when calling update_resolver_endpoint." if resolver_id.nil?
3669
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling update_resolver_endpoint." if resolver_endpoint_name.nil?
3670
+ raise "Missing the required parameter 'update_resolver_endpoint_details' when calling update_resolver_endpoint." if update_resolver_endpoint_details.nil?
1825
3671
 
1826
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3672
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3673
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3674
+ end
3675
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
3676
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
3677
+
3678
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1827
3679
  operation_signing_strategy = :standard
1828
3680
 
1829
3681
  # rubocop:disable Style/NegatedIf
1830
3682
  # Query Params
1831
3683
  query_params = {}
1832
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3684
+ query_params[:scope] = opts[:scope] if opts[:scope]
1833
3685
 
1834
3686
  # Header Params
1835
3687
  header_params = {}
@@ -1837,12 +3689,13 @@ module OCI
1837
3689
  header_params[:'content-type'] = 'application/json'
1838
3690
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1839
3691
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3692
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1840
3693
  # rubocop:enable Style/NegatedIf
1841
3694
 
1842
- post_body = @api_client.object_to_http_body(update_domain_records_details)
3695
+ post_body = @api_client.object_to_http_body(update_resolver_endpoint_details)
1843
3696
 
1844
3697
  # rubocop:disable Metrics/BlockLength
1845
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
3698
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver_endpoint') do
1846
3699
  @api_client.call_api(
1847
3700
  :PUT,
1848
3701
  path,
@@ -1851,7 +3704,7 @@ module OCI
1851
3704
  query_params: query_params,
1852
3705
  operation_signing_strategy: operation_signing_strategy,
1853
3706
  body: post_body,
1854
- return_type: 'OCI::Dns::Models::RecordCollection'
3707
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
1855
3708
  )
1856
3709
  end
1857
3710
  # rubocop:enable Metrics/BlockLength
@@ -1885,6 +3738,13 @@ module OCI
1885
3738
  # field accomplishes the same purpose as If-Match for cases where the user
1886
3739
  # agent does not have an entity-tag for the representation.
1887
3740
  #
3741
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3742
+ # to contact Oracle about a particular request, please provide
3743
+ # the request ID.
3744
+ #
3745
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3746
+ #
3747
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1888
3748
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1889
3749
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1890
3750
  def update_rr_set(zone_name_or_id, domain, rtype, update_rr_set_details, opts = {})
@@ -1894,6 +3754,10 @@ module OCI
1894
3754
  raise "Missing the required parameter 'domain' when calling update_rr_set." if domain.nil?
1895
3755
  raise "Missing the required parameter 'rtype' when calling update_rr_set." if rtype.nil?
1896
3756
  raise "Missing the required parameter 'update_rr_set_details' when calling update_rr_set." if update_rr_set_details.nil?
3757
+
3758
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3759
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3760
+ end
1897
3761
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1898
3762
  raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1899
3763
  raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
@@ -1904,6 +3768,8 @@ module OCI
1904
3768
  # rubocop:disable Style/NegatedIf
1905
3769
  # Query Params
1906
3770
  query_params = {}
3771
+ query_params[:scope] = opts[:scope] if opts[:scope]
3772
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1907
3773
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1908
3774
 
1909
3775
  # Header Params
@@ -1912,6 +3778,7 @@ module OCI
1912
3778
  header_params[:'content-type'] = 'application/json'
1913
3779
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1914
3780
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3781
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1915
3782
  # rubocop:enable Style/NegatedIf
1916
3783
 
1917
3784
  post_body = @api_client.object_to_http_body(update_rr_set_details)
@@ -1959,12 +3826,22 @@ module OCI
1959
3826
  # field accomplishes the same purpose as If-Match for cases where the user
1960
3827
  # agent does not have an entity-tag for the representation.
1961
3828
  #
3829
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3830
+ # to contact Oracle about a particular request, please provide
3831
+ # the request ID.
3832
+ #
3833
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3834
+ #
1962
3835
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
1963
3836
  def update_steering_policy(steering_policy_id, update_steering_policy_details, opts = {})
1964
3837
  logger.debug 'Calling operation DnsClient#update_steering_policy.' if logger
1965
3838
 
1966
3839
  raise "Missing the required parameter 'steering_policy_id' when calling update_steering_policy." if steering_policy_id.nil?
1967
3840
  raise "Missing the required parameter 'update_steering_policy_details' when calling update_steering_policy." if update_steering_policy_details.nil?
3841
+
3842
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3843
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3844
+ end
1968
3845
  raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
1969
3846
 
1970
3847
  path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
@@ -1973,6 +3850,7 @@ module OCI
1973
3850
  # rubocop:disable Style/NegatedIf
1974
3851
  # Query Params
1975
3852
  query_params = {}
3853
+ query_params[:scope] = opts[:scope] if opts[:scope]
1976
3854
 
1977
3855
  # Header Params
1978
3856
  header_params = {}
@@ -1980,6 +3858,7 @@ module OCI
1980
3858
  header_params[:'content-type'] = 'application/json'
1981
3859
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1982
3860
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3861
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1983
3862
  # rubocop:enable Style/NegatedIf
1984
3863
 
1985
3864
  post_body = @api_client.object_to_http_body(update_steering_policy_details)
@@ -2027,12 +3906,22 @@ module OCI
2027
3906
  # field accomplishes the same purpose as If-Match for cases where the user
2028
3907
  # agent does not have an entity-tag for the representation.
2029
3908
  #
3909
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3910
+ # to contact Oracle about a particular request, please provide
3911
+ # the request ID.
3912
+ #
3913
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3914
+ #
2030
3915
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
2031
3916
  def update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, opts = {})
2032
3917
  logger.debug 'Calling operation DnsClient#update_steering_policy_attachment.' if logger
2033
3918
 
2034
3919
  raise "Missing the required parameter 'steering_policy_attachment_id' when calling update_steering_policy_attachment." if steering_policy_attachment_id.nil?
2035
3920
  raise "Missing the required parameter 'update_steering_policy_attachment_details' when calling update_steering_policy_attachment." if update_steering_policy_attachment_details.nil?
3921
+
3922
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3923
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3924
+ end
2036
3925
  raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
2037
3926
 
2038
3927
  path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
@@ -2041,6 +3930,7 @@ module OCI
2041
3930
  # rubocop:disable Style/NegatedIf
2042
3931
  # Query Params
2043
3932
  query_params = {}
3933
+ query_params[:scope] = opts[:scope] if opts[:scope]
2044
3934
 
2045
3935
  # Header Params
2046
3936
  header_params = {}
@@ -2048,6 +3938,7 @@ module OCI
2048
3938
  header_params[:'content-type'] = 'application/json'
2049
3939
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2050
3940
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3941
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2051
3942
  # rubocop:enable Style/NegatedIf
2052
3943
 
2053
3944
  post_body = @api_client.object_to_http_body(update_steering_policy_attachment_details)
@@ -2076,6 +3967,166 @@ module OCI
2076
3967
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2077
3968
 
2078
3969
 
3970
+ # Updates the specified TSIG key.
3971
+ #
3972
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
3973
+ # @param [OCI::Dns::Models::UpdateTsigKeyDetails] update_tsig_key_details New data for the TSIG key.
3974
+ # @param [Hash] opts the optional parameters
3975
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3976
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3977
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
3978
+ # existence of at least one current representation of the target resource,
3979
+ # when the field-value is `*`, or having a current representation of the
3980
+ # target resource that has an entity-tag matching a member of the list of
3981
+ # entity-tags provided in the field-value.
3982
+ #
3983
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
3984
+ # conditional on the selected representation's last modification date being
3985
+ # earlier than or equal to the date provided in the field-value. This
3986
+ # field accomplishes the same purpose as If-Match for cases where the user
3987
+ # agent does not have an entity-tag for the representation.
3988
+ #
3989
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3990
+ # to contact Oracle about a particular request, please provide
3991
+ # the request ID.
3992
+ #
3993
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3994
+ #
3995
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
3996
+ def update_tsig_key(tsig_key_id, update_tsig_key_details, opts = {})
3997
+ logger.debug 'Calling operation DnsClient#update_tsig_key.' if logger
3998
+
3999
+ raise "Missing the required parameter 'tsig_key_id' when calling update_tsig_key." if tsig_key_id.nil?
4000
+ raise "Missing the required parameter 'update_tsig_key_details' when calling update_tsig_key." if update_tsig_key_details.nil?
4001
+
4002
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4003
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4004
+ end
4005
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
4006
+
4007
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
4008
+ operation_signing_strategy = :standard
4009
+
4010
+ # rubocop:disable Style/NegatedIf
4011
+ # Query Params
4012
+ query_params = {}
4013
+ query_params[:scope] = opts[:scope] if opts[:scope]
4014
+
4015
+ # Header Params
4016
+ header_params = {}
4017
+ header_params[:accept] = 'application/json'
4018
+ header_params[:'content-type'] = 'application/json'
4019
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
4020
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4021
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4022
+ # rubocop:enable Style/NegatedIf
4023
+
4024
+ post_body = @api_client.object_to_http_body(update_tsig_key_details)
4025
+
4026
+ # rubocop:disable Metrics/BlockLength
4027
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_tsig_key') do
4028
+ @api_client.call_api(
4029
+ :PUT,
4030
+ path,
4031
+ endpoint,
4032
+ header_params: header_params,
4033
+ query_params: query_params,
4034
+ operation_signing_strategy: operation_signing_strategy,
4035
+ body: post_body,
4036
+ return_type: 'OCI::Dns::Models::TsigKey'
4037
+ )
4038
+ end
4039
+ # rubocop:enable Metrics/BlockLength
4040
+ end
4041
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4042
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4043
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4044
+
4045
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4046
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4047
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4048
+
4049
+
4050
+ # Updates the specified view with your new information.
4051
+ #
4052
+ # @param [String] view_id The OCID of the target view.
4053
+ # @param [OCI::Dns::Models::UpdateViewDetails] update_view_details New data for the view.
4054
+ # @param [Hash] opts the optional parameters
4055
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4056
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4057
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
4058
+ # existence of at least one current representation of the target resource,
4059
+ # when the field-value is `*`, or having a current representation of the
4060
+ # target resource that has an entity-tag matching a member of the list of
4061
+ # entity-tags provided in the field-value.
4062
+ #
4063
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
4064
+ # conditional on the selected representation's last modification date being
4065
+ # earlier than or equal to the date provided in the field-value. This
4066
+ # field accomplishes the same purpose as If-Match for cases where the user
4067
+ # agent does not have an entity-tag for the representation.
4068
+ #
4069
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4070
+ # to contact Oracle about a particular request, please provide
4071
+ # the request ID.
4072
+ #
4073
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4074
+ #
4075
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
4076
+ def update_view(view_id, update_view_details, opts = {})
4077
+ logger.debug 'Calling operation DnsClient#update_view.' if logger
4078
+
4079
+ raise "Missing the required parameter 'view_id' when calling update_view." if view_id.nil?
4080
+ raise "Missing the required parameter 'update_view_details' when calling update_view." if update_view_details.nil?
4081
+
4082
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4083
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4084
+ end
4085
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
4086
+
4087
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
4088
+ operation_signing_strategy = :standard
4089
+
4090
+ # rubocop:disable Style/NegatedIf
4091
+ # Query Params
4092
+ query_params = {}
4093
+ query_params[:scope] = opts[:scope] if opts[:scope]
4094
+
4095
+ # Header Params
4096
+ header_params = {}
4097
+ header_params[:accept] = 'application/json'
4098
+ header_params[:'content-type'] = 'application/json'
4099
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
4100
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4101
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4102
+ # rubocop:enable Style/NegatedIf
4103
+
4104
+ post_body = @api_client.object_to_http_body(update_view_details)
4105
+
4106
+ # rubocop:disable Metrics/BlockLength
4107
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_view') do
4108
+ @api_client.call_api(
4109
+ :PUT,
4110
+ path,
4111
+ endpoint,
4112
+ header_params: header_params,
4113
+ query_params: query_params,
4114
+ operation_signing_strategy: operation_signing_strategy,
4115
+ body: post_body,
4116
+ return_type: 'OCI::Dns::Models::View'
4117
+ )
4118
+ end
4119
+ # rubocop:enable Metrics/BlockLength
4120
+ end
4121
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4122
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4123
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4124
+
4125
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4126
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4127
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4128
+
4129
+
2079
4130
  # Updates the specified secondary zone with your new external master
2080
4131
  # server information. For more information about secondary zone, see
2081
4132
  # [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).
@@ -2097,6 +4148,13 @@ module OCI
2097
4148
  # field accomplishes the same purpose as If-Match for cases where the user
2098
4149
  # agent does not have an entity-tag for the representation.
2099
4150
  #
4151
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4152
+ # to contact Oracle about a particular request, please provide
4153
+ # the request ID.
4154
+ #
4155
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4156
+ #
4157
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2100
4158
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2101
4159
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
2102
4160
  def update_zone(zone_name_or_id, update_zone_details, opts = {})
@@ -2104,6 +4162,10 @@ module OCI
2104
4162
 
2105
4163
  raise "Missing the required parameter 'zone_name_or_id' when calling update_zone." if zone_name_or_id.nil?
2106
4164
  raise "Missing the required parameter 'update_zone_details' when calling update_zone." if update_zone_details.nil?
4165
+
4166
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4167
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4168
+ end
2107
4169
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2108
4170
 
2109
4171
  path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
@@ -2112,6 +4174,8 @@ module OCI
2112
4174
  # rubocop:disable Style/NegatedIf
2113
4175
  # Query Params
2114
4176
  query_params = {}
4177
+ query_params[:scope] = opts[:scope] if opts[:scope]
4178
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2115
4179
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2116
4180
 
2117
4181
  # Header Params
@@ -2120,6 +4184,7 @@ module OCI
2120
4184
  header_params[:'content-type'] = 'application/json'
2121
4185
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2122
4186
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4187
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2123
4188
  # rubocop:enable Style/NegatedIf
2124
4189
 
2125
4190
  post_body = @api_client.object_to_http_body(update_zone_details)
@@ -2171,6 +4236,13 @@ module OCI
2171
4236
  # field accomplishes the same purpose as If-Match for cases where the user
2172
4237
  # agent does not have an entity-tag for the representation.
2173
4238
  #
4239
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4240
+ # to contact Oracle about a particular request, please provide
4241
+ # the request ID.
4242
+ #
4243
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4244
+ #
4245
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2174
4246
  # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2175
4247
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
2176
4248
  def update_zone_records(zone_name_or_id, update_zone_records_details, opts = {})
@@ -2178,6 +4250,10 @@ module OCI
2178
4250
 
2179
4251
  raise "Missing the required parameter 'zone_name_or_id' when calling update_zone_records." if zone_name_or_id.nil?
2180
4252
  raise "Missing the required parameter 'update_zone_records_details' when calling update_zone_records." if update_zone_records_details.nil?
4253
+
4254
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4255
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4256
+ end
2181
4257
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2182
4258
 
2183
4259
  path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
@@ -2186,6 +4262,8 @@ module OCI
2186
4262
  # rubocop:disable Style/NegatedIf
2187
4263
  # Query Params
2188
4264
  query_params = {}
4265
+ query_params[:scope] = opts[:scope] if opts[:scope]
4266
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2189
4267
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2190
4268
 
2191
4269
  # Header Params
@@ -2194,6 +4272,7 @@ module OCI
2194
4272
  header_params[:'content-type'] = 'application/json'
2195
4273
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2196
4274
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4275
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2197
4276
  # rubocop:enable Style/NegatedIf
2198
4277
 
2199
4278
  post_body = @api_client.object_to_http_body(update_zone_records_details)