oci 2.5.1 → 2.5.2

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 (378) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -2
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/autoscaling/auto_scaling_client.rb +5 -5
  5. data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +2 -2
  6. data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -2
  7. data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -2
  8. data/lib/oci/budget/budget.rb +33 -0
  9. data/lib/oci/budget/budget_client.rb +767 -0
  10. data/lib/oci/budget/budget_client_composite_operations.rb +224 -0
  11. data/lib/oci/budget/models/alert_rule.rb +398 -0
  12. data/lib/oci/budget/models/alert_rule_summary.rb +396 -0
  13. data/lib/oci/budget/models/alert_type.rb +10 -0
  14. data/lib/oci/budget/models/budget.rb +413 -0
  15. data/lib/oci/budget/models/budget_summary.rb +413 -0
  16. data/lib/oci/budget/models/create_alert_rule_details.rb +288 -0
  17. data/lib/oci/budget/models/create_budget_details.rb +267 -0
  18. data/lib/oci/budget/models/lifecycle_state.rb +10 -0
  19. data/lib/oci/budget/models/reset_period.rb +9 -0
  20. data/lib/oci/budget/models/sort_by.rb +10 -0
  21. data/lib/oci/budget/models/sort_order.rb +10 -0
  22. data/lib/oci/budget/models/threshold_type.rb +10 -0
  23. data/lib/oci/budget/models/update_alert_rule_details.rb +288 -0
  24. data/lib/oci/budget/models/update_budget_details.rb +239 -0
  25. data/lib/oci/budget/util.rb +2 -0
  26. data/lib/oci/core/blockstorage_client.rb +35 -35
  27. data/lib/oci/core/compute_client.rb +41 -41
  28. data/lib/oci/core/compute_management_client.rb +6 -6
  29. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
  30. data/lib/oci/core/models/attach_vnic_details.rb +1 -1
  31. data/lib/oci/core/models/boot_volume.rb +4 -4
  32. data/lib/oci/core/models/boot_volume_backup.rb +4 -4
  33. data/lib/oci/core/models/capture_console_history_details.rb +2 -2
  34. data/lib/oci/core/models/console_history.rb +2 -2
  35. data/lib/oci/core/models/cpe.rb +4 -4
  36. data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -2
  37. data/lib/oci/core/models/create_boot_volume_details.rb +2 -2
  38. data/lib/oci/core/models/create_cpe_details.rb +2 -2
  39. data/lib/oci/core/models/create_dhcp_details.rb +2 -2
  40. data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
  41. data/lib/oci/core/models/create_drg_details.rb +2 -2
  42. data/lib/oci/core/models/create_image_details.rb +2 -2
  43. data/lib/oci/core/models/create_instance_configuration_details.rb +2 -2
  44. data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -2
  45. data/lib/oci/core/models/create_instance_pool_details.rb +2 -2
  46. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
  47. data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
  48. data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -3
  49. data/lib/oci/core/models/create_nat_gateway_details.rb +4 -4
  50. data/lib/oci/core/models/create_private_ip_details.rb +3 -3
  51. data/lib/oci/core/models/create_public_ip_details.rb +3 -3
  52. data/lib/oci/core/models/create_route_table_details.rb +2 -2
  53. data/lib/oci/core/models/create_security_list_details.rb +2 -2
  54. data/lib/oci/core/models/create_service_gateway_details.rb +4 -4
  55. data/lib/oci/core/models/create_subnet_details.rb +3 -3
  56. data/lib/oci/core/models/create_vcn_details.rb +3 -3
  57. data/lib/oci/core/models/create_vnic_details.rb +7 -7
  58. data/lib/oci/core/models/create_volume_backup_details.rb +2 -2
  59. data/lib/oci/core/models/create_volume_details.rb +2 -2
  60. data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -2
  61. data/lib/oci/core/models/create_volume_group_details.rb +2 -2
  62. data/lib/oci/core/models/cross_connect.rb +2 -2
  63. data/lib/oci/core/models/cross_connect_group.rb +2 -2
  64. data/lib/oci/core/models/dhcp_dns_option.rb +2 -2
  65. data/lib/oci/core/models/dhcp_option.rb +2 -2
  66. data/lib/oci/core/models/dhcp_options.rb +5 -5
  67. data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
  68. data/lib/oci/core/models/drg.rb +4 -4
  69. data/lib/oci/core/models/drg_attachment.rb +2 -2
  70. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -2
  71. data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
  72. data/lib/oci/core/models/image.rb +4 -4
  73. data/lib/oci/core/models/instance.rb +5 -5
  74. data/lib/oci/core/models/instance_configuration.rb +2 -2
  75. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
  76. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +2 -2
  77. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +3 -3
  78. data/lib/oci/core/models/instance_console_connection.rb +3 -3
  79. data/lib/oci/core/models/instance_pool.rb +2 -2
  80. data/lib/oci/core/models/internet_gateway.rb +4 -4
  81. data/lib/oci/core/models/ip_sec_connection.rb +4 -4
  82. data/lib/oci/core/models/launch_instance_details.rb +3 -3
  83. data/lib/oci/core/models/local_peering_gateway.rb +5 -5
  84. data/lib/oci/core/models/nat_gateway.rb +7 -7
  85. data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
  86. data/lib/oci/core/models/private_ip.rb +5 -5
  87. data/lib/oci/core/models/public_ip.rb +4 -4
  88. data/lib/oci/core/models/remote_peering_connection.rb +2 -2
  89. data/lib/oci/core/models/route_rule.rb +1 -1
  90. data/lib/oci/core/models/route_table.rb +4 -4
  91. data/lib/oci/core/models/security_list.rb +4 -4
  92. data/lib/oci/core/models/service.rb +1 -1
  93. data/lib/oci/core/models/service_gateway.rb +7 -7
  94. data/lib/oci/core/models/service_id_request_details.rb +1 -1
  95. data/lib/oci/core/models/service_id_response_details.rb +1 -1
  96. data/lib/oci/core/models/shape.rb +1 -1
  97. data/lib/oci/core/models/subnet.rb +7 -7
  98. data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -2
  99. data/lib/oci/core/models/update_boot_volume_details.rb +2 -2
  100. data/lib/oci/core/models/update_console_history_details.rb +2 -2
  101. data/lib/oci/core/models/update_cpe_details.rb +2 -2
  102. data/lib/oci/core/models/update_dhcp_details.rb +2 -2
  103. data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
  104. data/lib/oci/core/models/update_drg_details.rb +2 -2
  105. data/lib/oci/core/models/update_image_details.rb +2 -2
  106. data/lib/oci/core/models/update_instance_configuration_details.rb +2 -2
  107. data/lib/oci/core/models/update_instance_details.rb +2 -2
  108. data/lib/oci/core/models/update_instance_pool_details.rb +2 -2
  109. data/lib/oci/core/models/update_internet_gateway_details.rb +2 -2
  110. data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
  111. data/lib/oci/core/models/update_local_peering_gateway_details.rb +3 -3
  112. data/lib/oci/core/models/update_nat_gateway_details.rb +2 -2
  113. data/lib/oci/core/models/update_private_ip_details.rb +3 -3
  114. data/lib/oci/core/models/update_public_ip_details.rb +2 -2
  115. data/lib/oci/core/models/update_route_table_details.rb +2 -2
  116. data/lib/oci/core/models/update_security_list_details.rb +2 -2
  117. data/lib/oci/core/models/update_service_gateway_details.rb +2 -2
  118. data/lib/oci/core/models/update_subnet_details.rb +2 -2
  119. data/lib/oci/core/models/update_vcn_details.rb +2 -2
  120. data/lib/oci/core/models/update_vnic_details.rb +4 -4
  121. data/lib/oci/core/models/update_volume_backup_details.rb +2 -2
  122. data/lib/oci/core/models/update_volume_details.rb +2 -2
  123. data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -2
  124. data/lib/oci/core/models/update_volume_group_details.rb +2 -2
  125. data/lib/oci/core/models/vcn.rb +6 -6
  126. data/lib/oci/core/models/virtual_circuit.rb +4 -4
  127. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
  128. data/lib/oci/core/models/vnic.rb +7 -7
  129. data/lib/oci/core/models/vnic_attachment.rb +2 -2
  130. data/lib/oci/core/models/volume.rb +4 -4
  131. data/lib/oci/core/models/volume_attachment.rb +1 -1
  132. data/lib/oci/core/models/volume_backup.rb +4 -4
  133. data/lib/oci/core/models/volume_group.rb +3 -3
  134. data/lib/oci/core/models/volume_group_backup.rb +4 -4
  135. data/lib/oci/core/virtual_network_client.rb +121 -121
  136. data/lib/oci/core/virtual_network_client_composite_operations.rb +6 -6
  137. data/lib/oci/database/database.rb +4 -0
  138. data/lib/oci/database/database_client.rb +202 -78
  139. data/lib/oci/database/database_client_composite_operations.rb +65 -25
  140. data/lib/oci/database/models/autonomous_data_warehouse.rb +4 -4
  141. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +3 -3
  142. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +4 -4
  143. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +4 -4
  144. data/lib/oci/database/models/autonomous_database.rb +43 -8
  145. data/lib/oci/database/models/autonomous_database_backup.rb +3 -3
  146. data/lib/oci/database/models/autonomous_database_backup_summary.rb +4 -4
  147. data/lib/oci/database/models/autonomous_database_summary.rb +43 -8
  148. data/lib/oci/database/models/backup.rb +3 -3
  149. data/lib/oci/database/models/backup_summary.rb +4 -4
  150. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
  151. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +3 -3
  152. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
  153. data/lib/oci/database/models/create_autonomous_database_details.rb +33 -4
  154. data/lib/oci/database/models/create_backup_details.rb +1 -1
  155. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +1 -1
  156. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +1 -1
  157. data/lib/oci/database/models/create_database_details.rb +2 -2
  158. data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
  159. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +1 -1
  160. data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
  161. data/lib/oci/database/models/data_guard_association.rb +6 -6
  162. data/lib/oci/database/models/data_guard_association_summary.rb +9 -9
  163. data/lib/oci/database/models/database.rb +5 -5
  164. data/lib/oci/database/models/database_summary.rb +7 -7
  165. data/lib/oci/database/models/db_backup_config.rb +1 -1
  166. data/lib/oci/database/models/db_home.rb +4 -4
  167. data/lib/oci/database/models/db_home_summary.rb +6 -6
  168. data/lib/oci/database/models/db_iorm_config.rb +181 -0
  169. data/lib/oci/database/models/db_iorm_config_update_detail.rb +166 -0
  170. data/lib/oci/database/models/db_node.rb +4 -4
  171. data/lib/oci/database/models/db_node_summary.rb +5 -5
  172. data/lib/oci/database/models/db_system.rb +41 -11
  173. data/lib/oci/database/models/db_system_shape_summary.rb +2 -2
  174. data/lib/oci/database/models/db_system_summary.rb +30 -16
  175. data/lib/oci/database/models/db_version_summary.rb +1 -1
  176. data/lib/oci/database/models/exadata_iorm_config.rb +247 -0
  177. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +186 -0
  178. data/lib/oci/database/models/external_backup_job.rb +2 -2
  179. data/lib/oci/database/models/launch_db_system_base.rb +24 -10
  180. data/lib/oci/database/models/launch_db_system_details.rb +5 -1
  181. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
  182. data/lib/oci/database/models/patch.rb +1 -1
  183. data/lib/oci/database/models/patch_details.rb +1 -1
  184. data/lib/oci/database/models/patch_history_entry.rb +2 -2
  185. data/lib/oci/database/models/patch_history_entry_summary.rb +2 -2
  186. data/lib/oci/database/models/patch_summary.rb +2 -2
  187. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -2
  188. data/lib/oci/database/models/update_autonomous_database_details.rb +2 -2
  189. data/lib/oci/database/models/update_database_details.rb +2 -2
  190. data/lib/oci/database/models/update_db_system_details.rb +2 -2
  191. data/lib/oci/dns/dns_client.rb +1 -1
  192. data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
  193. data/lib/oci/dns/models/create_zone_details.rb +1 -1
  194. data/lib/oci/dns/models/record.rb +1 -1
  195. data/lib/oci/dns/models/record_details.rb +1 -1
  196. data/lib/oci/dns/models/record_operation.rb +1 -1
  197. data/lib/oci/dns/models/steering_policy.rb +1 -1
  198. data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
  199. data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
  200. data/lib/oci/dns/models/update_zone_details.rb +1 -1
  201. data/lib/oci/dns/models/zone.rb +1 -1
  202. data/lib/oci/dns/models/zone_summary.rb +1 -1
  203. data/lib/oci/email/email_client.rb +3 -3
  204. data/lib/oci/email/models/create_sender_details.rb +2 -2
  205. data/lib/oci/email/models/sender.rb +2 -2
  206. data/lib/oci/email/models/sender_summary.rb +2 -2
  207. data/lib/oci/email/models/update_sender_details.rb +2 -2
  208. data/lib/oci/file_storage/file_storage_client.rb +14 -14
  209. data/lib/oci/file_storage/models/create_file_system_details.rb +2 -2
  210. data/lib/oci/file_storage/models/create_mount_target_details.rb +3 -3
  211. data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -2
  212. data/lib/oci/file_storage/models/export.rb +1 -1
  213. data/lib/oci/file_storage/models/file_system.rb +3 -3
  214. data/lib/oci/file_storage/models/mount_target.rb +2 -2
  215. data/lib/oci/file_storage/models/snapshot.rb +2 -2
  216. data/lib/oci/file_storage/models/update_file_system_details.rb +2 -2
  217. data/lib/oci/file_storage/models/update_mount_target_details.rb +2 -2
  218. data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -2
  219. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -2
  220. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -2
  221. data/lib/oci/healthchecks/models/http_monitor.rb +2 -2
  222. data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -2
  223. data/lib/oci/healthchecks/models/ping_monitor.rb +2 -2
  224. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -2
  225. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -2
  226. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -2
  227. data/lib/oci/identity/identity.rb +7 -0
  228. data/lib/oci/identity/identity_client.rb +461 -36
  229. data/lib/oci/identity/identity_client_composite_operations.rb +119 -0
  230. data/lib/oci/identity/models/api_key.rb +2 -2
  231. data/lib/oci/identity/models/auth_token.rb +1 -1
  232. data/lib/oci/identity/models/authentication_policy.rb +168 -0
  233. data/lib/oci/identity/models/availability_domain.rb +1 -1
  234. data/lib/oci/identity/models/compartment.rb +5 -5
  235. data/lib/oci/identity/models/create_compartment_details.rb +2 -2
  236. data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
  237. data/lib/oci/identity/models/create_group_details.rb +2 -2
  238. data/lib/oci/identity/models/create_identity_provider_details.rb +2 -2
  239. data/lib/oci/identity/models/create_policy_details.rb +4 -4
  240. data/lib/oci/identity/models/create_tag_default_details.rb +180 -0
  241. data/lib/oci/identity/models/create_tag_details.rb +2 -2
  242. data/lib/oci/identity/models/create_tag_namespace_details.rb +2 -2
  243. data/lib/oci/identity/models/create_user_details.rb +13 -3
  244. data/lib/oci/identity/models/customer_secret_key.rb +2 -2
  245. data/lib/oci/identity/models/dynamic_group.rb +2 -2
  246. data/lib/oci/identity/models/group.rb +5 -5
  247. data/lib/oci/identity/models/identity_provider.rb +4 -4
  248. data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
  249. data/lib/oci/identity/models/mfa_totp_device.rb +20 -9
  250. data/lib/oci/identity/models/mfa_totp_device_summary.rb +7 -1
  251. data/lib/oci/identity/models/password_policy.rb +234 -0
  252. data/lib/oci/identity/models/policy.rb +4 -4
  253. data/lib/oci/identity/models/region.rb +2 -2
  254. data/lib/oci/identity/models/region_subscription.rb +2 -2
  255. data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
  256. data/lib/oci/identity/models/smtp_credential.rb +1 -1
  257. data/lib/oci/identity/models/smtp_credential_summary.rb +1 -1
  258. data/lib/oci/identity/models/swift_password.rb +1 -1
  259. data/lib/oci/identity/models/tag.rb +4 -4
  260. data/lib/oci/identity/models/tag_default.rb +280 -0
  261. data/lib/oci/identity/models/tag_default_summary.rb +274 -0
  262. data/lib/oci/identity/models/tag_namespace.rb +4 -4
  263. data/lib/oci/identity/models/tag_namespace_summary.rb +3 -3
  264. data/lib/oci/identity/models/tag_summary.rb +3 -3
  265. data/lib/oci/identity/models/tenancy.rb +4 -4
  266. data/lib/oci/identity/models/ui_password.rb +1 -1
  267. data/lib/oci/identity/models/update_authentication_policy_details.rb +154 -0
  268. data/lib/oci/identity/models/update_compartment_details.rb +2 -2
  269. data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
  270. data/lib/oci/identity/models/update_group_details.rb +2 -2
  271. data/lib/oci/identity/models/update_identity_provider_details.rb +2 -2
  272. data/lib/oci/identity/models/update_policy_details.rb +4 -4
  273. data/lib/oci/identity/models/update_tag_default_details.rb +150 -0
  274. data/lib/oci/identity/models/update_tag_details.rb +3 -3
  275. data/lib/oci/identity/models/update_tag_namespace_details.rb +3 -3
  276. data/lib/oci/identity/models/update_user_details.rb +13 -3
  277. data/lib/oci/identity/models/user.rb +19 -7
  278. data/lib/oci/load_balancer/load_balancer_client.rb +64 -64
  279. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +23 -23
  280. data/lib/oci/load_balancer/models/backend.rb +2 -2
  281. data/lib/oci/load_balancer/models/backend_details.rb +1 -1
  282. data/lib/oci/load_balancer/models/backend_set.rb +1 -1
  283. data/lib/oci/load_balancer/models/backend_set_details.rb +1 -1
  284. data/lib/oci/load_balancer/models/certificate.rb +1 -1
  285. data/lib/oci/load_balancer/models/certificate_details.rb +1 -1
  286. data/lib/oci/load_balancer/models/connection_configuration.rb +1 -1
  287. data/lib/oci/load_balancer/models/create_backend_details.rb +2 -2
  288. data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
  289. data/lib/oci/load_balancer/models/create_certificate_details.rb +1 -1
  290. data/lib/oci/load_balancer/models/create_hostname_details.rb +1 -1
  291. data/lib/oci/load_balancer/models/create_listener_details.rb +1 -1
  292. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +6 -6
  293. data/lib/oci/load_balancer/models/health_check_result.rb +1 -1
  294. data/lib/oci/load_balancer/models/health_checker.rb +1 -1
  295. data/lib/oci/load_balancer/models/hostname.rb +1 -1
  296. data/lib/oci/load_balancer/models/hostname_details.rb +1 -1
  297. data/lib/oci/load_balancer/models/listener.rb +1 -1
  298. data/lib/oci/load_balancer/models/load_balancer.rb +11 -11
  299. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +1 -1
  300. data/lib/oci/load_balancer/models/load_balancer_policy.rb +1 -1
  301. data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
  302. data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
  303. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
  304. data/lib/oci/load_balancer/models/update_backend_details.rb +1 -1
  305. data/lib/oci/load_balancer/models/update_backend_set_details.rb +1 -1
  306. data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -2
  307. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -2
  308. data/lib/oci/load_balancer/models/work_request.rb +3 -3
  309. data/lib/oci/monitoring/models/alarm.rb +10 -10
  310. data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
  311. data/lib/oci/monitoring/models/alarm_status_summary.rb +5 -5
  312. data/lib/oci/monitoring/models/alarm_summary.rb +10 -10
  313. data/lib/oci/monitoring/models/create_alarm_details.rb +5 -5
  314. data/lib/oci/monitoring/models/metric.rb +2 -2
  315. data/lib/oci/monitoring/models/metric_data.rb +2 -2
  316. data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
  317. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -2
  318. data/lib/oci/monitoring/models/suppression.rb +1 -1
  319. data/lib/oci/monitoring/models/update_alarm_details.rb +5 -5
  320. data/lib/oci/monitoring/monitoring_client.rb +20 -20
  321. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -2
  322. data/lib/oci/object_storage/models/bucket.rb +4 -4
  323. data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
  324. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +1 -1
  325. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +1 -1
  326. data/lib/oci/object_storage/models/copy_object_details.rb +1 -1
  327. data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
  328. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +1 -1
  329. data/lib/oci/object_storage/models/list_objects.rb +1 -1
  330. data/lib/oci/object_storage/models/multipart_upload.rb +2 -2
  331. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +1 -1
  332. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +1 -1
  333. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -2
  334. data/lib/oci/object_storage/models/object_summary.rb +1 -1
  335. data/lib/oci/object_storage/models/preauthenticated_request.rb +2 -2
  336. data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
  337. data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
  338. data/lib/oci/object_storage/object_storage_client.rb +3 -3
  339. data/lib/oci/ons/models/confirmation_result.rb +2 -2
  340. data/lib/oci/ons/models/create_subscription_details.rb +4 -4
  341. data/lib/oci/ons/models/create_topic_details.rb +3 -3
  342. data/lib/oci/ons/models/notification_topic.rb +4 -4
  343. data/lib/oci/ons/models/notification_topic_summary.rb +4 -4
  344. data/lib/oci/ons/models/subscription.rb +3 -3
  345. data/lib/oci/ons/models/subscription_summary.rb +4 -4
  346. data/lib/oci/ons/models/topic_attributes_details.rb +2 -2
  347. data/lib/oci/ons/models/update_subscription_details.rb +2 -2
  348. data/lib/oci/ons/notification_control_plane_client.rb +9 -9
  349. data/lib/oci/ons/notification_data_plane_client.rb +10 -10
  350. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
  351. data/lib/oci/regions.rb +1 -0
  352. data/lib/oci/resource_manager/models/create_job_details.rb +2 -2
  353. data/lib/oci/resource_manager/models/create_stack_details.rb +2 -2
  354. data/lib/oci/resource_manager/models/job.rb +2 -2
  355. data/lib/oci/resource_manager/models/job_summary.rb +2 -2
  356. data/lib/oci/resource_manager/models/stack.rb +2 -2
  357. data/lib/oci/resource_manager/models/stack_summary.rb +2 -2
  358. data/lib/oci/resource_manager/models/update_job_details.rb +2 -2
  359. data/lib/oci/resource_manager/models/update_stack_details.rb +2 -2
  360. data/lib/oci/resource_manager/resource_manager_client.rb +6 -6
  361. data/lib/oci/streaming/models/create_stream_details.rb +2 -2
  362. data/lib/oci/streaming/models/stream.rb +2 -2
  363. data/lib/oci/streaming/models/stream_summary.rb +2 -2
  364. data/lib/oci/streaming/models/update_stream_details.rb +2 -2
  365. data/lib/oci/version.rb +1 -1
  366. data/lib/oci/waas/models/certificate.rb +2 -2
  367. data/lib/oci/waas/models/certificate_summary.rb +2 -2
  368. data/lib/oci/waas/models/create_certificate_details.rb +1 -1
  369. data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
  370. data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
  371. data/lib/oci/waas/models/waas_policy.rb +2 -2
  372. data/lib/oci/waas/models/waas_policy_summary.rb +2 -2
  373. data/lib/oci/waas/models/work_request.rb +3 -3
  374. data/lib/oci/waas/models/work_request_resource.rb +1 -1
  375. data/lib/oci/waas/models/work_request_summary.rb +2 -2
  376. data/lib/oci/waas/waas_client.rb +53 -53
  377. data/lib/oci/waas/waas_client_composite_operations.rb +18 -18
  378. metadata +31 -2
