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.
- checksums.yaml +4 -4
- data/README.md +17 -2
- data/lib/oci.rb +1 -0
- data/lib/oci/autoscaling/auto_scaling_client.rb +5 -5
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +2 -2
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/budget/budget.rb +33 -0
- data/lib/oci/budget/budget_client.rb +767 -0
- data/lib/oci/budget/budget_client_composite_operations.rb +224 -0
- data/lib/oci/budget/models/alert_rule.rb +398 -0
- data/lib/oci/budget/models/alert_rule_summary.rb +396 -0
- data/lib/oci/budget/models/alert_type.rb +10 -0
- data/lib/oci/budget/models/budget.rb +413 -0
- data/lib/oci/budget/models/budget_summary.rb +413 -0
- data/lib/oci/budget/models/create_alert_rule_details.rb +288 -0
- data/lib/oci/budget/models/create_budget_details.rb +267 -0
- data/lib/oci/budget/models/lifecycle_state.rb +10 -0
- data/lib/oci/budget/models/reset_period.rb +9 -0
- data/lib/oci/budget/models/sort_by.rb +10 -0
- data/lib/oci/budget/models/sort_order.rb +10 -0
- data/lib/oci/budget/models/threshold_type.rb +10 -0
- data/lib/oci/budget/models/update_alert_rule_details.rb +288 -0
- data/lib/oci/budget/models/update_budget_details.rb +239 -0
- data/lib/oci/budget/util.rb +2 -0
- data/lib/oci/core/blockstorage_client.rb +35 -35
- data/lib/oci/core/compute_client.rb +41 -41
- data/lib/oci/core/compute_management_client.rb +6 -6
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
- data/lib/oci/core/models/attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/boot_volume.rb +4 -4
- data/lib/oci/core/models/boot_volume_backup.rb +4 -4
- data/lib/oci/core/models/capture_console_history_details.rb +2 -2
- data/lib/oci/core/models/console_history.rb +2 -2
- data/lib/oci/core/models/cpe.rb +4 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/create_boot_volume_details.rb +2 -2
- data/lib/oci/core/models/create_cpe_details.rb +2 -2
- data/lib/oci/core/models/create_dhcp_details.rb +2 -2
- data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/create_drg_details.rb +2 -2
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_instance_configuration_details.rb +2 -2
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -2
- data/lib/oci/core/models/create_instance_pool_details.rb +2 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -3
- data/lib/oci/core/models/create_nat_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_private_ip_details.rb +3 -3
- data/lib/oci/core/models/create_public_ip_details.rb +3 -3
- data/lib/oci/core/models/create_route_table_details.rb +2 -2
- data/lib/oci/core/models/create_security_list_details.rb +2 -2
- data/lib/oci/core/models/create_service_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_subnet_details.rb +3 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -3
- data/lib/oci/core/models/create_vnic_details.rb +7 -7
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/create_volume_details.rb +2 -2
- data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -2
- data/lib/oci/core/models/create_volume_group_details.rb +2 -2
- data/lib/oci/core/models/cross_connect.rb +2 -2
- data/lib/oci/core/models/cross_connect_group.rb +2 -2
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -2
- data/lib/oci/core/models/dhcp_option.rb +2 -2
- data/lib/oci/core/models/dhcp_options.rb +5 -5
- data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
- data/lib/oci/core/models/drg.rb +4 -4
- data/lib/oci/core/models/drg_attachment.rb +2 -2
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -2
- data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
- data/lib/oci/core/models/image.rb +4 -4
- data/lib/oci/core/models/instance.rb +5 -5
- data/lib/oci/core/models/instance_configuration.rb +2 -2
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +2 -2
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +3 -3
- data/lib/oci/core/models/instance_console_connection.rb +3 -3
- data/lib/oci/core/models/instance_pool.rb +2 -2
- data/lib/oci/core/models/internet_gateway.rb +4 -4
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/launch_instance_details.rb +3 -3
- data/lib/oci/core/models/local_peering_gateway.rb +5 -5
- data/lib/oci/core/models/nat_gateway.rb +7 -7
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
- data/lib/oci/core/models/private_ip.rb +5 -5
- data/lib/oci/core/models/public_ip.rb +4 -4
- data/lib/oci/core/models/remote_peering_connection.rb +2 -2
- data/lib/oci/core/models/route_rule.rb +1 -1
- data/lib/oci/core/models/route_table.rb +4 -4
- data/lib/oci/core/models/security_list.rb +4 -4
- data/lib/oci/core/models/service.rb +1 -1
- data/lib/oci/core/models/service_gateway.rb +7 -7
- data/lib/oci/core/models/service_id_request_details.rb +1 -1
- data/lib/oci/core/models/service_id_response_details.rb +1 -1
- data/lib/oci/core/models/shape.rb +1 -1
- data/lib/oci/core/models/subnet.rb +7 -7
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +2 -2
- data/lib/oci/core/models/update_console_history_details.rb +2 -2
- data/lib/oci/core/models/update_cpe_details.rb +2 -2
- data/lib/oci/core/models/update_dhcp_details.rb +2 -2
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/update_drg_details.rb +2 -2
- data/lib/oci/core/models/update_image_details.rb +2 -2
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -2
- data/lib/oci/core/models/update_instance_details.rb +2 -2
- data/lib/oci/core/models/update_instance_pool_details.rb +2 -2
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +3 -3
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_private_ip_details.rb +3 -3
- data/lib/oci/core/models/update_public_ip_details.rb +2 -2
- data/lib/oci/core/models/update_route_table_details.rb +2 -2
- data/lib/oci/core/models/update_security_list_details.rb +2 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -2
- data/lib/oci/core/models/update_vcn_details.rb +2 -2
- data/lib/oci/core/models/update_vnic_details.rb +4 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/update_volume_details.rb +2 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -2
- data/lib/oci/core/models/update_volume_group_details.rb +2 -2
- data/lib/oci/core/models/vcn.rb +6 -6
- data/lib/oci/core/models/virtual_circuit.rb +4 -4
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
- data/lib/oci/core/models/vnic.rb +7 -7
- data/lib/oci/core/models/vnic_attachment.rb +2 -2
- data/lib/oci/core/models/volume.rb +4 -4
- data/lib/oci/core/models/volume_attachment.rb +1 -1
- data/lib/oci/core/models/volume_backup.rb +4 -4
- data/lib/oci/core/models/volume_group.rb +3 -3
- data/lib/oci/core/models/volume_group_backup.rb +4 -4
- data/lib/oci/core/virtual_network_client.rb +121 -121
- data/lib/oci/core/virtual_network_client_composite_operations.rb +6 -6
- data/lib/oci/database/database.rb +4 -0
- data/lib/oci/database/database_client.rb +202 -78
- data/lib/oci/database/database_client_composite_operations.rb +65 -25
- data/lib/oci/database/models/autonomous_data_warehouse.rb +4 -4
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_database.rb +43 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +3 -3
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +43 -8
- data/lib/oci/database/models/backup.rb +3 -3
- data/lib/oci/database/models/backup_summary.rb +4 -4
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +3 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +33 -4
- data/lib/oci/database/models/create_backup_details.rb +1 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_database_details.rb +2 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +1 -1
- data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/data_guard_association.rb +6 -6
- data/lib/oci/database/models/data_guard_association_summary.rb +9 -9
- data/lib/oci/database/models/database.rb +5 -5
- data/lib/oci/database/models/database_summary.rb +7 -7
- data/lib/oci/database/models/db_backup_config.rb +1 -1
- data/lib/oci/database/models/db_home.rb +4 -4
- data/lib/oci/database/models/db_home_summary.rb +6 -6
- data/lib/oci/database/models/db_iorm_config.rb +181 -0
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +166 -0
- data/lib/oci/database/models/db_node.rb +4 -4
- data/lib/oci/database/models/db_node_summary.rb +5 -5
- data/lib/oci/database/models/db_system.rb +41 -11
- data/lib/oci/database/models/db_system_shape_summary.rb +2 -2
- data/lib/oci/database/models/db_system_summary.rb +30 -16
- data/lib/oci/database/models/db_version_summary.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config.rb +247 -0
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +186 -0
- data/lib/oci/database/models/external_backup_job.rb +2 -2
- data/lib/oci/database/models/launch_db_system_base.rb +24 -10
- data/lib/oci/database/models/launch_db_system_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
- data/lib/oci/database/models/patch.rb +1 -1
- data/lib/oci/database/models/patch_details.rb +1 -1
- data/lib/oci/database/models/patch_history_entry.rb +2 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -2
- data/lib/oci/database/models/patch_summary.rb +2 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +2 -2
- data/lib/oci/database/models/update_database_details.rb +2 -2
- data/lib/oci/database/models/update_db_system_details.rb +2 -2
- data/lib/oci/dns/dns_client.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/create_zone_details.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -1
- data/lib/oci/dns/models/record_details.rb +1 -1
- data/lib/oci/dns/models/record_operation.rb +1 -1
- data/lib/oci/dns/models/steering_policy.rb +1 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/update_zone_details.rb +1 -1
- data/lib/oci/dns/models/zone.rb +1 -1
- data/lib/oci/dns/models/zone_summary.rb +1 -1
- data/lib/oci/email/email_client.rb +3 -3
- data/lib/oci/email/models/create_sender_details.rb +2 -2
- data/lib/oci/email/models/sender.rb +2 -2
- data/lib/oci/email/models/sender_summary.rb +2 -2
- data/lib/oci/email/models/update_sender_details.rb +2 -2
- data/lib/oci/file_storage/file_storage_client.rb +14 -14
- data/lib/oci/file_storage/models/create_file_system_details.rb +2 -2
- data/lib/oci/file_storage/models/create_mount_target_details.rb +3 -3
- data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -2
- data/lib/oci/file_storage/models/export.rb +1 -1
- data/lib/oci/file_storage/models/file_system.rb +3 -3
- data/lib/oci/file_storage/models/mount_target.rb +2 -2
- data/lib/oci/file_storage/models/snapshot.rb +2 -2
- data/lib/oci/file_storage/models/update_file_system_details.rb +2 -2
- data/lib/oci/file_storage/models/update_mount_target_details.rb +2 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -2
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/http_monitor.rb +2 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -2
- data/lib/oci/healthchecks/models/ping_monitor.rb +2 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -2
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -2
- data/lib/oci/identity/identity.rb +7 -0
- data/lib/oci/identity/identity_client.rb +461 -36
- data/lib/oci/identity/identity_client_composite_operations.rb +119 -0
- data/lib/oci/identity/models/api_key.rb +2 -2
- data/lib/oci/identity/models/auth_token.rb +1 -1
- data/lib/oci/identity/models/authentication_policy.rb +168 -0
- data/lib/oci/identity/models/availability_domain.rb +1 -1
- data/lib/oci/identity/models/compartment.rb +5 -5
- data/lib/oci/identity/models/create_compartment_details.rb +2 -2
- data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -2
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/create_policy_details.rb +4 -4
- data/lib/oci/identity/models/create_tag_default_details.rb +180 -0
- data/lib/oci/identity/models/create_tag_details.rb +2 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +2 -2
- data/lib/oci/identity/models/create_user_details.rb +13 -3
- data/lib/oci/identity/models/customer_secret_key.rb +2 -2
- data/lib/oci/identity/models/dynamic_group.rb +2 -2
- data/lib/oci/identity/models/group.rb +5 -5
- data/lib/oci/identity/models/identity_provider.rb +4 -4
- data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +20 -9
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +7 -1
- data/lib/oci/identity/models/password_policy.rb +234 -0
- data/lib/oci/identity/models/policy.rb +4 -4
- data/lib/oci/identity/models/region.rb +2 -2
- data/lib/oci/identity/models/region_subscription.rb +2 -2
- data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
- data/lib/oci/identity/models/smtp_credential.rb +1 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +1 -1
- data/lib/oci/identity/models/swift_password.rb +1 -1
- data/lib/oci/identity/models/tag.rb +4 -4
- data/lib/oci/identity/models/tag_default.rb +280 -0
- data/lib/oci/identity/models/tag_default_summary.rb +274 -0
- data/lib/oci/identity/models/tag_namespace.rb +4 -4
- data/lib/oci/identity/models/tag_namespace_summary.rb +3 -3
- data/lib/oci/identity/models/tag_summary.rb +3 -3
- data/lib/oci/identity/models/tenancy.rb +4 -4
- data/lib/oci/identity/models/ui_password.rb +1 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +154 -0
- data/lib/oci/identity/models/update_compartment_details.rb +2 -2
- data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/update_group_details.rb +2 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/update_policy_details.rb +4 -4
- data/lib/oci/identity/models/update_tag_default_details.rb +150 -0
- data/lib/oci/identity/models/update_tag_details.rb +3 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +3 -3
- data/lib/oci/identity/models/update_user_details.rb +13 -3
- data/lib/oci/identity/models/user.rb +19 -7
- data/lib/oci/load_balancer/load_balancer_client.rb +64 -64
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +23 -23
- data/lib/oci/load_balancer/models/backend.rb +2 -2
- data/lib/oci/load_balancer/models/backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/certificate.rb +1 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +6 -6
- data/lib/oci/load_balancer/models/health_check_result.rb +1 -1
- data/lib/oci/load_balancer/models/health_checker.rb +1 -1
- data/lib/oci/load_balancer/models/hostname.rb +1 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +11 -11
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +1 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -2
- data/lib/oci/load_balancer/models/work_request.rb +3 -3
- data/lib/oci/monitoring/models/alarm.rb +10 -10
- data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +5 -5
- data/lib/oci/monitoring/models/alarm_summary.rb +10 -10
- data/lib/oci/monitoring/models/create_alarm_details.rb +5 -5
- data/lib/oci/monitoring/models/metric.rb +2 -2
- data/lib/oci/monitoring/models/metric_data.rb +2 -2
- data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -2
- data/lib/oci/monitoring/models/suppression.rb +1 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +5 -5
- data/lib/oci/monitoring/monitoring_client.rb +20 -20
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -2
- data/lib/oci/object_storage/models/bucket.rb +4 -4
- data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +1 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +1 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +1 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +1 -1
- data/lib/oci/object_storage/models/list_objects.rb +1 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +2 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -2
- data/lib/oci/object_storage/models/object_summary.rb +1 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +2 -2
- data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
- data/lib/oci/object_storage/object_storage_client.rb +3 -3
- data/lib/oci/ons/models/confirmation_result.rb +2 -2
- data/lib/oci/ons/models/create_subscription_details.rb +4 -4
- data/lib/oci/ons/models/create_topic_details.rb +3 -3
- data/lib/oci/ons/models/notification_topic.rb +4 -4
- data/lib/oci/ons/models/notification_topic_summary.rb +4 -4
- data/lib/oci/ons/models/subscription.rb +3 -3
- data/lib/oci/ons/models/subscription_summary.rb +4 -4
- data/lib/oci/ons/models/topic_attributes_details.rb +2 -2
- data/lib/oci/ons/models/update_subscription_details.rb +2 -2
- data/lib/oci/ons/notification_control_plane_client.rb +9 -9
- data/lib/oci/ons/notification_data_plane_client.rb +10 -10
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
- data/lib/oci/regions.rb +1 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +2 -2
- data/lib/oci/resource_manager/models/create_stack_details.rb +2 -2
- data/lib/oci/resource_manager/models/job.rb +2 -2
- data/lib/oci/resource_manager/models/job_summary.rb +2 -2
- data/lib/oci/resource_manager/models/stack.rb +2 -2
- data/lib/oci/resource_manager/models/stack_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -2
- data/lib/oci/resource_manager/models/update_stack_details.rb +2 -2
- data/lib/oci/resource_manager/resource_manager_client.rb +6 -6
- data/lib/oci/streaming/models/create_stream_details.rb +2 -2
- data/lib/oci/streaming/models/stream.rb +2 -2
- data/lib/oci/streaming/models/stream_summary.rb +2 -2
- data/lib/oci/streaming/models/update_stream_details.rb +2 -2
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +2 -2
- data/lib/oci/waas/models/certificate_summary.rb +2 -2
- data/lib/oci/waas/models/create_certificate_details.rb +1 -1
- data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/waas_policy.rb +2 -2
- data/lib/oci/waas/models/waas_policy_summary.rb +2 -2
- data/lib/oci/waas/models/work_request.rb +3 -3
- data/lib/oci/waas/models/work_request_resource.rb +1 -1
- data/lib/oci/waas/models/work_request_summary.rb +2 -2
- data/lib/oci/waas/waas_client.rb +53 -53
- data/lib/oci/waas/waas_client_composite_operations.rb +18 -18
- metadata +31 -2
|
@@ -337,6 +337,45 @@ module OCI
|
|
|
337
337
|
# rubocop:disable Layout/EmptyLines
|
|
338
338
|
|
|
339
339
|
|
|
340
|
+
# Calls {OCI::Identity::IdentityClient#create_tag_default} and then waits for the {OCI::Identity::Models::TagDefault} acted upon
|
|
341
|
+
# to enter the given state(s).
|
|
342
|
+
#
|
|
343
|
+
# @param [OCI::Identity::Models::CreateTagDefaultDetails] create_tag_default_details Request object for creating a new Tag Default.
|
|
344
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Identity::Models::TagDefault#lifecycle_state}
|
|
345
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Identity::IdentityClient#create_tag_default}
|
|
346
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
347
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
348
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
349
|
+
#
|
|
350
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Identity::Models::TagDefault}
|
|
351
|
+
def create_tag_default_and_wait_for_state(create_tag_default_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
352
|
+
operation_result = @service_client.create_tag_default(create_tag_default_details, base_operation_opts)
|
|
353
|
+
|
|
354
|
+
return operation_result if wait_for_states.empty?
|
|
355
|
+
|
|
356
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
357
|
+
wait_for_resource_id = operation_result.data.id
|
|
358
|
+
|
|
359
|
+
begin
|
|
360
|
+
waiter_result = @service_client.get_tag_default(wait_for_resource_id).wait_until(
|
|
361
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
362
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
363
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
364
|
+
)
|
|
365
|
+
result_to_return = waiter_result
|
|
366
|
+
|
|
367
|
+
return result_to_return
|
|
368
|
+
rescue StandardError
|
|
369
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
373
|
+
# rubocop:enable Layout/EmptyLines
|
|
374
|
+
|
|
375
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
376
|
+
# rubocop:disable Layout/EmptyLines
|
|
377
|
+
|
|
378
|
+
|
|
340
379
|
# Calls {OCI::Identity::IdentityClient#create_user} and then waits for the {OCI::Identity::Models::User} acted upon
|
|
341
380
|
# to enter the given state(s).
|
|
342
381
|
#
|
|
@@ -585,6 +624,46 @@ module OCI
|
|
|
585
624
|
# rubocop:disable Layout/EmptyLines
|
|
586
625
|
|
|
587
626
|
|
|
627
|
+
# Calls {OCI::Identity::IdentityClient#delete_tag_default} and then waits for the {OCI::Identity::Models::TagDefault} acted upon
|
|
628
|
+
# to enter the given state(s).
|
|
629
|
+
#
|
|
630
|
+
# @param [String] tag_default_id The OCID of the Tag Default.
|
|
631
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Identity::Models::TagDefault#lifecycle_state}
|
|
632
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Identity::IdentityClient#delete_tag_default}
|
|
633
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
634
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
635
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
636
|
+
#
|
|
637
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
|
638
|
+
def delete_tag_default_and_wait_for_state(tag_default_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
639
|
+
initial_get_result = @service_client.get_tag_default(tag_default_id)
|
|
640
|
+
operation_result = @service_client.delete_tag_default(tag_default_id, base_operation_opts)
|
|
641
|
+
|
|
642
|
+
return operation_result if wait_for_states.empty?
|
|
643
|
+
|
|
644
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
645
|
+
|
|
646
|
+
begin
|
|
647
|
+
waiter_result = initial_get_result.wait_until(
|
|
648
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
649
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
650
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
|
651
|
+
succeed_on_not_found: true
|
|
652
|
+
)
|
|
653
|
+
result_to_return = waiter_result
|
|
654
|
+
|
|
655
|
+
return result_to_return
|
|
656
|
+
rescue StandardError
|
|
657
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
658
|
+
end
|
|
659
|
+
end
|
|
660
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
661
|
+
# rubocop:enable Layout/EmptyLines
|
|
662
|
+
|
|
663
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
664
|
+
# rubocop:disable Layout/EmptyLines
|
|
665
|
+
|
|
666
|
+
|
|
588
667
|
# Calls {OCI::Identity::IdentityClient#delete_user} and then waits for the {OCI::Identity::Models::User} acted upon
|
|
589
668
|
# to enter the given state(s).
|
|
590
669
|
#
|
|
@@ -906,6 +985,46 @@ module OCI
|
|
|
906
985
|
# rubocop:disable Layout/EmptyLines
|
|
907
986
|
|
|
908
987
|
|
|
988
|
+
# Calls {OCI::Identity::IdentityClient#update_tag_default} and then waits for the {OCI::Identity::Models::TagDefault} acted upon
|
|
989
|
+
# to enter the given state(s).
|
|
990
|
+
#
|
|
991
|
+
# @param [String] tag_default_id The OCID of the Tag Default.
|
|
992
|
+
# @param [OCI::Identity::Models::UpdateTagDefaultDetails] update_tag_default_details Request object for updating a Tag Default.
|
|
993
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Identity::Models::TagDefault#lifecycle_state}
|
|
994
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Identity::IdentityClient#update_tag_default}
|
|
995
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
996
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
997
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
998
|
+
#
|
|
999
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Identity::Models::TagDefault}
|
|
1000
|
+
def update_tag_default_and_wait_for_state(tag_default_id, update_tag_default_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
1001
|
+
operation_result = @service_client.update_tag_default(tag_default_id, update_tag_default_details, base_operation_opts)
|
|
1002
|
+
|
|
1003
|
+
return operation_result if wait_for_states.empty?
|
|
1004
|
+
|
|
1005
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
1006
|
+
wait_for_resource_id = operation_result.data.id
|
|
1007
|
+
|
|
1008
|
+
begin
|
|
1009
|
+
waiter_result = @service_client.get_tag_default(wait_for_resource_id).wait_until(
|
|
1010
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
1011
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
1012
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
1013
|
+
)
|
|
1014
|
+
result_to_return = waiter_result
|
|
1015
|
+
|
|
1016
|
+
return result_to_return
|
|
1017
|
+
rescue StandardError
|
|
1018
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
1019
|
+
end
|
|
1020
|
+
end
|
|
1021
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
1022
|
+
# rubocop:enable Layout/EmptyLines
|
|
1023
|
+
|
|
1024
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
1025
|
+
# rubocop:disable Layout/EmptyLines
|
|
1026
|
+
|
|
1027
|
+
|
|
909
1028
|
# Calls {OCI::Identity::IdentityClient#update_user} and then waits for the {OCI::Identity::Models::User} acted upon
|
|
910
1029
|
# to enter the given state(s).
|
|
911
1030
|
#
|
|
@@ -8,13 +8,13 @@ module OCI
|
|
|
8
8
|
# A PEM-format RSA credential for securing requests to the Oracle Cloud Infrastructure REST API. Also known
|
|
9
9
|
# as an *API signing key*. Specifically, this is the public key from the key pair. The private key remains with
|
|
10
10
|
# the user calling the API. For information about generating a key pair
|
|
11
|
-
# in the required PEM format, see [Required Keys and OCIDs](https://docs.
|
|
11
|
+
# in the required PEM format, see [Required Keys and OCIDs](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm).
|
|
12
12
|
#
|
|
13
13
|
# **Important:** This is **not** the SSH key for accessing compute instances.
|
|
14
14
|
#
|
|
15
15
|
# Each user can have a maximum of three API signing keys.
|
|
16
16
|
#
|
|
17
|
-
# For more information about user credentials, see [User Credentials](https://docs.
|
|
17
|
+
# For more information about user credentials, see [User Credentials](https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
|
|
18
18
|
#
|
|
19
19
|
class Identity::Models::ApiKey # rubocop:disable Metrics/LineLength
|
|
20
20
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -14,7 +14,7 @@ module OCI
|
|
|
14
14
|
#
|
|
15
15
|
# **Note:** The token is always an Oracle-generated string; you can't change it to a string of your choice.
|
|
16
16
|
#
|
|
17
|
-
# For more information, see [Managing User Credentials](https://docs.
|
|
17
|
+
# For more information, see [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
|
|
18
18
|
#
|
|
19
19
|
class Identity::Models::AuthToken # rubocop:disable Metrics/LineLength
|
|
20
20
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
6
|
+
module OCI
|
|
7
|
+
# Authentication policy, currently set for the given compartment
|
|
8
|
+
#
|
|
9
|
+
class Identity::Models::AuthenticationPolicy # rubocop:disable Metrics/LineLength
|
|
10
|
+
# Password policy.
|
|
11
|
+
# @return [OCI::Identity::Models::PasswordPolicy]
|
|
12
|
+
attr_accessor :password_policy
|
|
13
|
+
|
|
14
|
+
# Compartment OCID.
|
|
15
|
+
# @return [String]
|
|
16
|
+
attr_accessor :compartment_id
|
|
17
|
+
|
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
|
+
def self.attribute_map
|
|
20
|
+
{
|
|
21
|
+
# rubocop:disable Style/SymbolLiteral
|
|
22
|
+
'password_policy': :'passwordPolicy',
|
|
23
|
+
'compartment_id': :'compartmentId'
|
|
24
|
+
# rubocop:enable Style/SymbolLiteral
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Attribute type mapping.
|
|
29
|
+
def self.swagger_types
|
|
30
|
+
{
|
|
31
|
+
# rubocop:disable Style/SymbolLiteral
|
|
32
|
+
'password_policy': :'OCI::Identity::Models::PasswordPolicy',
|
|
33
|
+
'compartment_id': :'String'
|
|
34
|
+
# rubocop:enable Style/SymbolLiteral
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
39
|
+
# rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# Initializes the object
|
|
43
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
44
|
+
# @option attributes [OCI::Identity::Models::PasswordPolicy] :password_policy The value to assign to the {#password_policy} property
|
|
45
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
return unless attributes.is_a?(Hash)
|
|
48
|
+
|
|
49
|
+
# convert string to symbol for hash key
|
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
51
|
+
|
|
52
|
+
self.password_policy = attributes[:'passwordPolicy'] if attributes[:'passwordPolicy']
|
|
53
|
+
|
|
54
|
+
raise 'You cannot provide both :passwordPolicy and :password_policy' if attributes.key?(:'passwordPolicy') && attributes.key?(:'password_policy')
|
|
55
|
+
|
|
56
|
+
self.password_policy = attributes[:'password_policy'] if attributes[:'password_policy']
|
|
57
|
+
|
|
58
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
59
|
+
|
|
60
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
61
|
+
|
|
62
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
63
|
+
end
|
|
64
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
65
|
+
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
66
|
+
|
|
67
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# Checks equality by comparing each attribute.
|
|
71
|
+
# @param [Object] other the other object to be compared
|
|
72
|
+
def ==(other)
|
|
73
|
+
return true if equal?(other)
|
|
74
|
+
|
|
75
|
+
self.class == other.class &&
|
|
76
|
+
password_policy == other.password_policy &&
|
|
77
|
+
compartment_id == other.compartment_id
|
|
78
|
+
end
|
|
79
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
80
|
+
|
|
81
|
+
# @see the `==` method
|
|
82
|
+
# @param [Object] other the other object to be compared
|
|
83
|
+
def eql?(other)
|
|
84
|
+
self == other
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
# Calculates hash code according to all attributes.
|
|
91
|
+
# @return [Fixnum] Hash code
|
|
92
|
+
def hash
|
|
93
|
+
[password_policy, compartment_id].hash
|
|
94
|
+
end
|
|
95
|
+
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
96
|
+
|
|
97
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def build_from_hash(attributes)
|
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
|
105
|
+
|
|
106
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
107
|
+
if type =~ /^Array<(.*)>/i
|
|
108
|
+
# check to ensure the input is an array given that the the attribute
|
|
109
|
+
# is documented as an array but the input is not
|
|
110
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
111
|
+
public_method("#{key}=").call(
|
|
112
|
+
attributes[self.class.attribute_map[key]]
|
|
113
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
117
|
+
public_method("#{key}=").call(
|
|
118
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
119
|
+
)
|
|
120
|
+
end
|
|
121
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
self
|
|
125
|
+
end
|
|
126
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
127
|
+
|
|
128
|
+
# Returns the string representation of the object
|
|
129
|
+
# @return [String] String presentation of the object
|
|
130
|
+
def to_s
|
|
131
|
+
to_hash.to_s
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Returns the object in the form of hash
|
|
135
|
+
# @return [Hash] Returns the object in the form of hash
|
|
136
|
+
def to_hash
|
|
137
|
+
hash = {}
|
|
138
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
139
|
+
value = public_method(attr).call
|
|
140
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
141
|
+
|
|
142
|
+
hash[param] = _to_hash(value)
|
|
143
|
+
end
|
|
144
|
+
hash
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
private
|
|
148
|
+
|
|
149
|
+
# Outputs non-array value in the form of hash
|
|
150
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
151
|
+
# @param [Object] value Any valid value
|
|
152
|
+
# @return [Hash] Returns the value in the form of hash
|
|
153
|
+
def _to_hash(value)
|
|
154
|
+
if value.is_a?(Array)
|
|
155
|
+
value.compact.map { |v| _to_hash(v) }
|
|
156
|
+
elsif value.is_a?(Hash)
|
|
157
|
+
{}.tap do |hash|
|
|
158
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
159
|
+
end
|
|
160
|
+
elsif value.respond_to? :to_hash
|
|
161
|
+
value.to_hash
|
|
162
|
+
else
|
|
163
|
+
value
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
# rubocop:enable Lint/UnneededCopDisableDirective
|
|
@@ -6,7 +6,7 @@ require 'date'
|
|
|
6
6
|
module OCI
|
|
7
7
|
# One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes,
|
|
8
8
|
# and subnets. A region contains several Availability Domains. For more information, see
|
|
9
|
-
# [Regions and Availability Domains](https://docs.
|
|
9
|
+
# [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
|
|
10
10
|
#
|
|
11
11
|
class Identity::Models::AvailabilityDomain # rubocop:disable Metrics/LineLength
|
|
12
12
|
# The name of the Availability Domain.
|
|
@@ -10,8 +10,8 @@ module OCI
|
|
|
10
10
|
# of measuring usage and billing, access (through the use of IAM Service policies), and isolation (separating the
|
|
11
11
|
# resources for one project or business unit from another). A common approach is to create a compartment for each
|
|
12
12
|
# major part of your organization. For more information, see
|
|
13
|
-
# [Overview of the IAM Service](https://docs.
|
|
14
|
-
# [Setting Up Your Tenancy](https://docs.
|
|
13
|
+
# [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm) and also
|
|
14
|
+
# [Setting Up Your Tenancy](https://docs.cloud.oracle.com/Content/GSG/Concepts/settinguptenancy.htm).
|
|
15
15
|
#
|
|
16
16
|
# To place a resource in a compartment, simply specify the compartment ID in the \"Create\" request object when
|
|
17
17
|
# initially creating the resource. For example, to launch an instance into a particular compartment, specify
|
|
@@ -20,7 +20,7 @@ module OCI
|
|
|
20
20
|
#
|
|
21
21
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
22
22
|
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
23
|
-
# see [Getting Started with Policies](https://docs.
|
|
23
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
24
24
|
#
|
|
25
25
|
class Identity::Models::Compartment # rubocop:disable Metrics/LineLength
|
|
26
26
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -75,14 +75,14 @@ module OCI
|
|
|
75
75
|
attr_accessor :is_accessible
|
|
76
76
|
|
|
77
77
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
78
|
-
# For more information, see [Resource Tags](https://docs.
|
|
78
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
79
79
|
# Example: `{\"Department\": \"Finance\"}`
|
|
80
80
|
#
|
|
81
81
|
# @return [Hash<String, String>]
|
|
82
82
|
attr_accessor :freeform_tags
|
|
83
83
|
|
|
84
84
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
85
|
-
# For more information, see [Resource Tags](https://docs.
|
|
85
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
86
86
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
87
87
|
#
|
|
88
88
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -22,14 +22,14 @@ module OCI
|
|
|
22
22
|
attr_accessor :description
|
|
23
23
|
|
|
24
24
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
25
|
-
# For more information, see [Resource Tags](https://docs.
|
|
25
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
26
26
|
# Example: `{\"Department\": \"Finance\"}`
|
|
27
27
|
#
|
|
28
28
|
# @return [Hash<String, String>]
|
|
29
29
|
attr_accessor :freeform_tags
|
|
30
30
|
|
|
31
31
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
32
|
-
# For more information, see [Resource Tags](https://docs.
|
|
32
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
33
33
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
34
34
|
#
|
|
35
35
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -17,7 +17,7 @@ module OCI
|
|
|
17
17
|
attr_accessor :name
|
|
18
18
|
|
|
19
19
|
# **[Required]** The matching rule to dynamically match an instance certificate to this dynamic group.
|
|
20
|
-
# For rule syntax, see [Managing Dynamic Groups](https://docs.
|
|
20
|
+
# For rule syntax, see [Managing Dynamic Groups](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm).
|
|
21
21
|
#
|
|
22
22
|
# @return [String]
|
|
23
23
|
attr_accessor :matching_rule
|
|
@@ -21,14 +21,14 @@ module OCI
|
|
|
21
21
|
attr_accessor :description
|
|
22
22
|
|
|
23
23
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
24
|
-
# For more information, see [Resource Tags](https://docs.
|
|
24
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
25
25
|
# Example: `{\"Department\": \"Finance\"}`
|
|
26
26
|
#
|
|
27
27
|
# @return [Hash<String, String>]
|
|
28
28
|
attr_accessor :freeform_tags
|
|
29
29
|
|
|
30
30
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
31
|
-
# For more information, see [Resource Tags](https://docs.
|
|
31
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
32
32
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
33
33
|
#
|
|
34
34
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -51,14 +51,14 @@ module OCI
|
|
|
51
51
|
attr_reader :protocol
|
|
52
52
|
|
|
53
53
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
54
|
-
# For more information, see [Resource Tags](https://docs.
|
|
54
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
55
55
|
# Example: `{\"Department\": \"Finance\"}`
|
|
56
56
|
#
|
|
57
57
|
# @return [Hash<String, String>]
|
|
58
58
|
attr_accessor :freeform_tags
|
|
59
59
|
|
|
60
60
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
61
|
-
# For more information, see [Resource Tags](https://docs.
|
|
61
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
62
62
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
63
63
|
#
|
|
64
64
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -17,8 +17,8 @@ module OCI
|
|
|
17
17
|
attr_accessor :name
|
|
18
18
|
|
|
19
19
|
# **[Required]** An array of policy statements written in the policy language. See
|
|
20
|
-
# [How Policies Work](https://docs.
|
|
21
|
-
# [Common Policies](https://docs.
|
|
20
|
+
# [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and
|
|
21
|
+
# [Common Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm).
|
|
22
22
|
#
|
|
23
23
|
# @return [Array<String>]
|
|
24
24
|
attr_accessor :statements
|
|
@@ -36,14 +36,14 @@ module OCI
|
|
|
36
36
|
attr_accessor :version_date
|
|
37
37
|
|
|
38
38
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
39
|
-
# For more information, see [Resource Tags](https://docs.
|
|
39
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
40
40
|
# Example: `{\"Department\": \"Finance\"}`
|
|
41
41
|
#
|
|
42
42
|
# @return [Hash<String, String>]
|
|
43
43
|
attr_accessor :freeform_tags
|
|
44
44
|
|
|
45
45
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
46
|
-
# For more information, see [Resource Tags](https://docs.
|
|
46
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
47
47
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
48
48
|
#
|
|
49
49
|
# @return [Hash<String, Hash<String, Object>>]
|