oci 2.7.0 → 2.12.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 (3556) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -11
  3. data/lib/oci.rb +33 -1
  4. data/lib/oci/analytics/analytics.rb +8 -1
  5. data/lib/oci/analytics/analytics_client.rb +94 -16
  6. data/lib/oci/analytics/analytics_client_composite_operations.rb +54 -1
  7. data/lib/oci/analytics/models/analytics_instance.rb +17 -2
  8. data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +2 -1
  9. data/lib/oci/analytics/models/analytics_instance_summary.rb +17 -2
  10. data/lib/oci/analytics/models/capacity.rb +2 -1
  11. data/lib/oci/analytics/models/capacity_type.rb +2 -1
  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 +2 -1
  14. data/lib/oci/analytics/models/create_analytics_instance_details.rb +16 -2
  15. data/lib/oci/analytics/models/feature_set.rb +2 -1
  16. data/lib/oci/analytics/models/license_type.rb +2 -1
  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 +2 -1
  22. data/lib/oci/analytics/models/sort_by.rb +3 -1
  23. data/lib/oci/analytics/models/sort_order.rb +2 -1
  24. data/lib/oci/analytics/models/update_analytics_instance_details.rb +2 -1
  25. data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
  26. data/lib/oci/analytics/models/work_request.rb +3 -1
  27. data/lib/oci/analytics/models/work_request_action_result.rb +3 -1
  28. data/lib/oci/analytics/models/work_request_error.rb +2 -1
  29. data/lib/oci/analytics/models/work_request_log.rb +2 -1
  30. data/lib/oci/analytics/models/work_request_operation_type.rb +4 -2
  31. data/lib/oci/analytics/models/work_request_resource.rb +3 -1
  32. data/lib/oci/analytics/models/work_request_resource_type.rb +2 -1
  33. data/lib/oci/analytics/models/work_request_sort_by.rb +2 -1
  34. data/lib/oci/analytics/models/work_request_status.rb +2 -1
  35. data/lib/oci/analytics/models/work_request_summary.rb +3 -1
  36. data/lib/oci/analytics/util.rb +2 -1
  37. data/lib/oci/announcements_service/announcement_client.rb +10 -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 +1134 -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 +508 -0
  53. data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
  54. data/lib/oci/apigateway/gateway_client.rb +508 -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 +462 -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 +1514 -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/{database/models/autonomous_data_warehouse_backup_summary.rb → application_migration/models/source_summary.rb} +78 -77
  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 +2 -1
  183. data/lib/oci/audit/audit_client.rb +10 -17
  184. data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
  185. data/lib/oci/audit/models/audit_event.rb +10 -8
  186. data/lib/oci/audit/models/configuration.rb +2 -1
  187. data/lib/oci/audit/models/data.rb +2 -108
  188. data/lib/oci/audit/models/identity.rb +2 -18
  189. data/lib/oci/audit/models/request.rb +2 -47
  190. data/lib/oci/audit/models/response.rb +2 -35
  191. data/lib/oci/audit/models/state_change.rb +2 -10
  192. data/lib/oci/audit/models/update_configuration_details.rb +2 -1
  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 +126 -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 +33 -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 +1194 -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 +58 -0
  277. data/lib/oci/blockchain/blockchain_platform_client.rb +1772 -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 +539 -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 +312 -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 +233 -0
  315. data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
  316. data/lib/oci/blockchain/models/work_request_summary.rb +289 -0
  317. data/lib/oci/blockchain/util.rb +3 -0
  318. data/lib/oci/budget/budget.rb +2 -1
  319. data/lib/oci/budget/budget_client.rb +25 -27
  320. data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
  321. data/lib/oci/budget/models/alert_rule.rb +2 -1
  322. data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
  323. data/lib/oci/budget/models/alert_type.rb +2 -1
  324. data/lib/oci/budget/models/budget.rb +3 -2
  325. data/lib/oci/budget/models/budget_summary.rb +3 -2
  326. data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
  327. data/lib/oci/budget/models/create_budget_details.rb +3 -2
  328. data/lib/oci/budget/models/lifecycle_state.rb +2 -1
  329. data/lib/oci/budget/models/reset_period.rb +2 -1
  330. data/lib/oci/budget/models/sort_by.rb +2 -1
  331. data/lib/oci/budget/models/sort_order.rb +2 -1
  332. data/lib/oci/budget/models/target_type.rb +2 -1
  333. data/lib/oci/budget/models/threshold_type.rb +2 -1
  334. data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
  335. data/lib/oci/budget/models/update_budget_details.rb +2 -1
  336. data/lib/oci/budget/util.rb +2 -1
  337. data/lib/oci/cims/cims.rb +68 -0
  338. data/lib/oci/cims/incident_client.rb +586 -0
  339. data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
  340. data/lib/oci/cims/models/activity_item.rb +275 -0
  341. data/lib/oci/cims/models/availability_domain.rb +45 -0
  342. data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → cims/models/category.rb} +21 -21
  343. data/lib/oci/cims/models/classifier.rb +256 -0
  344. data/lib/oci/cims/models/contact.rb +219 -0
  345. data/lib/oci/cims/models/contact_list.rb +154 -0
  346. data/lib/oci/cims/models/contextual_data.rb +192 -0
  347. data/lib/oci/cims/models/create_category_details.rb +157 -0
  348. data/lib/oci/cims/models/create_incident.rb +226 -0
  349. data/lib/oci/cims/models/create_issue_type_details.rb +157 -0
  350. data/lib/oci/cims/models/create_item_details.rb +215 -0
  351. data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
  352. data/lib/oci/cims/models/create_resource_details.rb +257 -0
  353. data/lib/oci/cims/models/create_sub_category_details.rb +157 -0
  354. data/lib/oci/cims/models/create_tech_support_item_details.rb +164 -0
  355. data/lib/oci/cims/models/create_ticket_details.rb +215 -0
  356. data/lib/oci/cims/models/create_user_details.rb +236 -0
  357. data/lib/oci/cims/models/error_code.rb +32 -0
  358. data/lib/oci/cims/models/incident.rb +258 -0
  359. data/lib/oci/cims/models/incident_resource_type.rb +198 -0
  360. data/lib/oci/cims/models/incident_summary.rb +248 -0
  361. data/lib/oci/cims/models/incident_type.rb +194 -0
  362. data/lib/oci/cims/models/issue_type.rb +164 -0
  363. data/lib/oci/cims/models/item.rb +227 -0
  364. data/lib/oci/cims/models/lifecycle_details.rb +13 -0
  365. data/lib/oci/cims/models/lifecycle_state.rb +11 -0
  366. data/lib/oci/cims/models/limit_item.rb +245 -0
  367. data/lib/oci/cims/models/problem_type.rb +13 -0
  368. data/lib/oci/cims/models/region.rb +32 -0
  369. data/lib/oci/cims/models/resource.rb +267 -0
  370. data/lib/oci/cims/models/scope.rb +13 -0
  371. data/lib/oci/cims/models/service_category.rb +270 -0
  372. data/lib/oci/cims/models/sort_by.rb +11 -0
  373. data/lib/oci/cims/models/sort_order.rb +11 -0
  374. data/lib/oci/cims/models/status.rb +160 -0
  375. data/lib/oci/cims/models/sub_category.rb +164 -0
  376. data/lib/oci/cims/models/tech_support_item.rb +165 -0
  377. data/lib/oci/cims/models/tenancy_information.rb +168 -0
  378. data/lib/oci/cims/models/ticket.rb +315 -0
  379. data/lib/oci/cims/models/time_zone.rb +37 -0
  380. data/lib/oci/cims/models/unit.rb +12 -0
  381. data/lib/oci/cims/models/update_activity_item_details.rb +190 -0
  382. data/lib/oci/cims/models/update_incident.rb +150 -0
  383. data/lib/oci/cims/models/update_item_details.rb +169 -0
  384. data/lib/oci/cims/models/update_resource_details.rb +152 -0
  385. data/lib/oci/cims/models/update_ticket_details.rb +153 -0
  386. data/lib/oci/cims/models/user.rb +261 -0
  387. data/lib/oci/cims/models/validation_response.rb +154 -0
  388. data/lib/oci/cims/user_client.rb +163 -0
  389. data/lib/oci/cims/user_client_composite_operations.rb +25 -0
  390. data/lib/oci/cims/util.rb +3 -0
  391. data/lib/oci/cloud_guard/cloud_guard.rb +182 -0
  392. data/lib/oci/cloud_guard/cloud_guard_client.rb +6101 -0
  393. data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +788 -0
  394. data/lib/oci/cloud_guard/models/activity_problem_aggregation.rb +192 -0
  395. data/lib/oci/cloud_guard/models/activity_problem_aggregation_collection.rb +150 -0
  396. data/lib/oci/cloud_guard/models/actor_type.rb +13 -0
  397. data/lib/oci/cloud_guard/models/attach_target_detector_recipe_details.rb +154 -0
  398. data/lib/oci/cloud_guard/models/attach_target_responder_recipe_details.rb +154 -0
  399. data/lib/oci/cloud_guard/models/candidate_responder_rule.rb +178 -0
  400. data/lib/oci/cloud_guard/models/change_detector_recipe_compartment_details.rb +154 -0
  401. data/lib/oci/cloud_guard/models/change_managed_list_compartment_details.rb +154 -0
  402. data/lib/oci/cloud_guard/models/change_responder_recipe_compartment_details.rb +154 -0
  403. data/lib/oci/cloud_guard/models/cloud_guard_status.rb +11 -0
  404. data/lib/oci/cloud_guard/models/composite_condition.rb +207 -0
  405. data/lib/oci/cloud_guard/models/condition.rb +187 -0
  406. data/lib/oci/cloud_guard/models/condition_filter_type.rb +11 -0
  407. data/lib/oci/cloud_guard/models/condition_group.rb +164 -0
  408. data/lib/oci/cloud_guard/models/condition_metadata_type.rb +164 -0
  409. data/lib/oci/cloud_guard/models/condition_metadata_type_collection.rb +150 -0
  410. data/lib/oci/cloud_guard/models/condition_metadata_type_summary.rb +199 -0
  411. data/lib/oci/cloud_guard/models/condition_operator.rb +191 -0
  412. data/lib/oci/cloud_guard/models/condition_operator_name.rb +18 -0
  413. data/lib/oci/cloud_guard/models/condition_type_enum.rb +12 -0
  414. data/lib/oci/cloud_guard/models/condition_value_type.rb +11 -0
  415. data/lib/oci/cloud_guard/models/config_value.rb +198 -0
  416. data/lib/oci/cloud_guard/models/configuration.rb +199 -0
  417. data/lib/oci/cloud_guard/models/configuration_list_item_type.rb +11 -0
  418. data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +238 -0
  419. data/lib/oci/cloud_guard/models/create_managed_list_details.rb +274 -0
  420. data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +238 -0
  421. data/lib/oci/cloud_guard/models/create_target_details.rb +312 -0
  422. data/lib/oci/cloud_guard/models/create_target_detector_recipe_details.rb +168 -0
  423. data/lib/oci/cloud_guard/models/create_target_responder_recipe_details.rb +168 -0
  424. data/lib/oci/cloud_guard/models/detector.rb +199 -0
  425. data/lib/oci/cloud_guard/models/detector_collection.rb +150 -0
  426. data/lib/oci/cloud_guard/models/detector_configuration.rb +198 -0
  427. data/lib/oci/cloud_guard/models/detector_details.rb +234 -0
  428. data/lib/oci/cloud_guard/models/detector_enum.rb +11 -0
  429. data/lib/oci/cloud_guard/models/detector_recipe.rb +406 -0
  430. data/lib/oci/cloud_guard/models/detector_recipe_collection.rb +150 -0
  431. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +398 -0
  432. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_collection.rb +150 -0
  433. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +398 -0
  434. data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +392 -0
  435. data/lib/oci/cloud_guard/models/detector_rule.rb +398 -0
  436. data/lib/oci/cloud_guard/models/detector_rule_collection.rb +150 -0
  437. data/lib/oci/cloud_guard/models/detector_rule_summary.rb +398 -0
  438. data/lib/oci/cloud_guard/models/detector_summary.rb +199 -0
  439. data/lib/oci/cloud_guard/models/event_status.rb +14 -0
  440. data/lib/oci/cloud_guard/models/execute_responder_execution_details.rb +150 -0
  441. data/lib/oci/cloud_guard/models/feed_provider_type.rb +11 -0
  442. data/lib/oci/cloud_guard/models/geographical_location.rb +160 -0
  443. data/lib/oci/cloud_guard/models/impacted_resource_collection.rb +150 -0
  444. data/lib/oci/cloud_guard/models/impacted_resource_summary.rb +244 -0
  445. data/lib/oci/cloud_guard/models/lifecycle_state.rb +16 -0
  446. data/lib/oci/cloud_guard/models/managed_list.rb +437 -0
  447. data/lib/oci/cloud_guard/models/managed_list_collection.rb +150 -0
  448. data/lib/oci/cloud_guard/models/managed_list_summary.rb +437 -0
  449. data/lib/oci/cloud_guard/models/managed_list_type.rb +20 -0
  450. data/lib/oci/cloud_guard/models/managed_list_type_collection.rb +150 -0
  451. data/lib/oci/cloud_guard/models/managed_list_type_summary.rb +199 -0
  452. data/lib/oci/cloud_guard/models/operator_summary.rb +246 -0
  453. data/lib/oci/cloud_guard/models/operator_type.rb +13 -0
  454. data/lib/oci/cloud_guard/models/owner_type.rb +11 -0
  455. data/lib/oci/cloud_guard/models/political_location.rb +170 -0
  456. data/lib/oci/cloud_guard/models/problem.rb +439 -0
  457. data/lib/oci/cloud_guard/models/problem_aggregation.rb +164 -0
  458. data/lib/oci/cloud_guard/models/problem_aggregation_collection.rb +150 -0
  459. data/lib/oci/cloud_guard/models/problem_collection.rb +150 -0
  460. data/lib/oci/cloud_guard/models/problem_dimension.rb +13 -0
  461. data/lib/oci/cloud_guard/models/problem_history_collection.rb +150 -0
  462. data/lib/oci/cloud_guard/models/problem_history_summary.rb +328 -0
  463. data/lib/oci/cloud_guard/models/problem_lifecycle_detail.rb +12 -0
  464. data/lib/oci/cloud_guard/models/problem_lifecycle_state.rb +11 -0
  465. data/lib/oci/cloud_guard/models/problem_summary.rb +429 -0
  466. data/lib/oci/cloud_guard/models/problem_trend_aggregation.rb +192 -0
  467. data/lib/oci/cloud_guard/models/problem_trend_aggregation_collection.rb +150 -0
  468. data/lib/oci/cloud_guard/models/recommendation_lifecycle_detail.rb +12 -0
  469. data/lib/oci/cloud_guard/models/recommendation_summary.rb +402 -0
  470. data/lib/oci/cloud_guard/models/recommendation_summary_collection.rb +150 -0
  471. data/lib/oci/cloud_guard/models/recommendation_type.rb +11 -0
  472. data/lib/oci/cloud_guard/models/resource_type_collection.rb +150 -0
  473. data/lib/oci/cloud_guard/models/resource_type_summary.rb +174 -0
  474. data/lib/oci/cloud_guard/models/responder_activity_collection.rb +150 -0
  475. data/lib/oci/cloud_guard/models/responder_activity_summary.rb +321 -0
  476. data/lib/oci/cloud_guard/models/responder_activity_type.rb +11 -0
  477. data/lib/oci/cloud_guard/models/responder_configuration.rb +174 -0
  478. data/lib/oci/cloud_guard/models/responder_dimension.rb +11 -0
  479. data/lib/oci/cloud_guard/models/responder_execution.rb +415 -0
  480. data/lib/oci/cloud_guard/models/responder_execution_aggregation.rb +164 -0
  481. data/lib/oci/cloud_guard/models/responder_execution_aggregation_collection.rb +150 -0
  482. data/lib/oci/cloud_guard/models/responder_execution_collection.rb +150 -0
  483. data/lib/oci/cloud_guard/models/responder_execution_modes.rb +12 -0
  484. data/lib/oci/cloud_guard/models/responder_execution_states.rb +16 -0
  485. data/lib/oci/cloud_guard/models/responder_execution_status.rb +14 -0
  486. data/lib/oci/cloud_guard/models/responder_execution_summary.rb +429 -0
  487. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation.rb +192 -0
  488. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation_collection.rb +150 -0
  489. data/lib/oci/cloud_guard/models/responder_mode_types.rb +11 -0
  490. data/lib/oci/cloud_guard/models/responder_recipe.rb +391 -0
  491. data/lib/oci/cloud_guard/models/responder_recipe_collection.rb +150 -0
  492. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +361 -0
  493. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_collection.rb +150 -0
  494. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_summary.rb +357 -0
  495. data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +377 -0
  496. data/lib/oci/cloud_guard/models/responder_rule.rb +343 -0
  497. data/lib/oci/cloud_guard/models/responder_rule_collection.rb +150 -0
  498. data/lib/oci/cloud_guard/models/responder_rule_details.rb +203 -0
  499. data/lib/oci/cloud_guard/models/responder_rule_execution_details.rb +159 -0
  500. data/lib/oci/cloud_guard/models/responder_rule_summary.rb +343 -0
  501. data/lib/oci/cloud_guard/models/responder_type.rb +11 -0
  502. data/lib/oci/cloud_guard/models/risk_level.rb +14 -0
  503. data/lib/oci/cloud_guard/models/risk_score_aggregation.rb +168 -0
  504. data/lib/oci/cloud_guard/models/risk_score_aggregation_collection.rb +150 -0
  505. data/lib/oci/cloud_guard/models/rule_summary.rb +171 -0
  506. data/lib/oci/cloud_guard/models/security_rating.rb +13 -0
  507. data/lib/oci/cloud_guard/models/security_score_aggregation.rb +204 -0
  508. data/lib/oci/cloud_guard/models/security_score_aggregation_collection.rb +150 -0
  509. data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +232 -0
  510. data/lib/oci/cloud_guard/models/security_score_trend_aggregation_collection.rb +150 -0
  511. data/lib/oci/cloud_guard/models/service_type_summary.rb +164 -0
  512. data/lib/oci/cloud_guard/models/simple_condition.rb +233 -0
  513. data/lib/oci/cloud_guard/models/skip_bulk_responder_execution_details.rb +154 -0
  514. data/lib/oci/cloud_guard/models/sort_orders.rb +11 -0
  515. data/lib/oci/cloud_guard/models/target.rb +424 -0
  516. data/lib/oci/cloud_guard/models/target_collection.rb +150 -0
  517. data/lib/oci/cloud_guard/models/target_detector_details.rb +239 -0
  518. data/lib/oci/cloud_guard/models/target_detector_recipe.rb +355 -0
  519. data/lib/oci/cloud_guard/models/target_detector_recipe_collection.rb +150 -0
  520. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +384 -0
  521. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.rb +150 -0
  522. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +384 -0
  523. data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +341 -0
  524. data/lib/oci/cloud_guard/models/target_resource_type.rb +12 -0
  525. data/lib/oci/cloud_guard/models/target_responder_recipe.rb +288 -0
  526. data/lib/oci/cloud_guard/models/target_responder_recipe_collection.rb +150 -0
  527. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +361 -0
  528. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.rb +150 -0
  529. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.rb +357 -0
  530. data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → cloud_guard/models/target_responder_recipe_summary.rb} +80 -79
  531. data/lib/oci/cloud_guard/models/target_summary.rb +372 -0
  532. data/lib/oci/cloud_guard/models/trigger_responder_details.rb +164 -0
  533. data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +178 -0
  534. data/lib/oci/cloud_guard/models/update_configuration_details.rb +193 -0
  535. data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +210 -0
  536. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule.rb +164 -0
  537. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule_details.rb +149 -0
  538. data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +213 -0
  539. data/lib/oci/cloud_guard/models/update_managed_list_details.rb +210 -0
  540. data/lib/oci/cloud_guard/models/update_problem_status_details.rb +174 -0
  541. data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +210 -0
  542. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule.rb +164 -0
  543. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule_details.rb +150 -0
  544. data/lib/oci/cloud_guard/models/update_responder_rule_details.rb +154 -0
  545. data/lib/oci/cloud_guard/models/update_target_details.rb +246 -0
  546. data/lib/oci/cloud_guard/models/update_target_detector_recipe.rb +168 -0
  547. data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +154 -0
  548. data/lib/oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.rb +150 -0
  549. data/lib/oci/cloud_guard/models/update_target_detector_rule_details.rb +154 -0
  550. data/lib/oci/cloud_guard/models/update_target_recipe_detector_rule_details.rb +164 -0
  551. data/lib/oci/cloud_guard/models/update_target_recipe_responder_rule_details.rb +164 -0
  552. data/lib/oci/cloud_guard/models/update_target_responder_recipe.rb +168 -0
  553. data/lib/oci/cloud_guard/models/update_target_responder_recipe_details.rb +154 -0
  554. data/lib/oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.rb +150 -0
  555. data/lib/oci/cloud_guard/models/update_target_responder_rule_details.rb +182 -0
  556. data/lib/oci/cloud_guard/util.rb +3 -0
  557. data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
  558. data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +528 -0
  559. data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
  560. data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
  561. data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
  562. data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
  563. data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
  564. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
  565. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
  566. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
  567. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
  568. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
  569. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
  570. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
  571. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
  572. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
  573. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
  574. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
  575. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
  576. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
  577. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
  578. data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
  579. data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
  580. data/lib/oci/compute_instance_agent/util.rb +3 -0
  581. data/lib/oci/config.rb +44 -3
  582. data/lib/oci/config_file_loader.rb +9 -1
  583. data/lib/oci/container_engine/container_engine.rb +12 -1
  584. data/lib/oci/container_engine/container_engine_client.rb +29 -28
  585. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
  586. data/lib/oci/container_engine/models/add_on_options.rb +2 -1
  587. data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
  588. data/lib/oci/container_engine/models/cluster.rb +2 -1
  589. data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
  590. data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
  591. data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
  592. data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
  593. data/lib/oci/container_engine/models/cluster_options.rb +2 -1
  594. data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
  595. data/lib/oci/container_engine/models/create_cluster_details.rb +2 -1
  596. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +6 -6
  597. data/lib/oci/container_engine/models/create_node_pool_details.rb +39 -5
  598. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +2 -1
  599. data/lib/oci/container_engine/models/create_node_shape_config_details.rb +164 -0
  600. data/lib/oci/container_engine/models/key_value.rb +2 -1
  601. data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
  602. data/lib/oci/container_engine/models/node.rb +45 -2
  603. data/lib/oci/container_engine/models/node_error.rb +2 -1
  604. data/lib/oci/container_engine/models/node_pool.rb +51 -6
  605. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +2 -1
  606. data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
  607. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +2 -1
  608. data/lib/oci/container_engine/models/node_pool_summary.rb +50 -5
  609. data/lib/oci/container_engine/models/node_shape_config.rb +167 -0
  610. data/lib/oci/container_engine/models/node_source_details.rb +191 -0
  611. data/lib/oci/container_engine/models/node_source_option.rb +206 -0
  612. data/lib/oci/container_engine/models/node_source_type.rb +10 -0
  613. data/lib/oci/container_engine/models/node_source_via_image_details.rb +176 -0
  614. data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
  615. data/lib/oci/container_engine/models/sort_order.rb +2 -1
  616. data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
  617. data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
  618. data/lib/oci/container_engine/models/update_node_pool_details.rb +78 -5
  619. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +2 -1
  620. data/lib/oci/container_engine/models/update_node_shape_config_details.rb +164 -0
  621. data/lib/oci/container_engine/models/work_request.rb +2 -1
  622. data/lib/oci/container_engine/models/work_request_error.rb +2 -1
  623. data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
  624. data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
  625. data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
  626. data/lib/oci/container_engine/models/work_request_status.rb +2 -1
  627. data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
  628. data/lib/oci/container_engine/util.rb +2 -1
  629. data/lib/oci/core/blockstorage_client.rb +168 -39
  630. data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
  631. data/lib/oci/core/compute_client.rb +1086 -145
  632. data/lib/oci/core/compute_client_composite_operations.rb +43 -2
  633. data/lib/oci/core/compute_management_client.rb +80 -41
  634. data/lib/oci/core/compute_management_client_composite_operations.rb +12 -11
  635. data/lib/oci/core/core.rb +70 -1
  636. data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +166 -0
  637. data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
  638. data/lib/oci/core/models/add_public_ip_pool_capacity_details.rb +170 -0
  639. data/lib/oci/core/models/add_security_rule_details.rb +6 -3
  640. data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
  641. data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
  642. data/lib/oci/core/models/app_catalog_listing.rb +3 -2
  643. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +3 -2
  644. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +3 -2
  645. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +3 -2
  646. data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
  647. data/lib/oci/core/models/app_catalog_subscription.rb +3 -2
  648. data/lib/oci/core/models/app_catalog_subscription_summary.rb +3 -2
  649. data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
  650. data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
  651. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
  652. data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
  653. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
  654. data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
  655. data/lib/oci/core/models/attach_vnic_details.rb +2 -1
  656. data/lib/oci/core/models/attach_volume_details.rb +22 -3
  657. data/lib/oci/core/models/bgp_session_info.rb +2 -1
  658. data/lib/oci/core/models/boolean_image_capability_schema_descriptor.rb +166 -0
  659. data/lib/oci/core/models/boot_volume.rb +63 -7
  660. data/lib/oci/core/models/boot_volume_attachment.rb +3 -2
  661. data/lib/oci/core/models/boot_volume_backup.rb +21 -6
  662. data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
  663. data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
  664. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
  665. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
  666. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  667. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  668. data/lib/oci/core/models/byoip_allocated_range_collection.rb +150 -0
  669. data/lib/oci/core/models/byoip_allocated_range_summary.rb +169 -0
  670. data/lib/oci/core/models/byoip_range.rb +388 -0
  671. data/lib/oci/core/models/byoip_range_collection.rb +150 -0
  672. data/lib/oci/core/models/byoip_range_summary.rb +276 -0
  673. data/lib/oci/core/models/capture_console_history_details.rb +2 -1
  674. data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -1
  675. data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -1
  676. data/lib/oci/core/models/change_byoip_range_compartment_details.rb +156 -0
  677. data/lib/oci/core/models/change_cluster_network_compartment_details.rb +4 -3
  678. data/lib/oci/core/models/change_compute_image_capability_schema_compartment_details.rb +156 -0
  679. data/lib/oci/core/models/change_cpe_compartment_details.rb +2 -1
  680. data/lib/oci/core/models/change_cross_connect_compartment_details.rb +2 -1
  681. data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +2 -1
  682. data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +2 -1
  683. data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +2 -1
  684. data/lib/oci/core/models/change_drg_compartment_details.rb +2 -1
  685. data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
  686. data/lib/oci/core/models/change_instance_compartment_details.rb +2 -1
  687. data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
  688. data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
  689. data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +2 -1
  690. data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +2 -1
  691. data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +2 -1
  692. data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
  693. data/lib/oci/core/models/change_network_security_group_compartment_details.rb +2 -1
  694. data/lib/oci/core/models/change_public_ip_compartment_details.rb +2 -1
  695. data/lib/oci/core/models/change_public_ip_pool_compartment_details.rb +156 -0
  696. data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +2 -1
  697. data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
  698. data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
  699. data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
  700. data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
  701. data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
  702. data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +2 -1
  703. data/lib/oci/core/models/change_vlan_compartment_details.rb +155 -0
  704. data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -1
  705. data/lib/oci/core/models/change_volume_compartment_details.rb +2 -1
  706. data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -1
  707. data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -1
  708. data/lib/oci/core/models/cluster_network.rb +19 -9
  709. data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +6 -2
  710. data/lib/oci/core/models/cluster_network_summary.rb +13 -7
  711. data/lib/oci/core/models/compute_global_image_capability_schema.rb +249 -0
  712. data/lib/oci/core/models/compute_global_image_capability_schema_summary.rb +248 -0
  713. data/lib/oci/core/models/compute_global_image_capability_schema_version.rb +214 -0
  714. data/lib/oci/core/models/compute_global_image_capability_schema_version_summary.rb +197 -0
  715. data/lib/oci/core/models/compute_image_capability_schema.rb +295 -0
  716. data/lib/oci/core/models/compute_image_capability_schema_summary.rb +263 -0
  717. data/lib/oci/core/models/compute_instance_details.rb +2 -1
  718. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
  719. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
  720. data/lib/oci/core/models/console_history.rb +3 -2
  721. data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
  722. data/lib/oci/core/models/copy_volume_backup_details.rb +3 -2
  723. data/lib/oci/core/models/cpe.rb +32 -3
  724. data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
  725. data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → core/models/cpe_device_config_question.rb} +28 -17
  726. data/lib/oci/core/models/cpe_device_info.rb +164 -0
  727. data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
  728. data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
  729. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
  730. data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
  731. data/lib/oci/core/models/create_boot_volume_details.rb +47 -6
  732. data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
  733. data/lib/oci/core/models/create_cluster_network_details.rb +14 -6
  734. data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +14 -3
  735. data/lib/oci/core/models/create_compute_image_capability_schema_details.rb +250 -0
  736. data/lib/oci/core/models/create_cpe_details.rb +33 -6
  737. data/lib/oci/core/models/create_cross_connect_details.rb +2 -1
  738. data/lib/oci/core/models/create_cross_connect_group_details.rb +2 -1
  739. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +2 -1
  740. data/lib/oci/core/models/create_dhcp_details.rb +2 -1
  741. data/lib/oci/core/models/create_drg_attachment_details.rb +2 -1
  742. data/lib/oci/core/models/create_drg_details.rb +2 -1
  743. data/lib/oci/core/models/create_image_details.rb +3 -2
  744. data/lib/oci/core/models/create_instance_configuration_base.rb +2 -1
  745. data/lib/oci/core/models/create_instance_configuration_details.rb +2 -1
  746. data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +2 -1
  747. data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
  748. data/lib/oci/core/models/create_instance_pool_details.rb +7 -3
  749. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
  750. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
  751. data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -2
  752. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +2 -3
  753. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
  754. data/lib/oci/core/models/create_ipv6_details.rb +3 -2
  755. data/lib/oci/core/models/create_local_peering_gateway_details.rb +2 -1
  756. data/lib/oci/core/models/create_nat_gateway_details.rb +21 -5
  757. data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
  758. data/lib/oci/core/models/create_private_ip_details.rb +25 -6
  759. data/lib/oci/core/models/create_public_ip_details.rb +20 -5
  760. data/lib/oci/core/models/create_public_ip_pool_details.rb +207 -0
  761. data/lib/oci/core/models/create_remote_peering_connection_details.rb +2 -1
  762. data/lib/oci/core/models/create_route_table_details.rb +2 -1
  763. data/lib/oci/core/models/create_security_list_details.rb +2 -1
  764. data/lib/oci/core/models/create_service_gateway_details.rb +2 -1
  765. data/lib/oci/core/models/create_subnet_details.rb +7 -3
  766. data/lib/oci/core/models/create_vcn_details.rb +27 -5
  767. data/lib/oci/core/models/create_virtual_circuit_details.rb +23 -3
  768. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
  769. data/lib/oci/core/models/create_vlan_details.rb +306 -0
  770. data/lib/oci/core/models/create_vnic_details.rb +51 -6
  771. data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
  772. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
  773. data/lib/oci/core/models/create_volume_backup_policy_details.rb +29 -5
  774. data/lib/oci/core/models/create_volume_details.rb +49 -6
  775. data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -1
  776. data/lib/oci/core/models/create_volume_group_details.rb +2 -1
  777. data/lib/oci/core/models/cross_connect.rb +3 -2
  778. data/lib/oci/core/models/cross_connect_group.rb +3 -2
  779. data/lib/oci/core/models/cross_connect_location.rb +2 -1
  780. data/lib/oci/core/models/cross_connect_mapping.rb +6 -3
  781. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
  782. data/lib/oci/core/models/cross_connect_status.rb +2 -1
  783. data/lib/oci/core/models/dedicated_vm_host.rb +3 -2
  784. data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +2 -1
  785. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +3 -2
  786. data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +2 -1
  787. data/lib/oci/core/models/dedicated_vm_host_summary.rb +3 -2
  788. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  789. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
  790. data/lib/oci/core/models/device.rb +2 -1
  791. data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
  792. data/lib/oci/core/models/dhcp_option.rb +2 -1
  793. data/lib/oci/core/models/dhcp_options.rb +3 -2
  794. data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
  795. data/lib/oci/core/models/drg.rb +3 -2
  796. data/lib/oci/core/models/drg_attachment.rb +3 -2
  797. data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
  798. data/lib/oci/core/models/egress_security_rule.rb +19 -6
  799. data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
  800. data/lib/oci/core/models/enum_integer_image_capability_descriptor.rb +176 -0
  801. data/lib/oci/core/models/enum_string_image_capability_schema_descriptor.rb +176 -0
  802. data/lib/oci/core/models/export_image_details.rb +2 -1
  803. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
  804. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  805. data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
  806. data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
  807. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +3 -2
  808. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
  809. data/lib/oci/core/models/i_scsi_volume_attachment.rb +12 -8
  810. data/lib/oci/core/models/icmp_options.rb +2 -1
  811. data/lib/oci/core/models/image.rb +4 -3
  812. data/lib/oci/core/models/image_capability_schema_descriptor.rb +204 -0
  813. data/lib/oci/core/models/image_memory_constraints.rb +168 -0
  814. data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
  815. data/lib/oci/core/models/image_shape_compatibility_entry.rb +32 -5
  816. data/lib/oci/core/models/image_shape_compatibility_summary.rb +190 -0
  817. data/lib/oci/core/models/image_source_details.rb +2 -1
  818. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
  819. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
  820. data/lib/oci/core/models/ingress_security_rule.rb +19 -6
  821. data/lib/oci/core/models/instance.rb +54 -9
  822. data/lib/oci/core/models/instance_agent_config.rb +23 -5
  823. data/lib/oci/core/models/instance_agent_features.rb +21 -5
  824. data/lib/oci/core/models/instance_availability_config.rb +181 -0
  825. data/lib/oci/core/models/instance_configuration.rb +3 -2
  826. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
  827. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +31 -2
  828. data/lib/oci/core/models/instance_configuration_availability_config.rb +181 -0
  829. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
  830. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
  831. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
  832. data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
  833. data/lib/oci/core/models/instance_configuration_instance_options.rb +157 -0
  834. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
  835. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
  836. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
  837. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +11 -2
  838. data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
  839. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +204 -27
  840. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +178 -0
  841. data/lib/oci/core/models/instance_configuration_launch_options.rb +334 -0
  842. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +31 -5
  843. data/lib/oci/core/models/instance_configuration_summary.rb +3 -2
  844. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
  845. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
  846. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
  847. data/lib/oci/core/models/instance_console_connection.rb +3 -2
  848. data/lib/oci/core/models/instance_credentials.rb +2 -1
  849. data/lib/oci/core/models/instance_options.rb +157 -0
  850. data/lib/oci/core/models/instance_pool.rb +11 -6
  851. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
  852. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
  853. data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
  854. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
  855. data/lib/oci/core/models/instance_pool_summary.rb +3 -2
  856. data/lib/oci/core/models/instance_shape_config.rb +290 -0
  857. data/lib/oci/core/models/instance_source_details.rb +2 -1
  858. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  859. data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
  860. data/lib/oci/core/models/instance_summary.rb +4 -3
  861. data/lib/oci/core/models/internet_gateway.rb +3 -2
  862. data/lib/oci/core/models/ip_sec_connection.rb +4 -3
  863. data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
  864. data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -2
  865. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +6 -5
  866. data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -3
  867. data/lib/oci/core/models/ipv6.rb +5 -5
  868. data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
  869. data/lib/oci/core/models/launch_instance_availability_config_details.rb +174 -0
  870. data/lib/oci/core/models/launch_instance_details.rb +64 -24
  871. data/lib/oci/core/models/launch_instance_shape_config_details.rb +177 -0
  872. data/lib/oci/core/models/launch_options.rb +20 -16
  873. data/lib/oci/core/models/letter_of_authority.rb +4 -3
  874. data/lib/oci/core/models/local_peering_gateway.rb +3 -2
  875. data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
  876. data/lib/oci/core/models/nat_gateway.rb +22 -6
  877. data/lib/oci/core/models/network_security_group.rb +3 -2
  878. data/lib/oci/core/models/network_security_group_vnic.rb +3 -2
  879. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
  880. data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
  881. data/lib/oci/core/models/port_range.rb +2 -1
  882. data/lib/oci/core/models/private_ip.rb +37 -3
  883. data/lib/oci/core/models/public_ip.rb +22 -7
  884. data/lib/oci/core/models/public_ip_pool.rb +285 -0
  885. data/lib/oci/core/models/public_ip_pool_collection.rb +150 -0
  886. data/lib/oci/core/models/public_ip_pool_summary.rb +248 -0
  887. data/lib/oci/core/models/remote_peering_connection.rb +3 -2
  888. data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
  889. data/lib/oci/core/models/remove_public_ip_pool_capacity_details.rb +156 -0
  890. data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
  891. data/lib/oci/core/models/route_rule.rb +19 -7
  892. data/lib/oci/core/models/route_table.rb +3 -2
  893. data/lib/oci/core/models/security_list.rb +3 -3
  894. data/lib/oci/core/models/security_rule.rb +7 -4
  895. data/lib/oci/core/models/service.rb +2 -1
  896. data/lib/oci/core/models/service_gateway.rb +3 -2
  897. data/lib/oci/core/models/service_id_request_details.rb +2 -1
  898. data/lib/oci/core/models/service_id_response_details.rb +2 -1
  899. data/lib/oci/core/models/shape.rb +208 -6
  900. data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +180 -0
  901. data/lib/oci/core/models/shape_memory_options.rb +218 -0
  902. data/lib/oci/core/models/shape_networking_bandwidth_options.rb +188 -0
  903. data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
  904. data/lib/oci/core/models/subnet.rb +8 -6
  905. data/lib/oci/core/models/tcp_options.rb +2 -1
  906. data/lib/oci/core/models/tunnel_config.rb +4 -5
  907. data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
  908. data/lib/oci/core/models/tunnel_status.rb +5 -4
  909. data/lib/oci/core/models/udp_options.rb +2 -1
  910. data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
  911. data/lib/oci/core/models/update_boot_volume_details.rb +44 -5
  912. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
  913. data/lib/oci/core/models/update_byoip_range_details.rb +192 -0
  914. data/lib/oci/core/models/update_cluster_network_details.rb +6 -3
  915. data/lib/oci/core/models/update_compute_image_capability_schema_details.rb +206 -0
  916. data/lib/oci/core/models/update_console_history_details.rb +2 -1
  917. data/lib/oci/core/models/update_cpe_details.rb +31 -5
  918. data/lib/oci/core/models/update_cross_connect_details.rb +2 -1
  919. data/lib/oci/core/models/update_cross_connect_group_details.rb +2 -1
  920. data/lib/oci/core/models/update_dedicated_vm_host_details.rb +2 -1
  921. data/lib/oci/core/models/update_dhcp_details.rb +2 -1
  922. data/lib/oci/core/models/update_drg_attachment_details.rb +2 -1
  923. data/lib/oci/core/models/update_drg_details.rb +2 -1
  924. data/lib/oci/core/models/update_image_details.rb +2 -1
  925. data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
  926. data/lib/oci/core/models/update_instance_availability_config_details.rb +174 -0
  927. data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
  928. data/lib/oci/core/models/update_instance_console_connection_details.rb +177 -0
  929. data/lib/oci/core/models/update_instance_details.rb +98 -33
  930. data/lib/oci/core/models/update_instance_pool_details.rb +5 -2
  931. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
  932. data/lib/oci/core/models/update_instance_shape_config_details.rb +174 -0
  933. data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
  934. data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
  935. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +2 -1
  936. data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -3
  937. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
  938. data/lib/oci/core/models/update_ipv6_details.rb +2 -1
  939. data/lib/oci/core/models/update_launch_options.rb +248 -0
  940. data/lib/oci/core/models/update_local_peering_gateway_details.rb +2 -1
  941. data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
  942. data/lib/oci/core/models/update_network_security_group_details.rb +2 -1
  943. data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
  944. data/lib/oci/core/models/update_private_ip_details.rb +2 -1
  945. data/lib/oci/core/models/update_public_ip_details.rb +2 -1
  946. data/lib/oci/core/models/update_public_ip_pool_details.rb +192 -0
  947. data/lib/oci/core/models/update_remote_peering_connection_details.rb +2 -1
  948. data/lib/oci/core/models/update_route_table_details.rb +2 -1
  949. data/lib/oci/core/models/update_security_list_details.rb +2 -1
  950. data/lib/oci/core/models/update_security_rule_details.rb +6 -3
  951. data/lib/oci/core/models/update_service_gateway_details.rb +2 -1
  952. data/lib/oci/core/models/update_subnet_details.rb +29 -5
  953. data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
  954. data/lib/oci/core/models/update_vcn_details.rb +2 -1
  955. data/lib/oci/core/models/update_virtual_circuit_details.rb +22 -3
  956. data/lib/oci/core/models/update_vlan_details.rb +246 -0
  957. data/lib/oci/core/models/update_vnic_details.rb +11 -3
  958. data/lib/oci/core/models/update_volume_backup_details.rb +2 -1
  959. data/lib/oci/core/models/update_volume_backup_policy_details.rb +29 -4
  960. data/lib/oci/core/models/update_volume_details.rb +46 -5
  961. data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -1
  962. data/lib/oci/core/models/update_volume_group_details.rb +2 -1
  963. data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
  964. data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
  965. data/lib/oci/core/models/vcn.rb +23 -5
  966. data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
  967. data/lib/oci/core/models/virtual_circuit.rb +23 -5
  968. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
  969. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
  970. data/lib/oci/core/models/vlan.rb +378 -0
  971. data/lib/oci/core/models/vnic.rb +45 -7
  972. data/lib/oci/core/models/vnic_attachment.rb +28 -4
  973. data/lib/oci/core/models/volume.rb +63 -7
  974. data/lib/oci/core/models/volume_attachment.rb +18 -3
  975. data/lib/oci/core/models/volume_backup.rb +6 -5
  976. data/lib/oci/core/models/volume_backup_policy.rb +20 -3
  977. data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
  978. data/lib/oci/core/models/volume_backup_schedule.rb +28 -11
  979. data/lib/oci/core/models/volume_group.rb +4 -3
  980. data/lib/oci/core/models/volume_group_backup.rb +4 -3
  981. data/lib/oci/core/models/volume_group_source_details.rb +2 -1
  982. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
  983. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
  984. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
  985. data/lib/oci/core/models/volume_kms_key.rb +4 -3
  986. data/lib/oci/core/models/volume_source_details.rb +2 -1
  987. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
  988. data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
  989. data/lib/oci/core/util.rb +2 -1
  990. data/lib/oci/core/virtual_network_client.rb +2951 -163
  991. data/lib/oci/core/virtual_network_client_composite_operations.rb +439 -1
  992. data/lib/oci/data_catalog/data_catalog.rb +178 -0
  993. data/lib/oci/data_catalog/data_catalog_client.rb +10091 -0
  994. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +2001 -0
  995. data/lib/oci/data_catalog/models/attach_catalog_private_endpoint_details.rb +154 -0
  996. data/lib/oci/data_catalog/models/attribute.rb +582 -0
  997. data/lib/oci/data_catalog/models/attribute_collection.rb +161 -0
  998. data/lib/oci/data_catalog/models/attribute_summary.rb +446 -0
  999. data/lib/oci/data_catalog/models/attribute_tag.rb +296 -0
  1000. data/lib/oci/data_catalog/models/attribute_tag_collection.rb +161 -0
  1001. data/lib/oci/data_catalog/models/attribute_tag_summary.rb +296 -0
  1002. data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
  1003. data/lib/oci/data_catalog/models/base_tag.rb +275 -0
  1004. data/lib/oci/data_catalog/models/base_tag_summary.rb +275 -0
  1005. data/lib/oci/data_catalog/models/catalog.rb +352 -0
  1006. data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
  1007. data/lib/oci/data_catalog/models/catalog_private_endpoint.rb +336 -0
  1008. data/lib/oci/data_catalog/models/catalog_private_endpoint_summary.rb +336 -0
  1009. data/lib/oci/data_catalog/models/catalog_summary.rb +320 -0
  1010. data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
  1011. data/lib/oci/data_catalog/models/change_catalog_private_endpoint_compartment_details.rb +154 -0
  1012. data/lib/oci/data_catalog/models/connection.rb +384 -0
  1013. data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
  1014. data/lib/oci/data_catalog/models/connection_collection.rb +161 -0
  1015. data/lib/oci/data_catalog/models/connection_result.rb +11 -0
  1016. data/lib/oci/data_catalog/models/connection_summary.rb +298 -0
  1017. data/lib/oci/data_catalog/models/create_attribute_details.rb +357 -0
  1018. data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
  1019. data/lib/oci/data_catalog/models/create_catalog_private_endpoint_details.rb +231 -0
  1020. data/lib/oci/data_catalog/models/create_connection_details.rb +252 -0
  1021. data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
  1022. data/lib/oci/data_catalog/models/create_data_asset_details.rb +212 -0
  1023. data/lib/oci/data_catalog/models/create_entity_details.rb +333 -0
  1024. data/lib/oci/data_catalog/models/create_folder_details.rb +269 -0
  1025. data/lib/oci/data_catalog/models/create_glossary_details.rb +219 -0
  1026. data/lib/oci/data_catalog/models/create_job_definition_details.rb +298 -0
  1027. data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
  1028. data/lib/oci/data_catalog/models/create_job_execution_details.rb +386 -0
  1029. data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
  1030. data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
  1031. data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
  1032. data/lib/oci/data_catalog/models/create_term_details.rb +249 -0
  1033. data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
  1034. data/lib/oci/data_catalog/models/custom_property.rb +506 -0
  1035. data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
  1036. data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
  1037. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
  1038. data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
  1039. data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
  1040. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
  1041. data/lib/oci/data_catalog/models/data_asset.rb +374 -0
  1042. data/lib/oci/data_catalog/models/data_asset_collection.rb +161 -0
  1043. data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
  1044. data/lib/oci/data_catalog/models/data_asset_summary.rb +288 -0
  1045. data/lib/oci/data_catalog/models/data_asset_tag.rb +296 -0
  1046. data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +161 -0
  1047. data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +296 -0
  1048. data/lib/oci/data_catalog/models/data_selector_pattern_details.rb +151 -0
  1049. data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
  1050. data/lib/oci/data_catalog/models/detach_catalog_private_endpoint_details.rb +154 -0
  1051. data/lib/oci/data_catalog/models/entity.rb +532 -0
  1052. data/lib/oci/data_catalog/models/entity_collection.rb +161 -0
  1053. data/lib/oci/data_catalog/models/entity_summary.rb +368 -0
  1054. data/lib/oci/data_catalog/models/entity_tag.rb +296 -0
  1055. data/lib/oci/data_catalog/models/entity_tag_collection.rb +161 -0
  1056. data/lib/oci/data_catalog/models/entity_tag_summary.rb +296 -0
  1057. data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +211 -0
  1058. data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
  1059. data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
  1060. data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
  1061. data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
  1062. data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
  1063. data/lib/oci/data_catalog/models/folder.rb +433 -0
  1064. data/lib/oci/data_catalog/models/folder_collection.rb +161 -0
  1065. data/lib/oci/data_catalog/models/folder_summary.rb +313 -0
  1066. data/lib/oci/data_catalog/models/folder_tag.rb +296 -0
  1067. data/lib/oci/data_catalog/models/folder_tag_collection.rb +161 -0
  1068. data/lib/oci/data_catalog/models/folder_tag_summary.rb +296 -0
  1069. data/lib/oci/data_catalog/models/glossary.rb +424 -0
  1070. data/lib/oci/data_catalog/models/glossary_collection.rb +161 -0
  1071. data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
  1072. data/lib/oci/data_catalog/models/glossary_summary.rb +357 -0
  1073. data/lib/oci/data_catalog/models/glossary_tree_element.rb +359 -0
  1074. data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
  1075. data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
  1076. data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
  1077. data/lib/oci/data_catalog/models/job.rb +536 -0
  1078. data/lib/oci/data_catalog/models/job_collection.rb +161 -0
  1079. data/lib/oci/data_catalog/models/job_definition.rb +550 -0
  1080. data/lib/oci/data_catalog/models/job_definition_collection.rb +161 -0
  1081. data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
  1082. data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
  1083. data/lib/oci/data_catalog/models/job_definition_summary.rb +436 -0
  1084. data/lib/oci/data_catalog/models/job_execution.rb +477 -0
  1085. data/lib/oci/data_catalog/models/job_execution_collection.rb +161 -0
  1086. data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
  1087. data/lib/oci/data_catalog/models/job_execution_summary.rb +332 -0
  1088. data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
  1089. data/lib/oci/data_catalog/models/job_log.rb +259 -0
  1090. data/lib/oci/data_catalog/models/job_log_collection.rb +161 -0
  1091. data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
  1092. data/lib/oci/data_catalog/models/job_metric.rb +337 -0
  1093. data/lib/oci/data_catalog/models/job_metric_collection.rb +161 -0
  1094. data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
  1095. data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
  1096. data/lib/oci/data_catalog/models/job_summary.rb +484 -0
  1097. data/lib/oci/data_catalog/models/job_type.rb +24 -0
  1098. data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
  1099. data/lib/oci/data_catalog/models/namespace.rb +290 -0
  1100. data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
  1101. data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
  1102. data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
  1103. data/lib/oci/data_catalog/models/pattern.rb +368 -0
  1104. data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
  1105. data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
  1106. data/lib/oci/data_catalog/models/property_definition.rb +188 -0
  1107. data/lib/oci/data_catalog/models/rule_attribute.rb +178 -0
  1108. data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
  1109. data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
  1110. data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
  1111. data/lib/oci/data_catalog/models/rule_type.rb +12 -0
  1112. data/lib/oci/data_catalog/models/search_criteria.rb +194 -0
  1113. data/lib/oci/data_catalog/models/search_result.rb +515 -0
  1114. data/lib/oci/data_catalog/models/search_result_collection.rb +200 -0
  1115. data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
  1116. data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
  1117. data/lib/oci/data_catalog/models/term.rb +429 -0
  1118. data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
  1119. data/lib/oci/data_catalog/models/term_collection.rb +161 -0
  1120. data/lib/oci/data_catalog/models/term_relationship.rb +355 -0
  1121. data/lib/oci/data_catalog/models/term_relationship_collection.rb +161 -0
  1122. data/lib/oci/data_catalog/models/term_relationship_summary.rb +355 -0
  1123. data/lib/oci/data_catalog/models/term_summary.rb +348 -0
  1124. data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
  1125. data/lib/oci/data_catalog/models/type.rb +349 -0
  1126. data/lib/oci/data_catalog/models/type_collection.rb +161 -0
  1127. data/lib/oci/data_catalog/models/type_custom_property_details.rb +154 -0
  1128. data/lib/oci/data_catalog/models/type_summary.rb +250 -0
  1129. data/lib/oci/data_catalog/models/update_attribute_details.rb +353 -0
  1130. data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
  1131. data/lib/oci/data_catalog/models/update_catalog_private_endpoint_details.rb +202 -0
  1132. data/lib/oci/data_catalog/models/update_connection_details.rb +234 -0
  1133. data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
  1134. data/lib/oci/data_catalog/models/update_data_asset_details.rb +195 -0
  1135. data/lib/oci/data_catalog/models/update_entity_details.rb +329 -0
  1136. data/lib/oci/data_catalog/models/update_folder_details.rb +269 -0
  1137. data/lib/oci/data_catalog/models/update_glossary_details.rb +219 -0
  1138. data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
  1139. data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
  1140. data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
  1141. data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
  1142. data/lib/oci/data_catalog/models/update_term_details.rb +233 -0
  1143. data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
  1144. data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
  1145. data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
  1146. data/lib/oci/data_catalog/models/validate_connection_result.rb +180 -0
  1147. data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
  1148. data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
  1149. data/lib/oci/data_catalog/models/work_request.rb +314 -0
  1150. data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
  1151. data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
  1152. data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
  1153. data/lib/oci/data_catalog/util.rb +3 -0
  1154. data/lib/oci/data_flow/data_flow.rb +52 -0
  1155. data/lib/oci/data_flow/data_flow_client.rb +1786 -0
  1156. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +475 -0
  1157. data/lib/oci/data_flow/models/application.rb +559 -0
  1158. data/lib/oci/data_flow/models/application_language.rb +13 -0
  1159. data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
  1160. data/lib/oci/data_flow/models/application_parameter.rb +166 -0
  1161. data/lib/oci/data_flow/models/application_summary.rb +346 -0
  1162. data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
  1163. data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +156 -0
  1164. data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
  1165. data/lib/oci/data_flow/models/create_application_details.rb +443 -0
  1166. data/lib/oci/data_flow/models/create_private_endpoint_details.rb +279 -0
  1167. data/lib/oci/data_flow/models/create_run_details.rb +359 -0
  1168. data/lib/oci/data_flow/models/private_endpoint.rb +408 -0
  1169. data/lib/oci/data_flow/models/private_endpoint_collection.rb +152 -0
  1170. data/lib/oci/data_flow/models/private_endpoint_lifecycle_state.rb +16 -0
  1171. data/lib/oci/data_flow/models/private_endpoint_summary.rb +382 -0
  1172. data/lib/oci/data_flow/models/run.rb +721 -0
  1173. data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
  1174. data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
  1175. data/lib/oci/data_flow/models/run_summary.rb +455 -0
  1176. data/lib/oci/data_flow/models/update_application_details.rb +428 -0
  1177. data/lib/oci/data_flow/models/update_private_endpoint_details.rb +249 -0
  1178. data/lib/oci/data_flow/models/update_run_details.rb +174 -0
  1179. data/lib/oci/data_flow/models/work_request.rb +308 -0
  1180. data/lib/oci/data_flow/models/work_request_collection.rb +152 -0
  1181. data/lib/oci/data_flow/models/work_request_error.rb +199 -0
  1182. data/lib/oci/data_flow/models/work_request_error_collection.rb +152 -0
  1183. data/lib/oci/data_flow/models/work_request_log.rb +187 -0
  1184. data/lib/oci/data_flow/models/work_request_log_collection.rb +152 -0
  1185. data/lib/oci/data_flow/models/work_request_operation.rb +13 -0
  1186. data/lib/oci/data_flow/models/work_request_resource.rb +250 -0
  1187. data/lib/oci/data_flow/models/work_request_status.rb +15 -0
  1188. data/lib/oci/data_flow/models/work_request_summary.rb +308 -0
  1189. data/lib/oci/data_flow/util.rb +3 -0
  1190. data/lib/oci/data_integration/data_integration.rb +318 -0
  1191. data/lib/oci/data_integration/data_integration_client.rb +6515 -0
  1192. data/lib/oci/data_integration/data_integration_client_composite_operations.rb +321 -0
  1193. data/lib/oci/data_integration/models/abstract_data_operation_config.rb +184 -0
  1194. data/lib/oci/data_integration/models/abstract_field.rb +173 -0
  1195. data/lib/oci/data_integration/models/abstract_format_attribute.rb +193 -0
  1196. data/lib/oci/data_integration/models/abstract_read_attribute.rb +190 -0
  1197. data/lib/oci/data_integration/models/abstract_write_attribute.rb +196 -0
  1198. data/lib/oci/data_integration/models/aggregator.rb +209 -0
  1199. data/lib/oci/data_integration/models/application.rb +343 -0
  1200. data/lib/oci/data_integration/models/application_details.rb +272 -0
  1201. data/lib/oci/data_integration/models/application_summary.rb +340 -0
  1202. data/lib/oci/data_integration/models/application_summary_collection.rb +150 -0
  1203. data/lib/oci/data_integration/models/avro_format_attribute.rb +158 -0
  1204. data/lib/oci/data_integration/models/base_type.rb +270 -0
  1205. data/lib/oci/data_integration/models/change_compartment_details.rb +154 -0
  1206. data/lib/oci/data_integration/models/child_reference.rb +270 -0
  1207. data/lib/oci/data_integration/models/child_reference_detail.rb +164 -0
  1208. data/lib/oci/data_integration/models/composite_field_map.rb +230 -0
  1209. data/lib/oci/data_integration/models/composite_type.rb +208 -0
  1210. data/lib/oci/data_integration/models/conditional_input_link.rb +207 -0
  1211. data/lib/oci/data_integration/models/config_definition.rb +243 -0
  1212. data/lib/oci/data_integration/models/config_parameter_definition.rb +233 -0
  1213. data/lib/oci/data_integration/models/config_parameter_value.rb +196 -0
  1214. data/lib/oci/data_integration/models/config_provider.rb +164 -0
  1215. data/lib/oci/data_integration/models/config_values.rb +167 -0
  1216. data/lib/oci/data_integration/models/configuration_details.rb +185 -0
  1217. data/lib/oci/data_integration/models/configured_type.rb +212 -0
  1218. data/lib/oci/data_integration/models/connection.rb +360 -0
  1219. data/lib/oci/data_integration/models/connection_details.rb +339 -0
  1220. data/lib/oci/data_integration/models/connection_from_adwc.rb +220 -0
  1221. data/lib/oci/data_integration/models/connection_from_adwc_details.rb +216 -0
  1222. data/lib/oci/data_integration/models/connection_from_atp.rb +220 -0
  1223. data/lib/oci/data_integration/models/connection_from_atp_details.rb +216 -0
  1224. data/lib/oci/data_integration/models/connection_from_jdbc.rb +210 -0
  1225. data/lib/oci/data_integration/models/connection_from_jdbc_details.rb +206 -0
  1226. data/lib/oci/data_integration/models/connection_from_my_sql.rb +210 -0
  1227. data/lib/oci/data_integration/models/connection_from_my_sql_details.rb +206 -0
  1228. data/lib/oci/data_integration/models/connection_from_object_storage.rb +256 -0
  1229. data/lib/oci/data_integration/models/connection_from_object_storage_details.rb +252 -0
  1230. data/lib/oci/data_integration/models/connection_from_oracle.rb +220 -0
  1231. data/lib/oci/data_integration/models/connection_from_oracle_details.rb +217 -0
  1232. data/lib/oci/data_integration/models/connection_property.rb +160 -0
  1233. data/lib/oci/data_integration/models/connection_summary.rb +360 -0
  1234. data/lib/oci/data_integration/models/connection_summary_collection.rb +150 -0
  1235. data/lib/oci/data_integration/models/connection_summary_from_adwc.rb +220 -0
  1236. data/lib/oci/data_integration/models/connection_summary_from_atp.rb +220 -0
  1237. data/lib/oci/data_integration/models/connection_summary_from_jdbc.rb +210 -0
  1238. data/lib/oci/data_integration/models/connection_summary_from_my_sql.rb +210 -0
  1239. data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +256 -0
  1240. data/lib/oci/data_integration/models/connection_summary_from_oracle.rb +221 -0
  1241. data/lib/oci/data_integration/models/connection_validation.rb +271 -0
  1242. data/lib/oci/data_integration/models/connection_validation_summary.rb +268 -0
  1243. data/lib/oci/data_integration/models/connection_validation_summary_collection.rb +150 -0
  1244. data/lib/oci/data_integration/models/count_statistic.rb +154 -0
  1245. data/lib/oci/data_integration/models/count_statistic_summary.rb +193 -0
  1246. data/lib/oci/data_integration/models/create_application_details.rb +260 -0
  1247. data/lib/oci/data_integration/models/create_config_provider.rb +150 -0
  1248. data/lib/oci/data_integration/models/create_connection_details.rb +300 -0
  1249. data/lib/oci/data_integration/models/create_connection_from_adwc.rb +204 -0
  1250. data/lib/oci/data_integration/models/create_connection_from_atp.rb +204 -0
  1251. data/lib/oci/data_integration/models/create_connection_from_jdbc.rb +204 -0
  1252. data/lib/oci/data_integration/models/create_connection_from_my_sql.rb +204 -0
  1253. data/lib/oci/data_integration/models/create_connection_from_object_storage.rb +240 -0
  1254. data/lib/oci/data_integration/models/create_connection_from_oracle.rb +204 -0
  1255. data/lib/oci/data_integration/models/create_connection_validation_details.rb +175 -0
  1256. data/lib/oci/data_integration/models/create_data_asset_details.rb +301 -0
  1257. data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +239 -0
  1258. data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +239 -0
  1259. data/lib/oci/data_integration/models/create_data_asset_from_jdbc.rb +231 -0
  1260. data/lib/oci/data_integration/models/create_data_asset_from_my_sql.rb +231 -0
  1261. data/lib/oci/data_integration/models/create_data_asset_from_object_storage.rb +231 -0
  1262. data/lib/oci/data_integration/models/create_data_asset_from_oracle.rb +269 -0
  1263. data/lib/oci/data_integration/models/create_data_flow_details.rb +268 -0
  1264. data/lib/oci/data_integration/models/create_data_flow_validation_details.rb +302 -0
  1265. data/lib/oci/data_integration/models/create_entity_shape_details.rb +182 -0
  1266. data/lib/oci/data_integration/models/create_entity_shape_from_file.rb +389 -0
  1267. data/lib/oci/data_integration/models/create_external_publication_details.rb +218 -0
  1268. data/lib/oci/data_integration/models/create_external_publication_validation_details.rb +150 -0
  1269. data/lib/oci/data_integration/models/create_folder_details.rb +236 -0
  1270. data/lib/oci/data_integration/models/create_patch_details.rb +263 -0
  1271. data/lib/oci/data_integration/models/create_project_details.rb +221 -0
  1272. data/lib/oci/data_integration/models/create_source_application_info.rb +168 -0
  1273. data/lib/oci/data_integration/models/create_task_details.rb +343 -0
  1274. data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +213 -0
  1275. data/lib/oci/data_integration/models/create_task_from_integration_task.rb +213 -0
  1276. data/lib/oci/data_integration/models/create_task_run_details.rb +234 -0
  1277. data/lib/oci/data_integration/models/create_task_validation_details.rb +352 -0
  1278. data/lib/oci/data_integration/models/create_task_validation_from_data_loader_task.rb +217 -0
  1279. data/lib/oci/data_integration/models/create_task_validation_from_integration_task.rb +217 -0
  1280. data/lib/oci/data_integration/models/create_workspace_details.rb +282 -0
  1281. data/lib/oci/data_integration/models/csv_format_attribute.rb +238 -0
  1282. data/lib/oci/data_integration/models/data_asset.rb +358 -0
  1283. data/lib/oci/data_integration/models/data_asset_from_adwc_details.rb +255 -0
  1284. data/lib/oci/data_integration/models/data_asset_from_atp_details.rb +255 -0
  1285. data/lib/oci/data_integration/models/data_asset_from_jdbc.rb +247 -0
  1286. data/lib/oci/data_integration/models/data_asset_from_my_sql.rb +247 -0
  1287. data/lib/oci/data_integration/models/data_asset_from_object_storage_details.rb +247 -0
  1288. data/lib/oci/data_integration/models/data_asset_from_oracle_details.rb +285 -0
  1289. data/lib/oci/data_integration/models/data_asset_summary.rb +344 -0
  1290. data/lib/oci/data_integration/models/data_asset_summary_collection.rb +150 -0
  1291. data/lib/oci/data_integration/models/data_asset_summary_from_adwc.rb +251 -0
  1292. data/lib/oci/data_integration/models/data_asset_summary_from_atp.rb +251 -0
  1293. data/lib/oci/data_integration/models/data_asset_summary_from_jdbc.rb +243 -0
  1294. data/lib/oci/data_integration/models/data_asset_summary_from_my_sql.rb +243 -0
  1295. data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +243 -0
  1296. data/lib/oci/data_integration/models/data_asset_summary_from_oracle.rb +281 -0
  1297. data/lib/oci/data_integration/models/data_entity.rb +202 -0
  1298. data/lib/oci/data_integration/models/data_entity_details.rb +186 -0
  1299. data/lib/oci/data_integration/models/data_entity_from_file.rb +400 -0
  1300. data/lib/oci/data_integration/models/data_entity_from_file_entity_details.rb +389 -0
  1301. data/lib/oci/data_integration/models/data_entity_from_table.rb +387 -0
  1302. data/lib/oci/data_integration/models/data_entity_from_table_entity_details.rb +376 -0
  1303. data/lib/oci/data_integration/models/data_entity_from_view.rb +387 -0
  1304. data/lib/oci/data_integration/models/data_entity_from_view_entity_details.rb +376 -0
  1305. data/lib/oci/data_integration/models/data_entity_summary.rb +202 -0
  1306. data/lib/oci/data_integration/models/data_entity_summary_collection.rb +150 -0
  1307. data/lib/oci/data_integration/models/data_entity_summary_from_file.rb +400 -0
  1308. data/lib/oci/data_integration/models/data_entity_summary_from_table.rb +387 -0
  1309. data/lib/oci/data_integration/models/data_entity_summary_from_view.rb +387 -0
  1310. data/lib/oci/data_integration/models/data_flow.rb +305 -0
  1311. data/lib/oci/data_integration/models/data_flow_details.rb +295 -0
  1312. data/lib/oci/data_integration/models/data_flow_summary.rb +302 -0
  1313. data/lib/oci/data_integration/models/data_flow_summary_collection.rb +150 -0
  1314. data/lib/oci/data_integration/models/data_flow_validation.rb +328 -0
  1315. data/lib/oci/data_integration/models/data_flow_validation_summary.rb +325 -0
  1316. data/lib/oci/data_integration/models/data_flow_validation_summary_collection.rb +150 -0
  1317. data/lib/oci/data_integration/models/data_format.rb +187 -0
  1318. data/lib/oci/data_integration/models/data_type.rb +233 -0
  1319. data/lib/oci/data_integration/models/dependent_object.rb +339 -0
  1320. data/lib/oci/data_integration/models/dependent_object_summary.rb +303 -0
  1321. data/lib/oci/data_integration/models/dependent_object_summary_collection.rb +150 -0
  1322. data/lib/oci/data_integration/models/derived_field.rb +205 -0
  1323. data/lib/oci/data_integration/models/derived_type.rb +169 -0
  1324. data/lib/oci/data_integration/models/direct_field_map.rb +244 -0
  1325. data/lib/oci/data_integration/models/direct_named_field_map.rb +272 -0
  1326. data/lib/oci/data_integration/models/distinct.rb +193 -0
  1327. data/lib/oci/data_integration/models/dynamic_input_field.rb +195 -0
  1328. data/lib/oci/data_integration/models/dynamic_proxy_field.rb +195 -0
  1329. data/lib/oci/data_integration/models/dynamic_type.rb +198 -0
  1330. data/lib/oci/data_integration/models/dynamic_type_handler.rb +189 -0
  1331. data/lib/oci/data_integration/models/enriched_entity.rb +162 -0
  1332. data/lib/oci/data_integration/models/entity_shape.rb +198 -0
  1333. data/lib/oci/data_integration/models/entity_shape_from_file.rb +400 -0
  1334. data/lib/oci/data_integration/models/error_details.rb +162 -0
  1335. data/lib/oci/data_integration/models/expression.rb +232 -0
  1336. data/lib/oci/data_integration/models/external_publication.rb +385 -0
  1337. data/lib/oci/data_integration/models/external_publication_summary.rb +382 -0
  1338. data/lib/oci/data_integration/models/external_publication_summary_collection.rb +150 -0
  1339. data/lib/oci/data_integration/models/external_publication_validation.rb +220 -0
  1340. data/lib/oci/data_integration/models/external_publication_validation_summary.rb +217 -0
  1341. data/lib/oci/data_integration/models/external_publication_validation_summary_collection.rb +150 -0
  1342. data/lib/oci/data_integration/models/field_map.rb +205 -0
  1343. data/lib/oci/data_integration/models/filter.rb +209 -0
  1344. data/lib/oci/data_integration/models/filter_push.rb +162 -0
  1345. data/lib/oci/data_integration/models/flow_node.rb +288 -0
  1346. data/lib/oci/data_integration/models/flow_port.rb +173 -0
  1347. data/lib/oci/data_integration/models/flow_port_link.rb +257 -0
  1348. data/lib/oci/data_integration/models/folder.rb +287 -0
  1349. data/lib/oci/data_integration/models/folder_details.rb +276 -0
  1350. data/lib/oci/data_integration/models/folder_summary.rb +284 -0
  1351. data/lib/oci/data_integration/models/folder_summary_collection.rb +150 -0
  1352. data/lib/oci/data_integration/models/foreign_key.rb +264 -0
  1353. data/lib/oci/data_integration/models/input_field.rb +195 -0
  1354. data/lib/oci/data_integration/models/input_link.rb +200 -0
  1355. data/lib/oci/data_integration/models/input_port.rb +221 -0
  1356. data/lib/oci/data_integration/models/java_type.rb +199 -0
  1357. data/lib/oci/data_integration/models/join.rb +190 -0
  1358. data/lib/oci/data_integration/models/joiner.rb +245 -0
  1359. data/lib/oci/data_integration/models/json_format_attribute.rb +158 -0
  1360. data/lib/oci/data_integration/models/key.rb +192 -0
  1361. data/lib/oci/data_integration/models/key_attribute.rb +159 -0
  1362. data/lib/oci/data_integration/models/key_range.rb +159 -0
  1363. data/lib/oci/data_integration/models/key_range_partition_config.rb +175 -0
  1364. data/lib/oci/data_integration/models/macro_field.rb +231 -0
  1365. data/lib/oci/data_integration/models/message.rb +191 -0
  1366. data/lib/oci/data_integration/models/name_list_rule.rb +306 -0
  1367. data/lib/oci/data_integration/models/name_pattern_rule.rb +306 -0
  1368. data/lib/oci/data_integration/models/native_shape_field.rb +225 -0
  1369. data/lib/oci/data_integration/models/object_metadata.rb +306 -0
  1370. data/lib/oci/data_integration/models/operator.rb +349 -0
  1371. data/lib/oci/{streaming/models/update_archiver_details.rb → data_integration/models/oracle_adwc_write_attribute.rb} +41 -61
  1372. data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +191 -0
  1373. data/lib/oci/{streaming/models/create_archiver_details.rb → data_integration/models/oracle_atp_write_attribute.rb} +41 -62
  1374. data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +191 -0
  1375. data/lib/oci/data_integration/models/oracle_read_attribute.rb +162 -0
  1376. data/lib/oci/data_integration/models/oracle_read_attributes.rb +151 -0
  1377. data/lib/oci/data_integration/models/oracle_write_attribute.rb +190 -0
  1378. data/lib/oci/data_integration/models/oracle_write_attributes.rb +179 -0
  1379. data/lib/oci/data_integration/models/output_field.rb +195 -0
  1380. data/lib/oci/data_integration/models/output_link.rb +186 -0
  1381. data/lib/oci/data_integration/models/output_port.rb +221 -0
  1382. data/lib/oci/data_integration/models/parameter.rb +291 -0
  1383. data/lib/oci/data_integration/models/parameter_value.rb +168 -0
  1384. data/lib/oci/data_integration/models/parent_reference.rb +150 -0
  1385. data/lib/oci/data_integration/models/partition_config.rb +189 -0
  1386. data/lib/oci/data_integration/models/patch.rb +412 -0
  1387. data/lib/oci/data_integration/models/patch_change_summary.rb +255 -0
  1388. data/lib/oci/data_integration/models/patch_change_summary_collection.rb +150 -0
  1389. data/lib/oci/data_integration/models/patch_object_metadata.rb +258 -0
  1390. data/lib/oci/data_integration/models/patch_summary.rb +409 -0
  1391. data/lib/oci/data_integration/models/patch_summary_collection.rb +150 -0
  1392. data/lib/oci/data_integration/models/primary_key.rb +212 -0
  1393. data/lib/oci/data_integration/models/project.rb +273 -0
  1394. data/lib/oci/data_integration/models/project_details.rb +262 -0
  1395. data/lib/oci/data_integration/models/project_summary.rb +270 -0
  1396. data/lib/oci/data_integration/models/project_summary_collection.rb +150 -0
  1397. data/lib/oci/data_integration/models/projection.rb +193 -0
  1398. data/lib/oci/data_integration/models/projection_rule.rb +285 -0
  1399. data/lib/oci/data_integration/models/proxy_field.rb +205 -0
  1400. data/lib/oci/data_integration/models/published_object.rb +286 -0
  1401. data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +257 -0
  1402. data/lib/oci/data_integration/models/published_object_from_integration_task.rb +257 -0
  1403. data/lib/oci/data_integration/models/published_object_summary.rb +295 -0
  1404. data/lib/oci/data_integration/models/published_object_summary_collection.rb +150 -0
  1405. data/lib/oci/data_integration/models/published_object_summary_from_data_loader_task.rb +261 -0
  1406. data/lib/oci/data_integration/models/published_object_summary_from_integration_task.rb +261 -0
  1407. data/lib/oci/data_integration/models/push_down_operation.rb +197 -0
  1408. data/lib/oci/data_integration/models/query.rb +158 -0
  1409. data/lib/oci/data_integration/models/read_operation_config.rb +249 -0
  1410. data/lib/oci/data_integration/models/reference.rb +284 -0
  1411. data/lib/oci/data_integration/models/reference_summary.rb +284 -0
  1412. data/lib/oci/data_integration/models/reference_summary_collection.rb +150 -0
  1413. data/lib/oci/data_integration/models/reference_used_by.rb +174 -0
  1414. data/lib/oci/data_integration/models/registry_metadata.rb +204 -0
  1415. data/lib/oci/data_integration/models/rename_rule.rb +218 -0
  1416. data/lib/oci/data_integration/models/resource_configuration.rb +196 -0
  1417. data/lib/oci/data_integration/models/root_object.rb +205 -0
  1418. data/lib/oci/data_integration/models/rule_based_field_map.rb +319 -0
  1419. data/lib/oci/data_integration/models/rule_type_config.rb +251 -0
  1420. data/lib/oci/data_integration/models/schema.rb +314 -0
  1421. data/lib/oci/data_integration/models/schema_summary.rb +311 -0
  1422. data/lib/oci/data_integration/models/schema_summary_collection.rb +150 -0
  1423. data/lib/oci/data_integration/models/select.rb +176 -0
  1424. data/lib/oci/data_integration/models/shape.rb +186 -0
  1425. data/lib/oci/data_integration/models/shape_field.rb +209 -0
  1426. data/lib/oci/data_integration/models/sort.rb +162 -0
  1427. data/lib/oci/data_integration/models/sort_clause.rb +179 -0
  1428. data/lib/oci/data_integration/models/sort_key.rb +154 -0
  1429. data/lib/oci/data_integration/models/sort_key_rule.rb +167 -0
  1430. data/lib/oci/data_integration/models/sort_oper.rb +209 -0
  1431. data/lib/oci/data_integration/models/source.rb +261 -0
  1432. data/lib/oci/data_integration/models/source_application_info.rb +196 -0
  1433. data/lib/oci/data_integration/models/structured_type.rb +203 -0
  1434. data/lib/oci/data_integration/models/target.rb +298 -0
  1435. data/lib/oci/data_integration/models/task.rb +373 -0
  1436. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +221 -0
  1437. data/lib/oci/data_integration/models/task_from_integration_task_details.rb +221 -0
  1438. data/lib/oci/data_integration/models/task_run.rb +451 -0
  1439. data/lib/oci/data_integration/models/task_run_details.rb +396 -0
  1440. data/lib/oci/data_integration/models/task_run_log_summary.rb +150 -0
  1441. data/lib/oci/data_integration/models/task_run_summary.rb +393 -0
  1442. data/lib/oci/data_integration/models/task_run_summary_collection.rb +150 -0
  1443. data/lib/oci/data_integration/models/task_summary.rb +373 -0
  1444. data/lib/oci/data_integration/models/task_summary_collection.rb +150 -0
  1445. data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +221 -0
  1446. data/lib/oci/data_integration/models/task_summary_from_integration_task.rb +221 -0
  1447. data/lib/oci/data_integration/models/task_validation.rb +328 -0
  1448. data/lib/oci/data_integration/models/task_validation_summary.rb +325 -0
  1449. data/lib/oci/data_integration/models/task_validation_summary_collection.rb +150 -0
  1450. data/lib/oci/data_integration/models/type_library.rb +259 -0
  1451. data/lib/oci/data_integration/models/type_list_rule.rb +306 -0
  1452. data/lib/oci/data_integration/models/type_system.rb +287 -0
  1453. data/lib/oci/data_integration/models/typed_name_pattern_rule.rb +326 -0
  1454. data/lib/oci/data_integration/models/typed_object.rb +290 -0
  1455. data/lib/oci/data_integration/models/ui_properties.rb +168 -0
  1456. data/lib/oci/data_integration/models/unique_key.rb +224 -0
  1457. data/lib/oci/data_integration/models/update_application_details.rb +269 -0
  1458. data/lib/oci/data_integration/models/update_connection_details.rb +314 -0
  1459. data/lib/oci/data_integration/models/update_connection_from_adwc.rb +208 -0
  1460. data/lib/oci/data_integration/models/update_connection_from_atp.rb +208 -0
  1461. data/lib/oci/data_integration/models/update_connection_from_jdbc.rb +208 -0
  1462. data/lib/oci/data_integration/models/update_connection_from_my_sql.rb +208 -0
  1463. data/lib/oci/data_integration/models/update_connection_from_object_storage.rb +244 -0
  1464. data/lib/oci/data_integration/models/update_connection_from_oracle.rb +208 -0
  1465. data/lib/oci/data_integration/models/update_data_asset_details.rb +315 -0
  1466. data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +243 -0
  1467. data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +243 -0
  1468. data/lib/oci/data_integration/models/update_data_asset_from_jdbc.rb +235 -0
  1469. data/lib/oci/data_integration/models/update_data_asset_from_my_sql.rb +235 -0
  1470. data/lib/oci/data_integration/models/update_data_asset_from_object_storage.rb +235 -0
  1471. data/lib/oci/data_integration/models/update_data_asset_from_oracle.rb +273 -0
  1472. data/lib/oci/data_integration/models/update_data_flow_details.rb +292 -0
  1473. data/lib/oci/data_integration/models/update_external_publication_details.rb +218 -0
  1474. data/lib/oci/data_integration/models/update_folder_details.rb +273 -0
  1475. data/lib/oci/data_integration/models/update_project_details.rb +259 -0
  1476. data/lib/oci/data_integration/models/update_reference_details.rb +178 -0
  1477. data/lib/oci/data_integration/models/update_task_details.rb +356 -0
  1478. data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +217 -0
  1479. data/lib/oci/data_integration/models/update_task_from_integration_task.rb +217 -0
  1480. data/lib/oci/data_integration/models/update_task_run_details.rb +247 -0
  1481. data/lib/oci/data_integration/models/update_workspace_details.rb +196 -0
  1482. data/lib/oci/data_integration/models/validation_message.rb +178 -0
  1483. data/lib/oci/data_integration/models/work_request.rb +306 -0
  1484. data/lib/oci/data_integration/models/work_request_error.rb +172 -0
  1485. data/lib/oci/data_integration/models/work_request_log_entry.rb +160 -0
  1486. data/lib/oci/data_integration/models/work_request_resource.rb +222 -0
  1487. data/lib/oci/data_integration/models/work_request_summary.rb +303 -0
  1488. data/lib/oci/data_integration/models/workspace.rb +387 -0
  1489. data/lib/oci/data_integration/models/workspace_summary.rb +306 -0
  1490. data/lib/oci/data_integration/models/write_operation_config.rb +297 -0
  1491. data/lib/oci/data_integration/util.rb +3 -0
  1492. data/lib/oci/data_safe/data_safe.rb +42 -0
  1493. data/lib/oci/data_safe/data_safe_client.rb +1415 -0
  1494. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +470 -0
  1495. data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
  1496. data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
  1497. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
  1498. data/lib/oci/data_safe/models/create_on_prem_connector_details.rb +212 -0
  1499. data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
  1500. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
  1501. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
  1502. data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +154 -0
  1503. data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +5 -5
  1504. data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
  1505. data/lib/oci/data_safe/models/on_prem_connector.rb +317 -0
  1506. data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
  1507. data/lib/oci/data_safe/models/on_prem_connector_summary.rb +303 -0
  1508. data/lib/oci/data_safe/models/service_list.rb +22 -0
  1509. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
  1510. data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
  1511. data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
  1512. data/lib/oci/data_safe/models/work_request.rb +307 -0
  1513. data/lib/oci/data_safe/models/work_request_error.rb +172 -0
  1514. data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
  1515. data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
  1516. data/lib/oci/data_safe/models/work_request_summary.rb +307 -0
  1517. data/lib/oci/data_safe/util.rb +3 -0
  1518. data/lib/oci/data_science/data_science.rb +50 -0
  1519. data/lib/oci/data_science/data_science_client.rb +2383 -0
  1520. data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
  1521. data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
  1522. data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
  1523. data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
  1524. data/lib/oci/data_science/models/create_model_details.rb +226 -0
  1525. data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
  1526. data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
  1527. data/lib/oci/data_science/models/create_project_details.rb +211 -0
  1528. data/lib/oci/data_science/models/model.rb +300 -0
  1529. data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
  1530. data/lib/oci/data_science/models/model_provenance.rb +211 -0
  1531. data/lib/oci/data_science/models/model_summary.rb +290 -0
  1532. data/lib/oci/data_science/models/notebook_session.rb +337 -0
  1533. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
  1534. data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
  1535. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
  1536. data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
  1537. data/lib/oci/data_science/models/project.rb +286 -0
  1538. data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
  1539. data/lib/oci/data_science/models/project_summary.rb +285 -0
  1540. data/lib/oci/data_science/models/update_model_details.rb +199 -0
  1541. data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
  1542. data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
  1543. data/lib/oci/data_science/models/update_project_details.rb +196 -0
  1544. data/lib/oci/data_science/models/work_request.rb +301 -0
  1545. data/lib/oci/data_science/models/work_request_error.rb +171 -0
  1546. data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
  1547. data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
  1548. data/lib/oci/data_science/models/work_request_resource.rb +215 -0
  1549. data/lib/oci/data_science/models/work_request_status.rb +15 -0
  1550. data/lib/oci/data_science/models/work_request_summary.rb +301 -0
  1551. data/lib/oci/data_science/util.rb +3 -0
  1552. data/lib/oci/database/database.rb +81 -10
  1553. data/lib/oci/database/database_client.rb +6372 -2056
  1554. data/lib/oci/database/database_client_composite_operations.rb +2535 -454
  1555. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +4 -2
  1556. data/lib/oci/database/models/associated_database_details.rb +2 -1
  1557. data/lib/oci/database/models/automated_mount_details.rb +176 -0
  1558. data/lib/oci/database/models/autonomous_container_database.rb +216 -9
  1559. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +17 -2
  1560. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
  1561. data/lib/oci/database/models/autonomous_container_database_summary.rb +216 -9
  1562. data/lib/oci/database/models/autonomous_data_warehouse.rb +10 -22
  1563. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
  1564. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +10 -22
  1565. data/lib/oci/database/models/autonomous_database.rb +661 -15
  1566. data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
  1567. data/lib/oci/database/models/autonomous_database_backup.rb +50 -5
  1568. data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
  1569. data/lib/oci/database/models/autonomous_database_backup_summary.rb +50 -5
  1570. data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
  1571. data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
  1572. data/lib/oci/database/models/autonomous_database_console_token_details.rb +3 -2
  1573. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
  1574. data/lib/oci/database/models/autonomous_database_manual_refresh_details.rb +155 -0
  1575. data/lib/oci/database/models/autonomous_database_standby_summary.rb +220 -0
  1576. data/lib/oci/database/models/autonomous_database_summary.rb +661 -15
  1577. data/lib/oci/database/models/autonomous_database_wallet.rb +2 -1
  1578. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +12 -3
  1579. data/lib/oci/database/models/autonomous_db_version_summary.rb +274 -0
  1580. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +5 -2
  1581. data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
  1582. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +5 -2
  1583. data/lib/oci/database/models/autonomous_patch.rb +296 -0
  1584. data/lib/oci/database/models/autonomous_patch_summary.rb +304 -0
  1585. data/lib/oci/database/models/autonomous_vm_cluster.rb +452 -0
  1586. data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +455 -0
  1587. data/lib/oci/database/models/backup.rb +41 -6
  1588. data/lib/oci/database/models/backup_destination.rb +64 -2
  1589. data/lib/oci/database/models/backup_destination_details.rb +13 -32
  1590. data/lib/oci/database/models/backup_destination_summary.rb +64 -2
  1591. data/lib/oci/database/models/backup_summary.rb +41 -6
  1592. data/lib/oci/database/models/change_autonomous_vm_cluster_compartment_details.rb +156 -0
  1593. data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +155 -0
  1594. data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +155 -0
  1595. data/lib/oci/database/models/change_compartment_details.rb +2 -1
  1596. data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +2 -1
  1597. data/lib/oci/database/models/change_key_store_compartment_details.rb +156 -0
  1598. data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +2 -1
  1599. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +399 -0
  1600. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +402 -0
  1601. data/lib/oci/database/models/cloud_vm_cluster.rb +734 -0
  1602. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +721 -0
  1603. data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
  1604. data/lib/oci/database/models/console_connection.rb +236 -0
  1605. data/lib/oci/database/models/console_connection_summary.rb +241 -0
  1606. data/lib/oci/database/models/create_autonomous_container_database_details.rb +226 -8
  1607. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
  1608. data/lib/oci/database/models/create_autonomous_database_base.rb +163 -15
  1609. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +31 -2
  1610. data/lib/oci/database/models/create_autonomous_database_details.rb +31 -2
  1611. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +278 -0
  1612. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +288 -0
  1613. data/lib/oci/database/models/{create_autonomous_data_warehouse_details.rb → create_autonomous_vm_cluster_details.rb} +52 -53
  1614. data/lib/oci/database/models/create_backup_destination_details.rb +2 -1
  1615. data/lib/oci/database/models/create_backup_details.rb +2 -1
  1616. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
  1617. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +465 -0
  1618. data/lib/oci/database/models/create_console_connection_details.rb +156 -0
  1619. data/lib/oci/database/models/create_data_guard_association_details.rb +19 -3
  1620. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +28 -7
  1621. data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +197 -0
  1622. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +27 -6
  1623. data/lib/oci/database/models/create_database_base.rb +245 -0
  1624. data/lib/oci/database/models/create_database_details.rb +31 -2
  1625. data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
  1626. data/lib/oci/database/models/create_database_from_backup.rb +177 -0
  1627. data/lib/oci/database/models/create_database_from_backup_details.rb +2 -1
  1628. data/lib/oci/database/models/create_database_from_db_system_details.rb +246 -0
  1629. data/lib/oci/database/models/create_database_software_image_details.rb +319 -0
  1630. data/lib/oci/database/models/create_db_home_base.rb +86 -6
  1631. data/lib/oci/database/models/create_db_home_details.rb +56 -7
  1632. data/lib/oci/database/models/create_db_home_from_backup_details.rb +42 -7
  1633. data/lib/oci/database/models/{update_autonomous_data_warehouse_details.rb → create_db_home_from_database_details.rb} +14 -46
  1634. data/lib/oci/database/models/create_db_home_from_db_system_details.rb +201 -0
  1635. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +24 -4
  1636. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +23 -2
  1637. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +197 -0
  1638. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +24 -4
  1639. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +23 -2
  1640. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +31 -4
  1641. data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
  1642. data/lib/oci/database/models/create_key_store_details.rb +217 -0
  1643. data/lib/oci/database/models/create_new_database_details.rb +177 -0
  1644. data/lib/oci/database/models/create_nfs_backup_destination_details.rb +21 -6
  1645. data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +2 -1
  1646. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +278 -0
  1647. data/lib/oci/database/models/create_vm_cluster_details.rb +47 -3
  1648. data/lib/oci/database/models/data_guard_association.rb +3 -2
  1649. data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
  1650. data/lib/oci/database/models/database.rb +93 -7
  1651. data/lib/oci/database/models/database_connection_strings.rb +2 -1
  1652. data/lib/oci/database/models/database_software_image.rb +442 -0
  1653. data/lib/oci/database/models/database_software_image_summary.rb +452 -0
  1654. data/lib/oci/database/models/database_summary.rb +93 -7
  1655. data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
  1656. data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
  1657. data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
  1658. data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
  1659. data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
  1660. data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
  1661. data/lib/oci/database/models/day_of_week.rb +2 -1
  1662. data/lib/oci/database/models/db_backup_config.rb +2 -1
  1663. data/lib/oci/database/models/db_home.rb +114 -9
  1664. data/lib/oci/database/models/db_home_summary.rb +117 -12
  1665. data/lib/oci/database/models/db_iorm_config.rb +6 -5
  1666. data/lib/oci/database/models/db_iorm_config_update_detail.rb +5 -4
  1667. data/lib/oci/database/models/db_node.rb +80 -5
  1668. data/lib/oci/database/models/db_node_summary.rb +80 -5
  1669. data/lib/oci/database/models/db_system.rb +98 -9
  1670. data/lib/oci/database/models/db_system_options.rb +8 -2
  1671. data/lib/oci/database/models/db_system_shape_summary.rb +119 -6
  1672. data/lib/oci/database/models/db_system_summary.rb +98 -9
  1673. data/lib/oci/database/models/db_version_summary.rb +34 -5
  1674. data/lib/oci/database/models/deregister_autonomous_database_data_safe_details.rb +155 -0
  1675. data/lib/oci/database/models/exadata_db_system_migration.rb +197 -0
  1676. data/lib/oci/database/models/exadata_db_system_migration_summary.rb +183 -0
  1677. data/lib/oci/database/models/exadata_infrastructure.rb +130 -7
  1678. data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
  1679. data/lib/oci/database/models/exadata_infrastructure_summary.rb +133 -8
  1680. data/lib/oci/database/models/exadata_iorm_config.rb +9 -8
  1681. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
  1682. data/lib/oci/database/models/external_backup_job.rb +2 -1
  1683. data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
  1684. data/lib/oci/database/models/flex_component_collection.rb +150 -0
  1685. data/lib/oci/database/models/flex_component_summary.rb +197 -0
  1686. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +9 -2
  1687. data/lib/oci/database/models/generate_recommended_network_details.rb +3 -2
  1688. data/lib/oci/database/models/gi_version_summary.rb +2 -1
  1689. data/lib/oci/database/models/info_for_network_gen_details.rb +3 -2
  1690. data/lib/oci/database/models/key_store.rb +300 -0
  1691. data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
  1692. data/lib/oci/database/models/key_store_summary.rb +303 -0
  1693. data/lib/oci/database/models/key_store_type_details.rb +185 -0
  1694. data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
  1695. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +5 -2
  1696. data/lib/oci/database/models/launch_db_system_base.rb +64 -11
  1697. data/lib/oci/database/models/launch_db_system_details.rb +31 -5
  1698. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +15 -2
  1699. data/lib/oci/database/models/launch_db_system_from_database_details.rb +352 -0
  1700. data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +305 -0
  1701. data/lib/oci/database/models/maintenance_run.rb +51 -16
  1702. data/lib/oci/database/models/maintenance_run_summary.rb +51 -16
  1703. data/lib/oci/database/models/maintenance_window.rb +21 -5
  1704. data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
  1705. data/lib/oci/database/models/month.rb +2 -1
  1706. data/lib/oci/database/models/mount_type_details.rb +186 -0
  1707. data/lib/oci/database/models/node_details.rb +3 -2
  1708. data/lib/oci/database/models/ocp_us.rb +182 -0
  1709. data/lib/oci/database/models/patch.rb +2 -1
  1710. data/lib/oci/database/models/patch_details.rb +18 -3
  1711. data/lib/oci/database/models/patch_history_entry.rb +3 -2
  1712. data/lib/oci/database/models/patch_history_entry_summary.rb +3 -2
  1713. data/lib/oci/database/models/patch_summary.rb +2 -1
  1714. data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
  1715. data/lib/oci/database/models/register_autonomous_database_data_safe_details.rb +155 -0
  1716. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
  1717. data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
  1718. data/lib/oci/database/models/restore_database_details.rb +2 -1
  1719. data/lib/oci/database/models/scan_details.rb +2 -1
  1720. data/lib/oci/database/models/self_mount_details.rb +163 -0
  1721. data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
  1722. data/lib/oci/database/models/update.rb +340 -0
  1723. data/lib/oci/database/models/update_autonomous_container_database_details.rb +32 -2
  1724. data/lib/oci/database/models/update_autonomous_database_details.rb +262 -14
  1725. data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +2 -1
  1726. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +5 -2
  1727. data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
  1728. data/lib/oci/database/models/update_backup_destination_details.rb +59 -3
  1729. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
  1730. data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +319 -0
  1731. data/lib/oci/database/models/update_database_details.rb +59 -2
  1732. data/lib/oci/database/models/update_database_software_image_details.rb +189 -0
  1733. data/lib/oci/database/models/update_db_home_details.rb +55 -6
  1734. data/lib/oci/database/models/update_db_system_details.rb +65 -7
  1735. data/lib/oci/database/models/update_details.rb +183 -0
  1736. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +28 -3
  1737. data/lib/oci/database/models/update_history_entry.rb +306 -0
  1738. data/lib/oci/database/models/update_history_entry_summary.rb +310 -0
  1739. data/lib/oci/database/models/update_key_store_details.rb +187 -0
  1740. data/lib/oci/database/models/update_maintenance_run_details.rb +50 -7
  1741. data/lib/oci/database/models/update_summary.rb +348 -0
  1742. data/lib/oci/database/models/update_vm_cluster_details.rb +57 -3
  1743. data/lib/oci/database/models/update_vm_cluster_network_details.rb +3 -2
  1744. data/lib/oci/database/models/upgrade_database_details.rb +179 -0
  1745. data/lib/oci/database/models/vm_cluster.rb +51 -7
  1746. data/lib/oci/database/models/vm_cluster_network.rb +2 -1
  1747. data/lib/oci/database/models/vm_cluster_network_details.rb +4 -3
  1748. data/lib/oci/database/models/vm_cluster_network_summary.rb +4 -2
  1749. data/lib/oci/database/models/vm_cluster_summary.rb +51 -7
  1750. data/lib/oci/database/models/vm_network_details.rb +4 -2
  1751. data/lib/oci/database/models/workload_type.rb +161 -0
  1752. data/lib/oci/database/util.rb +2 -1
  1753. data/lib/oci/dns/dns.rb +31 -1
  1754. data/lib/oci/dns/dns_client.rb +2763 -635
  1755. data/lib/oci/dns/dns_client_composite_operations.rb +361 -1
  1756. data/lib/oci/{oce/models/delete_oce_instance_details.rb → dns/models/attached_view.rb} +15 -13
  1757. data/lib/oci/dns/models/attached_view_details.rb +155 -0
  1758. data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
  1759. data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +2 -1
  1760. data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
  1761. data/lib/oci/dns/models/change_view_compartment_details.rb +156 -0
  1762. data/lib/oci/dns/models/change_zone_compartment_details.rb +2 -1
  1763. data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +2 -1
  1764. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
  1765. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
  1766. data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
  1767. data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
  1768. data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
  1769. data/lib/oci/dns/models/create_view_details.rb +210 -0
  1770. data/lib/oci/dns/models/create_zone_base_details.rb +2 -1
  1771. data/lib/oci/dns/models/create_zone_details.rb +43 -3
  1772. data/lib/oci/dns/models/dynect_migration_details.rb +2 -1
  1773. data/lib/oci/dns/models/external_master.rb +23 -5
  1774. data/lib/oci/dns/models/migration_replacement.rb +3 -2
  1775. data/lib/oci/dns/models/nameserver.rb +2 -1
  1776. data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
  1777. data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
  1778. data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
  1779. data/lib/oci/dns/models/record.rb +3 -3
  1780. data/lib/oci/dns/models/record_collection.rb +3 -1
  1781. data/lib/oci/dns/models/record_details.rb +3 -3
  1782. data/lib/oci/dns/models/record_operation.rb +3 -3
  1783. data/lib/oci/dns/models/resolver.rb +393 -0
  1784. data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
  1785. data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
  1786. data/lib/oci/dns/models/resolver_forward_rule.rb +187 -0
  1787. data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
  1788. data/lib/oci/dns/models/resolver_rule.rb +222 -0
  1789. data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
  1790. data/lib/oci/dns/models/resolver_summary.rb +357 -0
  1791. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
  1792. data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
  1793. data/lib/oci/dns/models/rr_set.rb +3 -1
  1794. data/lib/oci/dns/models/scope.rb +11 -0
  1795. data/lib/oci/dns/models/sort_order.rb +2 -1
  1796. data/lib/oci/dns/models/steering_policy.rb +14 -13
  1797. data/lib/oci/dns/models/steering_policy_answer.rb +3 -2
  1798. data/lib/oci/dns/models/steering_policy_attachment.rb +12 -11
  1799. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +12 -11
  1800. data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
  1801. data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
  1802. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
  1803. data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
  1804. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
  1805. data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
  1806. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
  1807. data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
  1808. data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
  1809. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
  1810. data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
  1811. data/lib/oci/dns/models/steering_policy_summary.rb +12 -11
  1812. data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
  1813. data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
  1814. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
  1815. data/lib/oci/dns/models/tsig.rb +2 -1
  1816. data/lib/oci/dns/models/tsig_key.rb +321 -0
  1817. data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
  1818. data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
  1819. data/lib/oci/dns/models/update_resolver_details.rb +221 -0
  1820. data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
  1821. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
  1822. data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
  1823. data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
  1824. data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
  1825. data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
  1826. data/lib/oci/dns/models/update_view_details.rb +196 -0
  1827. data/lib/oci/dns/models/update_zone_details.rb +2 -1
  1828. data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
  1829. data/lib/oci/dns/models/view.rb +321 -0
  1830. data/lib/oci/dns/models/view_summary.rb +321 -0
  1831. data/lib/oci/dns/models/zone.rb +77 -15
  1832. data/lib/oci/dns/models/zone_summary.rb +78 -16
  1833. data/lib/oci/dns/util.rb +2 -1
  1834. data/lib/oci/dts/appliance_export_job_client.rb +491 -0
  1835. data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
  1836. data/lib/oci/dts/dts.rb +9 -1
  1837. data/lib/oci/dts/models/appliance_export_job.rb +551 -0
  1838. data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
  1839. data/lib/oci/dts/models/attach_devices_details.rb +2 -1
  1840. data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
  1841. data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +2 -1
  1842. data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
  1843. data/lib/oci/dts/models/create_transfer_appliance_details.rb +2 -1
  1844. data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +10 -5
  1845. data/lib/oci/dts/models/create_transfer_device_details.rb +2 -1
  1846. data/lib/oci/dts/models/create_transfer_job_details.rb +10 -5
  1847. data/lib/oci/dts/models/create_transfer_package_details.rb +2 -1
  1848. data/lib/oci/dts/models/detach_devices_details.rb +2 -1
  1849. data/lib/oci/dts/models/multiple_transfer_appliances.rb +2 -1
  1850. data/lib/oci/dts/models/multiple_transfer_devices.rb +2 -1
  1851. data/lib/oci/dts/models/multiple_transfer_packages.rb +2 -1
  1852. data/lib/oci/dts/models/new_transfer_device.rb +2 -1
  1853. data/lib/oci/dts/models/shipping_address.rb +2 -1
  1854. data/lib/oci/dts/models/shipping_vendors.rb +2 -1
  1855. data/lib/oci/dts/models/transfer_appliance.rb +2 -1
  1856. data/lib/oci/dts/models/transfer_appliance_certificate.rb +2 -1
  1857. data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +2 -1
  1858. data/lib/oci/dts/models/transfer_appliance_entitlement.rb +10 -5
  1859. data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +10 -5
  1860. data/lib/oci/dts/models/transfer_appliance_public_key.rb +2 -1
  1861. data/lib/oci/dts/models/transfer_appliance_summary.rb +2 -1
  1862. data/lib/oci/dts/models/transfer_device.rb +2 -1
  1863. data/lib/oci/dts/models/transfer_device_summary.rb +2 -1
  1864. data/lib/oci/dts/models/transfer_job.rb +10 -5
  1865. data/lib/oci/dts/models/transfer_job_summary.rb +10 -5
  1866. data/lib/oci/dts/models/transfer_package.rb +2 -1
  1867. data/lib/oci/dts/models/transfer_package_summary.rb +2 -1
  1868. data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
  1869. data/lib/oci/dts/models/update_transfer_appliance_details.rb +2 -1
  1870. data/lib/oci/dts/models/update_transfer_device_details.rb +2 -1
  1871. data/lib/oci/dts/models/update_transfer_job_details.rb +10 -5
  1872. data/lib/oci/dts/models/update_transfer_package_details.rb +2 -1
  1873. data/lib/oci/dts/shipping_vendors_client.rb +8 -17
  1874. data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +2 -1
  1875. data/lib/oci/dts/transfer_appliance_client.rb +15 -17
  1876. data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +2 -1
  1877. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +10 -17
  1878. data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +2 -1
  1879. data/lib/oci/dts/transfer_device_client.rb +12 -17
  1880. data/lib/oci/dts/transfer_device_client_composite_operations.rb +2 -1
  1881. data/lib/oci/dts/transfer_job_client.rb +45 -21
  1882. data/lib/oci/dts/transfer_job_client_composite_operations.rb +2 -1
  1883. data/lib/oci/dts/transfer_package_client.rb +14 -17
  1884. data/lib/oci/dts/transfer_package_client_composite_operations.rb +2 -1
  1885. data/lib/oci/dts/util.rb +2 -1
  1886. data/lib/oci/email/email.rb +2 -1
  1887. data/lib/oci/email/email_client.rb +16 -16
  1888. data/lib/oci/email/email_client_composite_operations.rb +2 -1
  1889. data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
  1890. data/lib/oci/email/models/create_sender_details.rb +2 -1
  1891. data/lib/oci/email/models/create_suppression_details.rb +2 -1
  1892. data/lib/oci/email/models/sender.rb +2 -1
  1893. data/lib/oci/email/models/sender_summary.rb +2 -1
  1894. data/lib/oci/email/models/suppression.rb +2 -1
  1895. data/lib/oci/email/models/suppression_summary.rb +2 -1
  1896. data/lib/oci/email/models/update_sender_details.rb +2 -1
  1897. data/lib/oci/email/util.rb +2 -1
  1898. data/lib/oci/errors.rb +2 -1
  1899. data/lib/oci/events/events.rb +2 -1
  1900. data/lib/oci/events/events_client.rb +13 -17
  1901. data/lib/oci/events/events_client_composite_operations.rb +2 -1
  1902. data/lib/oci/events/models/action.rb +23 -3
  1903. data/lib/oci/events/models/action_details.rb +2 -1
  1904. data/lib/oci/events/models/action_details_list.rb +2 -1
  1905. data/lib/oci/events/models/action_list.rb +2 -1
  1906. data/lib/oci/events/models/change_rule_compartment_details.rb +2 -1
  1907. data/lib/oci/events/models/create_faa_s_action_details.rb +2 -1
  1908. data/lib/oci/events/models/create_notification_service_action_details.rb +2 -1
  1909. data/lib/oci/events/models/create_rule_details.rb +3 -7
  1910. data/lib/oci/events/models/create_streaming_service_action_details.rb +2 -1
  1911. data/lib/oci/events/models/faa_s_action.rb +7 -2
  1912. data/lib/oci/events/models/notification_service_action.rb +7 -2
  1913. data/lib/oci/events/models/rule.rb +4 -8
  1914. data/lib/oci/events/models/rule_summary.rb +4 -8
  1915. data/lib/oci/events/models/streaming_service_action.rb +7 -2
  1916. data/lib/oci/events/models/update_rule_details.rb +3 -7
  1917. data/lib/oci/events/util.rb +2 -1
  1918. data/lib/oci/file_storage/file_storage.rb +2 -1
  1919. data/lib/oci/file_storage/file_storage_client.rb +98 -75
  1920. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
  1921. data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
  1922. data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
  1923. data/lib/oci/file_storage/models/client_options.rb +2 -1
  1924. data/lib/oci/file_storage/models/create_export_details.rb +2 -1
  1925. data/lib/oci/file_storage/models/create_file_system_details.rb +2 -1
  1926. data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
  1927. data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
  1928. data/lib/oci/file_storage/models/export.rb +2 -1
  1929. data/lib/oci/file_storage/models/export_set.rb +2 -1
  1930. data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
  1931. data/lib/oci/file_storage/models/export_summary.rb +2 -1
  1932. data/lib/oci/file_storage/models/file_system.rb +3 -2
  1933. data/lib/oci/file_storage/models/file_system_summary.rb +2 -1
  1934. data/lib/oci/file_storage/models/mount_target.rb +21 -2
  1935. data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
  1936. data/lib/oci/file_storage/models/snapshot.rb +2 -1
  1937. data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
  1938. data/lib/oci/file_storage/models/update_export_details.rb +2 -1
  1939. data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
  1940. data/lib/oci/file_storage/models/update_file_system_details.rb +7 -5
  1941. data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
  1942. data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
  1943. data/lib/oci/file_storage/util.rb +2 -1
  1944. data/lib/oci/functions/functions.rb +2 -1
  1945. data/lib/oci/functions/functions_invoke_client.rb +7 -16
  1946. data/lib/oci/functions/functions_invoke_client_composite_operations.rb +2 -1
  1947. data/lib/oci/functions/functions_management_client.rb +18 -17
  1948. data/lib/oci/functions/functions_management_client_composite_operations.rb +2 -1
  1949. data/lib/oci/functions/models/application.rb +23 -3
  1950. data/lib/oci/functions/models/application_summary.rb +3 -2
  1951. data/lib/oci/functions/models/change_application_compartment_details.rb +2 -1
  1952. data/lib/oci/functions/models/create_application_details.rb +22 -2
  1953. data/lib/oci/functions/models/create_function_details.rb +2 -1
  1954. data/lib/oci/functions/models/function.rb +3 -2
  1955. data/lib/oci/functions/models/function_summary.rb +3 -2
  1956. data/lib/oci/functions/models/update_application_details.rb +22 -2
  1957. data/lib/oci/functions/models/update_function_details.rb +2 -1
  1958. data/lib/oci/functions/util.rb +2 -1
  1959. data/lib/oci/global_context.rb +2 -1
  1960. data/lib/oci/healthchecks/health_checks_client.rb +23 -16
  1961. data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
  1962. data/lib/oci/healthchecks/healthchecks.rb +2 -1
  1963. data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +2 -1
  1964. data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +2 -1
  1965. data/lib/oci/healthchecks/models/connection.rb +2 -1
  1966. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
  1967. data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
  1968. data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
  1969. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
  1970. data/lib/oci/healthchecks/models/dns.rb +2 -1
  1971. data/lib/oci/healthchecks/models/geolocation.rb +2 -1
  1972. data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
  1973. data/lib/oci/healthchecks/models/http_monitor.rb +2 -1
  1974. data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -1
  1975. data/lib/oci/healthchecks/models/http_probe.rb +2 -1
  1976. data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
  1977. data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
  1978. data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
  1979. data/lib/oci/healthchecks/models/ping_monitor.rb +2 -1
  1980. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -1
  1981. data/lib/oci/healthchecks/models/ping_probe.rb +2 -1
  1982. data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
  1983. data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
  1984. data/lib/oci/healthchecks/models/routing.rb +2 -1
  1985. data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
  1986. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -1
  1987. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -1
  1988. data/lib/oci/healthchecks/util.rb +2 -1
  1989. data/lib/oci/identity/identity.rb +24 -1
  1990. data/lib/oci/identity/identity_client.rb +1791 -295
  1991. data/lib/oci/identity/identity_client_composite_operations.rb +288 -1
  1992. data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
  1993. data/lib/oci/identity/models/api_key.rb +2 -1
  1994. data/lib/oci/identity/models/auth_token.rb +2 -1
  1995. data/lib/oci/identity/models/authentication_policy.rb +19 -6
  1996. data/lib/oci/identity/models/availability_domain.rb +2 -1
  1997. data/lib/oci/identity/models/base_tag_definition_validator.rb +13 -10
  1998. data/lib/oci/identity/models/bulk_action_resource.rb +203 -0
  1999. data/lib/oci/identity/models/bulk_action_resource_type.rb +167 -0
  2000. data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
  2001. data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
  2002. data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
  2003. data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
  2004. data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
  2005. data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
  2006. data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
  2007. data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
  2008. data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
  2009. data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
  2010. data/lib/oci/identity/models/compartment.rb +2 -1
  2011. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  2012. data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
  2013. data/lib/oci/identity/models/create_compartment_details.rb +2 -1
  2014. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  2015. data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
  2016. data/lib/oci/identity/models/create_group_details.rb +2 -1
  2017. data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
  2018. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
  2019. data/lib/oci/identity/models/create_network_source_details.rb +254 -0
  2020. data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
  2021. data/lib/oci/identity/models/create_policy_details.rb +2 -1
  2022. data/lib/oci/identity/models/create_region_subscription_details.rb +4 -11
  2023. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
  2024. data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
  2025. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  2026. data/lib/oci/identity/models/create_tag_default_details.rb +2 -1
  2027. data/lib/oci/identity/models/create_tag_details.rb +4 -7
  2028. data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
  2029. data/lib/oci/identity/models/create_user_details.rb +2 -1
  2030. data/lib/oci/identity/models/customer_secret_key.rb +5 -4
  2031. data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
  2032. data/lib/oci/identity/models/default_tag_definition_validator.rb +5 -3
  2033. data/lib/oci/identity/models/dynamic_group.rb +2 -1
  2034. data/lib/oci/identity/models/enum_tag_definition_validator.rb +5 -3
  2035. data/lib/oci/identity/models/fault_domain.rb +2 -1
  2036. data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
  2037. data/lib/oci/identity/models/group.rb +2 -1
  2038. data/lib/oci/identity/models/identity_provider.rb +2 -1
  2039. data/lib/oci/identity/models/identity_provider_group_summary.rb +13 -2
  2040. data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
  2041. data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
  2042. data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
  2043. data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
  2044. data/lib/oci/identity/models/move_compartment_details.rb +2 -1
  2045. data/lib/oci/identity/models/network_policy.rb +156 -0
  2046. data/lib/oci/identity/models/network_sources.rb +337 -0
  2047. data/lib/oci/identity/models/network_sources_summary.rb +283 -0
  2048. data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
  2049. data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
  2050. data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
  2051. data/lib/oci/identity/models/password_policy.rb +2 -1
  2052. data/lib/oci/identity/models/policy.rb +2 -1
  2053. data/lib/oci/identity/models/region.rb +8 -19
  2054. data/lib/oci/identity/models/region_subscription.rb +8 -19
  2055. data/lib/oci/identity/models/saml2_identity_provider.rb +14 -2
  2056. data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
  2057. data/lib/oci/identity/models/smtp_credential.rb +2 -1
  2058. data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
  2059. data/lib/oci/identity/models/swift_password.rb +2 -1
  2060. data/lib/oci/identity/models/tag.rb +6 -8
  2061. data/lib/oci/identity/models/tag_default.rb +2 -1
  2062. data/lib/oci/identity/models/tag_default_summary.rb +2 -1
  2063. data/lib/oci/identity/models/tag_namespace.rb +2 -1
  2064. data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
  2065. data/lib/oci/identity/models/tag_summary.rb +2 -1
  2066. data/lib/oci/identity/models/tagging_work_request.rb +6 -1
  2067. data/lib/oci/identity/models/tagging_work_request_error_summary.rb +2 -1
  2068. data/lib/oci/identity/models/tagging_work_request_log_summary.rb +2 -1
  2069. data/lib/oci/identity/models/tagging_work_request_summary.rb +6 -1
  2070. data/lib/oci/identity/models/tenancy.rb +19 -11
  2071. data/lib/oci/identity/models/ui_password.rb +2 -1
  2072. data/lib/oci/identity/models/ui_password_information.rb +2 -1
  2073. data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
  2074. data/lib/oci/identity/models/update_authentication_policy_details.rb +19 -6
  2075. data/lib/oci/identity/models/update_compartment_details.rb +2 -1
  2076. data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
  2077. data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
  2078. data/lib/oci/identity/models/update_group_details.rb +2 -1
  2079. data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
  2080. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
  2081. data/lib/oci/identity/models/update_network_source_details.rb +227 -0
  2082. data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
  2083. data/lib/oci/identity/models/update_policy_details.rb +2 -1
  2084. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
  2085. data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
  2086. data/lib/oci/identity/models/update_state_details.rb +2 -1
  2087. data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
  2088. data/lib/oci/identity/models/update_tag_default_details.rb +2 -1
  2089. data/lib/oci/identity/models/update_tag_details.rb +4 -7
  2090. data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
  2091. data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
  2092. data/lib/oci/identity/models/update_user_details.rb +2 -1
  2093. data/lib/oci/identity/models/user.rb +72 -7
  2094. data/lib/oci/identity/models/user_capabilities.rb +21 -5
  2095. data/lib/oci/identity/models/user_group_membership.rb +2 -1
  2096. data/lib/oci/identity/models/work_request.rb +2 -1
  2097. data/lib/oci/identity/models/work_request_error.rb +2 -1
  2098. data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
  2099. data/lib/oci/identity/models/work_request_resource.rb +3 -1
  2100. data/lib/oci/identity/models/work_request_summary.rb +2 -1
  2101. data/lib/oci/identity/util.rb +2 -1
  2102. data/lib/oci/integration/integration.rb +5 -1
  2103. data/lib/oci/integration/integration_instance_client.rb +168 -19
  2104. data/lib/oci/integration/integration_instance_client_composite_operations.rb +100 -1
  2105. data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +2 -1
  2106. data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
  2107. data/lib/oci/integration/models/create_integration_instance_details.rb +93 -5
  2108. data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
  2109. data/lib/oci/integration/models/integration_instance.rb +97 -5
  2110. data/lib/oci/integration/models/integration_instance_summary.rb +97 -5
  2111. data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
  2112. data/lib/oci/integration/models/update_integration_instance_details.rb +65 -5
  2113. data/lib/oci/integration/models/work_request.rb +4 -1
  2114. data/lib/oci/integration/models/work_request_error.rb +2 -1
  2115. data/lib/oci/integration/models/work_request_log_entry.rb +2 -1
  2116. data/lib/oci/integration/models/work_request_resource.rb +4 -1
  2117. data/lib/oci/integration/models/work_request_summary.rb +4 -1
  2118. data/lib/oci/integration/util.rb +2 -1
  2119. data/lib/oci/internal/internal.rb +2 -1
  2120. data/lib/oci/internal/util.rb +2 -1
  2121. data/lib/oci/key_management/key_management.rb +17 -1
  2122. data/lib/oci/key_management/kms_crypto_client.rb +70 -21
  2123. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
  2124. data/lib/oci/key_management/kms_management_client.rb +813 -121
  2125. data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
  2126. data/lib/oci/key_management/kms_vault_client.rb +369 -34
  2127. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
  2128. data/lib/oci/key_management/models/backup_key_details.rb +153 -0
  2129. data/lib/oci/key_management/models/backup_location.rb +183 -0
  2130. data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
  2131. data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
  2132. data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
  2133. data/lib/oci/key_management/models/change_key_compartment_details.rb +3 -2
  2134. data/lib/oci/key_management/models/change_vault_compartment_details.rb +3 -2
  2135. data/lib/oci/key_management/models/create_key_details.rb +45 -11
  2136. data/lib/oci/key_management/models/create_vault_details.rb +10 -7
  2137. data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
  2138. data/lib/oci/key_management/models/decrypted_data.rb +2 -1
  2139. data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
  2140. data/lib/oci/key_management/models/encrypted_data.rb +2 -1
  2141. data/lib/oci/key_management/models/export_key_details.rb +229 -0
  2142. data/lib/oci/key_management/models/exported_key_data.rb +249 -0
  2143. data/lib/oci/key_management/models/generate_key_details.rb +7 -6
  2144. data/lib/oci/key_management/models/generated_key.rb +9 -9
  2145. data/lib/oci/key_management/models/import_key_details.rb +265 -0
  2146. data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
  2147. data/lib/oci/key_management/models/key.rb +72 -16
  2148. data/lib/oci/key_management/models/key_shape.rb +4 -2
  2149. data/lib/oci/key_management/models/key_summary.rb +53 -11
  2150. data/lib/oci/key_management/models/key_version.rb +113 -5
  2151. data/lib/oci/key_management/models/key_version_summary.rb +94 -3
  2152. data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
  2153. data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
  2154. data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
  2155. data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
  2156. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
  2157. data/lib/oci/key_management/models/update_key_details.rb +8 -6
  2158. data/lib/oci/key_management/models/update_vault_details.rb +8 -6
  2159. data/lib/oci/key_management/models/vault.rb +55 -15
  2160. data/lib/oci/key_management/models/vault_summary.rb +19 -10
  2161. data/lib/oci/key_management/models/vault_usage.rb +196 -0
  2162. data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
  2163. data/lib/oci/key_management/models/wrapping_key.rb +258 -0
  2164. data/lib/oci/key_management/util.rb +2 -1
  2165. data/lib/oci/limits/limits.rb +2 -1
  2166. data/lib/oci/limits/limits_client.rb +10 -16
  2167. data/lib/oci/limits/limits_client_composite_operations.rb +2 -1
  2168. data/lib/oci/limits/models/create_quota_details.rb +2 -1
  2169. data/lib/oci/limits/models/limit_definition_summary.rb +2 -1
  2170. data/lib/oci/limits/models/limit_value_summary.rb +2 -1
  2171. data/lib/oci/limits/models/quota.rb +2 -1
  2172. data/lib/oci/limits/models/quota_summary.rb +2 -1
  2173. data/lib/oci/limits/models/resource_availability.rb +2 -1
  2174. data/lib/oci/limits/models/service_summary.rb +2 -1
  2175. data/lib/oci/limits/models/update_quota_details.rb +2 -1
  2176. data/lib/oci/limits/quotas_client.rb +11 -16
  2177. data/lib/oci/limits/quotas_client_composite_operations.rb +2 -1
  2178. data/lib/oci/limits/util.rb +2 -1
  2179. data/lib/oci/load_balancer/load_balancer.rb +13 -1
  2180. data/lib/oci/load_balancer/load_balancer_client.rb +447 -16
  2181. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +212 -1
  2182. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +4 -2
  2183. data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
  2184. data/lib/oci/load_balancer/models/allow_rule.rb +2 -1
  2185. data/lib/oci/load_balancer/models/backend.rb +2 -1
  2186. data/lib/oci/load_balancer/models/backend_details.rb +2 -1
  2187. data/lib/oci/load_balancer/models/backend_health.rb +2 -1
  2188. data/lib/oci/load_balancer/models/backend_set.rb +2 -1
  2189. data/lib/oci/load_balancer/models/backend_set_details.rb +2 -1
  2190. data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
  2191. data/lib/oci/load_balancer/models/certificate.rb +2 -1
  2192. data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
  2193. data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +2 -1
  2194. data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
  2195. data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +2 -1
  2196. data/lib/oci/load_balancer/models/create_backend_details.rb +2 -1
  2197. data/lib/oci/load_balancer/models/create_backend_set_details.rb +2 -1
  2198. data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
  2199. data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
  2200. data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
  2201. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +46 -2
  2202. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
  2203. data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
  2204. data/lib/oci/load_balancer/models/create_ssl_cipher_suite_details.rb +445 -0
  2205. data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
  2206. data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
  2207. data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
  2208. data/lib/oci/load_balancer/models/health_checker.rb +2 -1
  2209. data/lib/oci/load_balancer/models/health_checker_details.rb +2 -1
  2210. data/lib/oci/load_balancer/models/hostname.rb +2 -1
  2211. data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
  2212. data/lib/oci/load_balancer/models/http_header_rule.rb +188 -0
  2213. data/lib/oci/load_balancer/models/ip_address.rb +19 -5
  2214. data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +2 -1
  2215. data/lib/oci/load_balancer/models/listener.rb +2 -1
  2216. data/lib/oci/load_balancer/models/listener_details.rb +2 -1
  2217. data/lib/oci/load_balancer/models/listener_rule_summary.rb +2 -1
  2218. data/lib/oci/load_balancer/models/load_balancer.rb +29 -2
  2219. data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
  2220. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
  2221. data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
  2222. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
  2223. data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
  2224. data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
  2225. data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
  2226. data/lib/oci/load_balancer/models/path_route.rb +2 -1
  2227. data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
  2228. data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
  2229. data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
  2230. data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
  2231. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -3
  2232. data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
  2233. data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → load_balancer/models/reserved_ip.rb} +12 -13
  2234. data/lib/oci/load_balancer/models/rule.rb +6 -1
  2235. data/lib/oci/load_balancer/models/rule_condition.rb +4 -1
  2236. data/lib/oci/load_balancer/models/rule_set.rb +2 -1
  2237. data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
  2238. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -1
  2239. data/lib/oci/load_balancer/models/shape_details.rb +180 -0
  2240. data/lib/oci/load_balancer/models/source_ip_address_condition.rb +2 -1
  2241. data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +2 -1
  2242. data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +2 -1
  2243. data/lib/oci/load_balancer/models/ssl_cipher_suite.rb +445 -0
  2244. data/lib/oci/load_balancer/models/ssl_cipher_suite_details.rb +445 -0
  2245. data/lib/oci/load_balancer/models/ssl_configuration.rb +142 -25
  2246. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +135 -25
  2247. data/lib/oci/load_balancer/models/update_backend_details.rb +2 -1
  2248. data/lib/oci/load_balancer/models/update_backend_set_details.rb +2 -1
  2249. data/lib/oci/load_balancer/models/update_health_checker_details.rb +2 -1
  2250. data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
  2251. data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
  2252. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
  2253. data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +179 -0
  2254. data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +2 -1
  2255. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
  2256. data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
  2257. data/lib/oci/load_balancer/models/update_ssl_cipher_suite_details.rb +259 -0
  2258. data/lib/oci/load_balancer/models/work_request.rb +17 -2
  2259. data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
  2260. data/lib/oci/load_balancer/util.rb +2 -1
  2261. data/lib/oci/log_analytics/log_analytics.rb +290 -0
  2262. data/lib/oci/log_analytics/log_analytics_client.rb +9002 -0
  2263. data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +685 -0
  2264. data/lib/oci/log_analytics/models/abstract_column.rb +386 -0
  2265. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +330 -0
  2266. data/lib/oci/log_analytics/models/abstract_field.rb +354 -0
  2267. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_entry.rb +234 -0
  2268. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_line.rb +168 -0
  2269. data/lib/oci/log_analytics/models/action.rb +187 -0
  2270. data/lib/oci/log_analytics/models/action_types.rb +14 -0
  2271. data/lib/oci/log_analytics/models/add_entity_association_details.rb +156 -0
  2272. data/lib/oci/log_analytics/models/add_fields_command_descriptor.rb +184 -0
  2273. data/lib/oci/log_analytics/models/archiving_configuration.rb +174 -0
  2274. data/lib/oci/log_analytics/models/argument.rb +189 -0
  2275. data/lib/oci/log_analytics/models/association_summary_report.rb +154 -0
  2276. data/lib/oci/log_analytics/models/auto_lookups.rb +168 -0
  2277. data/lib/oci/log_analytics/models/bottom_command_descriptor.rb +180 -0
  2278. data/lib/oci/log_analytics/models/bucket_command_descriptor.rb +223 -0
  2279. data/lib/oci/log_analytics/models/bucket_range.rb +178 -0
  2280. data/lib/oci/log_analytics/models/change_log_analytics_entity_compartment_details.rb +156 -0
  2281. data/lib/oci/log_analytics/models/change_log_analytics_log_group_compartment_details.rb +156 -0
  2282. data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +156 -0
  2283. data/lib/oci/log_analytics/models/change_scheduled_task_compartment_details.rb +155 -0
  2284. data/lib/oci/log_analytics/models/char_encoding_collection.rb +150 -0
  2285. data/lib/oci/log_analytics/models/chart_column.rb +241 -0
  2286. data/lib/oci/log_analytics/models/chart_data_column.rb +219 -0
  2287. data/lib/oci/log_analytics/models/classify_column.rb +294 -0
  2288. data/lib/oci/log_analytics/models/classify_command_descriptor.rb +210 -0
  2289. data/lib/oci/log_analytics/models/cluster_command_descriptor.rb +166 -0
  2290. data/lib/oci/log_analytics/models/cluster_compare_command_descriptor.rb +257 -0
  2291. data/lib/oci/log_analytics/models/cluster_details_command_descriptor.rb +166 -0
  2292. data/lib/oci/log_analytics/models/cluster_split_command_descriptor.rb +166 -0
  2293. data/lib/oci/log_analytics/models/column.rb +186 -0
  2294. data/lib/oci/log_analytics/models/column_name.rb +150 -0
  2295. data/lib/oci/log_analytics/models/column_name_collection.rb +150 -0
  2296. data/lib/oci/log_analytics/models/command_descriptor.rb +166 -0
  2297. data/lib/oci/log_analytics/models/create_acceleration_task_details.rb +181 -0
  2298. data/lib/oci/log_analytics/models/create_log_analytics_entity_details.rb +298 -0
  2299. data/lib/oci/log_analytics/models/create_log_analytics_entity_type_details.rb +172 -0
  2300. data/lib/oci/log_analytics/models/create_log_analytics_log_group_details.rb +216 -0
  2301. data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +380 -0
  2302. data/lib/oci/log_analytics/models/create_scheduled_task_details.rb +245 -0
  2303. data/lib/oci/log_analytics/models/create_standard_task_details.rb +216 -0
  2304. data/lib/oci/log_analytics/models/cron_schedule.rb +178 -0
  2305. data/lib/oci/log_analytics/models/delete_command_descriptor.rb +184 -0
  2306. data/lib/oci/log_analytics/models/delete_log_analytics_association.rb +234 -0
  2307. data/lib/oci/log_analytics/models/delete_log_analytics_association_details.rb +164 -0
  2308. data/lib/oci/log_analytics/models/delta_command_descriptor.rb +180 -0
  2309. data/lib/oci/log_analytics/models/demo_mode_command_descriptor.rb +166 -0
  2310. data/lib/oci/log_analytics/models/distinct_command_descriptor.rb +166 -0
  2311. data/lib/oci/log_analytics/models/efd_regex_result.rb +263 -0
  2312. data/lib/oci/log_analytics/models/entity_cloud_type.rb +11 -0
  2313. data/lib/oci/log_analytics/models/entity_lifecycle_states.rb +11 -0
  2314. data/lib/oci/log_analytics/models/entity_type_property.rb +163 -0
  2315. data/lib/oci/log_analytics/models/error_details.rb +160 -0
  2316. data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +226 -0
  2317. data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +155 -0
  2318. data/lib/oci/log_analytics/models/eval_command_descriptor.rb +166 -0
  2319. data/lib/oci/log_analytics/models/event_stats_command_descriptor.rb +195 -0
  2320. data/lib/oci/log_analytics/models/export_content.rb +182 -0
  2321. data/lib/oci/log_analytics/models/export_details.rb +358 -0
  2322. data/lib/oci/log_analytics/models/extended_fields_validation_result.rb +150 -0
  2323. data/lib/oci/log_analytics/models/extract_command_descriptor.rb +166 -0
  2324. data/lib/oci/log_analytics/models/extract_log_field_results.rb +150 -0
  2325. data/lib/oci/log_analytics/models/extract_log_header_details.rb +168 -0
  2326. data/lib/oci/log_analytics/models/extract_log_header_results.rb +168 -0
  2327. data/lib/oci/log_analytics/models/field.rb +182 -0
  2328. data/lib/oci/log_analytics/models/field_argument.rb +158 -0
  2329. data/lib/oci/log_analytics/models/field_summary_command_descriptor.rb +186 -0
  2330. data/lib/oci/log_analytics/models/field_summary_report.rb +182 -0
  2331. data/lib/oci/log_analytics/models/field_value.rb +186 -0
  2332. data/lib/oci/log_analytics/models/fields_add_remove_field.rb +216 -0
  2333. data/lib/oci/log_analytics/models/fields_command_descriptor.rb +166 -0
  2334. data/lib/oci/log_analytics/models/file_validation_response.rb +178 -0
  2335. data/lib/oci/log_analytics/models/filter.rb +207 -0
  2336. data/lib/oci/log_analytics/models/filter_details.rb +193 -0
  2337. data/lib/oci/log_analytics/models/filter_output.rb +186 -0
  2338. data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +189 -0
  2339. data/lib/oci/log_analytics/models/function_field.rb +207 -0
  2340. data/lib/oci/log_analytics/models/head_command_descriptor.rb +180 -0
  2341. data/lib/oci/log_analytics/models/highlight_command_descriptor.rb +202 -0
  2342. data/lib/oci/log_analytics/models/highlight_rows_command_descriptor.rb +180 -0
  2343. data/lib/oci/log_analytics/models/indexes.rb +168 -0
  2344. data/lib/oci/log_analytics/models/job_mode.rb +11 -0
  2345. data/lib/oci/log_analytics/models/job_mode_filter.rb +12 -0
  2346. data/lib/oci/log_analytics/models/label_names.rb +154 -0
  2347. data/lib/oci/log_analytics/models/label_priority.rb +174 -0
  2348. data/lib/oci/log_analytics/models/label_priority_collection.rb +150 -0
  2349. data/lib/oci/log_analytics/models/label_source_collection.rb +151 -0
  2350. data/lib/oci/log_analytics/models/label_source_summary.rb +238 -0
  2351. data/lib/oci/log_analytics/models/label_summary_report.rb +168 -0
  2352. data/lib/oci/log_analytics/models/lifecycle_states.rb +11 -0
  2353. data/lib/oci/log_analytics/models/link_command_descriptor.rb +214 -0
  2354. data/lib/oci/log_analytics/models/link_details_command_descriptor.rb +166 -0
  2355. data/lib/oci/log_analytics/models/literal_argument.rb +175 -0
  2356. data/lib/oci/log_analytics/models/log_analytics_associated_entity.rb +224 -0
  2357. data/lib/oci/log_analytics/models/log_analytics_associated_entity_collection.rb +150 -0
  2358. data/lib/oci/log_analytics/models/log_analytics_association.rb +398 -0
  2359. data/lib/oci/log_analytics/models/log_analytics_association_collection.rb +150 -0
  2360. data/lib/oci/log_analytics/models/log_analytics_association_parameter.rb +283 -0
  2361. data/lib/oci/log_analytics/models/log_analytics_association_parameter_collection.rb +150 -0
  2362. data/lib/oci/log_analytics/models/log_analytics_config_work_request.rb +299 -0
  2363. data/lib/oci/log_analytics/models/log_analytics_config_work_request_collection.rb +150 -0
  2364. data/lib/oci/log_analytics/models/log_analytics_config_work_request_payload.rb +182 -0
  2365. data/lib/oci/log_analytics/models/log_analytics_config_work_request_summary.rb +275 -0
  2366. data/lib/oci/log_analytics/models/log_analytics_entity.rb +450 -0
  2367. data/lib/oci/log_analytics/models/log_analytics_entity_collection.rb +151 -0
  2368. data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +396 -0
  2369. data/lib/oci/log_analytics/models/log_analytics_entity_summary_report.rb +200 -0
  2370. data/lib/oci/log_analytics/models/log_analytics_entity_type.rb +302 -0
  2371. data/lib/oci/log_analytics/models/log_analytics_entity_type_collection.rb +151 -0
  2372. data/lib/oci/log_analytics/models/log_analytics_entity_type_summary.rb +277 -0
  2373. data/lib/oci/log_analytics/models/log_analytics_extended_field.rb +232 -0
  2374. data/lib/oci/log_analytics/models/log_analytics_field.rb +428 -0
  2375. data/lib/oci/log_analytics/models/log_analytics_field_collection.rb +150 -0
  2376. data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +425 -0
  2377. data/lib/oci/log_analytics/models/log_analytics_import_custom_change_list.rb +266 -0
  2378. data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +209 -0
  2379. data/lib/oci/log_analytics/models/log_analytics_label.rb +337 -0
  2380. data/lib/oci/log_analytics/models/log_analytics_label_alias.rb +239 -0
  2381. data/lib/oci/log_analytics/models/log_analytics_label_collection.rb +151 -0
  2382. data/lib/oci/log_analytics/models/log_analytics_label_definition.rb +196 -0
  2383. data/lib/oci/log_analytics/models/log_analytics_label_operator.rb +164 -0
  2384. data/lib/oci/log_analytics/models/log_analytics_label_operator_collection.rb +150 -0
  2385. data/lib/oci/log_analytics/models/log_analytics_label_summary.rb +337 -0
  2386. data/lib/oci/log_analytics/models/log_analytics_label_view.rb +341 -0
  2387. data/lib/oci/log_analytics/models/log_analytics_log_group.rb +258 -0
  2388. data/lib/oci/log_analytics/models/log_analytics_log_group_summary.rb +258 -0
  2389. data/lib/oci/log_analytics/models/log_analytics_log_group_summary_collection.rb +150 -0
  2390. data/lib/oci/log_analytics/models/log_analytics_lookup.rb +308 -0
  2391. data/lib/oci/log_analytics/models/log_analytics_meta_function.rb +226 -0
  2392. data/lib/oci/log_analytics/models/log_analytics_meta_function_argument.rb +322 -0
  2393. data/lib/oci/log_analytics/models/log_analytics_meta_function_collection.rb +150 -0
  2394. data/lib/oci/log_analytics/models/log_analytics_meta_source_type.rb +244 -0
  2395. data/lib/oci/log_analytics/models/log_analytics_meta_source_type_collection.rb +150 -0
  2396. data/lib/oci/log_analytics/models/log_analytics_metric.rb +466 -0
  2397. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +473 -0
  2398. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_collection.rb +150 -0
  2399. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +343 -0
  2400. data/lib/oci/log_analytics/models/log_analytics_operation_types.rb +11 -0
  2401. data/lib/oci/log_analytics/models/log_analytics_parameter.rb +202 -0
  2402. data/lib/oci/log_analytics/models/log_analytics_parser.rb +540 -0
  2403. data/lib/oci/log_analytics/models/log_analytics_parser_collection.rb +150 -0
  2404. data/lib/oci/log_analytics/models/log_analytics_parser_field.rb +270 -0
  2405. data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +225 -0
  2406. data/lib/oci/log_analytics/models/log_analytics_parser_function.rb +279 -0
  2407. data/lib/oci/log_analytics/models/log_analytics_parser_function_collection.rb +150 -0
  2408. data/lib/oci/log_analytics/models/log_analytics_parser_function_parameter.rb +237 -0
  2409. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin.rb +188 -0
  2410. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_collection.rb +150 -0
  2411. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_parameter.rb +212 -0
  2412. data/lib/oci/log_analytics/models/log_analytics_parser_summary.rb +540 -0
  2413. data/lib/oci/log_analytics/models/log_analytics_pattern_filter.rb +238 -0
  2414. data/lib/oci/log_analytics/models/log_analytics_source.rb +598 -0
  2415. data/lib/oci/log_analytics/models/log_analytics_source_collection.rb +150 -0
  2416. data/lib/oci/log_analytics/models/log_analytics_source_data_filter.rb +348 -0
  2417. data/lib/oci/log_analytics/models/log_analytics_source_entity_type.rb +196 -0
  2418. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition.rb +359 -0
  2419. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition_collection.rb +150 -0
  2420. data/lib/oci/log_analytics/models/log_analytics_source_function.rb +295 -0
  2421. data/lib/oci/log_analytics/models/log_analytics_source_label_condition.rb +388 -0
  2422. data/lib/oci/log_analytics/models/log_analytics_source_metadata_field.rb +206 -0
  2423. data/lib/oci/log_analytics/models/log_analytics_source_metric.rb +196 -0
  2424. data/lib/oci/log_analytics/models/log_analytics_source_pattern.rb +397 -0
  2425. data/lib/oci/log_analytics/models/log_analytics_source_pattern_collection.rb +150 -0
  2426. data/lib/oci/log_analytics/models/log_analytics_source_summary.rb +598 -0
  2427. data/lib/oci/log_analytics/models/log_group_summary_report.rb +150 -0
  2428. data/lib/oci/log_analytics/models/lookup_command_descriptor.rb +166 -0
  2429. data/lib/oci/log_analytics/models/lookup_field.rb +230 -0
  2430. data/lib/oci/log_analytics/models/macro_command_descriptor.rb +166 -0
  2431. data/lib/oci/log_analytics/models/match_info.rb +182 -0
  2432. data/lib/oci/log_analytics/models/multi_search_command_descriptor.rb +184 -0
  2433. data/lib/oci/log_analytics/models/namespace.rb +183 -0
  2434. data/lib/oci/log_analytics/models/namespace_collection.rb +152 -0
  2435. data/lib/oci/log_analytics/models/namespace_summary.rb +180 -0
  2436. data/lib/oci/log_analytics/models/object_collection_rule_collection_types.rb +12 -0
  2437. data/lib/oci/log_analytics/models/operation_status.rb +15 -0
  2438. data/lib/oci/log_analytics/models/parse_query_details.rb +182 -0
  2439. data/lib/oci/log_analytics/models/parse_query_output.rb +208 -0
  2440. data/lib/oci/log_analytics/models/parsed_content.rb +224 -0
  2441. data/lib/oci/log_analytics/models/parsed_field.rb +168 -0
  2442. data/lib/oci/log_analytics/models/parser_summary_report.rb +168 -0
  2443. data/lib/oci/log_analytics/models/parser_test_result.rb +202 -0
  2444. data/lib/oci/log_analytics/models/property_override.rb +201 -0
  2445. data/lib/oci/log_analytics/models/purge_action.rb +246 -0
  2446. data/lib/oci/log_analytics/models/purge_storage_data_details.rb +226 -0
  2447. data/lib/oci/log_analytics/models/query_aggregation.rb +264 -0
  2448. data/lib/oci/log_analytics/models/query_details.rb +401 -0
  2449. data/lib/oci/log_analytics/models/query_operation_type.rb +11 -0
  2450. data/lib/oci/log_analytics/models/query_work_request.rb +440 -0
  2451. data/lib/oci/log_analytics/models/query_work_request_collection.rb +152 -0
  2452. data/lib/oci/log_analytics/models/query_work_request_summary.rb +335 -0
  2453. data/lib/oci/log_analytics/models/recall_archived_data_details.rb +210 -0
  2454. data/lib/oci/log_analytics/models/regex_command_descriptor.rb +166 -0
  2455. data/lib/oci/log_analytics/models/regex_match_result.rb +210 -0
  2456. data/lib/oci/log_analytics/models/release_recalled_data_details.rb +210 -0
  2457. data/lib/oci/log_analytics/models/remove_entity_associations_details.rb +156 -0
  2458. data/lib/oci/log_analytics/models/rename_command_descriptor.rb +166 -0
  2459. data/lib/oci/log_analytics/models/result_column.rb +205 -0
  2460. data/lib/oci/log_analytics/models/schedule.rb +223 -0
  2461. data/lib/oci/log_analytics/models/scheduled_task.rb +398 -0
  2462. data/lib/oci/log_analytics/models/scheduled_task_collection.rb +150 -0
  2463. data/lib/oci/log_analytics/models/scheduled_task_summary.rb +344 -0
  2464. data/lib/oci/log_analytics/models/scheduler_resource.rb +154 -0
  2465. data/lib/oci/log_analytics/models/scope_filter.rb +167 -0
  2466. data/lib/oci/log_analytics/models/search_command_descriptor.rb +184 -0
  2467. data/lib/oci/log_analytics/models/search_lookup_command_descriptor.rb +166 -0
  2468. data/lib/oci/log_analytics/models/sort_command_descriptor.rb +166 -0
  2469. data/lib/oci/log_analytics/models/sort_field.rb +216 -0
  2470. data/lib/oci/log_analytics/models/source_mapping_response.rb +154 -0
  2471. data/lib/oci/log_analytics/models/source_summary_report.rb +182 -0
  2472. data/lib/oci/log_analytics/models/source_validate_details.rb +160 -0
  2473. data/lib/oci/log_analytics/models/source_validate_results.rb +150 -0
  2474. data/lib/oci/log_analytics/models/stats_command_descriptor.rb +195 -0
  2475. data/lib/oci/log_analytics/models/status_summary.rb +202 -0
  2476. data/lib/oci/log_analytics/models/step_info.rb +182 -0
  2477. data/lib/oci/log_analytics/models/storage.rb +170 -0
  2478. data/lib/oci/log_analytics/models/storage_data_type.rb +11 -0
  2479. data/lib/oci/log_analytics/models/storage_operation_type.rb +15 -0
  2480. data/lib/oci/log_analytics/models/storage_usage.rb +182 -0
  2481. data/lib/oci/log_analytics/models/storage_work_request.rb +469 -0
  2482. data/lib/oci/log_analytics/models/storage_work_request_collection.rb +152 -0
  2483. data/lib/oci/log_analytics/models/storage_work_request_summary.rb +466 -0
  2484. data/lib/oci/log_analytics/models/stream_action.rb +162 -0
  2485. data/lib/oci/log_analytics/models/sub_system_name.rb +10 -0
  2486. data/lib/oci/log_analytics/models/success.rb +150 -0
  2487. data/lib/oci/log_analytics/models/suggest_details.rb +214 -0
  2488. data/lib/oci/log_analytics/models/suggest_output.rb +222 -0
  2489. data/lib/oci/log_analytics/models/tail_command_descriptor.rb +180 -0
  2490. data/lib/oci/log_analytics/models/task_type.rb +13 -0
  2491. data/lib/oci/log_analytics/models/test_parser_payload_details.rb +463 -0
  2492. data/lib/oci/log_analytics/models/time_column.rb +211 -0
  2493. data/lib/oci/log_analytics/models/time_compare_command_descriptor.rb +166 -0
  2494. data/lib/oci/log_analytics/models/time_range.rb +188 -0
  2495. data/lib/oci/log_analytics/models/time_stats_command_descriptor.rb +217 -0
  2496. data/lib/oci/log_analytics/models/timezone_collection.rb +150 -0
  2497. data/lib/oci/log_analytics/models/top_command_descriptor.rb +180 -0
  2498. data/lib/oci/log_analytics/models/trend_column.rb +269 -0
  2499. data/lib/oci/log_analytics/models/ui_parser_test_metadata.rb +182 -0
  2500. data/lib/oci/log_analytics/models/update_log_analytics_entity_details.rb +238 -0
  2501. data/lib/oci/log_analytics/models/update_log_analytics_entity_type_details.rb +161 -0
  2502. data/lib/oci/log_analytics/models/update_log_analytics_log_group_details.rb +202 -0
  2503. data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +258 -0
  2504. data/lib/oci/log_analytics/models/update_scheduled_task_details.rb +202 -0
  2505. data/lib/oci/log_analytics/models/update_storage_details.rb +154 -0
  2506. data/lib/oci/log_analytics/models/upload.rb +231 -0
  2507. data/lib/oci/log_analytics/models/upload_collection.rb +150 -0
  2508. data/lib/oci/log_analytics/models/upload_file_collection.rb +150 -0
  2509. data/lib/oci/log_analytics/models/upload_file_status.rb +168 -0
  2510. data/lib/oci/log_analytics/models/upload_file_summary.rb +359 -0
  2511. data/lib/oci/log_analytics/models/upload_summary.rb +230 -0
  2512. data/lib/oci/log_analytics/models/upload_warning_collection.rb +150 -0
  2513. data/lib/oci/log_analytics/models/upload_warning_summary.rb +188 -0
  2514. data/lib/oci/log_analytics/models/upsert_log_analytics_association.rb +248 -0
  2515. data/lib/oci/log_analytics/models/upsert_log_analytics_association_details.rb +164 -0
  2516. data/lib/oci/log_analytics/models/upsert_log_analytics_field_details.rb +202 -0
  2517. data/lib/oci/log_analytics/models/upsert_log_analytics_label_details.rb +296 -0
  2518. data/lib/oci/log_analytics/models/upsert_log_analytics_parser_details.rb +440 -0
  2519. data/lib/oci/log_analytics/models/upsert_log_analytics_source_details.rb +500 -0
  2520. data/lib/oci/log_analytics/models/usage_status_item.rb +196 -0
  2521. data/lib/oci/log_analytics/models/value_type.rb +17 -0
  2522. data/lib/oci/log_analytics/models/verify_output.rb +216 -0
  2523. data/lib/oci/log_analytics/models/violation.rb +226 -0
  2524. data/lib/oci/log_analytics/models/where_command_descriptor.rb +166 -0
  2525. data/lib/oci/log_analytics/models/work_request.rb +306 -0
  2526. data/lib/oci/log_analytics/models/work_request_collection.rb +152 -0
  2527. data/lib/oci/log_analytics/models/work_request_error.rb +173 -0
  2528. data/lib/oci/log_analytics/models/work_request_error_collection.rb +152 -0
  2529. data/lib/oci/log_analytics/models/work_request_log.rb +160 -0
  2530. data/lib/oci/log_analytics/models/work_request_log_collection.rb +152 -0
  2531. data/lib/oci/log_analytics/models/work_request_resource.rb +219 -0
  2532. data/lib/oci/log_analytics/models/work_request_status.rb +14 -0
  2533. data/lib/oci/log_analytics/models/work_request_summary.rb +258 -0
  2534. data/lib/oci/log_analytics/util.rb +3 -0
  2535. data/lib/oci/logging/logging.rb +90 -0
  2536. data/lib/oci/logging/logging_management_client.rb +2312 -0
  2537. data/lib/oci/logging/logging_management_client_composite_operations.rb +794 -0
  2538. data/lib/oci/logging/models/action_types.rb +14 -0
  2539. data/lib/oci/logging/models/archiving.rb +156 -0
  2540. data/lib/oci/logging/models/category.rb +174 -0
  2541. data/lib/oci/logging/models/change_log_group_compartment_details.rb +154 -0
  2542. data/lib/oci/logging/models/change_log_log_group_details.rb +154 -0
  2543. data/lib/oci/logging/models/change_log_saved_search_compartment_details.rb +155 -0
  2544. data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +154 -0
  2545. data/lib/oci/logging/models/configuration.rb +174 -0
  2546. data/lib/oci/logging/models/create_log_details.rb +259 -0
  2547. data/lib/oci/logging/models/create_log_group_details.rb +215 -0
  2548. data/lib/oci/logging/models/create_log_saved_search_details.rb +223 -0
  2549. data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +258 -0
  2550. data/lib/oci/logging/models/grok_pattern.rb +202 -0
  2551. data/lib/oci/logging/models/group_association_details.rb +154 -0
  2552. data/lib/oci/logging/models/log.rb +383 -0
  2553. data/lib/oci/logging/models/log_group.rb +291 -0
  2554. data/lib/oci/logging/models/log_group_lifecycle_state.rb +15 -0
  2555. data/lib/oci/logging/models/log_group_summary.rb +291 -0
  2556. data/lib/oci/logging/models/log_included_search.rb +251 -0
  2557. data/lib/oci/logging/models/log_included_search_summary.rb +195 -0
  2558. data/lib/oci/logging/models/log_included_search_summary_collection.rb +150 -0
  2559. data/lib/oci/logging/models/log_lifecycle_state.rb +15 -0
  2560. data/lib/oci/logging/models/log_saved_search.rb +300 -0
  2561. data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +15 -0
  2562. data/lib/oci/logging/models/log_saved_search_summary.rb +300 -0
  2563. data/lib/oci/logging/models/log_saved_search_summary_collection.rb +151 -0
  2564. data/lib/oci/logging/models/log_summary.rb +369 -0
  2565. data/lib/oci/logging/models/oci_service.rb +188 -0
  2566. data/lib/oci/logging/models/operation_status.rb +15 -0
  2567. data/lib/oci/logging/models/operation_types.rb +21 -0
  2568. data/lib/oci/logging/models/parameter.rb +191 -0
  2569. data/lib/oci/logging/models/resource_type.rb +160 -0
  2570. data/lib/oci/logging/models/service_summary.rb +222 -0
  2571. data/lib/oci/logging/models/source.rb +191 -0
  2572. data/lib/oci/logging/models/source_update_details.rb +150 -0
  2573. data/lib/oci/logging/models/unified_agent_apache2_parser.rb +173 -0
  2574. data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +173 -0
  2575. data/lib/oci/logging/models/unified_agent_auditd_parser.rb +173 -0
  2576. data/lib/oci/logging/models/unified_agent_configuration.rb +368 -0
  2577. data/lib/oci/logging/models/unified_agent_configuration_collection.rb +150 -0
  2578. data/lib/oci/logging/models/unified_agent_configuration_summary.rb +372 -0
  2579. data/lib/oci/logging/models/unified_agent_csv_parser.rb +194 -0
  2580. data/lib/oci/logging/models/unified_agent_grok_parser.rb +211 -0
  2581. data/lib/oci/logging/models/unified_agent_logging_configuration.rb +166 -0
  2582. data/lib/oci/logging/models/unified_agent_logging_destination.rb +154 -0
  2583. data/lib/oci/logging/models/unified_agent_logging_source.rb +201 -0
  2584. data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +173 -0
  2585. data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +224 -0
  2586. data/lib/oci/logging/models/unified_agent_multiline_parser.rb +198 -0
  2587. data/lib/oci/logging/models/unified_agent_none_parser.rb +189 -0
  2588. data/lib/oci/logging/models/unified_agent_parser.rb +313 -0
  2589. data/lib/oci/logging/models/unified_agent_regex_parser.rb +198 -0
  2590. data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +189 -0
  2591. data/lib/oci/logging/models/unified_agent_service_configuration_states.rb +11 -0
  2592. data/lib/oci/logging/models/unified_agent_service_configuration_types.rb +10 -0
  2593. data/lib/oci/logging/models/unified_agent_syslog_parser.rb +294 -0
  2594. data/lib/oci/logging/models/unified_agent_tail_log_source.rb +170 -0
  2595. data/lib/oci/logging/models/unified_agent_tsv_parser.rb +194 -0
  2596. data/lib/oci/logging/models/unified_agent_windows_event_source.rb +161 -0
  2597. data/lib/oci/logging/models/unified_json_parser.rb +223 -0
  2598. data/lib/oci/logging/models/update_configuration_details.rb +159 -0
  2599. data/lib/oci/logging/models/update_log_details.rb +230 -0
  2600. data/lib/oci/logging/models/update_log_group_details.rb +201 -0
  2601. data/lib/oci/logging/models/update_log_saved_search_details.rb +209 -0
  2602. data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +244 -0
  2603. data/lib/oci/logging/models/work_request.rb +307 -0
  2604. data/lib/oci/logging/models/work_request_error.rb +173 -0
  2605. data/lib/oci/logging/models/work_request_log.rb +160 -0
  2606. data/lib/oci/logging/models/work_request_resource.rb +219 -0
  2607. data/lib/oci/logging/models/work_request_summary.rb +307 -0
  2608. data/lib/oci/logging/util.rb +3 -0
  2609. data/lib/oci/loggingingestion/logging_client.rb +170 -0
  2610. data/lib/oci/loggingingestion/logging_client_composite_operations.rb +25 -0
  2611. data/lib/oci/loggingingestion/loggingingestion.rb +22 -0
  2612. data/lib/oci/loggingingestion/models/log_entry.rb +177 -0
  2613. data/lib/oci/loggingingestion/models/log_entry_batch.rb +201 -0
  2614. data/lib/oci/loggingingestion/models/put_logs_details.rb +167 -0
  2615. data/lib/oci/loggingingestion/util.rb +3 -0
  2616. data/lib/oci/loggingsearch/log_search_client.rb +170 -0
  2617. data/lib/oci/loggingsearch/log_search_client_composite_operations.rb +25 -0
  2618. data/lib/oci/loggingsearch/loggingsearch.rb +24 -0
  2619. data/lib/oci/loggingsearch/models/field_info.rb +195 -0
  2620. data/lib/oci/loggingsearch/models/search_logs_details.rb +202 -0
  2621. data/lib/oci/loggingsearch/models/search_response.rb +170 -0
  2622. data/lib/oci/loggingsearch/models/search_result.rb +150 -0
  2623. data/lib/oci/loggingsearch/models/search_result_summary.rb +168 -0
  2624. data/lib/oci/loggingsearch/util.rb +3 -0
  2625. data/lib/oci/management_agent/management_agent.rb +50 -0
  2626. data/lib/oci/management_agent/management_agent_client.rb +1483 -0
  2627. data/lib/oci/management_agent/management_agent_client_composite_operations.rb +273 -0
  2628. data/lib/oci/management_agent/models/action_types.rb +14 -0
  2629. data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
  2630. data/lib/oci/management_agent/models/availability_status.rb +12 -0
  2631. data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +196 -0
  2632. data/lib/oci/management_agent/models/datatypes.rb +14 -0
  2633. data/lib/oci/management_agent/models/deploy_plugins_details.rb +182 -0
  2634. data/lib/oci/management_agent/models/edit_modes.rb +12 -0
  2635. data/lib/oci/management_agent/models/lifecycle_states.rb +17 -0
  2636. data/lib/oci/management_agent/models/management_agent.rb +477 -0
  2637. data/lib/oci/management_agent/models/management_agent_error.rb +160 -0
  2638. data/lib/oci/management_agent/models/management_agent_image.rb +268 -0
  2639. data/lib/oci/management_agent/models/management_agent_image_summary.rb +281 -0
  2640. data/lib/oci/management_agent/models/management_agent_install_key.rb +326 -0
  2641. data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +302 -0
  2642. data/lib/oci/management_agent/models/management_agent_plugin.rb +257 -0
  2643. data/lib/oci/management_agent/models/management_agent_plugin_details.rb +196 -0
  2644. data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +264 -0
  2645. data/lib/oci/management_agent/models/management_agent_summary.rb +449 -0
  2646. data/lib/oci/management_agent/models/operation_status.rb +16 -0
  2647. data/lib/oci/management_agent/models/operation_types.rb +12 -0
  2648. data/lib/oci/management_agent/models/platform_types.rb +11 -0
  2649. data/lib/oci/management_agent/models/update_management_agent_details.rb +200 -0
  2650. data/lib/oci/management_agent/models/update_management_agent_install_key_details.rb +168 -0
  2651. data/lib/oci/management_agent/models/work_delivery_status.rb +15 -0
  2652. data/lib/oci/management_agent/models/work_request.rb +308 -0
  2653. data/lib/oci/management_agent/models/work_request_error.rb +173 -0
  2654. data/lib/oci/management_agent/models/work_request_log_entry.rb +160 -0
  2655. data/lib/oci/management_agent/models/work_request_resource.rb +281 -0
  2656. data/lib/oci/management_agent/models/work_request_summary.rb +308 -0
  2657. data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
  2658. data/lib/oci/management_agent/util.rb +3 -0
  2659. data/lib/oci/management_dashboard/dashx_apis_client.rb +1038 -0
  2660. data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +25 -0
  2661. data/lib/oci/management_dashboard/management_dashboard.rb +39 -0
  2662. data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +154 -0
  2663. data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +154 -0
  2664. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +408 -0
  2665. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +395 -0
  2666. data/lib/oci/management_dashboard/models/lifecycle_states.rb +10 -0
  2667. data/lib/oci/management_dashboard/models/management_dashboard.rb +478 -0
  2668. data/lib/oci/management_dashboard/models/management_dashboard_collection.rb +150 -0
  2669. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +182 -0
  2670. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +422 -0
  2671. data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +182 -0
  2672. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +375 -0
  2673. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +293 -0
  2674. data/lib/oci/management_dashboard/models/management_saved_search.rb +458 -0
  2675. data/lib/oci/management_dashboard/models/management_saved_search_collection.rb +150 -0
  2676. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +402 -0
  2677. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +462 -0
  2678. data/lib/oci/management_dashboard/models/saved_search_types.rb +13 -0
  2679. data/lib/oci/management_dashboard/models/sort_orders.rb +11 -0
  2680. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +394 -0
  2681. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +385 -0
  2682. data/lib/oci/management_dashboard/util.rb +3 -0
  2683. data/lib/oci/marketplace/marketplace.rb +56 -0
  2684. data/lib/oci/marketplace/marketplace_client.rb +1258 -0
  2685. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
  2686. data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
  2687. data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
  2688. data/lib/oci/marketplace/models/agreement.rb +230 -0
  2689. data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
  2690. data/lib/oci/marketplace/models/category_summary.rb +150 -0
  2691. data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
  2692. data/lib/oci/marketplace/models/documentation_link.rb +174 -0
  2693. data/lib/oci/{streaming/models/archiver_error.rb → marketplace/models/error_entity.rb} +6 -5
  2694. data/lib/oci/marketplace/models/image_listing_package.rb +226 -0
  2695. data/lib/oci/marketplace/models/item.rb +160 -0
  2696. data/lib/oci/marketplace/models/link.rb +183 -0
  2697. data/lib/oci/marketplace/models/link_enum.rb +14 -0
  2698. data/lib/oci/marketplace/models/listing.rb +480 -0
  2699. data/lib/oci/marketplace/models/listing_package.rb +266 -0
  2700. data/lib/oci/marketplace/models/listing_package_summary.rb +245 -0
  2701. data/lib/oci/marketplace/models/listing_summary.rb +312 -0
  2702. data/lib/oci/marketplace/models/named_link.rb +160 -0
  2703. data/lib/oci/marketplace/models/orchestration_listing_package.rb +207 -0
  2704. data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
  2705. data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
  2706. data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
  2707. data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
  2708. data/lib/oci/marketplace/models/pricing_model.rb +244 -0
  2709. data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
  2710. data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
  2711. data/lib/oci/marketplace/models/publisher.rb +259 -0
  2712. data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
  2713. data/lib/oci/marketplace/models/region.rb +170 -0
  2714. data/lib/oci/marketplace/models/report_collection.rb +150 -0
  2715. data/lib/oci/marketplace/models/report_summary.rb +184 -0
  2716. data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
  2717. data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
  2718. data/lib/oci/marketplace/models/screenshot.rb +202 -0
  2719. data/lib/oci/marketplace/models/support_contact.rb +180 -0
  2720. data/lib/oci/marketplace/models/tax_summary.rb +180 -0
  2721. data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
  2722. data/lib/oci/marketplace/models/upload_data.rb +192 -0
  2723. data/lib/oci/marketplace/util.rb +3 -0
  2724. data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
  2725. data/lib/oci/monitoring/models/alarm.rb +2 -1
  2726. data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
  2727. data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
  2728. data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
  2729. data/lib/oci/monitoring/models/alarm_summary.rb +2 -1
  2730. data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +2 -1
  2731. data/lib/oci/monitoring/models/create_alarm_details.rb +2 -1
  2732. data/lib/oci/monitoring/models/datapoint.rb +2 -1
  2733. data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
  2734. data/lib/oci/monitoring/models/list_metrics_details.rb +2 -1
  2735. data/lib/oci/monitoring/models/metric.rb +2 -1
  2736. data/lib/oci/monitoring/models/metric_data.rb +2 -1
  2737. data/lib/oci/monitoring/models/metric_data_details.rb +2 -1
  2738. data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
  2739. data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
  2740. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -1
  2741. data/lib/oci/monitoring/models/suppression.rb +2 -1
  2742. data/lib/oci/monitoring/models/update_alarm_details.rb +2 -1
  2743. data/lib/oci/monitoring/monitoring.rb +2 -1
  2744. data/lib/oci/monitoring/monitoring_client.rb +18 -16
  2745. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
  2746. data/lib/oci/monitoring/util.rb +2 -1
  2747. data/lib/oci/mysql/channels_client.rb +625 -0
  2748. data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
  2749. data/lib/oci/mysql/db_backups_client.rb +464 -0
  2750. data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
  2751. data/lib/oci/mysql/db_system_client.rb +1313 -0
  2752. data/lib/oci/mysql/db_system_client_composite_operations.rb +667 -0
  2753. data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
  2754. data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
  2755. data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
  2756. data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
  2757. data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
  2758. data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
  2759. data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
  2760. data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
  2761. data/lib/oci/mysql/models/backup.rb +473 -0
  2762. data/lib/oci/mysql/models/backup_policy.rb +235 -0
  2763. data/lib/oci/mysql/models/backup_summary.rb +353 -0
  2764. data/lib/oci/mysql/models/ca_certificate.rb +189 -0
  2765. data/lib/oci/mysql/models/channel.rb +340 -0
  2766. data/lib/oci/mysql/models/channel_source.rb +189 -0
  2767. data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
  2768. data/lib/oci/mysql/models/channel_summary.rb +304 -0
  2769. data/lib/oci/mysql/models/channel_target.rb +189 -0
  2770. data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
  2771. data/lib/oci/mysql/models/configuration.rb +353 -0
  2772. data/lib/oci/mysql/models/configuration_summary.rb +287 -0
  2773. data/lib/oci/mysql/models/configuration_variables.rb +928 -0
  2774. data/lib/oci/mysql/models/create_backup_details.rb +253 -0
  2775. data/lib/oci/mysql/models/create_backup_policy_details.rb +229 -0
  2776. data/lib/oci/mysql/models/create_channel_details.rb +248 -0
  2777. data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
  2778. data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
  2779. data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
  2780. data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
  2781. data/lib/oci/mysql/models/create_configuration_details.rb +249 -0
  2782. data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
  2783. data/lib/oci/mysql/models/create_db_system_source_details.rb +190 -0
  2784. data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
  2785. data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
  2786. data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
  2787. data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
  2788. data/lib/oci/mysql/models/db_system.rb +555 -0
  2789. data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
  2790. data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
  2791. data/lib/oci/mysql/models/db_system_source.rb +197 -0
  2792. data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
  2793. data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
  2794. data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
  2795. data/lib/oci/mysql/models/db_system_summary.rb +349 -0
  2796. data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
  2797. data/lib/oci/mysql/models/maintenance_details.rb +162 -0
  2798. data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
  2799. data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
  2800. data/lib/oci/mysql/models/shape_summary.rb +224 -0
  2801. data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
  2802. data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
  2803. data/lib/oci/mysql/models/update_backup_details.rb +212 -0
  2804. data/lib/oci/mysql/models/update_backup_policy_details.rb +229 -0
  2805. data/lib/oci/mysql/models/update_channel_details.rb +234 -0
  2806. data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
  2807. data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
  2808. data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
  2809. data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
  2810. data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
  2811. data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
  2812. data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
  2813. data/lib/oci/mysql/models/version.rb +161 -0
  2814. data/lib/oci/mysql/models/version_summary.rb +165 -0
  2815. data/lib/oci/mysql/models/work_request.rb +320 -0
  2816. data/lib/oci/mysql/models/work_request_error.rb +174 -0
  2817. data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
  2818. data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
  2819. data/lib/oci/mysql/models/work_request_operation_type.rb +22 -0
  2820. data/lib/oci/mysql/models/work_request_resource.rb +219 -0
  2821. data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
  2822. data/lib/oci/mysql/models/work_request_summary.rb +310 -0
  2823. data/lib/oci/mysql/mysql.rb +97 -0
  2824. data/lib/oci/mysql/mysqlaas_client.rb +619 -0
  2825. data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
  2826. data/lib/oci/mysql/util.rb +3 -0
  2827. data/lib/oci/mysql/work_requests_client.rb +384 -0
  2828. data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
  2829. data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
  2830. data/lib/oci/nosql/models/column.rb +188 -0
  2831. data/lib/oci/nosql/models/create_index_details.rb +196 -0
  2832. data/lib/oci/nosql/models/create_table_details.rb +240 -0
  2833. data/lib/oci/nosql/models/delete_row_result.rb +194 -0
  2834. data/lib/oci/nosql/models/index.rb +255 -0
  2835. data/lib/oci/nosql/models/index_collection.rb +150 -0
  2836. data/lib/oci/nosql/models/index_key.rb +187 -0
  2837. data/lib/oci/nosql/models/index_summary.rb +189 -0
  2838. data/lib/oci/nosql/models/prepared_statement.rb +161 -0
  2839. data/lib/oci/nosql/models/query_details.rb +246 -0
  2840. data/lib/oci/nosql/models/query_result_collection.rb +159 -0
  2841. data/lib/oci/nosql/models/request_usage.rb +168 -0
  2842. data/lib/oci/nosql/models/row.rb +176 -0
  2843. data/lib/oci/nosql/models/schema.rb +188 -0
  2844. data/lib/oci/nosql/models/statement_summary.rb +248 -0
  2845. data/lib/oci/nosql/models/table.rb +380 -0
  2846. data/lib/oci/nosql/models/table_collection.rb +178 -0
  2847. data/lib/oci/nosql/models/table_limits.rb +182 -0
  2848. data/lib/oci/nosql/models/table_summary.rb +332 -0
  2849. data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
  2850. data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
  2851. data/lib/oci/nosql/models/update_row_details.rb +285 -0
  2852. data/lib/oci/nosql/models/update_row_result.rb +208 -0
  2853. data/lib/oci/nosql/models/update_table_details.rb +220 -0
  2854. data/lib/oci/nosql/models/work_request.rb +306 -0
  2855. data/lib/oci/nosql/models/work_request_collection.rb +150 -0
  2856. data/lib/oci/nosql/models/work_request_error.rb +174 -0
  2857. data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
  2858. data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
  2859. data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
  2860. data/lib/oci/nosql/models/work_request_resource.rb +220 -0
  2861. data/lib/oci/nosql/models/work_request_summary.rb +306 -0
  2862. data/lib/oci/nosql/nosql.rb +53 -0
  2863. data/lib/oci/nosql/nosql_client.rb +1571 -0
  2864. data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
  2865. data/lib/oci/nosql/util.rb +3 -0
  2866. data/lib/oci/object_storage/models/bucket.rb +88 -10
  2867. data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
  2868. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
  2869. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
  2870. data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
  2871. data/lib/oci/object_storage/models/create_bucket_details.rb +37 -9
  2872. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
  2873. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
  2874. data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
  2875. data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
  2876. data/lib/oci/object_storage/models/duration.rb +193 -0
  2877. data/lib/oci/object_storage/models/list_objects.rb +3 -2
  2878. data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
  2879. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
  2880. data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
  2881. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
  2882. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +27 -8
  2883. data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
  2884. data/lib/oci/object_storage/models/object_summary.rb +31 -6
  2885. data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
  2886. data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
  2887. data/lib/oci/object_storage/models/pattern_details.rb +2 -1
  2888. data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
  2889. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
  2890. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
  2891. data/lib/oci/object_storage/models/reencrypt_object_details.rb +195 -0
  2892. data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
  2893. data/lib/oci/object_storage/models/replication_policy.rb +263 -0
  2894. data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
  2895. data/lib/oci/object_storage/models/replication_source.rb +182 -0
  2896. data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
  2897. data/lib/oci/object_storage/models/retention_rule.rb +227 -0
  2898. data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
  2899. data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
  2900. data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
  2901. data/lib/oci/object_storage/models/sse_customer_key_details.rb +191 -0
  2902. data/lib/oci/object_storage/models/update_bucket_details.rb +41 -12
  2903. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +2 -1
  2904. data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
  2905. data/lib/oci/object_storage/models/work_request.rb +7 -6
  2906. data/lib/oci/object_storage/models/work_request_error.rb +2 -1
  2907. data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
  2908. data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
  2909. data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
  2910. data/lib/oci/object_storage/models/work_request_summary.rb +7 -6
  2911. data/lib/oci/object_storage/object_storage.rb +17 -1
  2912. data/lib/oci/object_storage/object_storage_client.rb +1201 -142
  2913. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +2 -1
  2914. data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
  2915. data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
  2916. data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
  2917. data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
  2918. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
  2919. data/lib/oci/object_storage/transfer/transfer.rb +2 -1
  2920. data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
  2921. data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
  2922. data/lib/oci/object_storage/util.rb +2 -1
  2923. data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +2 -1
  2924. data/lib/oci/oce/models/create_oce_instance_details.rb +127 -2
  2925. data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
  2926. data/lib/oci/oce/models/license_type.rb +11 -0
  2927. data/lib/oci/oce/models/oce_instance.rb +164 -2
  2928. data/lib/oci/oce/models/oce_instance_summary.rb +132 -2
  2929. data/lib/oci/oce/models/update_oce_instance_details.rb +44 -2
  2930. data/lib/oci/oce/models/work_request.rb +2 -1
  2931. data/lib/oci/oce/models/work_request_error.rb +2 -1
  2932. data/lib/oci/oce/models/work_request_log_entry.rb +2 -1
  2933. data/lib/oci/oce/models/work_request_resource.rb +3 -1
  2934. data/lib/oci/oce/models/workflow_monitor.rb +2 -1
  2935. data/lib/oci/oce/models/workflow_step.rb +2 -1
  2936. data/lib/oci/oce/oce.rb +4 -2
  2937. data/lib/oci/oce/oce_instance_client.rb +18 -20
  2938. data/lib/oci/oce/oce_instance_client_composite_operations.rb +4 -4
  2939. data/lib/oci/oce/util.rb +2 -1
  2940. data/lib/oci/ocvp/esxi_host_client.rb +482 -0
  2941. data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +165 -0
  2942. data/lib/oci/ocvp/models/action_types.rb +14 -0
  2943. data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +156 -0
  2944. data/lib/oci/ocvp/models/create_esxi_host_details.rb +215 -0
  2945. data/lib/oci/ocvp/models/create_sddc_details.rb +475 -0
  2946. data/lib/oci/ocvp/models/esxi_host.rb +332 -0
  2947. data/lib/oci/ocvp/models/esxi_host_collection.rb +150 -0
  2948. data/lib/oci/ocvp/models/esxi_host_summary.rb +324 -0
  2949. data/lib/oci/ocvp/models/lifecycle_states.rb +15 -0
  2950. data/lib/oci/ocvp/models/operation_status.rb +15 -0
  2951. data/lib/oci/ocvp/models/operation_types.rb +13 -0
  2952. data/lib/oci/ocvp/models/sddc.rb +883 -0
  2953. data/lib/oci/ocvp/models/sddc_collection.rb +150 -0
  2954. data/lib/oci/ocvp/models/sddc_summary.rb +414 -0
  2955. data/lib/oci/ocvp/models/sort_orders.rb +11 -0
  2956. data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +150 -0
  2957. data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +163 -0
  2958. data/lib/oci/ocvp/models/update_esxi_host_details.rb +194 -0
  2959. data/lib/oci/ocvp/models/update_sddc_details.rb +365 -0
  2960. data/lib/oci/ocvp/models/work_request.rb +309 -0
  2961. data/lib/oci/ocvp/models/work_request_collection.rb +150 -0
  2962. data/lib/oci/ocvp/models/work_request_error.rb +175 -0
  2963. data/lib/oci/ocvp/models/work_request_error_collection.rb +150 -0
  2964. data/lib/oci/ocvp/models/work_request_log_entry.rb +163 -0
  2965. data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +150 -0
  2966. data/lib/oci/ocvp/models/work_request_resource.rb +222 -0
  2967. data/lib/oci/ocvp/ocvp.rb +48 -0
  2968. data/lib/oci/ocvp/sddc_client.rb +617 -0
  2969. data/lib/oci/ocvp/sddc_client_composite_operations.rb +165 -0
  2970. data/lib/oci/ocvp/util.rb +3 -0
  2971. data/lib/oci/ocvp/work_request_client.rb +365 -0
  2972. data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
  2973. data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +2 -1
  2974. data/lib/oci/oda/models/create_oda_instance_details.rb +2 -1
  2975. data/lib/oci/oda/models/error_body.rb +2 -1
  2976. data/lib/oci/oda/models/oda_instance.rb +8 -1
  2977. data/lib/oci/oda/models/oda_instance_summary.rb +8 -1
  2978. data/lib/oci/oda/models/update_oda_instance_details.rb +2 -1
  2979. data/lib/oci/oda/models/work_request.rb +4 -1
  2980. data/lib/oci/oda/models/work_request_error.rb +2 -1
  2981. data/lib/oci/oda/models/work_request_log_entry.rb +2 -1
  2982. data/lib/oci/oda/models/work_request_resource.rb +4 -1
  2983. data/lib/oci/oda/models/work_request_summary.rb +4 -1
  2984. data/lib/oci/oda/oda.rb +2 -1
  2985. data/lib/oci/oda/oda_client.rb +161 -16
  2986. data/lib/oci/oda/oda_client_composite_operations.rb +100 -1
  2987. data/lib/oci/oda/util.rb +2 -1
  2988. data/lib/oci/ons/models/backoff_retry_policy.rb +2 -1
  2989. data/lib/oci/ons/models/change_compartment_details.rb +2 -1
  2990. data/lib/oci/ons/models/confirmation_result.rb +2 -1
  2991. data/lib/oci/ons/models/create_subscription_details.rb +3 -1
  2992. data/lib/oci/ons/models/create_topic_details.rb +2 -1
  2993. data/lib/oci/ons/models/delivery_policy.rb +2 -1
  2994. data/lib/oci/ons/models/message_details.rb +2 -1
  2995. data/lib/oci/ons/models/notification_topic.rb +3 -2
  2996. data/lib/oci/ons/models/notification_topic_summary.rb +3 -2
  2997. data/lib/oci/ons/models/publish_result.rb +2 -1
  2998. data/lib/oci/ons/models/subscription.rb +2 -1
  2999. data/lib/oci/ons/models/subscription_summary.rb +2 -1
  3000. data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
  3001. data/lib/oci/ons/models/update_subscription_details.rb +2 -1
  3002. data/lib/oci/ons/notification_control_plane_client.rb +13 -17
  3003. data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
  3004. data/lib/oci/ons/notification_data_plane_client.rb +26 -18
  3005. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
  3006. data/lib/oci/ons/ons.rb +2 -1
  3007. data/lib/oci/ons/util.rb +2 -1
  3008. data/lib/oci/opsi/models/database_details.rb +210 -0
  3009. data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
  3010. data/lib/oci/opsi/models/database_insights.rb +154 -0
  3011. data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
  3012. data/lib/oci/opsi/models/historical_data_item.rb +165 -0
  3013. data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
  3014. data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
  3015. data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
  3016. data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
  3017. data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
  3018. data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
  3019. data/lib/oci/opsi/models/projected_data_item.rb +195 -0
  3020. data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
  3021. data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
  3022. data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
  3023. data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
  3024. data/lib/oci/opsi/models/resource_statistics.rb +219 -0
  3025. data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
  3026. data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
  3027. data/lib/oci/opsi/models/sort_order.rb +11 -0
  3028. data/lib/oci/opsi/models/sql_bucket.rb +307 -0
  3029. data/lib/oci/opsi/models/sql_insight_aggregation.rb +203 -0
  3030. data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
  3031. data/lib/oci/opsi/models/sql_insight_thresholds.rb +260 -0
  3032. data/lib/oci/opsi/models/sql_inventory.rb +182 -0
  3033. data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
  3034. data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
  3035. data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
  3036. data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
  3037. data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
  3038. data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
  3039. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
  3040. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
  3041. data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
  3042. data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
  3043. data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
  3044. data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
  3045. data/lib/oci/opsi/models/sql_statistics.rb +402 -0
  3046. data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
  3047. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
  3048. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
  3049. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
  3050. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
  3051. data/lib/oci/opsi/models/sql_text.rb +248 -0
  3052. data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
  3053. data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
  3054. data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
  3055. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
  3056. data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
  3057. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
  3058. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
  3059. data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
  3060. data/lib/oci/opsi/models/usage_unit.rb +13 -0
  3061. data/lib/oci/opsi/operations_insights_client.rb +2027 -0
  3062. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
  3063. data/lib/oci/opsi/opsi.rb +72 -0
  3064. data/lib/oci/opsi/util.rb +3 -0
  3065. data/lib/oci/optimizer/models/action.rb +192 -0
  3066. data/lib/oci/optimizer/models/action_type.rb +10 -0
  3067. data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
  3068. data/lib/oci/optimizer/models/category.rb +298 -0
  3069. data/lib/oci/optimizer/models/category_collection.rb +151 -0
  3070. data/lib/oci/optimizer/models/category_summary.rb +298 -0
  3071. data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
  3072. data/lib/oci/{streaming/models/archiver.rb → optimizer/models/enrollment_status.rb} +82 -94
  3073. data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
  3074. data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
  3075. data/lib/oci/optimizer/models/history_collection.rb +151 -0
  3076. data/lib/oci/optimizer/models/history_summary.rb +429 -0
  3077. data/lib/oci/optimizer/models/importance.rb +14 -0
  3078. data/lib/oci/optimizer/models/level_configuration.rb +164 -0
  3079. data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
  3080. data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
  3081. data/lib/oci/optimizer/models/operation_status.rb +15 -0
  3082. data/lib/oci/optimizer/models/operation_type.rb +10 -0
  3083. data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
  3084. data/lib/oci/optimizer/models/profile.rb +305 -0
  3085. data/lib/oci/optimizer/models/profile_collection.rb +151 -0
  3086. data/lib/oci/optimizer/models/profile_summary.rb +303 -0
  3087. data/lib/oci/optimizer/models/recommendation.rb +409 -0
  3088. data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
  3089. data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
  3090. data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
  3091. data/lib/oci/optimizer/models/resource_action.rb +450 -0
  3092. data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
  3093. data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
  3094. data/lib/oci/optimizer/models/resource_count.rb +182 -0
  3095. data/lib/oci/optimizer/models/sort_order.rb +11 -0
  3096. data/lib/oci/optimizer/models/status.rb +13 -0
  3097. data/lib/oci/optimizer/models/supported_level.rb +151 -0
  3098. data/lib/oci/optimizer/models/supported_levels.rb +153 -0
  3099. data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
  3100. data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
  3101. data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
  3102. data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
  3103. data/lib/oci/optimizer/models/work_request.rb +300 -0
  3104. data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
  3105. data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
  3106. data/lib/oci/optimizer/models/work_request_error.rb +173 -0
  3107. data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
  3108. data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
  3109. data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
  3110. data/lib/oci/optimizer/models/work_request_resource.rb +220 -0
  3111. data/lib/oci/optimizer/optimizer.rb +66 -0
  3112. data/lib/oci/optimizer/optimizer_client.rb +1674 -0
  3113. data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
  3114. data/lib/oci/optimizer/util.rb +3 -0
  3115. data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
  3116. data/lib/oci/os_management/models/api_error.rb +162 -0
  3117. data/lib/oci/os_management/models/arch_types.rb +14 -0
  3118. data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
  3119. data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
  3120. data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
  3121. data/lib/oci/os_management/models/available_update_summary.rb +286 -0
  3122. data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
  3123. data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
  3124. data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
  3125. data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
  3126. data/lib/oci/os_management/models/checksum_types.rb +13 -0
  3127. data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
  3128. data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
  3129. data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
  3130. data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
  3131. data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
  3132. data/lib/oci/os_management/models/erratum.rb +332 -0
  3133. data/lib/oci/os_management/models/erratum_summary.rb +247 -0
  3134. data/lib/oci/os_management/models/id.rb +164 -0
  3135. data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
  3136. data/lib/oci/os_management/models/installation_requirements.rb +12 -0
  3137. data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
  3138. data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
  3139. data/lib/oci/os_management/models/interval_types.rb +13 -0
  3140. data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
  3141. data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
  3142. data/lib/oci/os_management/models/managed_instance.rb +396 -0
  3143. data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
  3144. data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
  3145. data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
  3146. data/lib/oci/os_management/models/operation_status.rb +15 -0
  3147. data/lib/oci/os_management/models/operation_types.rb +13 -0
  3148. data/lib/oci/os_management/models/os_families.rb +12 -0
  3149. data/lib/oci/os_management/models/package_name.rb +150 -0
  3150. data/lib/oci/os_management/models/package_update_types.rb +13 -0
  3151. data/lib/oci/os_management/models/recurrence.rb +183 -0
  3152. data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
  3153. data/lib/oci/os_management/models/schedule_types.rb +11 -0
  3154. data/lib/oci/os_management/models/scheduled_job.rb +544 -0
  3155. data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
  3156. data/lib/oci/os_management/models/software_package.rb +290 -0
  3157. data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
  3158. data/lib/oci/os_management/models/software_package_file.rb +214 -0
  3159. data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
  3160. data/lib/oci/os_management/models/software_package_summary.rb +218 -0
  3161. data/lib/oci/os_management/models/software_source.rb +520 -0
  3162. data/lib/oci/os_management/models/software_source_id.rb +160 -0
  3163. data/lib/oci/os_management/models/software_source_summary.rb +341 -0
  3164. data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
  3165. data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
  3166. data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
  3167. data/lib/oci/os_management/models/update_types.rb +13 -0
  3168. data/lib/oci/os_management/models/windows_update.rb +330 -0
  3169. data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
  3170. data/lib/oci/os_management/models/work_request.rb +375 -0
  3171. data/lib/oci/os_management/models/work_request_error.rb +173 -0
  3172. data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
  3173. data/lib/oci/os_management/models/work_request_resource.rb +232 -0
  3174. data/lib/oci/os_management/models/work_request_summary.rb +321 -0
  3175. data/lib/oci/os_management/os_management.rb +80 -0
  3176. data/lib/oci/os_management/os_management_client.rb +3797 -0
  3177. data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
  3178. data/lib/oci/os_management/util.rb +3 -0
  3179. data/lib/oci/regions.rb +245 -9
  3180. data/lib/oci/resource_manager/models/apply_job_operation_details.rb +2 -1
  3181. data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +2 -1
  3182. data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +2 -1
  3183. data/lib/oci/resource_manager/models/change_configuration_source_provider_compartment_details.rb +157 -0
  3184. data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +3 -2
  3185. data/lib/oci/resource_manager/models/compartment_config_source.rb +201 -0
  3186. data/lib/oci/resource_manager/models/config_source.rb +11 -6
  3187. data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
  3188. data/lib/oci/resource_manager/models/configuration_source_provider.rb +331 -0
  3189. data/lib/oci/resource_manager/models/configuration_source_provider_collection.rb +151 -0
  3190. data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +293 -0
  3191. data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +2 -1
  3192. data/lib/oci/resource_manager/models/create_compartment_config_source_details.rb +199 -0
  3193. data/lib/oci/resource_manager/models/create_config_source_details.rb +6 -3
  3194. data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +249 -0
  3195. data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +2 -1
  3196. data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -0
  3197. data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
  3198. data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +200 -0
  3199. data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +2 -1
  3200. data/lib/oci/resource_manager/models/create_job_details.rb +2 -1
  3201. data/lib/oci/resource_manager/models/create_job_operation_details.rb +2 -1
  3202. data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +2 -1
  3203. data/lib/oci/resource_manager/models/create_stack_details.rb +5 -3
  3204. data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
  3205. data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +2 -1
  3206. data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +2 -1
  3207. data/lib/oci/resource_manager/models/failure_details.rb +4 -1
  3208. data/lib/oci/resource_manager/models/git_config_source.rb +198 -0
  3209. data/lib/oci/resource_manager/models/git_config_source_record.rb +207 -0
  3210. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
  3211. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
  3212. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +198 -0
  3213. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +198 -0
  3214. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +2 -1
  3215. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +2 -1
  3216. data/lib/oci/resource_manager/models/job.rb +34 -7
  3217. data/lib/oci/resource_manager/models/job_operation_details.rb +2 -1
  3218. data/lib/oci/resource_manager/models/job_operation_details_summary.rb +2 -1
  3219. data/lib/oci/resource_manager/models/job_summary.rb +13 -2
  3220. data/lib/oci/resource_manager/models/log_entry.rb +6 -2
  3221. data/lib/oci/resource_manager/models/plan_job_operation_details.rb +2 -1
  3222. data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +2 -1
  3223. data/lib/oci/resource_manager/models/resource_discovery_service_collection.rb +151 -0
  3224. data/lib/oci/resource_manager/models/resource_discovery_service_summary.rb +190 -0
  3225. data/lib/oci/resource_manager/models/stack.rb +64 -3
  3226. data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
  3227. data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +305 -0
  3228. data/lib/oci/resource_manager/models/stack_summary.rb +17 -2
  3229. data/lib/oci/resource_manager/models/terraform_version_collection.rb +3 -2
  3230. data/lib/oci/resource_manager/models/terraform_version_summary.rb +2 -1
  3231. data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -3
  3232. data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +233 -0
  3233. data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -0
  3234. data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
  3235. data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +196 -0
  3236. data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
  3237. data/lib/oci/resource_manager/models/update_stack_details.rb +4 -3
  3238. data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
  3239. data/lib/oci/resource_manager/models/work_request.rb +16 -4
  3240. data/lib/oci/resource_manager/models/work_request_error.rb +6 -2
  3241. data/lib/oci/resource_manager/models/work_request_log_entry.rb +6 -2
  3242. data/lib/oci/resource_manager/models/work_request_resource.rb +2 -1
  3243. data/lib/oci/resource_manager/models/work_request_summary.rb +14 -4
  3244. data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
  3245. data/lib/oci/resource_manager/models/zip_upload_config_source_record.rb +146 -0
  3246. data/lib/oci/resource_manager/resource_manager.rb +28 -1
  3247. data/lib/oci/resource_manager/resource_manager_client.rb +701 -47
  3248. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +189 -7
  3249. data/lib/oci/resource_manager/util.rb +2 -1
  3250. data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
  3251. data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
  3252. data/lib/oci/resource_search/models/resource_summary.rb +50 -11
  3253. data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
  3254. data/lib/oci/resource_search/models/resource_type.rb +2 -1
  3255. data/lib/oci/resource_search/models/search_context.rb +3 -2
  3256. data/lib/oci/resource_search/models/search_details.rb +4 -3
  3257. data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
  3258. data/lib/oci/resource_search/resource_search.rb +2 -1
  3259. data/lib/oci/resource_search/resource_search_client.rb +15 -19
  3260. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
  3261. data/lib/oci/resource_search/util.rb +2 -1
  3262. data/lib/oci/response.rb +2 -1
  3263. data/lib/oci/response_headers.rb +2 -1
  3264. data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
  3265. data/lib/oci/retry/functions/sleep.rb +2 -1
  3266. data/lib/oci/retry/internal/retry_state.rb +2 -1
  3267. data/lib/oci/retry/retry.rb +2 -1
  3268. data/lib/oci/retry/retry_config.rb +2 -1
  3269. data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
  3270. data/lib/oci/rover/models/change_rover_entitlement_compartment_details.rb +155 -0
  3271. data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
  3272. data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
  3273. data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
  3274. data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
  3275. data/lib/oci/rover/models/enclosure_type.rb +11 -0
  3276. data/lib/oci/rover/models/lifecycle_state.rb +15 -0
  3277. data/lib/oci/rover/models/node_type.rb +11 -0
  3278. data/lib/oci/rover/models/rover_cluster.rb +610 -0
  3279. data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
  3280. data/lib/oci/rover/models/rover_cluster_collection.rb +150 -0
  3281. data/lib/oci/rover/models/rover_cluster_summary.rb +305 -0
  3282. data/lib/oci/rover/models/rover_entitlement.rb +363 -0
  3283. data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
  3284. data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
  3285. data/lib/oci/rover/models/rover_node.rb +661 -0
  3286. data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
  3287. data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
  3288. data/lib/oci/rover/models/rover_node_collection.rb +150 -0
  3289. data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
  3290. data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
  3291. data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
  3292. data/lib/oci/rover/models/rover_node_summary.rb +323 -0
  3293. data/lib/oci/rover/models/rover_workload.rb +264 -0
  3294. data/lib/oci/rover/models/shipping_address.rb +276 -0
  3295. data/lib/oci/rover/models/sort_orders.rb +11 -0
  3296. data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
  3297. data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
  3298. data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
  3299. data/lib/oci/rover/rover.rb +54 -0
  3300. data/lib/oci/rover/rover_cluster_client.rb +549 -0
  3301. data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
  3302. data/lib/oci/rover/rover_entitlement_client.rb +514 -0
  3303. data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
  3304. data/lib/oci/rover/rover_node_client.rb +738 -0
  3305. data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
  3306. data/lib/oci/rover/util.rb +3 -0
  3307. data/lib/oci/sch/models/action_type.rb +14 -0
  3308. data/lib/oci/sch/models/change_service_connector_compartment_details.rb +157 -0
  3309. data/lib/oci/sch/models/create_service_connector_details.rb +247 -0
  3310. data/lib/oci/sch/models/functions_target_details.rb +164 -0
  3311. data/lib/oci/sch/models/lifecycle_state.rb +16 -0
  3312. data/lib/oci/sch/models/log_rule_task_details.rb +160 -0
  3313. data/lib/oci/sch/models/log_source.rb +186 -0
  3314. data/lib/oci/sch/models/logging_source_details.rb +164 -0
  3315. data/lib/oci/sch/models/monitoring_target_details.rb +194 -0
  3316. data/lib/oci/sch/models/notifications_target_details.rb +164 -0
  3317. data/lib/oci/sch/models/object_storage_target_details.rb +190 -0
  3318. data/lib/oci/sch/models/operation_status.rb +15 -0
  3319. data/lib/oci/sch/models/operation_type.rb +14 -0
  3320. data/lib/oci/sch/models/service_connector.rb +365 -0
  3321. data/lib/oci/sch/models/service_connector_collection.rb +152 -0
  3322. data/lib/oci/sch/models/service_connector_summary.rb +334 -0
  3323. data/lib/oci/sch/models/sort_order.rb +11 -0
  3324. data/lib/oci/sch/models/source_details.rb +190 -0
  3325. data/lib/oci/sch/models/streaming_target_details.rb +164 -0
  3326. data/lib/oci/sch/models/target_details.rb +198 -0
  3327. data/lib/oci/sch/models/task_details.rb +190 -0
  3328. data/lib/oci/sch/models/update_service_connector_details.rb +229 -0
  3329. data/lib/oci/sch/models/work_request.rb +325 -0
  3330. data/lib/oci/sch/models/work_request_collection.rb +152 -0
  3331. data/lib/oci/sch/models/work_request_error.rb +178 -0
  3332. data/lib/oci/sch/models/work_request_error_collection.rb +152 -0
  3333. data/lib/oci/sch/models/work_request_log_entry.rb +165 -0
  3334. data/lib/oci/sch/models/work_request_log_entry_collection.rb +152 -0
  3335. data/lib/oci/sch/models/work_request_resource.rb +223 -0
  3336. data/lib/oci/sch/sch.rb +49 -0
  3337. data/lib/oci/sch/service_connector_client.rb +970 -0
  3338. data/lib/oci/sch/service_connector_client_composite_operations.rb +329 -0
  3339. data/lib/oci/sch/util.rb +3 -0
  3340. data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
  3341. data/lib/oci/secrets/models/secret_bundle.rb +294 -0
  3342. data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
  3343. data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
  3344. data/lib/oci/secrets/secrets.rb +23 -0
  3345. data/lib/oci/secrets/secrets_client.rb +251 -0
  3346. data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
  3347. data/lib/oci/secrets/util.rb +3 -0
  3348. data/lib/oci/signer.rb +31 -5
  3349. data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
  3350. data/lib/oci/streaming/models/change_stream_compartment_details.rb +2 -1
  3351. data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
  3352. data/lib/oci/streaming/models/connect_harness.rb +281 -0
  3353. data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
  3354. data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
  3355. data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
  3356. data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
  3357. data/lib/oci/streaming/models/create_stream_details.rb +18 -3
  3358. data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
  3359. data/lib/oci/streaming/models/cursor.rb +2 -1
  3360. data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
  3361. data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
  3362. data/lib/oci/streaming/models/group.rb +4 -3
  3363. data/lib/oci/streaming/models/kafka_settings.rb +196 -0
  3364. data/lib/oci/streaming/models/message.rb +2 -1
  3365. data/lib/oci/streaming/models/partition_reservation.rb +2 -1
  3366. data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
  3367. data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
  3368. data/lib/oci/streaming/models/put_messages_details.rb +2 -1
  3369. data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
  3370. data/lib/oci/streaming/models/put_messages_result.rb +3 -2
  3371. data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
  3372. data/lib/oci/streaming/models/stream.rb +20 -2
  3373. data/lib/oci/streaming/models/stream_pool.rb +352 -0
  3374. data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
  3375. data/lib/oci/streaming/models/stream_summary.rb +20 -2
  3376. data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
  3377. data/lib/oci/streaming/models/update_group_details.rb +2 -1
  3378. data/lib/oci/streaming/models/update_stream_details.rb +18 -2
  3379. data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
  3380. data/lib/oci/streaming/stream_admin_client.rb +589 -99
  3381. data/lib/oci/streaming/stream_admin_client_composite_operations.rb +130 -47
  3382. data/lib/oci/streaming/stream_client.rb +35 -55
  3383. data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
  3384. data/lib/oci/streaming/streaming.rb +17 -7
  3385. data/lib/oci/streaming/util.rb +2 -1
  3386. data/lib/oci/tenant_manager_control_plane/link_client.rb +290 -0
  3387. data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
  3388. data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
  3389. data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
  3390. data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
  3391. data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
  3392. data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
  3393. data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
  3394. data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
  3395. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
  3396. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
  3397. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
  3398. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
  3399. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
  3400. data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
  3401. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
  3402. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
  3403. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
  3404. data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
  3405. data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
  3406. data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
  3407. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
  3408. data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
  3409. data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
  3410. data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
  3411. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
  3412. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
  3413. data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
  3414. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
  3415. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +430 -0
  3416. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
  3417. data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +440 -0
  3418. data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
  3419. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
  3420. data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
  3421. data/lib/oci/tenant_manager_control_plane/work_request_client.rb +360 -0
  3422. data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
  3423. data/lib/oci/usage_api/models/configuration.rb +161 -0
  3424. data/lib/oci/usage_api/models/configuration_aggregation.rb +150 -0
  3425. data/lib/oci/usage_api/models/dimension.rb +163 -0
  3426. data/lib/oci/usage_api/models/filter.rb +194 -0
  3427. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +282 -0
  3428. data/lib/oci/usage_api/models/tag.rb +171 -0
  3429. data/lib/oci/usage_api/models/usage_aggregation.rb +164 -0
  3430. data/lib/oci/usage_api/models/usage_summary.rb +488 -0
  3431. data/lib/oci/usage_api/usage_api.rb +27 -0
  3432. data/lib/oci/usage_api/usageapi_client.rb +225 -0
  3433. data/lib/oci/usage_api/usageapi_client_composite_operations.rb +25 -0
  3434. data/lib/oci/usage_api/util.rb +3 -0
  3435. data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
  3436. data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
  3437. data/lib/oci/vault/models/create_secret_details.rb +282 -0
  3438. data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
  3439. data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
  3440. data/lib/oci/vault/models/secret.rb +394 -0
  3441. data/lib/oci/vault/models/secret_content_details.rb +221 -0
  3442. data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
  3443. data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
  3444. data/lib/oci/vault/models/secret_rule.rb +191 -0
  3445. data/lib/oci/vault/models/secret_summary.rb +353 -0
  3446. data/lib/oci/vault/models/secret_version.rb +305 -0
  3447. data/lib/oci/vault/models/secret_version_summary.rb +305 -0
  3448. data/lib/oci/vault/models/update_secret_details.rb +241 -0
  3449. data/lib/oci/vault/util.rb +3 -0
  3450. data/lib/oci/vault/vault.rb +34 -0
  3451. data/lib/oci/vault/vaults_client.rb +883 -0
  3452. data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
  3453. data/lib/oci/version.rb +4 -2
  3454. data/lib/oci/waas/models/access_rule.rb +90 -8
  3455. data/lib/oci/waas/models/access_rule_criteria.rb +69 -32
  3456. data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
  3457. data/lib/oci/waas/models/address_list.rb +2 -1
  3458. data/lib/oci/waas/models/address_list_summary.rb +2 -1
  3459. data/lib/oci/waas/models/address_rate_limiting.rb +2 -1
  3460. data/lib/oci/waas/models/block_challenge_settings.rb +2 -1
  3461. data/lib/oci/waas/models/caching_rule.rb +3 -2
  3462. data/lib/oci/waas/models/caching_rule_criteria.rb +2 -1
  3463. data/lib/oci/waas/models/caching_rule_summary.rb +3 -2
  3464. data/lib/oci/waas/models/captcha.rb +2 -1
  3465. data/lib/oci/waas/models/certificate.rb +2 -1
  3466. data/lib/oci/waas/models/certificate_extensions.rb +2 -1
  3467. data/lib/oci/waas/models/certificate_issuer_name.rb +2 -1
  3468. data/lib/oci/waas/models/certificate_public_key_info.rb +2 -1
  3469. data/lib/oci/waas/models/certificate_subject_name.rb +2 -1
  3470. data/lib/oci/waas/models/certificate_summary.rb +2 -1
  3471. data/lib/oci/waas/models/change_address_list_compartment_details.rb +2 -1
  3472. data/lib/oci/waas/models/change_certificate_compartment_details.rb +2 -1
  3473. data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +2 -1
  3474. data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +2 -1
  3475. data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +2 -1
  3476. data/lib/oci/waas/models/create_address_list_details.rb +3 -2
  3477. data/lib/oci/waas/models/create_certificate_details.rb +2 -1
  3478. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +2 -1
  3479. data/lib/oci/waas/models/create_http_redirect_details.rb +3 -2
  3480. data/lib/oci/waas/models/create_waas_policy_details.rb +2 -1
  3481. data/lib/oci/waas/models/custom_protection_rule.rb +2 -1
  3482. data/lib/oci/waas/models/custom_protection_rule_setting.rb +15 -5
  3483. data/lib/oci/waas/models/custom_protection_rule_summary.rb +2 -1
  3484. data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
  3485. data/lib/oci/waas/models/edge_subnet.rb +2 -1
  3486. data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
  3487. data/lib/oci/waas/models/good_bot.rb +2 -1
  3488. data/lib/oci/waas/models/header.rb +3 -2
  3489. data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
  3490. data/lib/oci/waas/models/health_check.rb +346 -0
  3491. data/lib/oci/waas/models/http_redirect.rb +4 -3
  3492. data/lib/oci/waas/models/http_redirect_summary.rb +4 -3
  3493. data/lib/oci/waas/models/http_redirect_target.rb +4 -3
  3494. data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
  3495. data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
  3496. data/lib/oci/waas/models/js_challenge.rb +49 -6
  3497. data/lib/oci/waas/models/lifecycle_states.rb +2 -1
  3498. data/lib/oci/waas/models/load_balancing_method.rb +195 -0
  3499. data/lib/oci/waas/models/origin.rb +2 -1
  3500. data/lib/oci/waas/models/origin_group.rb +2 -1
  3501. data/lib/oci/waas/models/origin_group_origins.rb +2 -1
  3502. data/lib/oci/waas/models/policy_config.rb +63 -5
  3503. data/lib/oci/waas/models/protection_rule.rb +2 -1
  3504. data/lib/oci/waas/models/protection_rule_action.rb +2 -1
  3505. data/lib/oci/waas/models/protection_rule_exclusion.rb +5 -4
  3506. data/lib/oci/waas/models/protection_settings.rb +2 -1
  3507. data/lib/oci/waas/models/purge_cache.rb +2 -1
  3508. data/lib/oci/waas/models/recommendation.rb +2 -1
  3509. data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
  3510. data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
  3511. data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
  3512. data/lib/oci/waas/models/threat_feed.rb +2 -1
  3513. data/lib/oci/waas/models/threat_feed_action.rb +2 -1
  3514. data/lib/oci/waas/models/update_address_list_details.rb +3 -2
  3515. data/lib/oci/waas/models/update_certificate_details.rb +2 -1
  3516. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +2 -1
  3517. data/lib/oci/waas/models/update_http_redirect_details.rb +3 -2
  3518. data/lib/oci/waas/models/update_waas_policy_details.rb +2 -1
  3519. data/lib/oci/waas/models/waas_policy.rb +2 -1
  3520. data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +15 -5
  3521. data/lib/oci/waas/models/waas_policy_summary.rb +2 -1
  3522. data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
  3523. data/lib/oci/waas/models/waf_config.rb +2 -1
  3524. data/lib/oci/waas/models/waf_config_details.rb +2 -1
  3525. data/lib/oci/waas/models/waf_log.rb +4 -3
  3526. data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
  3527. data/lib/oci/waas/models/waf_request.rb +2 -1
  3528. data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
  3529. data/lib/oci/waas/models/whitelist.rb +21 -6
  3530. data/lib/oci/waas/models/work_request.rb +2 -1
  3531. data/lib/oci/waas/models/work_request_error.rb +2 -1
  3532. data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
  3533. data/lib/oci/waas/models/work_request_operation_types.rb +2 -1
  3534. data/lib/oci/waas/models/work_request_resource.rb +2 -1
  3535. data/lib/oci/waas/models/work_request_status_values.rb +2 -1
  3536. data/lib/oci/waas/models/work_request_summary.rb +2 -1
  3537. data/lib/oci/waas/redirect_client.rb +13 -17
  3538. data/lib/oci/waas/redirect_client_composite_operations.rb +2 -1
  3539. data/lib/oci/waas/util.rb +2 -1
  3540. data/lib/oci/waas/waas.rb +11 -1
  3541. data/lib/oci/waas/waas_client.rb +96 -38
  3542. data/lib/oci/waas/waas_client_composite_operations.rb +2 -1
  3543. data/lib/oci/waiter.rb +2 -1
  3544. data/lib/oci/work_requests/models/work_request.rb +2 -1
  3545. data/lib/oci/work_requests/models/work_request_error.rb +2 -1
  3546. data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -1
  3547. data/lib/oci/work_requests/models/work_request_resource.rb +2 -1
  3548. data/lib/oci/work_requests/models/work_request_summary.rb +2 -1
  3549. data/lib/oci/work_requests/util.rb +2 -1
  3550. data/lib/oci/work_requests/work_request_client.rb +10 -16
  3551. data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
  3552. data/lib/oci/work_requests/work_requests.rb +2 -1
  3553. data/lib/oraclebmc.rb +2 -1
  3554. metadata +2294 -22
  3555. data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
  3556. 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
@@ -120,28 +114,40 @@ module OCI
120
114
  # when the field-value is `*`, or having a current representation of the
121
115
  # target resource that has an entity-tag matching a member of the list of
122
116
  # entity-tags provided in the field-value.
123
- # (default to nil)
117
+ #
124
118
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
125
119
  # of a timeout or server error without risk of executing that same action
126
120
  # again. Retry tokens expire after 24 hours, but can be invalidated before
127
121
  # then due to conflicting operations (for example, if a resource has been
128
122
  # deleted and purged from the system, then a retry of the original creation
129
123
  # request may be rejected).
130
- # (default to nil)
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
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_resolver_compartment.rb.html) to see an example of how to use change_resolver_compartment API.
133
+ def change_resolver_compartment(resolver_id, change_resolver_compartment_details, opts = {})
134
+ logger.debug 'Calling operation DnsClient#change_resolver_compartment.' if logger
134
135
 
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)
136
+ raise "Missing the required parameter 'resolver_id' when calling change_resolver_compartment." if resolver_id.nil?
137
+ raise "Missing the required parameter 'change_resolver_compartment_details' when calling change_resolver_compartment." if change_resolver_compartment_details.nil?
138
138
 
139
- path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
139
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
140
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
141
+ end
142
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
143
+
144
+ path = '/resolvers/{resolverId}/actions/changeCompartment'.sub('{resolverId}', resolver_id.to_s)
140
145
  operation_signing_strategy = :standard
141
146
 
142
147
  # rubocop:disable Style/NegatedIf
143
148
  # Query Params
144
149
  query_params = {}
150
+ query_params[:scope] = opts[:scope] if opts[:scope]
145
151
 
146
152
  # Header Params
147
153
  header_params = {}
@@ -149,13 +155,14 @@ module OCI
149
155
  header_params[:'content-type'] = 'application/json'
150
156
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
151
157
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
158
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
152
159
  # rubocop:enable Style/NegatedIf
153
160
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
154
161
 
155
- post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
162
+ post_body = @api_client.object_to_http_body(change_resolver_compartment_details)
156
163
 
157
164
  # rubocop:disable Metrics/BlockLength
158
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
165
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_resolver_compartment') do
159
166
  @api_client.call_api(
160
167
  :POST,
161
168
  path,
@@ -177,10 +184,9 @@ module OCI
177
184
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
178
185
 
179
186
 
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.
187
+ # Moves a steering policy into a different compartment.
188
+ # @param [String] steering_policy_id The OCID of the target steering policy.
189
+ # @param [OCI::Dns::Models::ChangeSteeringPolicyCompartmentDetails] change_steering_policy_compartment_details Details for moving a steering policy into a different compartment.
184
190
  # @param [Hash] opts the optional parameters
185
191
  # @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
192
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -189,28 +195,40 @@ module OCI
189
195
  # when the field-value is `*`, or having a current representation of the
190
196
  # target resource that has an entity-tag matching a member of the list of
191
197
  # entity-tags provided in the field-value.
192
- # (default to nil)
198
+ #
193
199
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
194
200
  # of a timeout or server error without risk of executing that same action
195
201
  # again. Retry tokens expire after 24 hours, but can be invalidated before
196
202
  # then due to conflicting operations (for example, if a resource has been
197
203
  # deleted and purged from the system, then a retry of the original creation
198
204
  # request may be rejected).
199
- # (default to nil)
205
+ #
206
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
207
+ # to contact Oracle about a particular request, please provide
208
+ # the request ID.
209
+ #
210
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
211
+ #
200
212
  # @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
213
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_steering_policy_compartment.rb.html) to see an example of how to use change_steering_policy_compartment API.
214
+ def change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, opts = {})
215
+ logger.debug 'Calling operation DnsClient#change_steering_policy_compartment.' if logger
203
216
 
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)
217
+ raise "Missing the required parameter 'steering_policy_id' when calling change_steering_policy_compartment." if steering_policy_id.nil?
218
+ raise "Missing the required parameter 'change_steering_policy_compartment_details' when calling change_steering_policy_compartment." if change_steering_policy_compartment_details.nil?
207
219
 
208
- path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
220
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
221
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
222
+ end
223
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
224
+
225
+ path = '/steeringPolicies/{steeringPolicyId}/actions/changeCompartment'.sub('{steeringPolicyId}', steering_policy_id.to_s)
209
226
  operation_signing_strategy = :standard
210
227
 
211
228
  # rubocop:disable Style/NegatedIf
212
229
  # Query Params
213
230
  query_params = {}
231
+ query_params[:scope] = opts[:scope] if opts[:scope]
214
232
 
215
233
  # Header Params
216
234
  header_params = {}
@@ -218,13 +236,14 @@ module OCI
218
236
  header_params[:'content-type'] = 'application/json'
219
237
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
220
238
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
239
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
221
240
  # rubocop:enable Style/NegatedIf
222
241
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
223
242
 
224
- post_body = @api_client.object_to_http_body(change_zone_compartment_details)
243
+ post_body = @api_client.object_to_http_body(change_steering_policy_compartment_details)
225
244
 
226
245
  # rubocop:disable Metrics/BlockLength
227
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
246
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_steering_policy_compartment') do
228
247
  @api_client.call_api(
229
248
  :POST,
230
249
  path,
@@ -246,45 +265,66 @@ module OCI
246
265
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
247
266
 
248
267
 
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.
268
+ # Moves a TSIG key into a different compartment.
269
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
270
+ # @param [OCI::Dns::Models::ChangeTsigKeyCompartmentDetails] change_tsig_key_compartment_details Details for moving a TSIG key into a different compartment.
253
271
  # @param [Hash] opts the optional parameters
254
272
  # @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
273
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
274
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
275
+ # existence of at least one current representation of the target resource,
276
+ # when the field-value is `*`, or having a current representation of the
277
+ # target resource that has an entity-tag matching a member of the list of
278
+ # entity-tags provided in the field-value.
279
+ #
256
280
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
257
281
  # of a timeout or server error without risk of executing that same action
258
282
  # again. Retry tokens expire after 24 hours, but can be invalidated before
259
283
  # then due to conflicting operations (for example, if a resource has been
260
284
  # deleted and purged from the system, then a retry of the original creation
261
285
  # request may be rejected).
262
- # (default to nil)
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
286
+ #
287
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
288
+ # to contact Oracle about a particular request, please provide
289
+ # the request ID.
290
+ #
291
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
292
+ #
293
+ # @return [Response] A Response object with data of type nil
294
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_tsig_key_compartment.rb.html) to see an example of how to use change_tsig_key_compartment API.
295
+ def change_tsig_key_compartment(tsig_key_id, change_tsig_key_compartment_details, opts = {})
296
+ logger.debug 'Calling operation DnsClient#change_tsig_key_compartment.' if logger
266
297
 
267
- raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
298
+ raise "Missing the required parameter 'tsig_key_id' when calling change_tsig_key_compartment." if tsig_key_id.nil?
299
+ raise "Missing the required parameter 'change_tsig_key_compartment_details' when calling change_tsig_key_compartment." if change_tsig_key_compartment_details.nil?
268
300
 
269
- path = '/steeringPolicies'
301
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
302
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
303
+ end
304
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
305
+
306
+ path = '/tsigKeys/{tsigKeyId}/actions/changeCompartment'.sub('{tsigKeyId}', tsig_key_id.to_s)
270
307
  operation_signing_strategy = :standard
271
308
 
272
309
  # rubocop:disable Style/NegatedIf
273
310
  # Query Params
274
311
  query_params = {}
312
+ query_params[:scope] = opts[:scope] if opts[:scope]
275
313
 
276
314
  # Header Params
277
315
  header_params = {}
278
316
  header_params[:accept] = 'application/json'
279
317
  header_params[:'content-type'] = 'application/json'
318
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
280
319
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
320
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
281
321
  # rubocop:enable Style/NegatedIf
282
322
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
283
323
 
284
- post_body = @api_client.object_to_http_body(create_steering_policy_details)
324
+ post_body = @api_client.object_to_http_body(change_tsig_key_compartment_details)
285
325
 
286
326
  # rubocop:disable Metrics/BlockLength
287
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
327
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_tsig_key_compartment') do
288
328
  @api_client.call_api(
289
329
  :POST,
290
330
  path,
@@ -292,8 +332,7 @@ module OCI
292
332
  header_params: header_params,
293
333
  query_params: query_params,
294
334
  operation_signing_strategy: operation_signing_strategy,
295
- body: post_body,
296
- return_type: 'OCI::Dns::Models::SteeringPolicy'
335
+ body: post_body
297
336
  )
298
337
  end
299
338
  # rubocop:enable Metrics/BlockLength
@@ -307,49 +346,67 @@ module OCI
307
346
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
308
347
 
309
348
 
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.
349
+ # Moves a view into a different compartment. Protected views cannot have their compartment changed.
316
350
  #
317
- # @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
351
+ # @param [String] view_id The OCID of the target view.
352
+ # @param [OCI::Dns::Models::ChangeViewCompartmentDetails] change_view_compartment_details Details for moving a view into a different compartment.
318
353
  # @param [Hash] opts the optional parameters
319
354
  # @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
355
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
356
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
357
+ # existence of at least one current representation of the target resource,
358
+ # when the field-value is `*`, or having a current representation of the
359
+ # target resource that has an entity-tag matching a member of the list of
360
+ # entity-tags provided in the field-value.
361
+ #
321
362
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
322
363
  # of a timeout or server error without risk of executing that same action
323
364
  # again. Retry tokens expire after 24 hours, but can be invalidated before
324
365
  # then due to conflicting operations (for example, if a resource has been
325
366
  # deleted and purged from the system, then a retry of the original creation
326
367
  # request may be rejected).
327
- # (default to nil)
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
368
+ #
369
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
370
+ # to contact Oracle about a particular request, please provide
371
+ # the request ID.
372
+ #
373
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
374
+ #
375
+ # @return [Response] A Response object with data of type nil
376
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_view_compartment.rb.html) to see an example of how to use change_view_compartment API.
377
+ def change_view_compartment(view_id, change_view_compartment_details, opts = {})
378
+ logger.debug 'Calling operation DnsClient#change_view_compartment.' if logger
331
379
 
332
- raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
380
+ raise "Missing the required parameter 'view_id' when calling change_view_compartment." if view_id.nil?
381
+ raise "Missing the required parameter 'change_view_compartment_details' when calling change_view_compartment." if change_view_compartment_details.nil?
333
382
 
334
- path = '/steeringPolicyAttachments'
383
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
384
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
385
+ end
386
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
387
+
388
+ path = '/views/{viewId}/actions/changeCompartment'.sub('{viewId}', view_id.to_s)
335
389
  operation_signing_strategy = :standard
336
390
 
337
391
  # rubocop:disable Style/NegatedIf
338
392
  # Query Params
339
393
  query_params = {}
394
+ query_params[:scope] = opts[:scope] if opts[:scope]
340
395
 
341
396
  # Header Params
342
397
  header_params = {}
343
398
  header_params[:accept] = 'application/json'
344
399
  header_params[:'content-type'] = 'application/json'
400
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
345
401
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
402
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
346
403
  # rubocop:enable Style/NegatedIf
347
404
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
348
405
 
349
- post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
406
+ post_body = @api_client.object_to_http_body(change_view_compartment_details)
350
407
 
351
408
  # rubocop:disable Metrics/BlockLength
352
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
409
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_view_compartment') do
353
410
  @api_client.call_api(
354
411
  :POST,
355
412
  path,
@@ -357,8 +414,7 @@ module OCI
357
414
  header_params: header_params,
358
415
  query_params: query_params,
359
416
  operation_signing_strategy: operation_signing_strategy,
360
- body: post_body,
361
- return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
417
+ body: post_body
362
418
  )
363
419
  end
364
420
  # rubocop:enable Metrics/BlockLength
@@ -372,39 +428,69 @@ module OCI
372
428
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
373
429
 
374
430
 
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`.
431
+ # Moves a zone into a different compartment. Protected zones cannot have their compartment changed.
378
432
  #
379
- # @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
433
+ # **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
434
+ #
435
+ # @param [String] zone_id The OCID of the target zone.
436
+ # @param [OCI::Dns::Models::ChangeZoneCompartmentDetails] change_zone_compartment_details Details for moving a zone into a different compartment.
380
437
  # @param [Hash] opts the optional parameters
381
438
  # @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
439
  # 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. (default to nil)
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
440
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
441
+ # existence of at least one current representation of the target resource,
442
+ # when the field-value is `*`, or having a current representation of the
443
+ # target resource that has an entity-tag matching a member of the list of
444
+ # entity-tags provided in the field-value.
445
+ #
446
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
447
+ # of a timeout or server error without risk of executing that same action
448
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
449
+ # then due to conflicting operations (for example, if a resource has been
450
+ # deleted and purged from the system, then a retry of the original creation
451
+ # request may be rejected).
452
+ #
453
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
454
+ # to contact Oracle about a particular request, please provide
455
+ # the request ID.
456
+ #
457
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
458
+ #
459
+ # @return [Response] A Response object with data of type nil
460
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/change_zone_compartment.rb.html) to see an example of how to use change_zone_compartment API.
461
+ def change_zone_compartment(zone_id, change_zone_compartment_details, opts = {})
462
+ logger.debug 'Calling operation DnsClient#change_zone_compartment.' if logger
387
463
 
388
- raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
464
+ raise "Missing the required parameter 'zone_id' when calling change_zone_compartment." if zone_id.nil?
465
+ raise "Missing the required parameter 'change_zone_compartment_details' when calling change_zone_compartment." if change_zone_compartment_details.nil?
389
466
 
390
- path = '/zones'
467
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
468
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
469
+ end
470
+ raise "Parameter value for 'zone_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_id)
471
+
472
+ path = '/zones/{zoneId}/actions/changeCompartment'.sub('{zoneId}', zone_id.to_s)
391
473
  operation_signing_strategy = :standard
392
474
 
393
475
  # rubocop:disable Style/NegatedIf
394
476
  # Query Params
395
477
  query_params = {}
396
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
478
+ query_params[:scope] = opts[:scope] if opts[:scope]
397
479
 
398
480
  # Header Params
399
481
  header_params = {}
400
482
  header_params[:accept] = 'application/json'
401
483
  header_params[:'content-type'] = 'application/json'
484
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
485
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
486
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
402
487
  # rubocop:enable Style/NegatedIf
488
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
403
489
 
404
- post_body = @api_client.object_to_http_body(create_zone_details)
490
+ post_body = @api_client.object_to_http_body(change_zone_compartment_details)
405
491
 
406
492
  # rubocop:disable Metrics/BlockLength
407
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
493
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#change_zone_compartment') do
408
494
  @api_client.call_api(
409
495
  :POST,
410
496
  path,
@@ -412,8 +498,7 @@ module OCI
412
498
  header_params: header_params,
413
499
  query_params: query_params,
414
500
  operation_signing_strategy: operation_signing_strategy,
415
- body: post_body,
416
- return_type: 'OCI::Dns::Models::Zone'
501
+ body: post_body
417
502
  )
418
503
  end
419
504
  # rubocop:enable Metrics/BlockLength
@@ -427,62 +512,69 @@ module OCI
427
512
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
428
513
 
429
514
 
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.
515
+ # Creates a new resolver endpoint.
516
+ #
517
+ # @param [String] resolver_id The OCID of the target resolver.
518
+ # @param [OCI::Dns::Models::CreateResolverEndpointDetails] create_resolver_endpoint_details Details for creating a new resolver endpoint.
433
519
  # @param [Hash] opts the optional parameters
434
520
  # @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
521
  # 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.
441
- # (default to nil)
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.
447
- # (default to nil)
448
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
522
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
523
+ # of a timeout or server error without risk of executing that same action
524
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
525
+ # then due to conflicting operations (for example, if a resource has been
526
+ # deleted and purged from the system, then a retry of the original creation
527
+ # request may be rejected).
528
+ #
529
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
530
+ # to contact Oracle about a particular request, please provide
531
+ # the request ID.
532
+ #
533
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
534
+ #
535
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
536
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_resolver_endpoint.rb.html) to see an example of how to use create_resolver_endpoint API.
537
+ def create_resolver_endpoint(resolver_id, create_resolver_endpoint_details, opts = {})
538
+ logger.debug 'Calling operation DnsClient#create_resolver_endpoint.' if logger
452
539
 
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)
540
+ raise "Missing the required parameter 'resolver_id' when calling create_resolver_endpoint." if resolver_id.nil?
541
+ raise "Missing the required parameter 'create_resolver_endpoint_details' when calling create_resolver_endpoint." if create_resolver_endpoint_details.nil?
457
542
 
458
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
543
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
544
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
545
+ end
546
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
547
+
548
+ path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
459
549
  operation_signing_strategy = :standard
460
550
 
461
551
  # rubocop:disable Style/NegatedIf
462
552
  # Query Params
463
553
  query_params = {}
464
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
554
+ query_params[:scope] = opts[:scope] if opts[:scope]
465
555
 
466
556
  # Header Params
467
557
  header_params = {}
468
558
  header_params[:accept] = 'application/json'
469
559
  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]
560
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
561
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
472
562
  # rubocop:enable Style/NegatedIf
563
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
473
564
 
474
- post_body = nil
565
+ post_body = @api_client.object_to_http_body(create_resolver_endpoint_details)
475
566
 
476
567
  # rubocop:disable Metrics/BlockLength
477
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
568
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_resolver_endpoint') do
478
569
  @api_client.call_api(
479
- :DELETE,
570
+ :POST,
480
571
  path,
481
572
  endpoint,
482
573
  header_params: header_params,
483
574
  query_params: query_params,
484
575
  operation_signing_strategy: operation_signing_strategy,
485
- body: post_body
576
+ body: post_body,
577
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
486
578
  )
487
579
  end
488
580
  # rubocop:enable Metrics/BlockLength
@@ -496,66 +588,67 @@ module OCI
496
588
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
497
589
 
498
590
 
499
- # Deletes all records in the specified RRSet.
591
+ # Creates a new steering policy in the specified compartment. For more information on
592
+ # creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
500
593
  #
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.
594
+ # @param [OCI::Dns::Models::CreateSteeringPolicyDetails] create_steering_policy_details Details for creating a new steering policy.
504
595
  # @param [Hash] opts the optional parameters
505
596
  # @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
597
  # 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.
512
- # (default to nil)
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.
518
- # (default to nil)
519
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
598
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
599
+ # of a timeout or server error without risk of executing that same action
600
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
601
+ # then due to conflicting operations (for example, if a resource has been
602
+ # deleted and purged from the system, then a retry of the original creation
603
+ # request may be rejected).
604
+ #
605
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
606
+ # to contact Oracle about a particular request, please provide
607
+ # the request ID.
608
+ #
609
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
610
+ #
611
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
612
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_steering_policy.rb.html) to see an example of how to use create_steering_policy API.
613
+ def create_steering_policy(create_steering_policy_details, opts = {})
614
+ logger.debug 'Calling operation DnsClient#create_steering_policy.' if logger
523
615
 
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)
616
+ raise "Missing the required parameter 'create_steering_policy_details' when calling create_steering_policy." if create_steering_policy_details.nil?
530
617
 
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)
618
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
619
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
620
+ end
621
+
622
+ path = '/steeringPolicies'
532
623
  operation_signing_strategy = :standard
533
624
 
534
625
  # rubocop:disable Style/NegatedIf
535
626
  # Query Params
536
627
  query_params = {}
537
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
628
+ query_params[:scope] = opts[:scope] if opts[:scope]
538
629
 
539
630
  # Header Params
540
631
  header_params = {}
541
632
  header_params[:accept] = 'application/json'
542
633
  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]
634
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
635
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
545
636
  # rubocop:enable Style/NegatedIf
637
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
546
638
 
547
- post_body = nil
639
+ post_body = @api_client.object_to_http_body(create_steering_policy_details)
548
640
 
549
641
  # rubocop:disable Metrics/BlockLength
550
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
642
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy') do
551
643
  @api_client.call_api(
552
- :DELETE,
644
+ :POST,
553
645
  path,
554
646
  endpoint,
555
647
  header_params: header_params,
556
648
  query_params: query_params,
557
649
  operation_signing_strategy: operation_signing_strategy,
558
- body: post_body
650
+ body: post_body,
651
+ return_type: 'OCI::Dns::Models::SteeringPolicy'
559
652
  )
560
653
  end
561
654
  # rubocop:enable Metrics/BlockLength
@@ -569,61 +662,71 @@ module OCI
569
662
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
570
663
 
571
664
 
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`.
576
- #
577
- # @param [String] steering_policy_id The OCID of the target steering policy.
665
+ # Creates a new attachment between a steering policy and a domain, giving the
666
+ # policy permission to answer queries for the specified domain. A steering policy must
667
+ # be attached to a domain for the policy to answer DNS queries for that domain.
668
+ #
669
+ # For the purposes of access control, the attachment is automatically placed
670
+ # into the same compartment as the domain's zone.
671
+ #
672
+ # @param [OCI::Dns::Models::CreateSteeringPolicyAttachmentDetails] create_steering_policy_attachment_details Details for creating a new steering policy attachment.
578
673
  # @param [Hash] opts the optional parameters
579
674
  # @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
675
  # 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.
586
- # (default to nil)
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.
592
- # (default to nil)
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
676
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
677
+ # of a timeout or server error without risk of executing that same action
678
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
679
+ # then due to conflicting operations (for example, if a resource has been
680
+ # deleted and purged from the system, then a retry of the original creation
681
+ # request may be rejected).
682
+ #
683
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
684
+ # to contact Oracle about a particular request, please provide
685
+ # the request ID.
686
+ #
687
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
688
+ #
689
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
690
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_steering_policy_attachment.rb.html) to see an example of how to use create_steering_policy_attachment API.
691
+ def create_steering_policy_attachment(create_steering_policy_attachment_details, opts = {})
692
+ logger.debug 'Calling operation DnsClient#create_steering_policy_attachment.' if logger
596
693
 
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)
694
+ raise "Missing the required parameter 'create_steering_policy_attachment_details' when calling create_steering_policy_attachment." if create_steering_policy_attachment_details.nil?
599
695
 
600
- path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
696
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
697
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
698
+ end
699
+
700
+ path = '/steeringPolicyAttachments'
601
701
  operation_signing_strategy = :standard
602
702
 
603
703
  # rubocop:disable Style/NegatedIf
604
704
  # Query Params
605
705
  query_params = {}
706
+ query_params[:scope] = opts[:scope] if opts[:scope]
606
707
 
607
708
  # Header Params
608
709
  header_params = {}
609
710
  header_params[:accept] = 'application/json'
610
711
  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]
712
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
713
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
613
714
  # rubocop:enable Style/NegatedIf
715
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
614
716
 
615
- post_body = nil
717
+ post_body = @api_client.object_to_http_body(create_steering_policy_attachment_details)
616
718
 
617
719
  # rubocop:disable Metrics/BlockLength
618
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
720
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_steering_policy_attachment') do
619
721
  @api_client.call_api(
620
- :DELETE,
722
+ :POST,
621
723
  path,
622
724
  endpoint,
623
725
  header_params: header_params,
624
726
  query_params: query_params,
625
727
  operation_signing_strategy: operation_signing_strategy,
626
- body: post_body
728
+ body: post_body,
729
+ return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
627
730
  )
628
731
  end
629
732
  # rubocop:enable Metrics/BlockLength
@@ -637,59 +740,58 @@ module OCI
637
740
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
638
741
 
639
742
 
640
- # Deletes the specified steering policy attachment.
641
- # A `204` response indicates that the delete has been successful.
743
+ # Creates a new TSIG key in the specified compartment. There is no
744
+ # `opc-retry-token` header since TSIG key names must be globally unique.
642
745
  #
643
- # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
746
+ # @param [OCI::Dns::Models::CreateTsigKeyDetails] create_tsig_key_details Details for creating a new TSIG key.
644
747
  # @param [Hash] opts the optional parameters
645
748
  # @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
749
  # 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.
652
- # (default to nil)
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.
658
- # (default to nil)
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
750
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
751
+ # to contact Oracle about a particular request, please provide
752
+ # the request ID.
753
+ #
754
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
755
+ #
756
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
757
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_tsig_key.rb.html) to see an example of how to use create_tsig_key API.
758
+ def create_tsig_key(create_tsig_key_details, opts = {})
759
+ logger.debug 'Calling operation DnsClient#create_tsig_key.' if logger
662
760
 
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)
761
+ raise "Missing the required parameter 'create_tsig_key_details' when calling create_tsig_key." if create_tsig_key_details.nil?
665
762
 
666
- path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
763
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
764
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
765
+ end
766
+
767
+ path = '/tsigKeys'
667
768
  operation_signing_strategy = :standard
668
769
 
669
770
  # rubocop:disable Style/NegatedIf
670
771
  # Query Params
671
772
  query_params = {}
773
+ query_params[:scope] = opts[:scope] if opts[:scope]
672
774
 
673
775
  # Header Params
674
776
  header_params = {}
675
777
  header_params[:accept] = 'application/json'
676
778
  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]
779
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
679
780
  # rubocop:enable Style/NegatedIf
680
781
 
681
- post_body = nil
782
+ post_body = @api_client.object_to_http_body(create_tsig_key_details)
682
783
 
683
784
  # rubocop:disable Metrics/BlockLength
684
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
785
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_tsig_key') do
685
786
  @api_client.call_api(
686
- :DELETE,
787
+ :POST,
687
788
  path,
688
789
  endpoint,
689
790
  header_params: header_params,
690
791
  query_params: query_params,
691
792
  operation_signing_strategy: operation_signing_strategy,
692
- body: post_body
793
+ body: post_body,
794
+ return_type: 'OCI::Dns::Models::TsigKey'
693
795
  )
694
796
  end
695
797
  # rubocop:enable Metrics/BlockLength
@@ -703,61 +805,66 @@ module OCI
703
805
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
704
806
 
705
807
 
706
- # Deletes the specified zone and all its steering policy attachments.
707
- # A `204` response indicates that zone has been successfully deleted.
808
+ # Creates a new view in the specified compartment.
708
809
  #
709
- # @param [String] zone_name_or_id The name or OCID of the target zone.
810
+ # @param [OCI::Dns::Models::CreateViewDetails] create_view_details Details for creating a new view.
710
811
  # @param [Hash] opts the optional parameters
711
812
  # @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
813
  # 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.
718
- # (default to nil)
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.
724
- # (default to nil)
725
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
814
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case
815
+ # of a timeout or server error without risk of executing that same action
816
+ # again. Retry tokens expire after 24 hours, but can be invalidated before
817
+ # then due to conflicting operations (for example, if a resource has been
818
+ # deleted and purged from the system, then a retry of the original creation
819
+ # request may be rejected).
820
+ #
821
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
822
+ # to contact Oracle about a particular request, please provide
823
+ # the request ID.
824
+ #
825
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
826
+ #
827
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
828
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_view.rb.html) to see an example of how to use create_view API.
829
+ def create_view(create_view_details, opts = {})
830
+ logger.debug 'Calling operation DnsClient#create_view.' if logger
729
831
 
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)
832
+ raise "Missing the required parameter 'create_view_details' when calling create_view." if create_view_details.nil?
732
833
 
733
- path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
834
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
835
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
836
+ end
837
+
838
+ path = '/views'
734
839
  operation_signing_strategy = :standard
735
840
 
736
841
  # rubocop:disable Style/NegatedIf
737
842
  # Query Params
738
843
  query_params = {}
739
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
844
+ query_params[:scope] = opts[:scope] if opts[:scope]
740
845
 
741
846
  # Header Params
742
847
  header_params = {}
743
848
  header_params[:accept] = 'application/json'
744
849
  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]
850
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
851
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
747
852
  # rubocop:enable Style/NegatedIf
853
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
748
854
 
749
- post_body = nil
855
+ post_body = @api_client.object_to_http_body(create_view_details)
750
856
 
751
857
  # rubocop:disable Metrics/BlockLength
752
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
858
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_view') do
753
859
  @api_client.call_api(
754
- :DELETE,
860
+ :POST,
755
861
  path,
756
862
  endpoint,
757
863
  header_params: header_params,
758
864
  query_params: query_params,
759
865
  operation_signing_strategy: operation_signing_strategy,
760
- body: post_body
866
+ body: post_body,
867
+ return_type: 'OCI::Dns::Models::View'
761
868
  )
762
869
  end
763
870
  # rubocop:enable Metrics/BlockLength
@@ -771,91 +878,63 @@ module OCI
771
878
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
772
879
 
773
880
 
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.
881
+ # Creates a new zone in the specified compartment. If the `Content-Type` header for the request is `text/dns`, the
882
+ # `compartmentId` query parameter is required. Additionally, for `text/dns`, the `scope` and `viewId` query
883
+ # parameters are required to create a private zone.
777
884
  #
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.
885
+ # @param [OCI::Dns::Models::CreateZoneBaseDetails] create_zone_details Details for creating a new zone.
780
886
  # @param [Hash] opts the optional parameters
781
887
  # @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
888
  # 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
- # (default to nil)
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
- # (default to nil)
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
- # (default to nil)
797
- # @option opts [String] :zone_version The version of the zone for which data is requested.
798
- # (default to nil)
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
- # (default to nil)
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.
805
- # (default to DESC)
806
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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?
889
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
890
+ # to contact Oracle about a particular request, please provide
891
+ # the request ID.
892
+ #
893
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
894
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
895
+ #
896
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
897
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
898
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/create_zone.rb.html) to see an example of how to use create_zone API.
899
+ def create_zone(create_zone_details, opts = {})
900
+ logger.debug 'Calling operation DnsClient#create_zone.' if logger
813
901
 
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
902
+ raise "Missing the required parameter 'create_zone_details' when calling create_zone." if create_zone_details.nil?
817
903
 
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.'
904
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
905
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
820
906
  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
907
 
824
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
908
+ path = '/zones'
825
909
  operation_signing_strategy = :standard
826
910
 
827
911
  # rubocop:disable Style/NegatedIf
828
912
  # Query Params
829
913
  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
914
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
915
+ query_params[:scope] = opts[:scope] if opts[:scope]
916
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
837
917
 
838
918
  # Header Params
839
919
  header_params = {}
840
920
  header_params[:accept] = 'application/json'
841
921
  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]
922
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
844
923
  # rubocop:enable Style/NegatedIf
845
924
 
846
- post_body = nil
925
+ post_body = @api_client.object_to_http_body(create_zone_details)
847
926
 
848
927
  # rubocop:disable Metrics/BlockLength
849
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
928
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#create_zone') do
850
929
  @api_client.call_api(
851
- :GET,
930
+ :POST,
852
931
  path,
853
932
  endpoint,
854
933
  header_params: header_params,
855
934
  query_params: query_params,
856
935
  operation_signing_strategy: operation_signing_strategy,
857
936
  body: post_body,
858
- return_type: 'OCI::Dns::Models::RecordCollection'
937
+ return_type: 'OCI::Dns::Models::Zone'
859
938
  )
860
939
  end
861
940
  # rubocop:enable Metrics/BlockLength
@@ -869,75 +948,77 @@ module OCI
869
948
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
870
949
 
871
950
 
872
- # Gets a list of all records in the specified RRSet. The results are
873
- # sorted by `recordHash` by default.
874
- #
951
+ # Deletes all records at the specified zone and domain.
875
952
  # @param [String] zone_name_or_id The name or OCID of the target zone.
876
953
  # @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
954
  # @param [Hash] opts the optional parameters
879
955
  # @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
956
  # 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.
885
- # (default to nil)
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.
890
- # (default to nil)
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.
894
- # (default to nil)
895
- # @option opts [String] :zone_version The version of the zone for which data is requested.
896
- # (default to nil)
897
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
957
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
958
+ # existence of at least one current representation of the target resource,
959
+ # when the field-value is `*`, or having a current representation of the
960
+ # target resource that has an entity-tag matching a member of the list of
961
+ # entity-tags provided in the field-value.
962
+ #
963
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
964
+ # conditional on the selected representation's last modification date being
965
+ # earlier than or equal to the date provided in the field-value. This
966
+ # field accomplishes the same purpose as If-Match for cases where the user
967
+ # agent does not have an entity-tag for the representation.
968
+ #
969
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
970
+ # to contact Oracle about a particular request, please provide
971
+ # the request ID.
972
+ #
973
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
974
+ #
975
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
976
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
977
+ # @return [Response] A Response object with data of type nil
978
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_domain_records.rb.html) to see an example of how to use delete_domain_records API.
979
+ def delete_domain_records(zone_name_or_id, domain, opts = {})
980
+ logger.debug 'Calling operation DnsClient#delete_domain_records.' if logger
901
981
 
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?
982
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_domain_records." if zone_name_or_id.nil?
983
+ raise "Missing the required parameter 'domain' when calling delete_domain_records." if domain.nil?
984
+
985
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
986
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
987
+ end
905
988
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
906
989
  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
990
 
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)
991
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
910
992
  operation_signing_strategy = :standard
911
993
 
912
994
  # rubocop:disable Style/NegatedIf
913
995
  # Query Params
914
996
  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]
997
+ query_params[:scope] = opts[:scope] if opts[:scope]
998
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
918
999
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
919
1000
 
920
1001
  # Header Params
921
1002
  header_params = {}
922
1003
  header_params[:accept] = 'application/json'
923
1004
  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]
1005
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1006
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1007
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
926
1008
  # rubocop:enable Style/NegatedIf
927
1009
 
928
1010
  post_body = nil
929
1011
 
930
1012
  # rubocop:disable Metrics/BlockLength
931
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
1013
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_domain_records') do
932
1014
  @api_client.call_api(
933
- :GET,
1015
+ :DELETE,
934
1016
  path,
935
1017
  endpoint,
936
1018
  header_params: header_params,
937
1019
  query_params: query_params,
938
1020
  operation_signing_strategy: operation_signing_strategy,
939
- body: post_body,
940
- return_type: 'OCI::Dns::Models::RRSet'
1021
+ body: post_body
941
1022
  )
942
1023
  end
943
1024
  # rubocop:enable Metrics/BlockLength
@@ -951,48 +1032,1535 @@ module OCI
951
1032
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
952
1033
 
953
1034
 
954
- # Gets information about the specified steering policy.
1035
+ # Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the
1036
+ # DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
1037
+ # Resolver endpoints may not be deleted if they are referenced by a resolver rule.
955
1038
  #
956
- # @param [String] steering_policy_id The OCID of the target steering policy.
1039
+ # @param [String] resolver_id The OCID of the target resolver.
1040
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
957
1041
  # @param [Hash] opts the optional parameters
958
1042
  # @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
1043
  # 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.
964
- # (default to nil)
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
1044
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1045
+ # existence of at least one current representation of the target resource,
1046
+ # when the field-value is `*`, or having a current representation of the
1047
+ # target resource that has an entity-tag matching a member of the list of
1048
+ # entity-tags provided in the field-value.
1049
+ #
1050
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1051
+ # conditional on the selected representation's last modification date being
1052
+ # earlier than or equal to the date provided in the field-value. This
1053
+ # field accomplishes the same purpose as If-Match for cases where the user
1054
+ # agent does not have an entity-tag for the representation.
1055
+ #
1056
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1057
+ # to contact Oracle about a particular request, please provide
1058
+ # the request ID.
1059
+ #
1060
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1061
+ #
1062
+ # @return [Response] A Response object with data of type nil
1063
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_resolver_endpoint.rb.html) to see an example of how to use delete_resolver_endpoint API.
1064
+ def delete_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
1065
+ logger.debug 'Calling operation DnsClient#delete_resolver_endpoint.' if logger
1066
+
1067
+ raise "Missing the required parameter 'resolver_id' when calling delete_resolver_endpoint." if resolver_id.nil?
1068
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling delete_resolver_endpoint." if resolver_endpoint_name.nil?
1069
+
1070
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1071
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1072
+ end
1073
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1074
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
1075
+
1076
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1077
+ operation_signing_strategy = :standard
1078
+
1079
+ # rubocop:disable Style/NegatedIf
1080
+ # Query Params
1081
+ query_params = {}
1082
+ query_params[:scope] = opts[:scope] if opts[:scope]
1083
+
1084
+ # Header Params
1085
+ header_params = {}
1086
+ header_params[:accept] = 'application/json'
1087
+ header_params[:'content-type'] = 'application/json'
1088
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1089
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1090
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1091
+ # rubocop:enable Style/NegatedIf
1092
+
1093
+ post_body = nil
1094
+
1095
+ # rubocop:disable Metrics/BlockLength
1096
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_resolver_endpoint') do
1097
+ @api_client.call_api(
1098
+ :DELETE,
1099
+ path,
1100
+ endpoint,
1101
+ header_params: header_params,
1102
+ query_params: query_params,
1103
+ operation_signing_strategy: operation_signing_strategy,
1104
+ body: post_body
1105
+ )
1106
+ end
1107
+ # rubocop:enable Metrics/BlockLength
1108
+ end
1109
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1110
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1111
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1112
+
1113
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1114
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1115
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1116
+
1117
+
1118
+ # Deletes all records in the specified RRSet.
1119
+ #
1120
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1121
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1122
+ # @param [String] rtype The type of the target RRSet within the target zone.
1123
+ # @param [Hash] opts the optional parameters
1124
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1125
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1126
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1127
+ # existence of at least one current representation of the target resource,
1128
+ # when the field-value is `*`, or having a current representation of the
1129
+ # target resource that has an entity-tag matching a member of the list of
1130
+ # entity-tags provided in the field-value.
1131
+ #
1132
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1133
+ # conditional on the selected representation's last modification date being
1134
+ # earlier than or equal to the date provided in the field-value. This
1135
+ # field accomplishes the same purpose as If-Match for cases where the user
1136
+ # agent does not have an entity-tag for the representation.
1137
+ #
1138
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1139
+ # to contact Oracle about a particular request, please provide
1140
+ # the request ID.
1141
+ #
1142
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1143
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1144
+ #
1145
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1146
+ # @return [Response] A Response object with data of type nil
1147
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_rr_set.rb.html) to see an example of how to use delete_rr_set API.
1148
+ def delete_rr_set(zone_name_or_id, domain, rtype, opts = {})
1149
+ logger.debug 'Calling operation DnsClient#delete_rr_set.' if logger
1150
+
1151
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_rr_set." if zone_name_or_id.nil?
1152
+ raise "Missing the required parameter 'domain' when calling delete_rr_set." if domain.nil?
1153
+ raise "Missing the required parameter 'rtype' when calling delete_rr_set." if rtype.nil?
1154
+
1155
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1156
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1157
+ end
1158
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1159
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1160
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
1161
+
1162
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
1163
+ operation_signing_strategy = :standard
1164
+
1165
+ # rubocop:disable Style/NegatedIf
1166
+ # Query Params
1167
+ query_params = {}
1168
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1169
+ query_params[:scope] = opts[:scope] if opts[:scope]
1170
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1171
+
1172
+ # Header Params
1173
+ header_params = {}
1174
+ header_params[:accept] = 'application/json'
1175
+ header_params[:'content-type'] = 'application/json'
1176
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1177
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1178
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1179
+ # rubocop:enable Style/NegatedIf
1180
+
1181
+ post_body = nil
1182
+
1183
+ # rubocop:disable Metrics/BlockLength
1184
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_rr_set') do
1185
+ @api_client.call_api(
1186
+ :DELETE,
1187
+ path,
1188
+ endpoint,
1189
+ header_params: header_params,
1190
+ query_params: query_params,
1191
+ operation_signing_strategy: operation_signing_strategy,
1192
+ body: post_body
1193
+ )
1194
+ end
1195
+ # rubocop:enable Metrics/BlockLength
1196
+ end
1197
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1198
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1199
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1200
+
1201
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1202
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1203
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1204
+
1205
+
1206
+ # Deletes the specified steering policy.
1207
+ # A `204` response indicates that the delete has been successful.
1208
+ # Deletion will fail if the policy is attached to any zones. To detach a
1209
+ # policy from a zone, see `DeleteSteeringPolicyAttachment`.
1210
+ #
1211
+ # @param [String] steering_policy_id The OCID of the target steering policy.
1212
+ # @param [Hash] opts the optional parameters
1213
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1214
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1215
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1216
+ # existence of at least one current representation of the target resource,
1217
+ # when the field-value is `*`, or having a current representation of the
1218
+ # target resource that has an entity-tag matching a member of the list of
1219
+ # entity-tags provided in the field-value.
1220
+ #
1221
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1222
+ # conditional on the selected representation's last modification date being
1223
+ # earlier than or equal to the date provided in the field-value. This
1224
+ # field accomplishes the same purpose as If-Match for cases where the user
1225
+ # agent does not have an entity-tag for the representation.
1226
+ #
1227
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1228
+ # to contact Oracle about a particular request, please provide
1229
+ # the request ID.
1230
+ #
1231
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1232
+ #
1233
+ # @return [Response] A Response object with data of type nil
1234
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_steering_policy.rb.html) to see an example of how to use delete_steering_policy API.
1235
+ def delete_steering_policy(steering_policy_id, opts = {})
1236
+ logger.debug 'Calling operation DnsClient#delete_steering_policy.' if logger
1237
+
1238
+ raise "Missing the required parameter 'steering_policy_id' when calling delete_steering_policy." if steering_policy_id.nil?
1239
+
1240
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1241
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1242
+ end
1243
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
1244
+
1245
+ path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
1246
+ operation_signing_strategy = :standard
1247
+
1248
+ # rubocop:disable Style/NegatedIf
1249
+ # Query Params
1250
+ query_params = {}
1251
+ query_params[:scope] = opts[:scope] if opts[:scope]
1252
+
1253
+ # Header Params
1254
+ header_params = {}
1255
+ header_params[:accept] = 'application/json'
1256
+ header_params[:'content-type'] = 'application/json'
1257
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1258
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1259
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1260
+ # rubocop:enable Style/NegatedIf
1261
+
1262
+ post_body = nil
1263
+
1264
+ # rubocop:disable Metrics/BlockLength
1265
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy') do
1266
+ @api_client.call_api(
1267
+ :DELETE,
1268
+ path,
1269
+ endpoint,
1270
+ header_params: header_params,
1271
+ query_params: query_params,
1272
+ operation_signing_strategy: operation_signing_strategy,
1273
+ body: post_body
1274
+ )
1275
+ end
1276
+ # rubocop:enable Metrics/BlockLength
1277
+ end
1278
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1279
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1280
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1281
+
1282
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1283
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1284
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1285
+
1286
+
1287
+ # Deletes the specified steering policy attachment.
1288
+ # A `204` response indicates that the delete has been successful.
1289
+ #
1290
+ # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
1291
+ # @param [Hash] opts the optional parameters
1292
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1293
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1294
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1295
+ # existence of at least one current representation of the target resource,
1296
+ # when the field-value is `*`, or having a current representation of the
1297
+ # target resource that has an entity-tag matching a member of the list of
1298
+ # entity-tags provided in the field-value.
1299
+ #
1300
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1301
+ # conditional on the selected representation's last modification date being
1302
+ # earlier than or equal to the date provided in the field-value. This
1303
+ # field accomplishes the same purpose as If-Match for cases where the user
1304
+ # agent does not have an entity-tag for the representation.
1305
+ #
1306
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1307
+ # to contact Oracle about a particular request, please provide
1308
+ # the request ID.
1309
+ #
1310
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1311
+ #
1312
+ # @return [Response] A Response object with data of type nil
1313
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_steering_policy_attachment.rb.html) to see an example of how to use delete_steering_policy_attachment API.
1314
+ def delete_steering_policy_attachment(steering_policy_attachment_id, opts = {})
1315
+ logger.debug 'Calling operation DnsClient#delete_steering_policy_attachment.' if logger
1316
+
1317
+ raise "Missing the required parameter 'steering_policy_attachment_id' when calling delete_steering_policy_attachment." if steering_policy_attachment_id.nil?
1318
+
1319
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1320
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1321
+ end
1322
+ raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
1323
+
1324
+ path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
1325
+ operation_signing_strategy = :standard
1326
+
1327
+ # rubocop:disable Style/NegatedIf
1328
+ # Query Params
1329
+ query_params = {}
1330
+ query_params[:scope] = opts[:scope] if opts[:scope]
1331
+
1332
+ # Header Params
1333
+ header_params = {}
1334
+ header_params[:accept] = 'application/json'
1335
+ header_params[:'content-type'] = 'application/json'
1336
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1337
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1338
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1339
+ # rubocop:enable Style/NegatedIf
1340
+
1341
+ post_body = nil
1342
+
1343
+ # rubocop:disable Metrics/BlockLength
1344
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_steering_policy_attachment') do
1345
+ @api_client.call_api(
1346
+ :DELETE,
1347
+ path,
1348
+ endpoint,
1349
+ header_params: header_params,
1350
+ query_params: query_params,
1351
+ operation_signing_strategy: operation_signing_strategy,
1352
+ body: post_body
1353
+ )
1354
+ end
1355
+ # rubocop:enable Metrics/BlockLength
1356
+ end
1357
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1358
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1359
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1360
+
1361
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1362
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1363
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1364
+
1365
+
1366
+ # Deletes the specified TSIG key.
1367
+ #
1368
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
1369
+ # @param [Hash] opts the optional parameters
1370
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1371
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1372
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1373
+ # existence of at least one current representation of the target resource,
1374
+ # when the field-value is `*`, or having a current representation of the
1375
+ # target resource that has an entity-tag matching a member of the list of
1376
+ # entity-tags provided in the field-value.
1377
+ #
1378
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1379
+ # conditional on the selected representation's last modification date being
1380
+ # earlier than or equal to the date provided in the field-value. This
1381
+ # field accomplishes the same purpose as If-Match for cases where the user
1382
+ # agent does not have an entity-tag for the representation.
1383
+ #
1384
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1385
+ # to contact Oracle about a particular request, please provide
1386
+ # the request ID.
1387
+ #
1388
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1389
+ #
1390
+ # @return [Response] A Response object with data of type nil
1391
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_tsig_key.rb.html) to see an example of how to use delete_tsig_key API.
1392
+ def delete_tsig_key(tsig_key_id, opts = {})
1393
+ logger.debug 'Calling operation DnsClient#delete_tsig_key.' if logger
1394
+
1395
+ raise "Missing the required parameter 'tsig_key_id' when calling delete_tsig_key." if tsig_key_id.nil?
1396
+
1397
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1398
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1399
+ end
1400
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
1401
+
1402
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
1403
+ operation_signing_strategy = :standard
1404
+
1405
+ # rubocop:disable Style/NegatedIf
1406
+ # Query Params
1407
+ query_params = {}
1408
+ query_params[:scope] = opts[:scope] if opts[:scope]
1409
+
1410
+ # Header Params
1411
+ header_params = {}
1412
+ header_params[:accept] = 'application/json'
1413
+ header_params[:'content-type'] = 'application/json'
1414
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1415
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1416
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1417
+ # rubocop:enable Style/NegatedIf
1418
+
1419
+ post_body = nil
1420
+
1421
+ # rubocop:disable Metrics/BlockLength
1422
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_tsig_key') do
1423
+ @api_client.call_api(
1424
+ :DELETE,
1425
+ path,
1426
+ endpoint,
1427
+ header_params: header_params,
1428
+ query_params: query_params,
1429
+ operation_signing_strategy: operation_signing_strategy,
1430
+ body: post_body
1431
+ )
1432
+ end
1433
+ # rubocop:enable Metrics/BlockLength
1434
+ end
1435
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1436
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1437
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1438
+
1439
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1440
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1441
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1442
+
1443
+
1444
+ # Deletes the specified view. Note that attempting to delete a
1445
+ # view in the DELETED lifecycleState will result in a 404 to be
1446
+ # consistent with other operations of the API. Views can not be
1447
+ # deleted if they are referenced by non-deleted zones or resolvers.
1448
+ # Protected views cannot be deleted.
1449
+ #
1450
+ # @param [String] view_id The OCID of the target view.
1451
+ # @param [Hash] opts the optional parameters
1452
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1453
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1454
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1455
+ # existence of at least one current representation of the target resource,
1456
+ # when the field-value is `*`, or having a current representation of the
1457
+ # target resource that has an entity-tag matching a member of the list of
1458
+ # entity-tags provided in the field-value.
1459
+ #
1460
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1461
+ # conditional on the selected representation's last modification date being
1462
+ # earlier than or equal to the date provided in the field-value. This
1463
+ # field accomplishes the same purpose as If-Match for cases where the user
1464
+ # agent does not have an entity-tag for the representation.
1465
+ #
1466
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1467
+ # to contact Oracle about a particular request, please provide
1468
+ # the request ID.
1469
+ #
1470
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1471
+ #
1472
+ # @return [Response] A Response object with data of type nil
1473
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_view.rb.html) to see an example of how to use delete_view API.
1474
+ def delete_view(view_id, opts = {})
1475
+ logger.debug 'Calling operation DnsClient#delete_view.' if logger
1476
+
1477
+ raise "Missing the required parameter 'view_id' when calling delete_view." if view_id.nil?
1478
+
1479
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1480
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1481
+ end
1482
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
1483
+
1484
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
1485
+ operation_signing_strategy = :standard
1486
+
1487
+ # rubocop:disable Style/NegatedIf
1488
+ # Query Params
1489
+ query_params = {}
1490
+ query_params[:scope] = opts[:scope] if opts[:scope]
1491
+
1492
+ # Header Params
1493
+ header_params = {}
1494
+ header_params[:accept] = 'application/json'
1495
+ header_params[:'content-type'] = 'application/json'
1496
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1497
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1498
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1499
+ # rubocop:enable Style/NegatedIf
1500
+
1501
+ post_body = nil
1502
+
1503
+ # rubocop:disable Metrics/BlockLength
1504
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_view') do
1505
+ @api_client.call_api(
1506
+ :DELETE,
1507
+ path,
1508
+ endpoint,
1509
+ header_params: header_params,
1510
+ query_params: query_params,
1511
+ operation_signing_strategy: operation_signing_strategy,
1512
+ body: post_body
1513
+ )
1514
+ end
1515
+ # rubocop:enable Metrics/BlockLength
1516
+ end
1517
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1518
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1519
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1520
+
1521
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1522
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1523
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1524
+
1525
+
1526
+ # Deletes the specified zone and all its steering policy attachments.
1527
+ # A `204` response indicates that the zone has been successfully deleted.
1528
+ # Protected zones cannot be deleted.
1529
+ #
1530
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1531
+ # @param [Hash] opts the optional parameters
1532
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1533
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1534
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
1535
+ # existence of at least one current representation of the target resource,
1536
+ # when the field-value is `*`, or having a current representation of the
1537
+ # target resource that has an entity-tag matching a member of the list of
1538
+ # entity-tags provided in the field-value.
1539
+ #
1540
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1541
+ # conditional on the selected representation's last modification date being
1542
+ # earlier than or equal to the date provided in the field-value. This
1543
+ # field accomplishes the same purpose as If-Match for cases where the user
1544
+ # agent does not have an entity-tag for the representation.
1545
+ #
1546
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1547
+ # to contact Oracle about a particular request, please provide
1548
+ # the request ID.
1549
+ #
1550
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1551
+ #
1552
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1553
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1554
+ # @return [Response] A Response object with data of type nil
1555
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/delete_zone.rb.html) to see an example of how to use delete_zone API.
1556
+ def delete_zone(zone_name_or_id, opts = {})
1557
+ logger.debug 'Calling operation DnsClient#delete_zone.' if logger
1558
+
1559
+ raise "Missing the required parameter 'zone_name_or_id' when calling delete_zone." if zone_name_or_id.nil?
1560
+
1561
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1562
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1563
+ end
1564
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1565
+
1566
+ path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1567
+ operation_signing_strategy = :standard
1568
+
1569
+ # rubocop:disable Style/NegatedIf
1570
+ # Query Params
1571
+ query_params = {}
1572
+ query_params[:scope] = opts[:scope] if opts[:scope]
1573
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1574
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1575
+
1576
+ # Header Params
1577
+ header_params = {}
1578
+ header_params[:accept] = 'application/json'
1579
+ header_params[:'content-type'] = 'application/json'
1580
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1581
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
1582
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1583
+ # rubocop:enable Style/NegatedIf
1584
+
1585
+ post_body = nil
1586
+
1587
+ # rubocop:disable Metrics/BlockLength
1588
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#delete_zone') do
1589
+ @api_client.call_api(
1590
+ :DELETE,
1591
+ path,
1592
+ endpoint,
1593
+ header_params: header_params,
1594
+ query_params: query_params,
1595
+ operation_signing_strategy: operation_signing_strategy,
1596
+ body: post_body
1597
+ )
1598
+ end
1599
+ # rubocop:enable Metrics/BlockLength
1600
+ end
1601
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1602
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1603
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1604
+
1605
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1606
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1607
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1608
+
1609
+
1610
+ # Gets a list of all records at the specified zone and domain.
1611
+ # The results are sorted by `rtype` in alphabetical order by default. You
1612
+ # can optionally filter and/or sort the results using the listed parameters.
1613
+ #
1614
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1615
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1616
+ # @param [Hash] opts the optional parameters
1617
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1618
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1619
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1620
+ # the absence of any current representation of the target resource, when
1621
+ # the field-value is `*`, or having a selected representation with an
1622
+ # entity-tag that does not match any of those listed in the field-value.
1623
+ #
1624
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1625
+ # conditional on the selected representation's modification date being more
1626
+ # recent than the date provided in the field-value. Transfer of the
1627
+ # selected representation's data is avoided if that data has not changed.
1628
+ #
1629
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1630
+ # to contact Oracle about a particular request, please provide
1631
+ # the request ID.
1632
+ #
1633
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1634
+ # (default to 50)
1635
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1636
+ #
1637
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
1638
+ #
1639
+ # @option opts [String] :rtype Search by record type.
1640
+ # 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.
1641
+ #
1642
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1643
+ #
1644
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1645
+ # @option opts [String] :sort_by The field by which to sort records. (default to rtype)
1646
+ # Allowed values are: rtype, ttl
1647
+ # @option opts [String] :sort_order The order to sort the resources.
1648
+ # (default to ASC)
1649
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1650
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
1651
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_domain_records.rb.html) to see an example of how to use get_domain_records API.
1652
+ def get_domain_records(zone_name_or_id, domain, opts = {})
1653
+ logger.debug 'Calling operation DnsClient#get_domain_records.' if logger
1654
+
1655
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_domain_records." if zone_name_or_id.nil?
1656
+ raise "Missing the required parameter 'domain' when calling get_domain_records." if domain.nil?
1657
+
1658
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1659
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1660
+ end
1661
+
1662
+ if opts[:sort_by] && !%w[rtype ttl].include?(opts[:sort_by])
1663
+ raise 'Invalid value for "sort_by", must be one of rtype, ttl.'
1664
+ end
1665
+
1666
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1667
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1668
+ end
1669
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1670
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1671
+
1672
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
1673
+ operation_signing_strategy = :standard
1674
+
1675
+ # rubocop:disable Style/NegatedIf
1676
+ # Query Params
1677
+ query_params = {}
1678
+ query_params[:limit] = opts[:limit] if opts[:limit]
1679
+ query_params[:page] = opts[:page] if opts[:page]
1680
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
1681
+ query_params[:rtype] = opts[:rtype] if opts[:rtype]
1682
+ query_params[:scope] = opts[:scope] if opts[:scope]
1683
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1684
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1685
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1686
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1687
+
1688
+ # Header Params
1689
+ header_params = {}
1690
+ header_params[:accept] = 'application/json'
1691
+ header_params[:'content-type'] = 'application/json'
1692
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1693
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1694
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1695
+ # rubocop:enable Style/NegatedIf
1696
+
1697
+ post_body = nil
1698
+
1699
+ # rubocop:disable Metrics/BlockLength
1700
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_domain_records') do
1701
+ @api_client.call_api(
1702
+ :GET,
1703
+ path,
1704
+ endpoint,
1705
+ header_params: header_params,
1706
+ query_params: query_params,
1707
+ operation_signing_strategy: operation_signing_strategy,
1708
+ body: post_body,
1709
+ return_type: 'OCI::Dns::Models::RecordCollection'
1710
+ )
1711
+ end
1712
+ # rubocop:enable Metrics/BlockLength
1713
+ end
1714
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1715
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1716
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1717
+
1718
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1719
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1720
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1721
+
1722
+
1723
+ # Get information about a specific resolver. Note that attempting to get a
1724
+ # resolver in the DELETED lifecycleState will result in a 404 to be
1725
+ # consistent with other operations of the API.
1726
+ #
1727
+ # @param [String] resolver_id The OCID of the target resolver.
1728
+ # @param [Hash] opts the optional parameters
1729
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1730
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1731
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1732
+ # conditional on the selected representation's modification date being more
1733
+ # recent than the date provided in the field-value. Transfer of the
1734
+ # selected representation's data is avoided if that data has not changed.
1735
+ #
1736
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1737
+ # the absence of any current representation of the target resource, when
1738
+ # the field-value is `*`, or having a selected representation with an
1739
+ # entity-tag that does not match any of those listed in the field-value.
1740
+ #
1741
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1742
+ # to contact Oracle about a particular request, please provide
1743
+ # the request ID.
1744
+ #
1745
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1746
+ #
1747
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
1748
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_resolver.rb.html) to see an example of how to use get_resolver API.
1749
+ def get_resolver(resolver_id, opts = {})
1750
+ logger.debug 'Calling operation DnsClient#get_resolver.' if logger
1751
+
1752
+ raise "Missing the required parameter 'resolver_id' when calling get_resolver." if resolver_id.nil?
1753
+
1754
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1755
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1756
+ end
1757
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1758
+
1759
+ path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
1760
+ operation_signing_strategy = :standard
1761
+
1762
+ # rubocop:disable Style/NegatedIf
1763
+ # Query Params
1764
+ query_params = {}
1765
+ query_params[:scope] = opts[:scope] if opts[:scope]
1766
+
1767
+ # Header Params
1768
+ header_params = {}
1769
+ header_params[:accept] = 'application/json'
1770
+ header_params[:'content-type'] = 'application/json'
1771
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1772
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1773
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1774
+ # rubocop:enable Style/NegatedIf
1775
+
1776
+ post_body = nil
1777
+
1778
+ # rubocop:disable Metrics/BlockLength
1779
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver') do
1780
+ @api_client.call_api(
1781
+ :GET,
1782
+ path,
1783
+ endpoint,
1784
+ header_params: header_params,
1785
+ query_params: query_params,
1786
+ operation_signing_strategy: operation_signing_strategy,
1787
+ body: post_body,
1788
+ return_type: 'OCI::Dns::Models::Resolver'
1789
+ )
1790
+ end
1791
+ # rubocop:enable Metrics/BlockLength
1792
+ end
1793
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1794
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1795
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1796
+
1797
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1798
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1799
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1800
+
1801
+
1802
+ # Get information about a specific resolver endpoint. Note that attempting to get a resolver endpoint
1803
+ # in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
1804
+ #
1805
+ # @param [String] resolver_id The OCID of the target resolver.
1806
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
1807
+ # @param [Hash] opts the optional parameters
1808
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1809
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1810
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1811
+ # conditional on the selected representation's modification date being more
1812
+ # recent than the date provided in the field-value. Transfer of the
1813
+ # selected representation's data is avoided if that data has not changed.
1814
+ #
1815
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1816
+ # the absence of any current representation of the target resource, when
1817
+ # the field-value is `*`, or having a selected representation with an
1818
+ # entity-tag that does not match any of those listed in the field-value.
1819
+ #
1820
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1821
+ # to contact Oracle about a particular request, please provide
1822
+ # the request ID.
1823
+ #
1824
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1825
+ #
1826
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
1827
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_resolver_endpoint.rb.html) to see an example of how to use get_resolver_endpoint API.
1828
+ def get_resolver_endpoint(resolver_id, resolver_endpoint_name, opts = {})
1829
+ logger.debug 'Calling operation DnsClient#get_resolver_endpoint.' if logger
1830
+
1831
+ raise "Missing the required parameter 'resolver_id' when calling get_resolver_endpoint." if resolver_id.nil?
1832
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling get_resolver_endpoint." if resolver_endpoint_name.nil?
1833
+
1834
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1835
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1836
+ end
1837
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
1838
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
1839
+
1840
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1841
+ operation_signing_strategy = :standard
1842
+
1843
+ # rubocop:disable Style/NegatedIf
1844
+ # Query Params
1845
+ query_params = {}
1846
+ query_params[:scope] = opts[:scope] if opts[:scope]
1847
+
1848
+ # Header Params
1849
+ header_params = {}
1850
+ header_params[:accept] = 'application/json'
1851
+ header_params[:'content-type'] = 'application/json'
1852
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1853
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1854
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1855
+ # rubocop:enable Style/NegatedIf
1856
+
1857
+ post_body = nil
1858
+
1859
+ # rubocop:disable Metrics/BlockLength
1860
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_resolver_endpoint') do
1861
+ @api_client.call_api(
1862
+ :GET,
1863
+ path,
1864
+ endpoint,
1865
+ header_params: header_params,
1866
+ query_params: query_params,
1867
+ operation_signing_strategy: operation_signing_strategy,
1868
+ body: post_body,
1869
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
1870
+ )
1871
+ end
1872
+ # rubocop:enable Metrics/BlockLength
1873
+ end
1874
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1875
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1876
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1877
+
1878
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1879
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1880
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1881
+
1882
+
1883
+ # Gets a list of all records in the specified RRSet. The results are
1884
+ # sorted by `recordHash` by default.
1885
+ #
1886
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
1887
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
1888
+ # @param [String] rtype The type of the target RRSet within the target zone.
1889
+ # @param [Hash] opts the optional parameters
1890
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1891
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1892
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1893
+ # the absence of any current representation of the target resource, when
1894
+ # the field-value is `*`, or having a selected representation with an
1895
+ # entity-tag that does not match any of those listed in the field-value.
1896
+ #
1897
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1898
+ # conditional on the selected representation's modification date being more
1899
+ # recent than the date provided in the field-value. Transfer of the
1900
+ # selected representation's data is avoided if that data has not changed.
1901
+ #
1902
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1903
+ # to contact Oracle about a particular request, please provide
1904
+ # the request ID.
1905
+ #
1906
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1907
+ # (default to 50)
1908
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1909
+ #
1910
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
1911
+ #
1912
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1913
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
1914
+ #
1915
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1916
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RRSet RRSet}
1917
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_rr_set.rb.html) to see an example of how to use get_rr_set API.
1918
+ def get_rr_set(zone_name_or_id, domain, rtype, opts = {})
1919
+ logger.debug 'Calling operation DnsClient#get_rr_set.' if logger
1920
+
1921
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_rr_set." if zone_name_or_id.nil?
1922
+ raise "Missing the required parameter 'domain' when calling get_rr_set." if domain.nil?
1923
+ raise "Missing the required parameter 'rtype' when calling get_rr_set." if rtype.nil?
1924
+
1925
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
1926
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
1927
+ end
1928
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1929
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1930
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
1931
+
1932
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
1933
+ operation_signing_strategy = :standard
1934
+
1935
+ # rubocop:disable Style/NegatedIf
1936
+ # Query Params
1937
+ query_params = {}
1938
+ query_params[:limit] = opts[:limit] if opts[:limit]
1939
+ query_params[:page] = opts[:page] if opts[:page]
1940
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
1941
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1942
+ query_params[:scope] = opts[:scope] if opts[:scope]
1943
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1944
+
1945
+ # Header Params
1946
+ header_params = {}
1947
+ header_params[:accept] = 'application/json'
1948
+ header_params[:'content-type'] = 'application/json'
1949
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1950
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
1951
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1952
+ # rubocop:enable Style/NegatedIf
1953
+
1954
+ post_body = nil
1955
+
1956
+ # rubocop:disable Metrics/BlockLength
1957
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_rr_set') do
1958
+ @api_client.call_api(
1959
+ :GET,
1960
+ path,
1961
+ endpoint,
1962
+ header_params: header_params,
1963
+ query_params: query_params,
1964
+ operation_signing_strategy: operation_signing_strategy,
1965
+ body: post_body,
1966
+ return_type: 'OCI::Dns::Models::RRSet'
1967
+ )
1968
+ end
1969
+ # rubocop:enable Metrics/BlockLength
1970
+ end
1971
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1972
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1973
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1974
+
1975
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1976
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1977
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1978
+
1979
+
1980
+ # Gets information about the specified steering policy.
1981
+ #
1982
+ # @param [String] steering_policy_id The OCID of the target steering policy.
1983
+ # @param [Hash] opts the optional parameters
1984
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1985
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1986
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
1987
+ # the absence of any current representation of the target resource, when
1988
+ # the field-value is `*`, or having a selected representation with an
1989
+ # entity-tag that does not match any of those listed in the field-value.
1990
+ #
1991
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
1992
+ # conditional on the selected representation's modification date being more
1993
+ # recent than the date provided in the field-value. Transfer of the
1994
+ # selected representation's data is avoided if that data has not changed.
1995
+ #
1996
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
1997
+ # to contact Oracle about a particular request, please provide
1998
+ # the request ID.
1999
+ #
2000
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2001
+ #
2002
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
2003
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_steering_policy.rb.html) to see an example of how to use get_steering_policy API.
2004
+ def get_steering_policy(steering_policy_id, opts = {})
2005
+ logger.debug 'Calling operation DnsClient#get_steering_policy.' if logger
2006
+
2007
+ raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
2008
+
2009
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2010
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2011
+ end
2012
+ raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
2013
+
2014
+ path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
2015
+ operation_signing_strategy = :standard
2016
+
2017
+ # rubocop:disable Style/NegatedIf
2018
+ # Query Params
2019
+ query_params = {}
2020
+ query_params[:scope] = opts[:scope] if opts[:scope]
2021
+
2022
+ # Header Params
2023
+ header_params = {}
2024
+ header_params[:accept] = 'application/json'
2025
+ header_params[:'content-type'] = 'application/json'
2026
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2027
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2028
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2029
+ # rubocop:enable Style/NegatedIf
2030
+
2031
+ post_body = nil
2032
+
2033
+ # rubocop:disable Metrics/BlockLength
2034
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
2035
+ @api_client.call_api(
2036
+ :GET,
2037
+ path,
2038
+ endpoint,
2039
+ header_params: header_params,
2040
+ query_params: query_params,
2041
+ operation_signing_strategy: operation_signing_strategy,
2042
+ body: post_body,
2043
+ return_type: 'OCI::Dns::Models::SteeringPolicy'
2044
+ )
2045
+ end
2046
+ # rubocop:enable Metrics/BlockLength
2047
+ end
2048
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2049
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2050
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2051
+
2052
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2053
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2054
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2055
+
2056
+
2057
+ # Gets information about the specified steering policy attachment.
2058
+ #
2059
+ # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
2060
+ # @param [Hash] opts the optional parameters
2061
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2062
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2063
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2064
+ # the absence of any current representation of the target resource, when
2065
+ # the field-value is `*`, or having a selected representation with an
2066
+ # entity-tag that does not match any of those listed in the field-value.
2067
+ #
2068
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2069
+ # conditional on the selected representation's modification date being more
2070
+ # recent than the date provided in the field-value. Transfer of the
2071
+ # selected representation's data is avoided if that data has not changed.
2072
+ #
2073
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2074
+ # to contact Oracle about a particular request, please provide
2075
+ # the request ID.
2076
+ #
2077
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2078
+ #
2079
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
2080
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_steering_policy_attachment.rb.html) to see an example of how to use get_steering_policy_attachment API.
2081
+ def get_steering_policy_attachment(steering_policy_attachment_id, opts = {})
2082
+ logger.debug 'Calling operation DnsClient#get_steering_policy_attachment.' if logger
2083
+
2084
+ raise "Missing the required parameter 'steering_policy_attachment_id' when calling get_steering_policy_attachment." if steering_policy_attachment_id.nil?
2085
+
2086
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2087
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2088
+ end
2089
+ raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
2090
+
2091
+ path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
2092
+ operation_signing_strategy = :standard
2093
+
2094
+ # rubocop:disable Style/NegatedIf
2095
+ # Query Params
2096
+ query_params = {}
2097
+ query_params[:scope] = opts[:scope] if opts[:scope]
2098
+
2099
+ # Header Params
2100
+ header_params = {}
2101
+ header_params[:accept] = 'application/json'
2102
+ header_params[:'content-type'] = 'application/json'
2103
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2104
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2105
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2106
+ # rubocop:enable Style/NegatedIf
2107
+
2108
+ post_body = nil
2109
+
2110
+ # rubocop:disable Metrics/BlockLength
2111
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
2112
+ @api_client.call_api(
2113
+ :GET,
2114
+ path,
2115
+ endpoint,
2116
+ header_params: header_params,
2117
+ query_params: query_params,
2118
+ operation_signing_strategy: operation_signing_strategy,
2119
+ body: post_body,
2120
+ return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
2121
+ )
2122
+ end
2123
+ # rubocop:enable Metrics/BlockLength
2124
+ end
2125
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2126
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2127
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2128
+
2129
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2130
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2131
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2132
+
2133
+
2134
+ # Gets information about the specified TSIG key.
2135
+ #
2136
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
2137
+ # @param [Hash] opts the optional parameters
2138
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2139
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2140
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2141
+ # the absence of any current representation of the target resource, when
2142
+ # the field-value is `*`, or having a selected representation with an
2143
+ # entity-tag that does not match any of those listed in the field-value.
2144
+ #
2145
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2146
+ # conditional on the selected representation's modification date being more
2147
+ # recent than the date provided in the field-value. Transfer of the
2148
+ # selected representation's data is avoided if that data has not changed.
2149
+ #
2150
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2151
+ # to contact Oracle about a particular request, please provide
2152
+ # the request ID.
2153
+ #
2154
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2155
+ #
2156
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
2157
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_tsig_key.rb.html) to see an example of how to use get_tsig_key API.
2158
+ def get_tsig_key(tsig_key_id, opts = {})
2159
+ logger.debug 'Calling operation DnsClient#get_tsig_key.' if logger
2160
+
2161
+ raise "Missing the required parameter 'tsig_key_id' when calling get_tsig_key." if tsig_key_id.nil?
2162
+
2163
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2164
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2165
+ end
2166
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
2167
+
2168
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
2169
+ operation_signing_strategy = :standard
2170
+
2171
+ # rubocop:disable Style/NegatedIf
2172
+ # Query Params
2173
+ query_params = {}
2174
+ query_params[:scope] = opts[:scope] if opts[:scope]
2175
+
2176
+ # Header Params
2177
+ header_params = {}
2178
+ header_params[:accept] = 'application/json'
2179
+ header_params[:'content-type'] = 'application/json'
2180
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2181
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2182
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2183
+ # rubocop:enable Style/NegatedIf
2184
+
2185
+ post_body = nil
2186
+
2187
+ # rubocop:disable Metrics/BlockLength
2188
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_tsig_key') do
2189
+ @api_client.call_api(
2190
+ :GET,
2191
+ path,
2192
+ endpoint,
2193
+ header_params: header_params,
2194
+ query_params: query_params,
2195
+ operation_signing_strategy: operation_signing_strategy,
2196
+ body: post_body,
2197
+ return_type: 'OCI::Dns::Models::TsigKey'
2198
+ )
2199
+ end
2200
+ # rubocop:enable Metrics/BlockLength
2201
+ end
2202
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2203
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2204
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2205
+
2206
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2207
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2208
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2209
+
2210
+
2211
+ # Get information about a specific view. Note that attempting to get a
2212
+ # view in the DELETED lifecycleState will result in a 404 to be
2213
+ # consistent with other operations of the API.
2214
+ #
2215
+ # @param [String] view_id The OCID of the target view.
2216
+ # @param [Hash] opts the optional parameters
2217
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2218
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2219
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2220
+ # conditional on the selected representation's modification date being more
2221
+ # recent than the date provided in the field-value. Transfer of the
968
2222
  # selected representation's data is avoided if that data has not changed.
969
- # (default to nil)
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
2223
+ #
2224
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2225
+ # the absence of any current representation of the target resource, when
2226
+ # the field-value is `*`, or having a selected representation with an
2227
+ # entity-tag that does not match any of those listed in the field-value.
2228
+ #
2229
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2230
+ # to contact Oracle about a particular request, please provide
2231
+ # the request ID.
2232
+ #
2233
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2234
+ #
2235
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
2236
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_view.rb.html) to see an example of how to use get_view API.
2237
+ def get_view(view_id, opts = {})
2238
+ logger.debug 'Calling operation DnsClient#get_view.' if logger
2239
+
2240
+ raise "Missing the required parameter 'view_id' when calling get_view." if view_id.nil?
2241
+
2242
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2243
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2244
+ end
2245
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
2246
+
2247
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
2248
+ operation_signing_strategy = :standard
2249
+
2250
+ # rubocop:disable Style/NegatedIf
2251
+ # Query Params
2252
+ query_params = {}
2253
+ query_params[:scope] = opts[:scope] if opts[:scope]
2254
+
2255
+ # Header Params
2256
+ header_params = {}
2257
+ header_params[:accept] = 'application/json'
2258
+ header_params[:'content-type'] = 'application/json'
2259
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2260
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2261
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2262
+ # rubocop:enable Style/NegatedIf
2263
+
2264
+ post_body = nil
2265
+
2266
+ # rubocop:disable Metrics/BlockLength
2267
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_view') do
2268
+ @api_client.call_api(
2269
+ :GET,
2270
+ path,
2271
+ endpoint,
2272
+ header_params: header_params,
2273
+ query_params: query_params,
2274
+ operation_signing_strategy: operation_signing_strategy,
2275
+ body: post_body,
2276
+ return_type: 'OCI::Dns::Models::View'
2277
+ )
2278
+ end
2279
+ # rubocop:enable Metrics/BlockLength
2280
+ end
2281
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2282
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2283
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2284
+
2285
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2286
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2287
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2288
+
2289
+
2290
+ # Gets information about the specified zone, including its creation date,
2291
+ # zone type, and serial.
2292
+ #
2293
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
2294
+ # @param [Hash] opts the optional parameters
2295
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2296
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2297
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2298
+ # the absence of any current representation of the target resource, when
2299
+ # the field-value is `*`, or having a selected representation with an
2300
+ # entity-tag that does not match any of those listed in the field-value.
2301
+ #
2302
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2303
+ # conditional on the selected representation's modification date being more
2304
+ # recent than the date provided in the field-value. Transfer of the
2305
+ # selected representation's data is avoided if that data has not changed.
2306
+ #
2307
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2308
+ # to contact Oracle about a particular request, please provide
2309
+ # the request ID.
2310
+ #
2311
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2312
+ #
2313
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2314
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2315
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
2316
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_zone.rb.html) to see an example of how to use get_zone API.
2317
+ def get_zone(zone_name_or_id, opts = {})
2318
+ logger.debug 'Calling operation DnsClient#get_zone.' if logger
2319
+
2320
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_zone." if zone_name_or_id.nil?
2321
+
2322
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2323
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2324
+ end
2325
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2326
+
2327
+ path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2328
+ operation_signing_strategy = :standard
2329
+
2330
+ # rubocop:disable Style/NegatedIf
2331
+ # Query Params
2332
+ query_params = {}
2333
+ query_params[:scope] = opts[:scope] if opts[:scope]
2334
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2335
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2336
+
2337
+ # Header Params
2338
+ header_params = {}
2339
+ header_params[:accept] = 'application/json'
2340
+ header_params[:'content-type'] = 'application/json'
2341
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2342
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2343
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2344
+ # rubocop:enable Style/NegatedIf
2345
+
2346
+ post_body = nil
2347
+
2348
+ # rubocop:disable Metrics/BlockLength
2349
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
2350
+ @api_client.call_api(
2351
+ :GET,
2352
+ path,
2353
+ endpoint,
2354
+ header_params: header_params,
2355
+ query_params: query_params,
2356
+ operation_signing_strategy: operation_signing_strategy,
2357
+ body: post_body,
2358
+ return_type: 'OCI::Dns::Models::Zone'
2359
+ )
2360
+ end
2361
+ # rubocop:enable Metrics/BlockLength
2362
+ end
2363
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2364
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2365
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2366
+
2367
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2368
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2369
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2370
+
2371
+
2372
+ # Gets all records in the specified zone. The results are
2373
+ # sorted by `domain` in alphabetical order by default. For more
2374
+ # information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
2375
+ #
2376
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
2377
+ # @param [Hash] opts the optional parameters
2378
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2379
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2380
+ # @option opts [String] :if_none_match The `If-None-Match` header field makes the request method conditional on
2381
+ # the absence of any current representation of the target resource, when
2382
+ # the field-value is `*`, or having a selected representation with an
2383
+ # entity-tag that does not match any of those listed in the field-value.
2384
+ #
2385
+ # @option opts [String] :if_modified_since The `If-Modified-Since` header field makes a GET or HEAD request method
2386
+ # conditional on the selected representation's modification date being more
2387
+ # recent than the date provided in the field-value. Transfer of the
2388
+ # selected representation's data is avoided if that data has not changed.
2389
+ #
2390
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2391
+ # to contact Oracle about a particular request, please provide
2392
+ # the request ID.
2393
+ #
2394
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2395
+ # (default to 50)
2396
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2397
+ #
2398
+ # @option opts [String] :zone_version The version of the zone for which data is requested.
2399
+ #
2400
+ # @option opts [String] :domain Search by domain.
2401
+ # Will match any record whose domain (case-insensitive) equals the provided value.
2402
+ #
2403
+ # @option opts [String] :domain_contains Search by domain.
2404
+ # Will match any record whose domain (case-insensitive) contains the provided value.
2405
+ #
2406
+ # @option opts [String] :rtype Search by record type.
2407
+ # 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.
2408
+ #
2409
+ # @option opts [String] :sort_by The field by which to sort records. (default to domain)
2410
+ # Allowed values are: domain, rtype, ttl
2411
+ # @option opts [String] :sort_order The order to sort the resources.
2412
+ # (default to ASC)
2413
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2414
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2415
+ #
2416
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
2417
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
2418
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/get_zone_records.rb.html) to see an example of how to use get_zone_records API.
2419
+ def get_zone_records(zone_name_or_id, opts = {})
2420
+ logger.debug 'Calling operation DnsClient#get_zone_records.' if logger
2421
+
2422
+ raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
2423
+
2424
+ if opts[:sort_by] && !%w[domain rtype ttl].include?(opts[:sort_by])
2425
+ raise 'Invalid value for "sort_by", must be one of domain, rtype, ttl.'
2426
+ end
2427
+
2428
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2429
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2430
+ end
2431
+
2432
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2433
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2434
+ end
2435
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2436
+
2437
+ path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2438
+ operation_signing_strategy = :standard
2439
+
2440
+ # rubocop:disable Style/NegatedIf
2441
+ # Query Params
2442
+ query_params = {}
2443
+ query_params[:limit] = opts[:limit] if opts[:limit]
2444
+ query_params[:page] = opts[:page] if opts[:page]
2445
+ query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
2446
+ query_params[:domain] = opts[:domain] if opts[:domain]
2447
+ query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
2448
+ query_params[:rtype] = opts[:rtype] if opts[:rtype]
2449
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2450
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2451
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2452
+ query_params[:scope] = opts[:scope] if opts[:scope]
2453
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2454
+
2455
+ # Header Params
2456
+ header_params = {}
2457
+ header_params[:accept] = 'application/json'
2458
+ header_params[:'content-type'] = 'application/json'
2459
+ header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
2460
+ header_params[:'if-modified-since'] = opts[:if_modified_since] if opts[:if_modified_since]
2461
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2462
+ # rubocop:enable Style/NegatedIf
2463
+
2464
+ post_body = nil
2465
+
2466
+ # rubocop:disable Metrics/BlockLength
2467
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
2468
+ @api_client.call_api(
2469
+ :GET,
2470
+ path,
2471
+ endpoint,
2472
+ header_params: header_params,
2473
+ query_params: query_params,
2474
+ operation_signing_strategy: operation_signing_strategy,
2475
+ body: post_body,
2476
+ return_type: 'OCI::Dns::Models::RecordCollection'
2477
+ )
2478
+ end
2479
+ # rubocop:enable Metrics/BlockLength
2480
+ end
2481
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2482
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2483
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2484
+
2485
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2486
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2487
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2488
+
2489
+
2490
+ # Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
2491
+ # It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
2492
+ # query parameter is provided that the collection does not include resolver endpoints in the DELETED
2493
+ # lifecycle state to be consistent with other operations of the API.
2494
+ #
2495
+ # @param [String] resolver_id The OCID of the target resolver.
2496
+ # @param [Hash] opts the optional parameters
2497
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2498
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2499
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2500
+ # to contact Oracle about a particular request, please provide
2501
+ # the request ID.
2502
+ #
2503
+ # @option opts [String] :name The name of a resource.
2504
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2505
+ #
2506
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2507
+ # (default to 50)
2508
+ # @option opts [String] :sort_order The order to sort the resources.
2509
+ # (default to DESC)
2510
+ # @option opts [String] :sort_by The field by which to sort resolver endpoints. (default to timeCreated)
2511
+ # Allowed values are: name, timeCreated
2512
+ # @option opts [String] :lifecycle_state The state of a resource.
2513
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2514
+ #
2515
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverEndpointSummary ResolverEndpointSummary}>
2516
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_resolver_endpoints.rb.html) to see an example of how to use list_resolver_endpoints API.
2517
+ def list_resolver_endpoints(resolver_id, opts = {})
2518
+ logger.debug 'Calling operation DnsClient#list_resolver_endpoints.' if logger
973
2519
 
974
- raise "Missing the required parameter 'steering_policy_id' when calling get_steering_policy." if steering_policy_id.nil?
975
- raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
2520
+ raise "Missing the required parameter 'resolver_id' when calling list_resolver_endpoints." if resolver_id.nil?
976
2521
 
977
- path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
2522
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2523
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2524
+ end
2525
+
2526
+ if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
2527
+ raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
2528
+ end
2529
+
2530
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2531
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverEndpointSummary::LIFECYCLE_STATE_ENUM.'
2532
+ end
2533
+
2534
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2535
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2536
+ end
2537
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
2538
+
2539
+ path = '/resolvers/{resolverId}/endpoints'.sub('{resolverId}', resolver_id.to_s)
978
2540
  operation_signing_strategy = :standard
979
2541
 
980
2542
  # rubocop:disable Style/NegatedIf
981
2543
  # Query Params
982
2544
  query_params = {}
2545
+ query_params[:name] = opts[:name] if opts[:name]
2546
+ query_params[:page] = opts[:page] if opts[:page]
2547
+ query_params[:limit] = opts[:limit] if opts[:limit]
2548
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2549
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2550
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2551
+ query_params[:scope] = opts[:scope] if opts[:scope]
983
2552
 
984
2553
  # Header Params
985
2554
  header_params = {}
986
2555
  header_params[:accept] = 'application/json'
987
2556
  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]
2557
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
990
2558
  # rubocop:enable Style/NegatedIf
991
2559
 
992
2560
  post_body = nil
993
2561
 
994
2562
  # rubocop:disable Metrics/BlockLength
995
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy') do
2563
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolver_endpoints') do
996
2564
  @api_client.call_api(
997
2565
  :GET,
998
2566
  path,
@@ -1001,7 +2569,7 @@ module OCI
1001
2569
  query_params: query_params,
1002
2570
  operation_signing_strategy: operation_signing_strategy,
1003
2571
  body: post_body,
1004
- return_type: 'OCI::Dns::Models::SteeringPolicy'
2572
+ return_type: 'Array<OCI::Dns::Models::ResolverEndpointSummary>'
1005
2573
  )
1006
2574
  end
1007
2575
  # rubocop:enable Metrics/BlockLength
@@ -1015,48 +2583,84 @@ module OCI
1015
2583
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1016
2584
 
1017
2585
 
1018
- # Gets information about the specified steering policy attachment.
2586
+ # Gets a list of all resolvers within a compartment. The collection can
2587
+ # be filtered by display name, id, or lifecycle state. It can be sorted
2588
+ # on creation time or displayName both in ASC or DESC order. Note that
2589
+ # when no lifecycleState query parameter is provided that the collection
2590
+ # does not include resolvers in the DELETED lifecycleState to be consistent
2591
+ # with other operations of the API.
1019
2592
  #
1020
- # @param [String] steering_policy_attachment_id The OCID of the target steering policy attachment.
2593
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1021
2594
  # @param [Hash] opts the optional parameters
1022
2595
  # @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
2596
  # 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.
1028
- # (default to nil)
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.
1033
- # (default to nil)
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
2597
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2598
+ # to contact Oracle about a particular request, please provide
2599
+ # the request ID.
2600
+ #
2601
+ # @option opts [String] :display_name The displayName of a resource.
2602
+ # @option opts [String] :id The OCID of a resource.
2603
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2604
+ #
2605
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2606
+ # (default to 50)
2607
+ # @option opts [String] :sort_order The order to sort the resources.
2608
+ # (default to DESC)
2609
+ # @option opts [String] :sort_by The field by which to sort resolvers. (default to timeCreated)
2610
+ # Allowed values are: displayName, timeCreated
2611
+ # @option opts [String] :lifecycle_state The state of a resource.
2612
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2613
+ #
2614
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ResolverSummary ResolverSummary}>
2615
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_resolvers.rb.html) to see an example of how to use list_resolvers API.
2616
+ def list_resolvers(compartment_id, opts = {})
2617
+ logger.debug 'Calling operation DnsClient#list_resolvers.' if logger
1037
2618
 
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)
2619
+ raise "Missing the required parameter 'compartment_id' when calling list_resolvers." if compartment_id.nil?
1040
2620
 
1041
- path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
2621
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2622
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2623
+ end
2624
+
2625
+ if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
2626
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
2627
+ end
2628
+
2629
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2630
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ResolverSummary::LIFECYCLE_STATE_ENUM.'
2631
+ end
2632
+
2633
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2634
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2635
+ end
2636
+
2637
+ path = '/resolvers'
1042
2638
  operation_signing_strategy = :standard
1043
2639
 
1044
2640
  # rubocop:disable Style/NegatedIf
1045
2641
  # Query Params
1046
2642
  query_params = {}
2643
+ query_params[:compartmentId] = compartment_id
2644
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2645
+ query_params[:id] = opts[:id] if opts[:id]
2646
+ query_params[:page] = opts[:page] if opts[:page]
2647
+ query_params[:limit] = opts[:limit] if opts[:limit]
2648
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2649
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2650
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2651
+ query_params[:scope] = opts[:scope] if opts[:scope]
1047
2652
 
1048
2653
  # Header Params
1049
2654
  header_params = {}
1050
2655
  header_params[:accept] = 'application/json'
1051
2656
  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]
2657
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1054
2658
  # rubocop:enable Style/NegatedIf
1055
2659
 
1056
2660
  post_body = nil
1057
2661
 
1058
2662
  # rubocop:disable Metrics/BlockLength
1059
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_steering_policy_attachment') do
2663
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_resolvers') do
1060
2664
  @api_client.call_api(
1061
2665
  :GET,
1062
2666
  path,
@@ -1065,7 +2669,7 @@ module OCI
1065
2669
  query_params: query_params,
1066
2670
  operation_signing_strategy: operation_signing_strategy,
1067
2671
  body: post_body,
1068
- return_type: 'OCI::Dns::Models::SteeringPolicyAttachment'
2672
+ return_type: 'Array<OCI::Dns::Models::ResolverSummary>'
1069
2673
  )
1070
2674
  end
1071
2675
  # rubocop:enable Metrics/BlockLength
@@ -1079,51 +2683,99 @@ module OCI
1079
2683
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1080
2684
 
1081
2685
 
1082
- # Gets information about the specified zone, including its creation date,
1083
- # zone type, and serial.
2686
+ # Gets a list of all steering policies in the specified compartment.
1084
2687
  #
1085
- # @param [String] zone_name_or_id The name or OCID of the target zone.
2688
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1086
2689
  # @param [Hash] opts the optional parameters
1087
2690
  # @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
2691
  # 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.
1093
- # (default to nil)
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.
1098
- # (default to nil)
1099
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
2692
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2693
+ # to contact Oracle about a particular request, please provide
2694
+ # the request ID.
2695
+ #
2696
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2697
+ # (default to 50)
2698
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2699
+ #
2700
+ # @option opts [String] :id The OCID of a resource.
2701
+ # @option opts [String] :display_name The displayName of a resource.
2702
+ # @option opts [String] :display_name_contains The partial displayName of a resource. Will match any resource whose name
2703
+ # (case-insensitive) contains the provided value.
2704
+ #
2705
+ # @option opts [String] :health_check_monitor_id Search by health check monitor OCID.
2706
+ # Will match any resource whose health check monitor ID matches the provided value.
2707
+ #
2708
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2709
+ # all returned resources were created on or after the indicated time.
2710
+ #
2711
+ # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2712
+ # all returned resources were created before the indicated time.
2713
+ #
2714
+ # @option opts [String] :template Search by steering template type.
2715
+ # Will match any resource whose template type matches the provided value.
2716
+ #
2717
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
2718
+ # @option opts [String] :sort_by The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2719
+ # Allowed values are: displayName, timeCreated, template
2720
+ # @option opts [String] :sort_order The order to sort the resources.
2721
+ # (default to DESC)
2722
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2723
+ #
2724
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicySummary SteeringPolicySummary}>
2725
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_steering_policies.rb.html) to see an example of how to use list_steering_policies API.
2726
+ def list_steering_policies(compartment_id, opts = {})
2727
+ logger.debug 'Calling operation DnsClient#list_steering_policies.' if logger
1103
2728
 
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)
2729
+ raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
1106
2730
 
1107
- path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2731
+ if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2732
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicySummary::LIFECYCLE_STATE_ENUM.'
2733
+ end
2734
+
2735
+ if opts[:sort_by] && !%w[displayName timeCreated template].include?(opts[:sort_by])
2736
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, template.'
2737
+ end
2738
+
2739
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
2740
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
2741
+ end
2742
+
2743
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2744
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2745
+ end
2746
+
2747
+ path = '/steeringPolicies'
1108
2748
  operation_signing_strategy = :standard
1109
2749
 
1110
2750
  # rubocop:disable Style/NegatedIf
1111
2751
  # Query Params
1112
2752
  query_params = {}
1113
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2753
+ query_params[:compartmentId] = compartment_id
2754
+ query_params[:limit] = opts[:limit] if opts[:limit]
2755
+ query_params[:page] = opts[:page] if opts[:page]
2756
+ query_params[:id] = opts[:id] if opts[:id]
2757
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2758
+ query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
2759
+ query_params[:healthCheckMonitorId] = opts[:health_check_monitor_id] if opts[:health_check_monitor_id]
2760
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
2761
+ query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
2762
+ query_params[:template] = opts[:template] if opts[:template]
2763
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2764
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2765
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2766
+ query_params[:scope] = opts[:scope] if opts[:scope]
1114
2767
 
1115
2768
  # Header Params
1116
2769
  header_params = {}
1117
2770
  header_params[:accept] = 'application/json'
1118
2771
  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]
2772
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1121
2773
  # rubocop:enable Style/NegatedIf
1122
2774
 
1123
2775
  post_body = nil
1124
2776
 
1125
2777
  # rubocop:disable Metrics/BlockLength
1126
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone') do
2778
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
1127
2779
  @api_client.call_api(
1128
2780
  :GET,
1129
2781
  path,
@@ -1132,7 +2784,7 @@ module OCI
1132
2784
  query_params: query_params,
1133
2785
  operation_signing_strategy: operation_signing_strategy,
1134
2786
  body: post_body,
1135
- return_type: 'OCI::Dns::Models::Zone'
2787
+ return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
1136
2788
  )
1137
2789
  end
1138
2790
  # rubocop:enable Metrics/BlockLength
@@ -1146,87 +2798,103 @@ module OCI
1146
2798
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1147
2799
 
1148
2800
 
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).
2801
+ # Lists the steering policy attachments in the specified compartment.
1152
2802
  #
1153
- # @param [String] zone_name_or_id The name or OCID of the target zone.
2803
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1154
2804
  # @param [Hash] opts the optional parameters
1155
2805
  # @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
2806
  # 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
- # (default to nil)
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.
1166
- # (default to nil)
2807
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2808
+ # to contact Oracle about a particular request, please provide
2809
+ # the request ID.
2810
+ #
1167
2811
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1168
2812
  # (default to 50)
1169
2813
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1170
- # (default to nil)
1171
- # @option opts [String] :zone_version The version of the zone for which data is requested.
1172
- # (default to nil)
2814
+ #
2815
+ # @option opts [String] :id The OCID of a resource.
2816
+ # @option opts [String] :display_name The displayName of a resource.
2817
+ # @option opts [String] :steering_policy_id Search by steering policy OCID.
2818
+ # Will match any resource whose steering policy ID matches the provided value.
2819
+ #
2820
+ # @option opts [String] :zone_id Search by zone OCID.
2821
+ # Will match any resource whose zone ID matches the provided value.
2822
+ #
1173
2823
  # @option opts [String] :domain Search by domain.
1174
2824
  # Will match any record whose domain (case-insensitive) equals the provided value.
1175
- # (default to nil)
2825
+ #
1176
2826
  # @option opts [String] :domain_contains Search by domain.
1177
2827
  # Will match any record whose domain (case-insensitive) contains the provided value.
1178
- # (default to nil)
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.
1181
- # (default to nil)
1182
- # @option opts [String] :sort_by The field by which to sort records. (default to domain)
1183
- # Allowed values are: domain, rtype, ttl
2828
+ #
2829
+ # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2830
+ # all returned resources were created on or after the indicated time.
2831
+ #
2832
+ # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
2833
+ # all returned resources were created before the indicated time.
2834
+ #
2835
+ # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
2836
+ # @option opts [String] :sort_by The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2837
+ # Allowed values are: displayName, timeCreated, domainName
1184
2838
  # @option opts [String] :sort_order The order to sort the resources.
1185
2839
  # (default to DESC)
1186
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
2840
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2841
+ #
2842
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::SteeringPolicyAttachmentSummary SteeringPolicyAttachmentSummary}>
2843
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_steering_policy_attachments.rb.html) to see an example of how to use list_steering_policy_attachments API.
2844
+ def list_steering_policy_attachments(compartment_id, opts = {})
2845
+ logger.debug 'Calling operation DnsClient#list_steering_policy_attachments.' if logger
1190
2846
 
1191
- raise "Missing the required parameter 'zone_name_or_id' when calling get_zone_records." if zone_name_or_id.nil?
2847
+ raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
1192
2848
 
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.'
2849
+ if opts[:lifecycle_state] && !OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2850
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::SteeringPolicyAttachmentSummary::LIFECYCLE_STATE_ENUM.'
2851
+ end
2852
+
2853
+ if opts[:sort_by] && !%w[displayName timeCreated domainName].include?(opts[:sort_by])
2854
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated, domainName.'
1195
2855
  end
1196
2856
 
1197
2857
  if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1198
2858
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1199
2859
  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
2860
 
1202
- path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
2861
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2862
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2863
+ end
2864
+
2865
+ path = '/steeringPolicyAttachments'
1203
2866
  operation_signing_strategy = :standard
1204
2867
 
1205
2868
  # rubocop:disable Style/NegatedIf
1206
2869
  # Query Params
1207
2870
  query_params = {}
2871
+ query_params[:compartmentId] = compartment_id
1208
2872
  query_params[:limit] = opts[:limit] if opts[:limit]
1209
2873
  query_params[:page] = opts[:page] if opts[:page]
1210
- query_params[:zoneVersion] = opts[:zone_version] if opts[:zone_version]
2874
+ query_params[:id] = opts[:id] if opts[:id]
2875
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2876
+ query_params[:steeringPolicyId] = opts[:steering_policy_id] if opts[:steering_policy_id]
2877
+ query_params[:zoneId] = opts[:zone_id] if opts[:zone_id]
1211
2878
  query_params[:domain] = opts[:domain] if opts[:domain]
1212
2879
  query_params[:domainContains] = opts[:domain_contains] if opts[:domain_contains]
1213
- query_params[:rtype] = opts[:rtype] if opts[:rtype]
2880
+ query_params[:timeCreatedGreaterThanOrEqualTo] = opts[:time_created_greater_than_or_equal_to] if opts[:time_created_greater_than_or_equal_to]
2881
+ query_params[:timeCreatedLessThan] = opts[:time_created_less_than] if opts[:time_created_less_than]
2882
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1214
2883
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1215
2884
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1216
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2885
+ query_params[:scope] = opts[:scope] if opts[:scope]
1217
2886
 
1218
2887
  # Header Params
1219
2888
  header_params = {}
1220
2889
  header_params[:accept] = 'application/json'
1221
2890
  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]
2891
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1224
2892
  # rubocop:enable Style/NegatedIf
1225
2893
 
1226
2894
  post_body = nil
1227
2895
 
1228
2896
  # rubocop:disable Metrics/BlockLength
1229
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#get_zone_records') do
2897
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
1230
2898
  @api_client.call_api(
1231
2899
  :GET,
1232
2900
  path,
@@ -1235,7 +2903,7 @@ module OCI
1235
2903
  query_params: query_params,
1236
2904
  operation_signing_strategy: operation_signing_strategy,
1237
2905
  body: post_body,
1238
- return_type: 'OCI::Dns::Models::RecordCollection'
2906
+ return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
1239
2907
  )
1240
2908
  end
1241
2909
  # rubocop:enable Metrics/BlockLength
@@ -1246,60 +2914,56 @@ module OCI
1246
2914
 
1247
2915
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1248
2916
  # 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
- # (default to nil)
1262
- # @option opts [String] :id The OCID of a resource. (default to nil)
1263
- # @option opts [String] :display_name The displayName of a resource. (default to nil)
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
- # (default to nil)
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
- # (default to nil)
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.
1272
- # (default to nil)
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.
1275
- # (default to nil)
1276
- # @option opts [String] :template Search by steering template type.
1277
- # Will match any resource whose template type matches the provided value.
1278
- # (default to nil)
1279
- # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
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
2917
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2918
+
2919
+
2920
+ # Gets a list of all TSIG keys in the specified compartment.
2921
+ #
2922
+ # @param [String] compartment_id The OCID of the compartment the resource belongs to.
2923
+ # @param [Hash] opts the optional parameters
2924
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2925
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2926
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
2927
+ # to contact Oracle about a particular request, please provide
2928
+ # the request ID.
2929
+ #
2930
+ # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
2931
+ # (default to 50)
2932
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2933
+ #
2934
+ # @option opts [String] :id The OCID of a resource.
2935
+ # @option opts [String] :name The name of a resource.
2936
+ # @option opts [String] :lifecycle_state The state of a resource.
2937
+ # @option opts [String] :sort_by The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. (default to timeCreated)
2938
+ # Allowed values are: name, timeCreated
1282
2939
  # @option opts [String] :sort_order The order to sort the resources.
1283
2940
  # (default to DESC)
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
2941
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
2942
+ #
2943
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::TsigKeySummary TsigKeySummary}>
2944
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_tsig_keys.rb.html) to see an example of how to use list_tsig_keys API.
2945
+ def list_tsig_keys(compartment_id, opts = {})
2946
+ logger.debug 'Calling operation DnsClient#list_tsig_keys.' if logger
1287
2947
 
1288
- raise "Missing the required parameter 'compartment_id' when calling list_steering_policies." if compartment_id.nil?
2948
+ raise "Missing the required parameter 'compartment_id' when calling list_tsig_keys." if compartment_id.nil?
1289
2949
 
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.'
2950
+ if opts[:lifecycle_state] && !OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
2951
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::TsigKeySummary::LIFECYCLE_STATE_ENUM.'
1292
2952
  end
1293
2953
 
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.'
2954
+ if opts[:sort_by] && !%w[name timeCreated].include?(opts[:sort_by])
2955
+ raise 'Invalid value for "sort_by", must be one of name, timeCreated.'
1296
2956
  end
1297
2957
 
1298
2958
  if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1299
2959
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1300
2960
  end
1301
2961
 
1302
- path = '/steeringPolicies'
2962
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
2963
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
2964
+ end
2965
+
2966
+ path = '/tsigKeys'
1303
2967
  operation_signing_strategy = :standard
1304
2968
 
1305
2969
  # rubocop:disable Style/NegatedIf
@@ -1309,26 +2973,23 @@ module OCI
1309
2973
  query_params[:limit] = opts[:limit] if opts[:limit]
1310
2974
  query_params[:page] = opts[:page] if opts[:page]
1311
2975
  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]
2976
+ query_params[:name] = opts[:name] if opts[:name]
1318
2977
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1319
2978
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1320
2979
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2980
+ query_params[:scope] = opts[:scope] if opts[:scope]
1321
2981
 
1322
2982
  # Header Params
1323
2983
  header_params = {}
1324
2984
  header_params[:accept] = 'application/json'
1325
2985
  header_params[:'content-type'] = 'application/json'
2986
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1326
2987
  # rubocop:enable Style/NegatedIf
1327
2988
 
1328
2989
  post_body = nil
1329
2990
 
1330
2991
  # rubocop:disable Metrics/BlockLength
1331
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policies') do
2992
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_tsig_keys') do
1332
2993
  @api_client.call_api(
1333
2994
  :GET,
1334
2995
  path,
@@ -1337,7 +2998,7 @@ module OCI
1337
2998
  query_params: query_params,
1338
2999
  operation_signing_strategy: operation_signing_strategy,
1339
3000
  body: post_body,
1340
- return_type: 'Array<OCI::Dns::Models::SteeringPolicySummary>'
3001
+ return_type: 'Array<OCI::Dns::Models::TsigKeySummary>'
1341
3002
  )
1342
3003
  end
1343
3004
  # rubocop:enable Metrics/BlockLength
@@ -1351,90 +3012,84 @@ module OCI
1351
3012
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1352
3013
 
1353
3014
 
1354
- # Lists the steering policy attachments in the specified compartment.
3015
+ # Gets a list of all views within a compartment. The collection can
3016
+ # be filtered by display name, id, or lifecycle state. It can be sorted
3017
+ # on creation time or displayName both in ASC or DESC order. Note that
3018
+ # when no lifecycleState query parameter is provided that the collection
3019
+ # does not include views in the DELETED lifecycleState to be consistent
3020
+ # with other operations of the API.
1355
3021
  #
1356
3022
  # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1357
3023
  # @param [Hash] opts the optional parameters
1358
3024
  # @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
3025
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3026
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3027
+ # to contact Oracle about a particular request, please provide
3028
+ # the request ID.
3029
+ #
3030
+ # @option opts [String] :display_name The displayName of a resource.
3031
+ # @option opts [String] :id The OCID of a resource.
3032
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
3033
+ #
1360
3034
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1361
3035
  # (default to 50)
1362
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1363
- # (default to nil)
1364
- # @option opts [String] :id The OCID of a resource. (default to nil)
1365
- # @option opts [String] :display_name The displayName of a resource. (default to nil)
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
- # (default to nil)
1369
- # @option opts [String] :zone_id Search by zone OCID.
1370
- # Will match any resource whose zone ID matches the provided value.
1371
- # (default to nil)
1372
- # @option opts [String] :domain Search by domain.
1373
- # Will match any record whose domain (case-insensitive) equals the provided value.
1374
- # (default to nil)
1375
- # @option opts [String] :domain_contains Search by domain.
1376
- # Will match any record whose domain (case-insensitive) contains the provided value.
1377
- # (default to nil)
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
- # (default to nil)
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.
1383
- # (default to nil)
1384
- # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
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
1387
3036
  # @option opts [String] :sort_order The order to sort the resources.
1388
3037
  # (default to DESC)
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
3038
+ # @option opts [String] :sort_by The field by which to sort views. (default to timeCreated)
3039
+ # Allowed values are: displayName, timeCreated
3040
+ # @option opts [String] :lifecycle_state The state of a resource.
3041
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3042
+ #
3043
+ # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ViewSummary ViewSummary}>
3044
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_views.rb.html) to see an example of how to use list_views API.
3045
+ def list_views(compartment_id, opts = {})
3046
+ logger.debug 'Calling operation DnsClient#list_views.' if logger
1392
3047
 
1393
- raise "Missing the required parameter 'compartment_id' when calling list_steering_policy_attachments." if compartment_id.nil?
3048
+ raise "Missing the required parameter 'compartment_id' when calling list_views." if compartment_id.nil?
1394
3049
 
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.'
3050
+ if opts[:sort_order] && !OCI::Dns::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
3051
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1397
3052
  end
1398
3053
 
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.'
3054
+ if opts[:sort_by] && !%w[displayName timeCreated].include?(opts[:sort_by])
3055
+ raise 'Invalid value for "sort_by", must be one of displayName, timeCreated.'
1401
3056
  end
1402
3057
 
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.'
3058
+ if opts[:lifecycle_state] && !OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
3059
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Dns::Models::ViewSummary::LIFECYCLE_STATE_ENUM.'
1405
3060
  end
1406
3061
 
1407
- path = '/steeringPolicyAttachments'
3062
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3063
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3064
+ end
3065
+
3066
+ path = '/views'
1408
3067
  operation_signing_strategy = :standard
1409
3068
 
1410
3069
  # rubocop:disable Style/NegatedIf
1411
3070
  # Query Params
1412
3071
  query_params = {}
1413
3072
  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
3073
  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]
3074
+ query_params[:id] = opts[:id] if opts[:id]
3075
+ query_params[:page] = opts[:page] if opts[:page]
3076
+ query_params[:limit] = opts[:limit] if opts[:limit]
1426
3077
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3078
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3079
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
3080
+ query_params[:scope] = opts[:scope] if opts[:scope]
1427
3081
 
1428
3082
  # Header Params
1429
3083
  header_params = {}
1430
3084
  header_params[:accept] = 'application/json'
1431
3085
  header_params[:'content-type'] = 'application/json'
3086
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1432
3087
  # rubocop:enable Style/NegatedIf
1433
3088
 
1434
3089
  post_body = nil
1435
3090
 
1436
3091
  # rubocop:disable Metrics/BlockLength
1437
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_steering_policy_attachments') do
3092
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#list_views') do
1438
3093
  @api_client.call_api(
1439
3094
  :GET,
1440
3095
  path,
@@ -1443,7 +3098,7 @@ module OCI
1443
3098
  query_params: query_params,
1444
3099
  operation_signing_strategy: operation_signing_strategy,
1445
3100
  body: post_body,
1446
- return_type: 'Array<OCI::Dns::Models::SteeringPolicyAttachmentSummary>'
3101
+ return_type: 'Array<OCI::Dns::Models::ViewSummary>'
1447
3102
  )
1448
3103
  end
1449
3104
  # rubocop:enable Metrics/BlockLength
@@ -1458,39 +3113,47 @@ module OCI
1458
3113
 
1459
3114
 
1460
3115
  # Gets a list of all zones in the specified compartment. The collection
1461
- # can be filtered by name, time created, and zone type.
3116
+ # can be filtered by name, time created, scope, associated view, and zone type.
1462
3117
  #
1463
3118
  # @param [String] compartment_id The OCID of the compartment the resource belongs to.
1464
3119
  # @param [Hash] opts the optional parameters
1465
3120
  # @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
3121
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3122
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3123
+ # to contact Oracle about a particular request, please provide
3124
+ # the request ID.
3125
+ #
1467
3126
  # @option opts [Integer] :limit The maximum number of items to return in a page of the collection.
1468
3127
  # (default to 50)
1469
3128
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1470
- # (default to nil)
3129
+ #
1471
3130
  # @option opts [String] :name A case-sensitive filter for zone names.
1472
3131
  # Will match any zone with a name that equals the provided value.
1473
- # (default to nil)
3132
+ #
1474
3133
  # @option opts [String] :name_contains Search by zone name.
1475
3134
  # Will match any zone whose name (case-insensitive) contains the provided value.
1476
- # (default to nil)
3135
+ #
1477
3136
  # @option opts [String] :zone_type Search by zone type, `PRIMARY` or `SECONDARY`.
1478
3137
  # Will match any zone whose type equals the provided value.
1479
- # (default to nil)
3138
+ #
1480
3139
  # Allowed values are: PRIMARY, SECONDARY
1481
3140
  # @option opts [DateTime] :time_created_greater_than_or_equal_to An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1482
3141
  # all returned resources were created on or after the indicated time.
1483
- # (default to nil)
3142
+ #
1484
3143
  # @option opts [DateTime] :time_created_less_than An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
1485
3144
  # all returned resources were created before the indicated time.
1486
- # (default to nil)
3145
+ #
1487
3146
  # @option opts [String] :lifecycle_state The state of a resource. (default to ACTIVE)
1488
3147
  # Allowed values are: ACTIVE, CREATING, DELETED, DELETING, FAILED
1489
3148
  # @option opts [String] :sort_by The field by which to sort zones. (default to timeCreated)
1490
3149
  # Allowed values are: name, zoneType, timeCreated
1491
3150
  # @option opts [String] :sort_order The order to sort the resources.
1492
3151
  # (default to DESC)
3152
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3153
+ #
3154
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
1493
3155
  # @return [Response] A Response object with data of type Array<{OCI::Dns::Models::ZoneSummary ZoneSummary}>
3156
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/list_zones.rb.html) to see an example of how to use list_zones API.
1494
3157
  def list_zones(compartment_id, opts = {})
1495
3158
  logger.debug 'Calling operation DnsClient#list_zones.' if logger
1496
3159
 
@@ -1512,6 +3175,10 @@ module OCI
1512
3175
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Dns::Models::SORT_ORDER_ENUM.'
1513
3176
  end
1514
3177
 
3178
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3179
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3180
+ end
3181
+
1515
3182
  path = '/zones'
1516
3183
  operation_signing_strategy = :standard
1517
3184
 
@@ -1529,11 +3196,14 @@ module OCI
1529
3196
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1530
3197
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1531
3198
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3199
+ query_params[:scope] = opts[:scope] if opts[:scope]
3200
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1532
3201
 
1533
3202
  # Header Params
1534
3203
  header_params = {}
1535
3204
  header_params[:accept] = 'application/json'
1536
3205
  header_params[:'content-type'] = 'application/json'
3206
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1537
3207
  # rubocop:enable Style/NegatedIf
1538
3208
 
1539
3209
  post_body = nil
@@ -1578,30 +3248,223 @@ module OCI
1578
3248
  # when the field-value is `*`, or having a current representation of the
1579
3249
  # target resource that has an entity-tag matching a member of the list of
1580
3250
  # entity-tags provided in the field-value.
1581
- # (default to nil)
3251
+ #
1582
3252
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1583
3253
  # conditional on the selected representation's last modification date being
1584
3254
  # earlier than or equal to the date provided in the field-value. This
1585
3255
  # field accomplishes the same purpose as If-Match for cases where the user
1586
3256
  # agent does not have an entity-tag for the representation.
1587
- # (default to nil)
1588
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
3257
+ #
3258
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3259
+ # to contact Oracle about a particular request, please provide
3260
+ # the request ID.
3261
+ #
3262
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3263
+ #
3264
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3265
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1589
3266
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3267
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_domain_records.rb.html) to see an example of how to use patch_domain_records API.
1590
3268
  def patch_domain_records(zone_name_or_id, domain, patch_domain_records_details, opts = {})
1591
3269
  logger.debug 'Calling operation DnsClient#patch_domain_records.' if logger
1592
3270
 
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?
3271
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_domain_records." if zone_name_or_id.nil?
3272
+ raise "Missing the required parameter 'domain' when calling patch_domain_records." if domain.nil?
3273
+ raise "Missing the required parameter 'patch_domain_records_details' when calling patch_domain_records." if patch_domain_records_details.nil?
3274
+
3275
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3276
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3277
+ end
3278
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
3279
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
3280
+
3281
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3282
+ operation_signing_strategy = :standard
3283
+
3284
+ # rubocop:disable Style/NegatedIf
3285
+ # Query Params
3286
+ query_params = {}
3287
+ query_params[:scope] = opts[:scope] if opts[:scope]
3288
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
3289
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3290
+
3291
+ # Header Params
3292
+ header_params = {}
3293
+ header_params[:accept] = 'application/json'
3294
+ header_params[:'content-type'] = 'application/json'
3295
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3296
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3297
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3298
+ # rubocop:enable Style/NegatedIf
3299
+
3300
+ post_body = @api_client.object_to_http_body(patch_domain_records_details)
3301
+
3302
+ # rubocop:disable Metrics/BlockLength
3303
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
3304
+ @api_client.call_api(
3305
+ :PATCH,
3306
+ path,
3307
+ endpoint,
3308
+ header_params: header_params,
3309
+ query_params: query_params,
3310
+ operation_signing_strategy: operation_signing_strategy,
3311
+ body: post_body,
3312
+ return_type: 'OCI::Dns::Models::RecordCollection'
3313
+ )
3314
+ end
3315
+ # rubocop:enable Metrics/BlockLength
3316
+ end
3317
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3318
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3319
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3320
+
3321
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3322
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3323
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3324
+
3325
+
3326
+ # Updates records in the specified RRSet.
3327
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
3328
+ # @param [String] domain The target fully-qualified domain name (FQDN) within the target zone.
3329
+ # @param [String] rtype The type of the target RRSet within the target zone.
3330
+ # @param [OCI::Dns::Models::PatchRRSetDetails] patch_rr_set_details Operations describing how to modify the collection of records.
3331
+ # @param [Hash] opts the optional parameters
3332
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3333
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3334
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
3335
+ # existence of at least one current representation of the target resource,
3336
+ # when the field-value is `*`, or having a current representation of the
3337
+ # target resource that has an entity-tag matching a member of the list of
3338
+ # entity-tags provided in the field-value.
3339
+ #
3340
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
3341
+ # conditional on the selected representation's last modification date being
3342
+ # earlier than or equal to the date provided in the field-value. This
3343
+ # field accomplishes the same purpose as If-Match for cases where the user
3344
+ # agent does not have an entity-tag for the representation.
3345
+ #
3346
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3347
+ # to contact Oracle about a particular request, please provide
3348
+ # the request ID.
3349
+ #
3350
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3351
+ #
3352
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3353
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
3354
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3355
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_rr_set.rb.html) to see an example of how to use patch_rr_set API.
3356
+ def patch_rr_set(zone_name_or_id, domain, rtype, patch_rr_set_details, opts = {})
3357
+ logger.debug 'Calling operation DnsClient#patch_rr_set.' if logger
3358
+
3359
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_rr_set." if zone_name_or_id.nil?
3360
+ raise "Missing the required parameter 'domain' when calling patch_rr_set." if domain.nil?
3361
+ raise "Missing the required parameter 'rtype' when calling patch_rr_set." if rtype.nil?
3362
+ raise "Missing the required parameter 'patch_rr_set_details' when calling patch_rr_set." if patch_rr_set_details.nil?
3363
+
3364
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3365
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3366
+ end
3367
+ raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
3368
+ raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
3369
+ raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
3370
+
3371
+ path = '/zones/{zoneNameOrId}/records/{domain}/{rtype}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s).sub('{rtype}', rtype.to_s)
3372
+ operation_signing_strategy = :standard
3373
+
3374
+ # rubocop:disable Style/NegatedIf
3375
+ # Query Params
3376
+ query_params = {}
3377
+ query_params[:scope] = opts[:scope] if opts[:scope]
3378
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
3379
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3380
+
3381
+ # Header Params
3382
+ header_params = {}
3383
+ header_params[:accept] = 'application/json'
3384
+ header_params[:'content-type'] = 'application/json'
3385
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3386
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3387
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3388
+ # rubocop:enable Style/NegatedIf
3389
+
3390
+ post_body = @api_client.object_to_http_body(patch_rr_set_details)
3391
+
3392
+ # rubocop:disable Metrics/BlockLength
3393
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
3394
+ @api_client.call_api(
3395
+ :PATCH,
3396
+ path,
3397
+ endpoint,
3398
+ header_params: header_params,
3399
+ query_params: query_params,
3400
+ operation_signing_strategy: operation_signing_strategy,
3401
+ body: post_body,
3402
+ return_type: 'OCI::Dns::Models::RecordCollection'
3403
+ )
3404
+ end
3405
+ # rubocop:enable Metrics/BlockLength
3406
+ end
3407
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3408
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3409
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3410
+
3411
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3412
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3413
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3414
+
3415
+
3416
+ # Updates a collection of records in the specified zone. You can update
3417
+ # one record or all records for the specified zone depending on the
3418
+ # changes provided in the request body. You can also add or remove records
3419
+ # using this function.
3420
+ #
3421
+ # @param [String] zone_name_or_id The name or OCID of the target zone.
3422
+ # @param [OCI::Dns::Models::PatchZoneRecordsDetails] patch_zone_records_details The operations describing how to modify the collection of records.
3423
+ #
3424
+ # @param [Hash] opts the optional parameters
3425
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3426
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3427
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
3428
+ # existence of at least one current representation of the target resource,
3429
+ # when the field-value is `*`, or having a current representation of the
3430
+ # target resource that has an entity-tag matching a member of the list of
3431
+ # entity-tags provided in the field-value.
3432
+ #
3433
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
3434
+ # conditional on the selected representation's last modification date being
3435
+ # earlier than or equal to the date provided in the field-value. This
3436
+ # field accomplishes the same purpose as If-Match for cases where the user
3437
+ # agent does not have an entity-tag for the representation.
3438
+ #
3439
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3440
+ # to contact Oracle about a particular request, please provide
3441
+ # the request ID.
3442
+ #
3443
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3444
+ #
3445
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3446
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
3447
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3448
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/patch_zone_records.rb.html) to see an example of how to use patch_zone_records API.
3449
+ def patch_zone_records(zone_name_or_id, patch_zone_records_details, opts = {})
3450
+ logger.debug 'Calling operation DnsClient#patch_zone_records.' if logger
3451
+
3452
+ raise "Missing the required parameter 'zone_name_or_id' when calling patch_zone_records." if zone_name_or_id.nil?
3453
+ raise "Missing the required parameter 'patch_zone_records_details' when calling patch_zone_records." if patch_zone_records_details.nil?
3454
+
3455
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3456
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3457
+ end
1596
3458
  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
3459
 
1599
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3460
+ path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
1600
3461
  operation_signing_strategy = :standard
1601
3462
 
1602
3463
  # rubocop:disable Style/NegatedIf
1603
3464
  # Query Params
1604
3465
  query_params = {}
3466
+ query_params[:scope] = opts[:scope] if opts[:scope]
3467
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1605
3468
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1606
3469
 
1607
3470
  # Header Params
@@ -1610,12 +3473,13 @@ module OCI
1610
3473
  header_params[:'content-type'] = 'application/json'
1611
3474
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1612
3475
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3476
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1613
3477
  # rubocop:enable Style/NegatedIf
1614
3478
 
1615
- post_body = @api_client.object_to_http_body(patch_domain_records_details)
3479
+ post_body = @api_client.object_to_http_body(patch_zone_records_details)
1616
3480
 
1617
3481
  # rubocop:disable Metrics/BlockLength
1618
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_domain_records') do
3482
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
1619
3483
  @api_client.call_api(
1620
3484
  :PATCH,
1621
3485
  path,
@@ -1638,11 +3502,16 @@ module OCI
1638
3502
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1639
3503
 
1640
3504
 
1641
- # Updates records in the specified RRSet.
3505
+ # Replaces records in the specified zone at a domain with the records
3506
+ # specified in the request body. If a specified record does not exist,
3507
+ # it will be created. If the record exists, then it will be updated to
3508
+ # represent the record in the body of the request. If a record in the zone
3509
+ # does not exist in the request body, the record will be removed from the
3510
+ # zone.
3511
+ #
1642
3512
  # @param [String] zone_name_or_id The name or OCID of the target zone.
1643
3513
  # @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.
3514
+ # @param [OCI::Dns::Models::UpdateDomainRecordsDetails] update_domain_records_details A full list of records for the domain.
1646
3515
  # @param [Hash] opts the optional parameters
1647
3516
  # @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
3517
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1651,32 +3520,44 @@ module OCI
1651
3520
  # when the field-value is `*`, or having a current representation of the
1652
3521
  # target resource that has an entity-tag matching a member of the list of
1653
3522
  # entity-tags provided in the field-value.
1654
- # (default to nil)
3523
+ #
1655
3524
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1656
3525
  # conditional on the selected representation's last modification date being
1657
3526
  # earlier than or equal to the date provided in the field-value. This
1658
3527
  # field accomplishes the same purpose as If-Match for cases where the user
1659
3528
  # agent does not have an entity-tag for the representation.
1660
- # (default to nil)
1661
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
3529
+ #
3530
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3531
+ # to contact Oracle about a particular request, please provide
3532
+ # the request ID.
3533
+ #
3534
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3535
+ #
3536
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3537
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1662
3538
  # @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
3539
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_domain_records.rb.html) to see an example of how to use update_domain_records API.
3540
+ def update_domain_records(zone_name_or_id, domain, update_domain_records_details, opts = {})
3541
+ logger.debug 'Calling operation DnsClient#update_domain_records.' if logger
1665
3542
 
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?
3543
+ raise "Missing the required parameter 'zone_name_or_id' when calling update_domain_records." if zone_name_or_id.nil?
3544
+ raise "Missing the required parameter 'domain' when calling update_domain_records." if domain.nil?
3545
+ raise "Missing the required parameter 'update_domain_records_details' when calling update_domain_records." if update_domain_records_details.nil?
3546
+
3547
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3548
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3549
+ end
1670
3550
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1671
3551
  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
3552
 
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)
3553
+ path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
1675
3554
  operation_signing_strategy = :standard
1676
3555
 
1677
3556
  # rubocop:disable Style/NegatedIf
1678
3557
  # Query Params
1679
3558
  query_params = {}
3559
+ query_params[:scope] = opts[:scope] if opts[:scope]
3560
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1680
3561
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1681
3562
 
1682
3563
  # Header Params
@@ -1685,14 +3566,15 @@ module OCI
1685
3566
  header_params[:'content-type'] = 'application/json'
1686
3567
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1687
3568
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3569
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1688
3570
  # rubocop:enable Style/NegatedIf
1689
3571
 
1690
- post_body = @api_client.object_to_http_body(patch_rr_set_details)
3572
+ post_body = @api_client.object_to_http_body(update_domain_records_details)
1691
3573
 
1692
3574
  # rubocop:disable Metrics/BlockLength
1693
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_rr_set') do
3575
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
1694
3576
  @api_client.call_api(
1695
- :PATCH,
3577
+ :PUT,
1696
3578
  path,
1697
3579
  endpoint,
1698
3580
  header_params: header_params,
@@ -1713,14 +3595,10 @@ module OCI
1713
3595
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1714
3596
 
1715
3597
 
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.
3598
+ # Updates the specified resolver with your new information.
1723
3599
  #
3600
+ # @param [String] resolver_id The OCID of the target resolver.
3601
+ # @param [OCI::Dns::Models::UpdateResolverDetails] update_resolver_details New data for the resolver.
1724
3602
  # @param [Hash] opts the optional parameters
1725
3603
  # @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
3604
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1729,29 +3607,39 @@ module OCI
1729
3607
  # when the field-value is `*`, or having a current representation of the
1730
3608
  # target resource that has an entity-tag matching a member of the list of
1731
3609
  # entity-tags provided in the field-value.
1732
- # (default to nil)
3610
+ #
1733
3611
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1734
3612
  # conditional on the selected representation's last modification date being
1735
3613
  # earlier than or equal to the date provided in the field-value. This
1736
3614
  # field accomplishes the same purpose as If-Match for cases where the user
1737
3615
  # agent does not have an entity-tag for the representation.
1738
- # (default to nil)
1739
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
3616
+ #
3617
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3618
+ # to contact Oracle about a particular request, please provide
3619
+ # the request ID.
3620
+ #
3621
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3622
+ #
3623
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::Resolver Resolver}
3624
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_resolver.rb.html) to see an example of how to use update_resolver API.
3625
+ def update_resolver(resolver_id, update_resolver_details, opts = {})
3626
+ logger.debug 'Calling operation DnsClient#update_resolver.' if logger
1743
3627
 
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)
3628
+ raise "Missing the required parameter 'resolver_id' when calling update_resolver." if resolver_id.nil?
3629
+ raise "Missing the required parameter 'update_resolver_details' when calling update_resolver." if update_resolver_details.nil?
1747
3630
 
1748
- path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
3631
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3632
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3633
+ end
3634
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
3635
+
3636
+ path = '/resolvers/{resolverId}'.sub('{resolverId}', resolver_id.to_s)
1749
3637
  operation_signing_strategy = :standard
1750
3638
 
1751
3639
  # rubocop:disable Style/NegatedIf
1752
3640
  # Query Params
1753
3641
  query_params = {}
1754
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3642
+ query_params[:scope] = opts[:scope] if opts[:scope]
1755
3643
 
1756
3644
  # Header Params
1757
3645
  header_params = {}
@@ -1759,21 +3647,22 @@ module OCI
1759
3647
  header_params[:'content-type'] = 'application/json'
1760
3648
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1761
3649
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3650
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1762
3651
  # rubocop:enable Style/NegatedIf
1763
3652
 
1764
- post_body = @api_client.object_to_http_body(patch_zone_records_details)
3653
+ post_body = @api_client.object_to_http_body(update_resolver_details)
1765
3654
 
1766
3655
  # rubocop:disable Metrics/BlockLength
1767
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#patch_zone_records') do
3656
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver') do
1768
3657
  @api_client.call_api(
1769
- :PATCH,
3658
+ :PUT,
1770
3659
  path,
1771
3660
  endpoint,
1772
3661
  header_params: header_params,
1773
3662
  query_params: query_params,
1774
3663
  operation_signing_strategy: operation_signing_strategy,
1775
3664
  body: post_body,
1776
- return_type: 'OCI::Dns::Models::RecordCollection'
3665
+ return_type: 'OCI::Dns::Models::Resolver'
1777
3666
  )
1778
3667
  end
1779
3668
  # rubocop:enable Metrics/BlockLength
@@ -1787,16 +3676,11 @@ module OCI
1787
3676
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1788
3677
 
1789
3678
 
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.
3679
+ # Updates the specified resolver endpoint with your new information.
1796
3680
  #
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.
3681
+ # @param [String] resolver_id The OCID of the target resolver.
3682
+ # @param [String] resolver_endpoint_name The name of the target resolver endpoint.
3683
+ # @param [OCI::Dns::Models::UpdateResolverEndpointDetails] update_resolver_endpoint_details New data for the resolver endpoint.
1800
3684
  # @param [Hash] opts the optional parameters
1801
3685
  # @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
3686
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1805,31 +3689,41 @@ module OCI
1805
3689
  # when the field-value is `*`, or having a current representation of the
1806
3690
  # target resource that has an entity-tag matching a member of the list of
1807
3691
  # entity-tags provided in the field-value.
1808
- # (default to nil)
3692
+ #
1809
3693
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1810
3694
  # conditional on the selected representation's last modification date being
1811
3695
  # earlier than or equal to the date provided in the field-value. This
1812
3696
  # field accomplishes the same purpose as If-Match for cases where the user
1813
3697
  # agent does not have an entity-tag for the representation.
1814
- # (default to nil)
1815
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
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
3698
+ #
3699
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3700
+ # to contact Oracle about a particular request, please provide
3701
+ # the request ID.
3702
+ #
3703
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3704
+ #
3705
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::ResolverEndpoint ResolverEndpoint}
3706
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_resolver_endpoint.rb.html) to see an example of how to use update_resolver_endpoint API.
3707
+ def update_resolver_endpoint(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, opts = {})
3708
+ logger.debug 'Calling operation DnsClient#update_resolver_endpoint.' if logger
1819
3709
 
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)
3710
+ raise "Missing the required parameter 'resolver_id' when calling update_resolver_endpoint." if resolver_id.nil?
3711
+ raise "Missing the required parameter 'resolver_endpoint_name' when calling update_resolver_endpoint." if resolver_endpoint_name.nil?
3712
+ raise "Missing the required parameter 'update_resolver_endpoint_details' when calling update_resolver_endpoint." if update_resolver_endpoint_details.nil?
1825
3713
 
1826
- path = '/zones/{zoneNameOrId}/records/{domain}'.sub('{zoneNameOrId}', zone_name_or_id.to_s).sub('{domain}', domain.to_s)
3714
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3715
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3716
+ end
3717
+ raise "Parameter value for 'resolver_id' must not be blank" if OCI::Internal::Util.blank_string?(resolver_id)
3718
+ raise "Parameter value for 'resolver_endpoint_name' must not be blank" if OCI::Internal::Util.blank_string?(resolver_endpoint_name)
3719
+
3720
+ path = '/resolvers/{resolverId}/endpoints/{resolverEndpointName}'.sub('{resolverId}', resolver_id.to_s).sub('{resolverEndpointName}', resolver_endpoint_name.to_s)
1827
3721
  operation_signing_strategy = :standard
1828
3722
 
1829
3723
  # rubocop:disable Style/NegatedIf
1830
3724
  # Query Params
1831
3725
  query_params = {}
1832
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
3726
+ query_params[:scope] = opts[:scope] if opts[:scope]
1833
3727
 
1834
3728
  # Header Params
1835
3729
  header_params = {}
@@ -1837,12 +3731,13 @@ module OCI
1837
3731
  header_params[:'content-type'] = 'application/json'
1838
3732
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1839
3733
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3734
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1840
3735
  # rubocop:enable Style/NegatedIf
1841
3736
 
1842
- post_body = @api_client.object_to_http_body(update_domain_records_details)
3737
+ post_body = @api_client.object_to_http_body(update_resolver_endpoint_details)
1843
3738
 
1844
3739
  # rubocop:disable Metrics/BlockLength
1845
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_domain_records') do
3740
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_resolver_endpoint') do
1846
3741
  @api_client.call_api(
1847
3742
  :PUT,
1848
3743
  path,
@@ -1851,7 +3746,7 @@ module OCI
1851
3746
  query_params: query_params,
1852
3747
  operation_signing_strategy: operation_signing_strategy,
1853
3748
  body: post_body,
1854
- return_type: 'OCI::Dns::Models::RecordCollection'
3749
+ return_type: 'OCI::Dns::Models::ResolverEndpoint'
1855
3750
  )
1856
3751
  end
1857
3752
  # rubocop:enable Metrics/BlockLength
@@ -1878,15 +3773,23 @@ module OCI
1878
3773
  # when the field-value is `*`, or having a current representation of the
1879
3774
  # target resource that has an entity-tag matching a member of the list of
1880
3775
  # entity-tags provided in the field-value.
1881
- # (default to nil)
3776
+ #
1882
3777
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1883
3778
  # conditional on the selected representation's last modification date being
1884
3779
  # earlier than or equal to the date provided in the field-value. This
1885
3780
  # field accomplishes the same purpose as If-Match for cases where the user
1886
3781
  # agent does not have an entity-tag for the representation.
1887
- # (default to nil)
1888
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
3782
+ #
3783
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3784
+ # to contact Oracle about a particular request, please provide
3785
+ # the request ID.
3786
+ #
3787
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3788
+ #
3789
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
3790
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
1889
3791
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
3792
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_rr_set.rb.html) to see an example of how to use update_rr_set API.
1890
3793
  def update_rr_set(zone_name_or_id, domain, rtype, update_rr_set_details, opts = {})
1891
3794
  logger.debug 'Calling operation DnsClient#update_rr_set.' if logger
1892
3795
 
@@ -1894,6 +3797,10 @@ module OCI
1894
3797
  raise "Missing the required parameter 'domain' when calling update_rr_set." if domain.nil?
1895
3798
  raise "Missing the required parameter 'rtype' when calling update_rr_set." if rtype.nil?
1896
3799
  raise "Missing the required parameter 'update_rr_set_details' when calling update_rr_set." if update_rr_set_details.nil?
3800
+
3801
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3802
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3803
+ end
1897
3804
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
1898
3805
  raise "Parameter value for 'domain' must not be blank" if OCI::Internal::Util.blank_string?(domain)
1899
3806
  raise "Parameter value for 'rtype' must not be blank" if OCI::Internal::Util.blank_string?(rtype)
@@ -1904,6 +3811,8 @@ module OCI
1904
3811
  # rubocop:disable Style/NegatedIf
1905
3812
  # Query Params
1906
3813
  query_params = {}
3814
+ query_params[:scope] = opts[:scope] if opts[:scope]
3815
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
1907
3816
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1908
3817
 
1909
3818
  # Header Params
@@ -1912,6 +3821,7 @@ module OCI
1912
3821
  header_params[:'content-type'] = 'application/json'
1913
3822
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1914
3823
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3824
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1915
3825
  # rubocop:enable Style/NegatedIf
1916
3826
 
1917
3827
  post_body = @api_client.object_to_http_body(update_rr_set_details)
@@ -1952,19 +3862,30 @@ module OCI
1952
3862
  # when the field-value is `*`, or having a current representation of the
1953
3863
  # target resource that has an entity-tag matching a member of the list of
1954
3864
  # entity-tags provided in the field-value.
1955
- # (default to nil)
3865
+ #
1956
3866
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
1957
3867
  # conditional on the selected representation's last modification date being
1958
3868
  # earlier than or equal to the date provided in the field-value. This
1959
3869
  # field accomplishes the same purpose as If-Match for cases where the user
1960
3870
  # agent does not have an entity-tag for the representation.
1961
- # (default to nil)
3871
+ #
3872
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3873
+ # to contact Oracle about a particular request, please provide
3874
+ # the request ID.
3875
+ #
3876
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3877
+ #
1962
3878
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicy SteeringPolicy}
3879
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_steering_policy.rb.html) to see an example of how to use update_steering_policy API.
1963
3880
  def update_steering_policy(steering_policy_id, update_steering_policy_details, opts = {})
1964
3881
  logger.debug 'Calling operation DnsClient#update_steering_policy.' if logger
1965
3882
 
1966
3883
  raise "Missing the required parameter 'steering_policy_id' when calling update_steering_policy." if steering_policy_id.nil?
1967
3884
  raise "Missing the required parameter 'update_steering_policy_details' when calling update_steering_policy." if update_steering_policy_details.nil?
3885
+
3886
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3887
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3888
+ end
1968
3889
  raise "Parameter value for 'steering_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_id)
1969
3890
 
1970
3891
  path = '/steeringPolicies/{steeringPolicyId}'.sub('{steeringPolicyId}', steering_policy_id.to_s)
@@ -1973,6 +3894,7 @@ module OCI
1973
3894
  # rubocop:disable Style/NegatedIf
1974
3895
  # Query Params
1975
3896
  query_params = {}
3897
+ query_params[:scope] = opts[:scope] if opts[:scope]
1976
3898
 
1977
3899
  # Header Params
1978
3900
  header_params = {}
@@ -1980,6 +3902,7 @@ module OCI
1980
3902
  header_params[:'content-type'] = 'application/json'
1981
3903
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1982
3904
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3905
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1983
3906
  # rubocop:enable Style/NegatedIf
1984
3907
 
1985
3908
  post_body = @api_client.object_to_http_body(update_steering_policy_details)
@@ -2020,19 +3943,30 @@ module OCI
2020
3943
  # when the field-value is `*`, or having a current representation of the
2021
3944
  # target resource that has an entity-tag matching a member of the list of
2022
3945
  # entity-tags provided in the field-value.
2023
- # (default to nil)
3946
+ #
2024
3947
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
2025
3948
  # conditional on the selected representation's last modification date being
2026
3949
  # earlier than or equal to the date provided in the field-value. This
2027
3950
  # field accomplishes the same purpose as If-Match for cases where the user
2028
3951
  # agent does not have an entity-tag for the representation.
2029
- # (default to nil)
3952
+ #
3953
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
3954
+ # to contact Oracle about a particular request, please provide
3955
+ # the request ID.
3956
+ #
3957
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
3958
+ #
2030
3959
  # @return [Response] A Response object with data of type {OCI::Dns::Models::SteeringPolicyAttachment SteeringPolicyAttachment}
3960
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_steering_policy_attachment.rb.html) to see an example of how to use update_steering_policy_attachment API.
2031
3961
  def update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, opts = {})
2032
3962
  logger.debug 'Calling operation DnsClient#update_steering_policy_attachment.' if logger
2033
3963
 
2034
3964
  raise "Missing the required parameter 'steering_policy_attachment_id' when calling update_steering_policy_attachment." if steering_policy_attachment_id.nil?
2035
3965
  raise "Missing the required parameter 'update_steering_policy_attachment_details' when calling update_steering_policy_attachment." if update_steering_policy_attachment_details.nil?
3966
+
3967
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
3968
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
3969
+ end
2036
3970
  raise "Parameter value for 'steering_policy_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(steering_policy_attachment_id)
2037
3971
 
2038
3972
  path = '/steeringPolicyAttachments/{steeringPolicyAttachmentId}'.sub('{steeringPolicyAttachmentId}', steering_policy_attachment_id.to_s)
@@ -2041,6 +3975,7 @@ module OCI
2041
3975
  # rubocop:disable Style/NegatedIf
2042
3976
  # Query Params
2043
3977
  query_params = {}
3978
+ query_params[:scope] = opts[:scope] if opts[:scope]
2044
3979
 
2045
3980
  # Header Params
2046
3981
  header_params = {}
@@ -2048,6 +3983,7 @@ module OCI
2048
3983
  header_params[:'content-type'] = 'application/json'
2049
3984
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2050
3985
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
3986
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2051
3987
  # rubocop:enable Style/NegatedIf
2052
3988
 
2053
3989
  post_body = @api_client.object_to_http_body(update_steering_policy_attachment_details)
@@ -2076,6 +4012,168 @@ module OCI
2076
4012
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2077
4013
 
2078
4014
 
4015
+ # Updates the specified TSIG key.
4016
+ #
4017
+ # @param [String] tsig_key_id The OCID of the target TSIG key.
4018
+ # @param [OCI::Dns::Models::UpdateTsigKeyDetails] update_tsig_key_details New data for the TSIG key.
4019
+ # @param [Hash] opts the optional parameters
4020
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4021
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4022
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
4023
+ # existence of at least one current representation of the target resource,
4024
+ # when the field-value is `*`, or having a current representation of the
4025
+ # target resource that has an entity-tag matching a member of the list of
4026
+ # entity-tags provided in the field-value.
4027
+ #
4028
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
4029
+ # conditional on the selected representation's last modification date being
4030
+ # earlier than or equal to the date provided in the field-value. This
4031
+ # field accomplishes the same purpose as If-Match for cases where the user
4032
+ # agent does not have an entity-tag for the representation.
4033
+ #
4034
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4035
+ # to contact Oracle about a particular request, please provide
4036
+ # the request ID.
4037
+ #
4038
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4039
+ #
4040
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::TsigKey TsigKey}
4041
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_tsig_key.rb.html) to see an example of how to use update_tsig_key API.
4042
+ def update_tsig_key(tsig_key_id, update_tsig_key_details, opts = {})
4043
+ logger.debug 'Calling operation DnsClient#update_tsig_key.' if logger
4044
+
4045
+ raise "Missing the required parameter 'tsig_key_id' when calling update_tsig_key." if tsig_key_id.nil?
4046
+ raise "Missing the required parameter 'update_tsig_key_details' when calling update_tsig_key." if update_tsig_key_details.nil?
4047
+
4048
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4049
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4050
+ end
4051
+ raise "Parameter value for 'tsig_key_id' must not be blank" if OCI::Internal::Util.blank_string?(tsig_key_id)
4052
+
4053
+ path = '/tsigKeys/{tsigKeyId}'.sub('{tsigKeyId}', tsig_key_id.to_s)
4054
+ operation_signing_strategy = :standard
4055
+
4056
+ # rubocop:disable Style/NegatedIf
4057
+ # Query Params
4058
+ query_params = {}
4059
+ query_params[:scope] = opts[:scope] if opts[:scope]
4060
+
4061
+ # Header Params
4062
+ header_params = {}
4063
+ header_params[:accept] = 'application/json'
4064
+ header_params[:'content-type'] = 'application/json'
4065
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
4066
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4067
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4068
+ # rubocop:enable Style/NegatedIf
4069
+
4070
+ post_body = @api_client.object_to_http_body(update_tsig_key_details)
4071
+
4072
+ # rubocop:disable Metrics/BlockLength
4073
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_tsig_key') do
4074
+ @api_client.call_api(
4075
+ :PUT,
4076
+ path,
4077
+ endpoint,
4078
+ header_params: header_params,
4079
+ query_params: query_params,
4080
+ operation_signing_strategy: operation_signing_strategy,
4081
+ body: post_body,
4082
+ return_type: 'OCI::Dns::Models::TsigKey'
4083
+ )
4084
+ end
4085
+ # rubocop:enable Metrics/BlockLength
4086
+ end
4087
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4088
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4089
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4090
+
4091
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4092
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4093
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4094
+
4095
+
4096
+ # Updates the specified view with your new information.
4097
+ #
4098
+ # @param [String] view_id The OCID of the target view.
4099
+ # @param [OCI::Dns::Models::UpdateViewDetails] update_view_details New data for the view.
4100
+ # @param [Hash] opts the optional parameters
4101
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4102
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4103
+ # @option opts [String] :if_match The `If-Match` header field makes the request method conditional on the
4104
+ # existence of at least one current representation of the target resource,
4105
+ # when the field-value is `*`, or having a current representation of the
4106
+ # target resource that has an entity-tag matching a member of the list of
4107
+ # entity-tags provided in the field-value.
4108
+ #
4109
+ # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
4110
+ # conditional on the selected representation's last modification date being
4111
+ # earlier than or equal to the date provided in the field-value. This
4112
+ # field accomplishes the same purpose as If-Match for cases where the user
4113
+ # agent does not have an entity-tag for the representation.
4114
+ #
4115
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4116
+ # to contact Oracle about a particular request, please provide
4117
+ # the request ID.
4118
+ #
4119
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4120
+ #
4121
+ # @return [Response] A Response object with data of type {OCI::Dns::Models::View View}
4122
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_view.rb.html) to see an example of how to use update_view API.
4123
+ def update_view(view_id, update_view_details, opts = {})
4124
+ logger.debug 'Calling operation DnsClient#update_view.' if logger
4125
+
4126
+ raise "Missing the required parameter 'view_id' when calling update_view." if view_id.nil?
4127
+ raise "Missing the required parameter 'update_view_details' when calling update_view." if update_view_details.nil?
4128
+
4129
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4130
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4131
+ end
4132
+ raise "Parameter value for 'view_id' must not be blank" if OCI::Internal::Util.blank_string?(view_id)
4133
+
4134
+ path = '/views/{viewId}'.sub('{viewId}', view_id.to_s)
4135
+ operation_signing_strategy = :standard
4136
+
4137
+ # rubocop:disable Style/NegatedIf
4138
+ # Query Params
4139
+ query_params = {}
4140
+ query_params[:scope] = opts[:scope] if opts[:scope]
4141
+
4142
+ # Header Params
4143
+ header_params = {}
4144
+ header_params[:accept] = 'application/json'
4145
+ header_params[:'content-type'] = 'application/json'
4146
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
4147
+ header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4148
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
4149
+ # rubocop:enable Style/NegatedIf
4150
+
4151
+ post_body = @api_client.object_to_http_body(update_view_details)
4152
+
4153
+ # rubocop:disable Metrics/BlockLength
4154
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DnsClient#update_view') do
4155
+ @api_client.call_api(
4156
+ :PUT,
4157
+ path,
4158
+ endpoint,
4159
+ header_params: header_params,
4160
+ query_params: query_params,
4161
+ operation_signing_strategy: operation_signing_strategy,
4162
+ body: post_body,
4163
+ return_type: 'OCI::Dns::Models::View'
4164
+ )
4165
+ end
4166
+ # rubocop:enable Metrics/BlockLength
4167
+ end
4168
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4169
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4170
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4171
+
4172
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4173
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4174
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4175
+
4176
+
2079
4177
  # Updates the specified secondary zone with your new external master
2080
4178
  # server information. For more information about secondary zone, see
2081
4179
  # [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).
@@ -2090,20 +4188,32 @@ module OCI
2090
4188
  # when the field-value is `*`, or having a current representation of the
2091
4189
  # target resource that has an entity-tag matching a member of the list of
2092
4190
  # entity-tags provided in the field-value.
2093
- # (default to nil)
4191
+ #
2094
4192
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
2095
4193
  # conditional on the selected representation's last modification date being
2096
4194
  # earlier than or equal to the date provided in the field-value. This
2097
4195
  # field accomplishes the same purpose as If-Match for cases where the user
2098
4196
  # agent does not have an entity-tag for the representation.
2099
- # (default to nil)
2100
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
4197
+ #
4198
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4199
+ # to contact Oracle about a particular request, please provide
4200
+ # the request ID.
4201
+ #
4202
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4203
+ #
4204
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
4205
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2101
4206
  # @return [Response] A Response object with data of type {OCI::Dns::Models::Zone Zone}
4207
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_zone.rb.html) to see an example of how to use update_zone API.
2102
4208
  def update_zone(zone_name_or_id, update_zone_details, opts = {})
2103
4209
  logger.debug 'Calling operation DnsClient#update_zone.' if logger
2104
4210
 
2105
4211
  raise "Missing the required parameter 'zone_name_or_id' when calling update_zone." if zone_name_or_id.nil?
2106
4212
  raise "Missing the required parameter 'update_zone_details' when calling update_zone." if update_zone_details.nil?
4213
+
4214
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4215
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4216
+ end
2107
4217
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2108
4218
 
2109
4219
  path = '/zones/{zoneNameOrId}'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
@@ -2112,6 +4222,8 @@ module OCI
2112
4222
  # rubocop:disable Style/NegatedIf
2113
4223
  # Query Params
2114
4224
  query_params = {}
4225
+ query_params[:scope] = opts[:scope] if opts[:scope]
4226
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2115
4227
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2116
4228
 
2117
4229
  # Header Params
@@ -2120,6 +4232,7 @@ module OCI
2120
4232
  header_params[:'content-type'] = 'application/json'
2121
4233
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2122
4234
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4235
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2123
4236
  # rubocop:enable Style/NegatedIf
2124
4237
 
2125
4238
  post_body = @api_client.object_to_http_body(update_zone_details)
@@ -2164,20 +4277,32 @@ module OCI
2164
4277
  # when the field-value is `*`, or having a current representation of the
2165
4278
  # target resource that has an entity-tag matching a member of the list of
2166
4279
  # entity-tags provided in the field-value.
2167
- # (default to nil)
4280
+ #
2168
4281
  # @option opts [String] :if_unmodified_since The `If-Unmodified-Since` header field makes the request method
2169
4282
  # conditional on the selected representation's last modification date being
2170
4283
  # earlier than or equal to the date provided in the field-value. This
2171
4284
  # field accomplishes the same purpose as If-Match for cases where the user
2172
4285
  # agent does not have an entity-tag for the representation.
2173
- # (default to nil)
2174
- # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to. (default to nil)
4286
+ #
4287
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need
4288
+ # to contact Oracle about a particular request, please provide
4289
+ # the request ID.
4290
+ #
4291
+ # @option opts [String] :scope Specifies to operate only on resources that have a matching DNS scope.
4292
+ #
4293
+ # @option opts [String] :view_id The OCID of the view the resource is associated with.
4294
+ # @option opts [String] :compartment_id The OCID of the compartment the resource belongs to.
2175
4295
  # @return [Response] A Response object with data of type {OCI::Dns::Models::RecordCollection RecordCollection}
4296
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/dns/update_zone_records.rb.html) to see an example of how to use update_zone_records API.
2176
4297
  def update_zone_records(zone_name_or_id, update_zone_records_details, opts = {})
2177
4298
  logger.debug 'Calling operation DnsClient#update_zone_records.' if logger
2178
4299
 
2179
4300
  raise "Missing the required parameter 'zone_name_or_id' when calling update_zone_records." if zone_name_or_id.nil?
2180
4301
  raise "Missing the required parameter 'update_zone_records_details' when calling update_zone_records." if update_zone_records_details.nil?
4302
+
4303
+ if opts[:scope] && !OCI::Dns::Models::SCOPE_ENUM.include?(opts[:scope])
4304
+ raise 'Invalid value for "scope", must be one of the values in OCI::Dns::Models::SCOPE_ENUM.'
4305
+ end
2181
4306
  raise "Parameter value for 'zone_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(zone_name_or_id)
2182
4307
 
2183
4308
  path = '/zones/{zoneNameOrId}/records'.sub('{zoneNameOrId}', zone_name_or_id.to_s)
@@ -2186,6 +4311,8 @@ module OCI
2186
4311
  # rubocop:disable Style/NegatedIf
2187
4312
  # Query Params
2188
4313
  query_params = {}
4314
+ query_params[:scope] = opts[:scope] if opts[:scope]
4315
+ query_params[:viewId] = opts[:view_id] if opts[:view_id]
2189
4316
  query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2190
4317
 
2191
4318
  # Header Params
@@ -2194,6 +4321,7 @@ module OCI
2194
4321
  header_params[:'content-type'] = 'application/json'
2195
4322
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2196
4323
  header_params[:'if-unmodified-since'] = opts[:if_unmodified_since] if opts[:if_unmodified_since]
4324
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2197
4325
  # rubocop:enable Style/NegatedIf
2198
4326
 
2199
4327
  post_body = @api_client.object_to_http_body(update_zone_records_details)