@@ -83,14 +83,14 @@ module OCI
83
83
 
84
84
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
85
85
  # predefined name, type, or namespace. For more information,
86
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
86
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
87
87
  # Example: `{\"Department\": \"Finance\"}`
88
88
  #
89
89
  # @return [Hash<String, String>]
90
90
  attr_accessor :freeform_tags
91
91
 
92
92
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
93
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
93
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
94
94
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
95
95
  #
96
96
  # @return [Hash<String, Hash<String, Object>>]
@@ -42,14 +42,14 @@ module OCI
42
42
 
43
43
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
44
44
  # predefined name, type, or namespace. For more information,
45
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
45
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
46
46
  # Example: `{\"Department\": \"Finance\"}`
47
47
  #
48
48
  # @return [Hash<String, String>]
49
49
  attr_accessor :freeform_tags
50
50
 
51
51
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
52
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
52
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
53
53
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
54
54
  #
55
55
  # @return [Hash<String, Hash<String, Object>>]
@@ -63,14 +63,14 @@ module OCI
63
63
 
64
64
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
65
65
  # predefined name, type, or namespace. For more information,
66
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
66
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
67
67
  # Example: `{\"Department\": \"Finance\"}`
68
68
  #
69
69
  # @return [Hash<String, String>]
70
70
  attr_accessor :freeform_tags
71
71
 
72
72
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
73
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
73
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
74
74
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
75
75
  #
76
76
  # @return [Hash<String, Hash<String, Object>>]
@@ -42,14 +42,14 @@ module OCI
42
42
 
43
43
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
44
44
  # predefined name, type, or namespace. For more information,
45
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
45
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
46
46
  # Example: `{\"Department\": \"Finance\"}`
47
47
  #
48
48
  # @return [Hash<String, String>]
49
49
  attr_accessor :freeform_tags
50
50
 
51
51
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
52
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
52
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
53
53
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
54
54
  #
55
55
  # @return [Hash<String, Hash<String, Object>>]
@@ -67,14 +67,14 @@ module OCI
67
67
 
68
68
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
69
69
  # predefined name, type, or namespace. For more information,
70
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
70
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
71
71
  # Example: `{\"Department\": \"Finance\"}`
72
72
  #
73
73
  # @return [Hash<String, String>]
74
74
  attr_accessor :freeform_tags
75
75
 
76
76
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
77
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
77
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
78
78
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
79
79
  #
80
80
  # @return [Hash<String, Hash<String, Object>>]
@@ -48,14 +48,14 @@ module OCI
48
48
 
49
49
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
50
50
  # predefined name, type, or namespace. For more information,
51
- # see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
51
+ # see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
52
52
  # Example: `{\"Department\": \"Finance\"}`
53
53
  #
54
54
  # @return [Hash<String, String>]
55
55
  attr_accessor :freeform_tags
56
56
 
57
57
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
58
- # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
58
+ # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
59
59
  # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
60
60
  #
61
61
  # @return [Hash<String, Hash<String, Object>>]
@@ -13,6 +13,7 @@ end
13
13
  require 'oci/identity/models/add_user_to_group_details'
14
14
  require 'oci/identity/models/api_key'
15
15
  require 'oci/identity/models/auth_token'
16
+ require 'oci/identity/models/authentication_policy'
16
17
  require 'oci/identity/models/availability_domain'
17
18
  require 'oci/identity/models/change_tag_namespace_compartment_detail'
18
19
  require 'oci/identity/models/compartment'
@@ -29,6 +30,7 @@ require 'oci/identity/models/create_region_subscription_details'
29
30
  require 'oci/identity/models/create_saml2_identity_provider_details'
30
31
  require 'oci/identity/models/create_smtp_credential_details'
31
32
  require 'oci/identity/models/create_swift_password_details'
33
+ require 'oci/identity/models/create_tag_default_details'
32
34
  require 'oci/identity/models/create_tag_details'
33
35
  require 'oci/identity/models/create_tag_namespace_details'
34
36
  require 'oci/identity/models/create_user_details'
@@ -43,6 +45,7 @@ require 'oci/identity/models/idp_group_mapping'
43
45
  require 'oci/identity/models/mfa_totp_device'
44
46
  require 'oci/identity/models/mfa_totp_device_summary'
45
47
  require 'oci/identity/models/mfa_totp_token'
48
+ require 'oci/identity/models/password_policy'
46
49
  require 'oci/identity/models/policy'
47
50
  require 'oci/identity/models/region'
48
51
  require 'oci/identity/models/region_subscription'
@@ -52,12 +55,15 @@ require 'oci/identity/models/smtp_credential'
52
55
  require 'oci/identity/models/smtp_credential_summary'
53
56
  require 'oci/identity/models/swift_password'
54
57
  require 'oci/identity/models/tag'
58
+ require 'oci/identity/models/tag_default'
59
+ require 'oci/identity/models/tag_default_summary'
55
60
  require 'oci/identity/models/tag_namespace'
56
61
  require 'oci/identity/models/tag_namespace_summary'
57
62
  require 'oci/identity/models/tag_summary'
58
63
  require 'oci/identity/models/tenancy'
59
64
  require 'oci/identity/models/ui_password'
60
65
  require 'oci/identity/models/update_auth_token_details'
66
+ require 'oci/identity/models/update_authentication_policy_details'
61
67
  require 'oci/identity/models/update_compartment_details'
62
68
  require 'oci/identity/models/update_customer_secret_key_details'
63
69
  require 'oci/identity/models/update_dynamic_group_details'
@@ -69,6 +75,7 @@ require 'oci/identity/models/update_saml2_identity_provider_details'
69
75
  require 'oci/identity/models/update_smtp_credential_details'
70
76
  require 'oci/identity/models/update_state_details'
71
77
  require 'oci/identity/models/update_swift_password_details'
78
+ require 'oci/identity/models/update_tag_default_details'
72
79
  require 'oci/identity/models/update_tag_details'
73
80
  require 'oci/identity/models/update_tag_namespace_details'
74
81
  require 'oci/identity/models/update_user_capabilities_details'
@@ -108,7 +108,7 @@ module OCI
108
108
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
109
109
 
110
110
 
111
- # Activate the specified MFA TOTP device for the user.
111
+ # Activates the specified MFA TOTP device for the user. Activation requires manual interaction with the Console.
112
112
  #
113
113
  # @param [String] user_id The OCID of the user.
114
114
  # @param [String] mfa_totp_device_id The OCID of the MFA TOTP device.
@@ -243,7 +243,7 @@ module OCI
243
243
  # Moves the specified tag namespace to the specified compartment within the same tenancy.
244
244
  #
245
245
  # To move the tag namespace, you must have the manage tag-namespaces permission on both compartments.
246
- # For more information about IAM policies, see [Details for IAM](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Reference/iampolicyreference.htm).
246
+ # For more information about IAM policies, see [Details for IAM](https://docs.cloud.oracle.com/Content/Identity/Reference/iampolicyreference.htm).
247
247
  #
248
248
  # Moving a tag namespace moves all the tag key definitions contained in the tag namespace.
249
249
  #
@@ -308,7 +308,7 @@ module OCI
308
308
 
309
309
 
310
310
  # Creates a new auth token for the specified user. For information about what auth tokens are for, see
311
- # [Managing User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm).
311
+ # [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
312
312
  #
313
313
  # You must specify a *description* for the auth token (although it can be an empty string). It does not
314
314
  # have to be unique, and you can change it anytime with
@@ -384,12 +384,12 @@ module OCI
384
384
  #
385
385
  # Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy
386
386
  # is simply the root compartment. For information about OCIDs, see
387
- # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
387
+ # [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
388
388
  #
389
389
  # You must also specify a *name* for the compartment, which must be unique across all compartments in
390
390
  # your tenancy. You can use this name or the OCID when writing policies that apply
391
391
  # to the compartment. For more information about policies, see
392
- # [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm).
392
+ # [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
393
393
  #
394
394
  # You must also specify a *description* for the compartment (although it can be an empty string). It does
395
395
  # not have to be unique, and you can change it anytime with
@@ -457,7 +457,7 @@ module OCI
457
457
 
458
458
  # Creates a new secret key for the specified user. Secret keys are used for authentication with the Object Storage Service's Amazon S3
459
459
  # compatible API. For information, see
460
- # [Managing User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm).
460
+ # [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
461
461
  #
462
462
  # You must specify a *description* for the secret key (although it can be an empty string). It does not
463
463
  # have to be unique, and you can change it anytime with
@@ -533,12 +533,12 @@ module OCI
533
533
  # is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
534
534
  # reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
535
535
  # reside within compartments inside the tenancy. For information about OCIDs, see
536
- # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
536
+ # [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
537
537
  #
538
538
  # You must also specify a *name* for the dynamic group, which must be unique across all dynamic groups in your
539
539
  # tenancy, and cannot be changed. Note that this name has to be also unique accross all groups in your tenancy.
540
540
  # You can use this name or the OCID when writing policies that apply to the dynamic group. For more information
541
- # about policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm).
541
+ # about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
542
542
  #
543
543
  # You must also specify a *description* for the dynamic group (although it can be an empty string). It does not
544
544
  # have to be unique, and you can change it anytime with {#update_dynamic_group update_dynamic_group}.
@@ -609,11 +609,11 @@ module OCI
609
609
  # is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
610
610
  # reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
611
611
  # reside within compartments inside the tenancy. For information about OCIDs, see
612
- # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
612
+ # [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
613
613
  #
614
614
  # You must also specify a *name* for the group, which must be unique across all groups in your tenancy and
615
615
  # cannot be changed. You can use this name or the OCID when writing policies that apply to the group. For more
616
- # information about policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm).
616
+ # information about policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm).
617
617
  #
618
618
  # You must also specify a *description* for the group (although it can be an empty string). It does not
619
619
  # have to be unique, and you can change it anytime with {#update_group update_group}.
@@ -683,11 +683,11 @@ module OCI
683
683
 
684
684
 
685
685
  # Creates a new identity provider in your tenancy. For more information, see
686
- # [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm).
686
+ # [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
687
687
  #
688
688
  # You must specify your tenancy's OCID as the compartment ID in the request object.
689
689
  # Remember that the tenancy is simply the root compartment. For information about
690
- # OCIDs, see [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
690
+ # OCIDs, see [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
691
691
  #
692
692
  # You must also specify a *name* for the `IdentityProvider`, which must be unique
693
693
  # across all `IdentityProvider` objects in your tenancy and cannot be changed.
@@ -821,7 +821,7 @@ module OCI
821
821
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
822
822
 
823
823
 
824
- # Create a new MFA TOTP device for the user. A user can only create one MFA TOTP device.
824
+ # Creates a new MFA TOTP device for the user. A user can have one MFA TOTP device.
825
825
  #
826
826
  # @param [String] user_id The OCID of the user.
827
827
  # @param [Hash] opts the optional parameters
@@ -882,7 +882,7 @@ module OCI
882
882
 
883
883
 
884
884
  # Creates a new Console one-time password for the specified user. For more information about user
885
- # credentials, see [User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/usercredentials.htm).
885
+ # credentials, see [User Credentials](https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
886
886
  #
887
887
  # Use this operation after creating a new user, or if a user forgets their password. The new one-time
888
888
  # password is returned to you in the response, and you must securely deliver it to the user. They'll
@@ -952,7 +952,7 @@ module OCI
952
952
 
953
953
 
954
954
  # Creates a new policy in the specified compartment (either the tenancy or another of your compartments).
955
- # If you're new to policies, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
955
+ # If you're new to policies, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
956
956
  #
957
957
  # You must specify a *name* for the policy, which must be unique across all policies in your tenancy
958
958
  # and cannot be changed.
@@ -961,8 +961,8 @@ module OCI
961
961
  # have to be unique, and you can change it anytime with {#update_policy update_policy}.
962
962
  #
963
963
  # You must specify one or more policy statements in the statements array. For information about writing
964
- # policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm) and
965
- # [Common Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm).
964
+ # policies, see [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and
965
+ # [Common Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm).
966
966
  #
967
967
  # After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
968
968
  # object, first make sure its `lifecycleState` has changed to ACTIVE.
@@ -1156,7 +1156,7 @@ module OCI
1156
1156
  # **Deprecated. Use {#create_auth_token create_auth_token} instead.**
1157
1157
  #
1158
1158
  # Creates a new Swift password for the specified user. For information about what Swift passwords are for, see
1159
- # [Managing User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm).
1159
+ # [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
1160
1160
  #
1161
1161
  # You must specify a *description* for the Swift password (although it can be an empty string). It does not
1162
1162
  # have to be unique, and you can change it anytime with
@@ -1300,6 +1300,69 @@ module OCI
1300
1300
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1301
1301
 
1302
1302
 
1303
+ # Creates a new Tag Default in the specified Compartment for the specified Tag Definition.
1304
+ #
1305
+ # @param [OCI::Identity::Models::CreateTagDefaultDetails] create_tag_default_details Request object for creating a new Tag Default.
1306
+ # @param [Hash] opts the optional parameters
1307
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1308
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1309
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1310
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1311
+ # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1312
+ # has been deleted and purged from the system, then a retry of the original creation request
1313
+ # may be rejected).
1314
+ #
1315
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1316
+ # particular request, please provide the request ID.
1317
+ #
1318
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::TagDefault TagDefault}
1319
+ def create_tag_default(create_tag_default_details, opts = {})
1320
+ logger.debug 'Calling operation IdentityClient#create_tag_default.' if logger
1321
+
1322
+ raise "Missing the required parameter 'create_tag_default_details' when calling create_tag_default." if create_tag_default_details.nil?
1323
+
1324
+ path = '/tagDefaults'
1325
+ operation_signing_strategy = :standard
1326
+
1327
+ # rubocop:disable Style/NegatedIf
1328
+ # Query Params
1329
+ query_params = {}
1330
+
1331
+ # Header Params
1332
+ header_params = {}
1333
+ header_params[:accept] = 'application/json'
1334
+ header_params[:'content-type'] = 'application/json'
1335
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1336
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1337
+ # rubocop:enable Style/NegatedIf
1338
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1339
+
1340
+ post_body = @api_client.object_to_http_body(create_tag_default_details)
1341
+
1342
+ # rubocop:disable Metrics/BlockLength
1343
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_tag_default') do
1344
+ @api_client.call_api(
1345
+ :POST,
1346
+ path,
1347
+ endpoint,
1348
+ header_params: header_params,
1349
+ query_params: query_params,
1350
+ operation_signing_strategy: operation_signing_strategy,
1351
+ body: post_body,
1352
+ return_type: 'OCI::Identity::Models::TagDefault'
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
+
1303
1366
  # Creates a new tag namespace in the specified compartment.
1304
1367
  #
1305
1368
  # You must specify the compartment ID in the request object (remember that the tenancy is simply the root
@@ -1316,7 +1379,7 @@ module OCI
1316
1379
  # {#update_tag_namespace update_tag_namespace}.
1317
1380
  #
1318
1381
  # Tag namespaces cannot be deleted, but they can be retired.
1319
- # See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring) for more information.
1382
+ # See [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring) for more information.
1320
1383
  #
1321
1384
  # @param [OCI::Identity::Models::CreateTagNamespaceDetails] create_tag_namespace_details Request object for creating a new tag namespace.
1322
1385
  # @param [Hash] opts the optional parameters
@@ -1376,13 +1439,13 @@ module OCI
1376
1439
 
1377
1440
 
1378
1441
  # Creates a new user in your tenancy. For conceptual information about users, your tenancy, and other
1379
- # IAM Service components, see [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
1442
+ # IAM Service components, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
1380
1443
  #
1381
1444
  # You must specify your tenancy's OCID as the compartment ID in the request object (remember that the
1382
1445
  # tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and
1383
1446
  # some policies) reside within the tenancy itself, unlike cloud resources such as compute instances,
1384
1447
  # which typically reside within compartments inside the tenancy. For information about OCIDs, see
1385
- # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
1448
+ # [Resource Identifiers](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
1386
1449
  #
1387
1450
  # You must also specify a *name* for the user, which must be unique across all users in your tenancy
1388
1451
  # and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods,
@@ -1406,7 +1469,7 @@ module OCI
1406
1469
  # {#create_or_reset_ui_password create_or_reset_ui_password}).
1407
1470
  # If the user needs to access the Oracle Cloud Infrastructure REST API, you need to upload a
1408
1471
  # public API signing key for that user (see
1409
- # [Required Keys and OCIDs](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm) and also
1472
+ # [Required Keys and OCIDs](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm) and also
1410
1473
  # {#upload_api_key upload_api_key}).
1411
1474
  #
1412
1475
  # **Important:** Make sure to inform the new user which compartment(s) they have access to.
@@ -1933,7 +1996,7 @@ module OCI
1933
1996
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1934
1997
 
1935
1998
 
1936
- # Delete the specified MFA TOTP device for the specified user.
1999
+ # Deletes the specified MFA TOTP device for the specified user.
1937
2000
  #
1938
2001
  # @param [String] user_id The OCID of the user.
1939
2002
  # @param [String] mfa_totp_device_id The OCID of the MFA TOTP device.
@@ -2167,6 +2230,66 @@ module OCI
2167
2230
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2168
2231
 
2169
2232
 
2233
+ # Deletes the the specified Tag Default.
2234
+ #
2235
+ # @param [String] tag_default_id The OCID of the Tag Default.
2236
+ # @param [Hash] opts the optional parameters
2237
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2238
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2239
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2240
+ # particular request, please provide the request ID.
2241
+ #
2242
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2243
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2244
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2245
+ #
2246
+ # @return [Response] A Response object with data of type nil
2247
+ def delete_tag_default(tag_default_id, opts = {})
2248
+ logger.debug 'Calling operation IdentityClient#delete_tag_default.' if logger
2249
+
2250
+ raise "Missing the required parameter 'tag_default_id' when calling delete_tag_default." if tag_default_id.nil?
2251
+ raise "Parameter value for 'tag_default_id' must not be blank" if OCI::Internal::Util.blank_string?(tag_default_id)
2252
+
2253
+ path = '/tagDefaults/{tagDefaultId}'.sub('{tagDefaultId}', tag_default_id.to_s)
2254
+ operation_signing_strategy = :standard
2255
+
2256
+ # rubocop:disable Style/NegatedIf
2257
+ # Query Params
2258
+ query_params = {}
2259
+
2260
+ # Header Params
2261
+ header_params = {}
2262
+ header_params[:accept] = 'application/json'
2263
+ header_params[:'content-type'] = 'application/json'
2264
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2265
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2266
+ # rubocop:enable Style/NegatedIf
2267
+
2268
+ post_body = nil
2269
+
2270
+ # rubocop:disable Metrics/BlockLength
2271
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_tag_default') do
2272
+ @api_client.call_api(
2273
+ :DELETE,
2274
+ path,
2275
+ endpoint,
2276
+ header_params: header_params,
2277
+ query_params: query_params,
2278
+ operation_signing_strategy: operation_signing_strategy,
2279
+ body: post_body
2280
+ )
2281
+ end
2282
+ # rubocop:enable Metrics/BlockLength
2283
+ end
2284
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2285
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2286
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2287
+
2288
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2289
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2290
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2291
+
2292
+
2170
2293
  # Deletes the specified user. The user must not be in any groups.
2171
2294
  # @param [String] user_id The OCID of the user.
2172
2295
  # @param [Hash] opts the optional parameters
@@ -2222,7 +2345,7 @@ module OCI
2222
2345
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2223
2346
 
2224
2347
 
2225
- # Generate seed for the MFA TOTP device
2348
+ # Generate seed for the MFA TOTP device.
2226
2349
  #
2227
2350
  # @param [String] user_id The OCID of the user.
2228
2351
  # @param [String] mfa_totp_device_id The OCID of the MFA TOTP device.
@@ -2283,6 +2406,61 @@ module OCI
2283
2406
  # rubocop:disable Lint/UnusedMethodArgument
2284
2407
 
2285
2408
 
2409
+ # Gets the authentication policy for the given tenancy. You must specify your tenant\u2019s OCID as the value for
2410
+ # the compartment ID (remember that the tenancy is simply the root compartment).
2411
+ #
2412
+ # @param [String] compartment_id The OCID of the compartment.
2413
+ # @param [Hash] opts the optional parameters
2414
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2415
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2416
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::AuthenticationPolicy AuthenticationPolicy}
2417
+ def get_authentication_policy(compartment_id, opts = {})
2418
+ logger.debug 'Calling operation IdentityClient#get_authentication_policy.' if logger
2419
+
2420
+ raise "Missing the required parameter 'compartment_id' when calling get_authentication_policy." if compartment_id.nil?
2421
+ raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
2422
+
2423
+ path = '/authenticationPolicies/{compartmentId}'.sub('{compartmentId}', compartment_id.to_s)
2424
+ operation_signing_strategy = :standard
2425
+
2426
+ # rubocop:disable Style/NegatedIf
2427
+ # Query Params
2428
+ query_params = {}
2429
+
2430
+ # Header Params
2431
+ header_params = {}
2432
+ header_params[:accept] = 'application/json'
2433
+ header_params[:'content-type'] = 'application/json'
2434
+ # rubocop:enable Style/NegatedIf
2435
+
2436
+ post_body = nil
2437
+
2438
+ # rubocop:disable Metrics/BlockLength
2439
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_authentication_policy') do
2440
+ @api_client.call_api(
2441
+ :GET,
2442
+ path,
2443
+ endpoint,
2444
+ header_params: header_params,
2445
+ query_params: query_params,
2446
+ operation_signing_strategy: operation_signing_strategy,
2447
+ body: post_body,
2448
+ return_type: 'OCI::Identity::Models::AuthenticationPolicy'
2449
+ )
2450
+ end
2451
+ # rubocop:enable Metrics/BlockLength
2452
+ end
2453
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2454
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2455
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2456
+ # rubocop:enable Lint/UnusedMethodArgument
2457
+
2458
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2459
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2460
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2461
+ # rubocop:disable Lint/UnusedMethodArgument
2462
+
2463
+
2286
2464
  # Gets the specified compartment's information.
2287
2465
  #
2288
2466
  # This operation does not return a list of all the resources inside the compartment. There is no single
@@ -2733,6 +2911,60 @@ module OCI
2733
2911
  # rubocop:disable Lint/UnusedMethodArgument
2734
2912
 
2735
2913
 
2914
+ # Retrieves the specified Tag Default.
2915
+ #
2916
+ # @param [String] tag_default_id The OCID of the Tag Default.
2917
+ # @param [Hash] opts the optional parameters
2918
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2919
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2920
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::TagDefault TagDefault}
2921
+ def get_tag_default(tag_default_id, opts = {})
2922
+ logger.debug 'Calling operation IdentityClient#get_tag_default.' if logger
2923
+
2924
+ raise "Missing the required parameter 'tag_default_id' when calling get_tag_default." if tag_default_id.nil?
2925
+ raise "Parameter value for 'tag_default_id' must not be blank" if OCI::Internal::Util.blank_string?(tag_default_id)
2926
+
2927
+ path = '/tagDefaults/{tagDefaultId}'.sub('{tagDefaultId}', tag_default_id.to_s)
2928
+ operation_signing_strategy = :standard
2929
+
2930
+ # rubocop:disable Style/NegatedIf
2931
+ # Query Params
2932
+ query_params = {}
2933
+
2934
+ # Header Params
2935
+ header_params = {}
2936
+ header_params[:accept] = 'application/json'
2937
+ header_params[:'content-type'] = 'application/json'
2938
+ # rubocop:enable Style/NegatedIf
2939
+
2940
+ post_body = nil
2941
+
2942
+ # rubocop:disable Metrics/BlockLength
2943
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tag_default') do
2944
+ @api_client.call_api(
2945
+ :GET,
2946
+ path,
2947
+ endpoint,
2948
+ header_params: header_params,
2949
+ query_params: query_params,
2950
+ operation_signing_strategy: operation_signing_strategy,
2951
+ body: post_body,
2952
+ return_type: 'OCI::Identity::Models::TagDefault'
2953
+ )
2954
+ end
2955
+ # rubocop:enable Metrics/BlockLength
2956
+ end
2957
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2958
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2959
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2960
+ # rubocop:enable Lint/UnusedMethodArgument
2961
+
2962
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2963
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2964
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2965
+ # rubocop:disable Lint/UnusedMethodArgument
2966
+
2967
+
2736
2968
  # Gets the specified tag namespace's information.
2737
2969
  #
2738
2970
  # @param [String] tag_namespace_id The OCID of the tag namespace.
@@ -3116,7 +3348,7 @@ module OCI
3116
3348
 
3117
3349
  # Lists the availability domains in your tenancy. Specify the OCID of either the tenancy or another
3118
3350
  # of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
3119
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3351
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3120
3352
  # Note that the order of the results returned can change if availability domains are added or removed; therefore, do not
3121
3353
  # create a dependency on the list order.
3122
3354
  #
@@ -3189,7 +3421,7 @@ module OCI
3189
3421
  # To get a full list of all compartments and subcompartments in the tenancy (root compartment),
3190
3422
  # set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ANY.
3191
3423
  #
3192
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3424
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3193
3425
  #
3194
3426
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3195
3427
  #
@@ -3270,7 +3502,7 @@ module OCI
3270
3502
 
3271
3503
 
3272
3504
  # Lists all the tags enabled for cost-tracking in the specified tenancy. For information about
3273
- # cost-tracking tags, see [Using Cost-tracking Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#costs).
3505
+ # cost-tracking tags, see [Using Cost-tracking Tags](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#costs).
3274
3506
  #
3275
3507
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3276
3508
  #
@@ -3386,7 +3618,7 @@ module OCI
3386
3618
 
3387
3619
  # Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for
3388
3620
  # the compartment ID (remember that the tenancy is simply the root compartment).
3389
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3621
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3390
3622
  #
3391
3623
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3392
3624
  #
@@ -3448,7 +3680,7 @@ module OCI
3448
3680
 
3449
3681
  # Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another
3450
3682
  # of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
3451
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3683
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3452
3684
  #
3453
3685
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3454
3686
  #
@@ -3508,7 +3740,7 @@ module OCI
3508
3740
 
3509
3741
  # Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
3510
3742
  # the compartment ID (remember that the tenancy is simply the root compartment).
3511
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3743
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3512
3744
  #
3513
3745
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
3514
3746
  #
@@ -3627,7 +3859,7 @@ module OCI
3627
3859
  # Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for
3628
3860
  # identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the
3629
3861
  # compartment ID (remember that the tenancy is simply the root compartment).
3630
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
3862
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3631
3863
  #
3632
3864
  # @param [String] protocol The protocol used for federation.
3633
3865
  # Allowed values are: SAML2
@@ -3752,7 +3984,7 @@ module OCI
3752
3984
 
3753
3985
 
3754
3986
  # Lists the MFA TOTP devices for the specified user. The returned object contains the device's OCID, but not
3755
- # the seed. The seed is returned only upon creation or when we regenerate MFA seed for the device.
3987
+ # the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.
3756
3988
  #
3757
3989
  # @param [String] user_id The OCID of the user.
3758
3990
  # @param [Hash] opts the optional parameters
@@ -3835,7 +4067,7 @@ module OCI
3835
4067
 
3836
4068
 
3837
4069
  # Lists the policies in the specified compartment (either the tenancy or another of your compartments).
3838
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
4070
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
3839
4071
  #
3840
4072
  # To determine which policies apply to a particular group or compartment, you must view the individual
3841
4073
  # statements inside all your policies. There isn't a way to automatically obtain that information via the API.
@@ -4112,6 +4344,77 @@ module OCI
4112
4344
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4113
4345
 
4114
4346
 
4347
+ # Lists the Tag Defaults for Tag Definitions in the specified Compartment.
4348
+ #
4349
+ # @param [Hash] opts the optional parameters
4350
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4351
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4352
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
4353
+ #
4354
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4355
+ #
4356
+ # @option opts [String] :id A filter to only return resources that match the specified OCID exactly.
4357
+ #
4358
+ # @option opts [String] :compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
4359
+ #
4360
+ # @option opts [String] :tag_definition_id The OCID of the Tag Definition.
4361
+ #
4362
+ # @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
4363
+ #
4364
+ # @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TagDefaultSummary TagDefaultSummary}>
4365
+ def list_tag_defaults(opts = {})
4366
+ logger.debug 'Calling operation IdentityClient#list_tag_defaults.' if logger
4367
+
4368
+
4369
+ if opts[:lifecycle_state] && !OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
4370
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.'
4371
+ end
4372
+
4373
+ path = '/tagDefaults'
4374
+ operation_signing_strategy = :standard
4375
+
4376
+ # rubocop:disable Style/NegatedIf
4377
+ # Query Params
4378
+ query_params = {}
4379
+ query_params[:page] = opts[:page] if opts[:page]
4380
+ query_params[:limit] = opts[:limit] if opts[:limit]
4381
+ query_params[:id] = opts[:id] if opts[:id]
4382
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
4383
+ query_params[:tagDefinitionId] = opts[:tag_definition_id] if opts[:tag_definition_id]
4384
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
4385
+
4386
+ # Header Params
4387
+ header_params = {}
4388
+ header_params[:accept] = 'application/json'
4389
+ header_params[:'content-type'] = 'application/json'
4390
+ # rubocop:enable Style/NegatedIf
4391
+
4392
+ post_body = nil
4393
+
4394
+ # rubocop:disable Metrics/BlockLength
4395
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tag_defaults') do
4396
+ @api_client.call_api(
4397
+ :GET,
4398
+ path,
4399
+ endpoint,
4400
+ header_params: header_params,
4401
+ query_params: query_params,
4402
+ operation_signing_strategy: operation_signing_strategy,
4403
+ body: post_body,
4404
+ return_type: 'Array<OCI::Identity::Models::TagDefaultSummary>'
4405
+ )
4406
+ end
4407
+ # rubocop:enable Metrics/BlockLength
4408
+ end
4409
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4410
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4411
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4412
+
4413
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4414
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4415
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4416
+
4417
+
4115
4418
  # Lists the tag namespaces in the specified compartment.
4116
4419
  #
4117
4420
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
@@ -4236,7 +4539,7 @@ module OCI
4236
4539
 
4237
4540
  # Lists the `UserGroupMembership` objects in your tenancy. You must specify your tenancy's OCID
4238
4541
  # as the value for the compartment ID
4239
- # (see [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five)).
4542
+ # (see [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five)).
4240
4543
  # You must also then filter the list in one of these ways:
4241
4544
  #
4242
4545
  # - You can limit the results to just the memberships for a given user by specifying a `userId`.
@@ -4308,7 +4611,7 @@ module OCI
4308
4611
 
4309
4612
  # Lists the users in your tenancy. You must specify your tenancy's OCID as the value for the
4310
4613
  # compartment ID (remember that the tenancy is simply the root compartment).
4311
- # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
4614
+ # See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
4312
4615
  #
4313
4616
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
4314
4617
  #
@@ -4605,6 +4908,65 @@ module OCI
4605
4908
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4606
4909
 
4607
4910
 
4911
+ # Updates authentication policy for the specified tenancy
4912
+ #
4913
+ # @param [String] compartment_id The OCID of the compartment.
4914
+ # @param [OCI::Identity::Models::UpdateAuthenticationPolicyDetails] update_authentication_policy_details Request object for updating the authentication policy.
4915
+ # @param [Hash] opts the optional parameters
4916
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4917
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4918
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
4919
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
4920
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
4921
+ #
4922
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::AuthenticationPolicy AuthenticationPolicy}
4923
+ def update_authentication_policy(compartment_id, update_authentication_policy_details, opts = {})
4924
+ logger.debug 'Calling operation IdentityClient#update_authentication_policy.' if logger
4925
+
4926
+ raise "Missing the required parameter 'compartment_id' when calling update_authentication_policy." if compartment_id.nil?
4927
+ raise "Missing the required parameter 'update_authentication_policy_details' when calling update_authentication_policy." if update_authentication_policy_details.nil?
4928
+ raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
4929
+
4930
+ path = '/authenticationPolicies/{compartmentId}'.sub('{compartmentId}', compartment_id.to_s)
4931
+ operation_signing_strategy = :standard
4932
+
4933
+ # rubocop:disable Style/NegatedIf
4934
+ # Query Params
4935
+ query_params = {}
4936
+
4937
+ # Header Params
4938
+ header_params = {}
4939
+ header_params[:accept] = 'application/json'
4940
+ header_params[:'content-type'] = 'application/json'
4941
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
4942
+ # rubocop:enable Style/NegatedIf
4943
+
4944
+ post_body = @api_client.object_to_http_body(update_authentication_policy_details)
4945
+
4946
+ # rubocop:disable Metrics/BlockLength
4947
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_authentication_policy') do
4948
+ @api_client.call_api(
4949
+ :PUT,
4950
+ path,
4951
+ endpoint,
4952
+ header_params: header_params,
4953
+ query_params: query_params,
4954
+ operation_signing_strategy: operation_signing_strategy,
4955
+ body: post_body,
4956
+ return_type: 'OCI::Identity::Models::AuthenticationPolicy'
4957
+ )
4958
+ end
4959
+ # rubocop:enable Metrics/BlockLength
4960
+ end
4961
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4962
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4963
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4964
+
4965
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4966
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4967
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4968
+
4969
+
4608
4970
  # Updates the specified compartment's description or name. You can't update the root compartment.
4609
4971
  # @param [String] compartment_id The OCID of the compartment.
4610
4972
  # @param [OCI::Identity::Models::UpdateCompartmentDetails] update_compartment_details Request object for updating a compartment.
@@ -5203,6 +5565,69 @@ module OCI
5203
5565
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5204
5566
  # rubocop:enable Lint/UnusedMethodArgument
5205
5567
 
5568
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5569
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5570
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5571
+
5572
+
5573
+ # Updates the the specified Tag Default. You can presently update the following fields: `value`.
5574
+ #
5575
+ # @param [String] tag_default_id The OCID of the Tag Default.
5576
+ # @param [OCI::Identity::Models::UpdateTagDefaultDetails] update_tag_default_details Request object for updating a Tag Default.
5577
+ # @param [Hash] opts the optional parameters
5578
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5579
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5580
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5581
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5582
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
5583
+ #
5584
+ # @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
5585
+ # particular request, please provide the request ID.
5586
+ #
5587
+ # @return [Response] A Response object with data of type {OCI::Identity::Models::TagDefault TagDefault}
5588
+ def update_tag_default(tag_default_id, update_tag_default_details, opts = {})
5589
+ logger.debug 'Calling operation IdentityClient#update_tag_default.' if logger
5590
+
5591
+ raise "Missing the required parameter 'tag_default_id' when calling update_tag_default." if tag_default_id.nil?
5592
+ raise "Missing the required parameter 'update_tag_default_details' when calling update_tag_default." if update_tag_default_details.nil?
5593
+ raise "Parameter value for 'tag_default_id' must not be blank" if OCI::Internal::Util.blank_string?(tag_default_id)
5594
+
5595
+ path = '/tagDefaults/{tagDefaultId}'.sub('{tagDefaultId}', tag_default_id.to_s)
5596
+ operation_signing_strategy = :standard
5597
+
5598
+ # rubocop:disable Style/NegatedIf
5599
+ # Query Params
5600
+ query_params = {}
5601
+
5602
+ # Header Params
5603
+ header_params = {}
5604
+ header_params[:accept] = 'application/json'
5605
+ header_params[:'content-type'] = 'application/json'
5606
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
5607
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
5608
+ # rubocop:enable Style/NegatedIf
5609
+
5610
+ post_body = @api_client.object_to_http_body(update_tag_default_details)
5611
+
5612
+ # rubocop:disable Metrics/BlockLength
5613
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_tag_default') do
5614
+ @api_client.call_api(
5615
+ :PUT,
5616
+ path,
5617
+ endpoint,
5618
+ header_params: header_params,
5619
+ query_params: query_params,
5620
+ operation_signing_strategy: operation_signing_strategy,
5621
+ body: post_body,
5622
+ return_type: 'OCI::Identity::Models::TagDefault'
5623
+ )
5624
+ end
5625
+ # rubocop:enable Metrics/BlockLength
5626
+ end
5627
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5628
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
5629
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
5630
+
5206
5631
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5207
5632
  # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
5208
5633
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
@@ -5215,7 +5640,7 @@ module OCI
5215
5640
  # namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions.
5216
5641
  # To reactivate the tag definitions, you must reactivate each one indvidually *after* you reactivate the namespace,
5217
5642
  # using {#update_tag update_tag}. For more information about retiring tag namespaces, see
5218
- # [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
5643
+ # [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
5219
5644
  #
5220
5645
  # You can't add a namespace with the same name as a retired namespace in the same tenancy.
5221
5646
  #