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
|
@@ -17,14 +17,14 @@ module OCI
|
|
|
17
17
|
attr_accessor :name
|
|
18
18
|
|
|
19
19
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
20
|
-
# For more information, see [Resource Tags](https://docs.
|
|
20
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
21
21
|
# Example: `{\"Department\": \"Finance\"}`
|
|
22
22
|
#
|
|
23
23
|
# @return [Hash<String, String>]
|
|
24
24
|
attr_accessor :freeform_tags
|
|
25
25
|
|
|
26
26
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
27
|
-
# For more information, see [Resource Tags](https://docs.
|
|
27
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
28
28
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
29
29
|
#
|
|
30
30
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -11,7 +11,7 @@ module OCI
|
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
13
|
# The matching rule to dynamically match an instance certificate to this dynamic group.
|
|
14
|
-
# For rule syntax, see [Managing Dynamic Groups](https://docs.
|
|
14
|
+
# For rule syntax, see [Managing Dynamic Groups](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm).
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
17
17
|
attr_accessor :matching_rule
|
|
@@ -11,14 +11,14 @@ module OCI
|
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
13
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
14
|
-
# For more information, see [Resource Tags](https://docs.
|
|
14
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
15
15
|
# Example: `{\"Department\": \"Finance\"}`
|
|
16
16
|
#
|
|
17
17
|
# @return [Hash<String, String>]
|
|
18
18
|
attr_accessor :freeform_tags
|
|
19
19
|
|
|
20
20
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
21
|
-
# For more information, see [Resource Tags](https://docs.
|
|
21
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
22
22
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
23
23
|
#
|
|
24
24
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -25,14 +25,14 @@ module OCI
|
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
27
27
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
28
|
-
# For more information, see [Resource Tags](https://docs.
|
|
28
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
29
29
|
# Example: `{\"Department\": \"Finance\"}`
|
|
30
30
|
#
|
|
31
31
|
# @return [Hash<String, String>]
|
|
32
32
|
attr_accessor :freeform_tags
|
|
33
33
|
|
|
34
34
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
35
|
-
# For more information, see [Resource Tags](https://docs.
|
|
35
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
36
36
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
37
37
|
#
|
|
38
38
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -11,8 +11,8 @@ module OCI
|
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
13
|
# An array of policy statements written in the policy language. See
|
|
14
|
-
# [How Policies Work](https://docs.
|
|
15
|
-
# [Common Policies](https://docs.
|
|
14
|
+
# [How Policies Work](https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and
|
|
15
|
+
# [Common Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm).
|
|
16
16
|
#
|
|
17
17
|
# @return [Array<String>]
|
|
18
18
|
attr_accessor :statements
|
|
@@ -25,14 +25,14 @@ module OCI
|
|
|
25
25
|
attr_accessor :version_date
|
|
26
26
|
|
|
27
27
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
28
|
-
# For more information, see [Resource Tags](https://docs.
|
|
28
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
29
29
|
# Example: `{\"Department\": \"Finance\"}`
|
|
30
30
|
#
|
|
31
31
|
# @return [Hash<String, String>]
|
|
32
32
|
attr_accessor :freeform_tags
|
|
33
33
|
|
|
34
34
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
35
|
-
# For more information, see [Resource Tags](https://docs.
|
|
35
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
36
36
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
37
37
|
#
|
|
38
38
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -0,0 +1,150 @@
|
|
|
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
|
+
# UpdateTagDefaultDetails model.
|
|
8
|
+
class Identity::Models::UpdateTagDefaultDetails # rubocop:disable Metrics/LineLength
|
|
9
|
+
# **[Required]** The default value for the Tag Definition. This will be applied to all resources created in the Compartment.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
attr_accessor :value
|
|
13
|
+
|
|
14
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
15
|
+
def self.attribute_map
|
|
16
|
+
{
|
|
17
|
+
# rubocop:disable Style/SymbolLiteral
|
|
18
|
+
'value': :'value'
|
|
19
|
+
# rubocop:enable Style/SymbolLiteral
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Attribute type mapping.
|
|
24
|
+
def self.swagger_types
|
|
25
|
+
{
|
|
26
|
+
# rubocop:disable Style/SymbolLiteral
|
|
27
|
+
'value': :'String'
|
|
28
|
+
# rubocop:enable Style/SymbolLiteral
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
33
|
+
# rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# Initializes the object
|
|
37
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
38
|
+
# @option attributes [String] :value The value to assign to the {#value} property
|
|
39
|
+
def initialize(attributes = {})
|
|
40
|
+
return unless attributes.is_a?(Hash)
|
|
41
|
+
|
|
42
|
+
# convert string to symbol for hash key
|
|
43
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
44
|
+
|
|
45
|
+
self.value = attributes[:'value'] if attributes[:'value']
|
|
46
|
+
end
|
|
47
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
48
|
+
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
49
|
+
|
|
50
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# Checks equality by comparing each attribute.
|
|
54
|
+
# @param [Object] other the other object to be compared
|
|
55
|
+
def ==(other)
|
|
56
|
+
return true if equal?(other)
|
|
57
|
+
|
|
58
|
+
self.class == other.class &&
|
|
59
|
+
value == other.value
|
|
60
|
+
end
|
|
61
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
62
|
+
|
|
63
|
+
# @see the `==` method
|
|
64
|
+
# @param [Object] other the other object to be compared
|
|
65
|
+
def eql?(other)
|
|
66
|
+
self == other
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
# Calculates hash code according to all attributes.
|
|
73
|
+
# @return [Fixnum] Hash code
|
|
74
|
+
def hash
|
|
75
|
+
[value].hash
|
|
76
|
+
end
|
|
77
|
+
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
78
|
+
|
|
79
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Builds the object from hash
|
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
84
|
+
# @return [Object] Returns the model itself
|
|
85
|
+
def build_from_hash(attributes)
|
|
86
|
+
return nil unless attributes.is_a?(Hash)
|
|
87
|
+
|
|
88
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
89
|
+
if type =~ /^Array<(.*)>/i
|
|
90
|
+
# check to ensure the input is an array given that the the attribute
|
|
91
|
+
# is documented as an array but the input is not
|
|
92
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
93
|
+
public_method("#{key}=").call(
|
|
94
|
+
attributes[self.class.attribute_map[key]]
|
|
95
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
96
|
+
)
|
|
97
|
+
end
|
|
98
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
99
|
+
public_method("#{key}=").call(
|
|
100
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
101
|
+
)
|
|
102
|
+
end
|
|
103
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
self
|
|
107
|
+
end
|
|
108
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
109
|
+
|
|
110
|
+
# Returns the string representation of the object
|
|
111
|
+
# @return [String] String presentation of the object
|
|
112
|
+
def to_s
|
|
113
|
+
to_hash.to_s
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Returns the object in the form of hash
|
|
117
|
+
# @return [Hash] Returns the object in the form of hash
|
|
118
|
+
def to_hash
|
|
119
|
+
hash = {}
|
|
120
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
121
|
+
value = public_method(attr).call
|
|
122
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
123
|
+
|
|
124
|
+
hash[param] = _to_hash(value)
|
|
125
|
+
end
|
|
126
|
+
hash
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
private
|
|
130
|
+
|
|
131
|
+
# Outputs non-array value in the form of hash
|
|
132
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
133
|
+
# @param [Object] value Any valid value
|
|
134
|
+
# @return [Hash] Returns the value in the form of hash
|
|
135
|
+
def _to_hash(value)
|
|
136
|
+
if value.is_a?(Array)
|
|
137
|
+
value.compact.map { |v| _to_hash(v) }
|
|
138
|
+
elsif value.is_a?(Hash)
|
|
139
|
+
{}.tap do |hash|
|
|
140
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
141
|
+
end
|
|
142
|
+
elsif value.respond_to? :to_hash
|
|
143
|
+
value.to_hash
|
|
144
|
+
else
|
|
145
|
+
value
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
# rubocop:enable Lint/UnneededCopDisableDirective
|
|
@@ -11,20 +11,20 @@ module OCI
|
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
13
|
# Whether the tag is retired.
|
|
14
|
-
# See [Retiring Key Definitions and Namespace Definitions](https://docs.
|
|
14
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
|
15
15
|
#
|
|
16
16
|
# @return [BOOLEAN]
|
|
17
17
|
attr_accessor :is_retired
|
|
18
18
|
|
|
19
19
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
20
|
-
# For more information, see [Resource Tags](https://docs.
|
|
20
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
21
21
|
# Example: `{\"Department\": \"Finance\"}`
|
|
22
22
|
#
|
|
23
23
|
# @return [Hash<String, String>]
|
|
24
24
|
attr_accessor :freeform_tags
|
|
25
25
|
|
|
26
26
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
27
|
-
# For more information, see [Resource Tags](https://docs.
|
|
27
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
28
28
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
29
29
|
#
|
|
30
30
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -11,20 +11,20 @@ module OCI
|
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
13
|
# Whether the tag namespace is retired.
|
|
14
|
-
# See [Retiring Key Definitions and Namespace Definitions](https://docs.
|
|
14
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
|
15
15
|
#
|
|
16
16
|
# @return [BOOLEAN]
|
|
17
17
|
attr_accessor :is_retired
|
|
18
18
|
|
|
19
19
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
20
|
-
# For more information, see [Resource Tags](https://docs.
|
|
20
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
21
21
|
# Example: `{\"Department\": \"Finance\"}`
|
|
22
22
|
#
|
|
23
23
|
# @return [Hash<String, String>]
|
|
24
24
|
attr_accessor :freeform_tags
|
|
25
25
|
|
|
26
26
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
27
|
-
# For more information, see [Resource Tags](https://docs.
|
|
27
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
28
28
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
29
29
|
#
|
|
30
30
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -10,15 +10,19 @@ module OCI
|
|
|
10
10
|
# @return [String]
|
|
11
11
|
attr_accessor :description
|
|
12
12
|
|
|
13
|
+
# The email you assign to the user. Has to be unique across the tenancy.
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :email
|
|
16
|
+
|
|
13
17
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
14
|
-
# For more information, see [Resource Tags](https://docs.
|
|
18
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
15
19
|
# Example: `{\"Department\": \"Finance\"}`
|
|
16
20
|
#
|
|
17
21
|
# @return [Hash<String, String>]
|
|
18
22
|
attr_accessor :freeform_tags
|
|
19
23
|
|
|
20
24
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
21
|
-
# 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).
|
|
22
26
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
23
27
|
#
|
|
24
28
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -29,6 +33,7 @@ module OCI
|
|
|
29
33
|
{
|
|
30
34
|
# rubocop:disable Style/SymbolLiteral
|
|
31
35
|
'description': :'description',
|
|
36
|
+
'email': :'email',
|
|
32
37
|
'freeform_tags': :'freeformTags',
|
|
33
38
|
'defined_tags': :'definedTags'
|
|
34
39
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -40,6 +45,7 @@ module OCI
|
|
|
40
45
|
{
|
|
41
46
|
# rubocop:disable Style/SymbolLiteral
|
|
42
47
|
'description': :'String',
|
|
48
|
+
'email': :'String',
|
|
43
49
|
'freeform_tags': :'Hash<String, String>',
|
|
44
50
|
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
|
45
51
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -53,6 +59,7 @@ module OCI
|
|
|
53
59
|
# Initializes the object
|
|
54
60
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
55
61
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
62
|
+
# @option attributes [String] :email The value to assign to the {#email} property
|
|
56
63
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
57
64
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
58
65
|
def initialize(attributes = {})
|
|
@@ -63,6 +70,8 @@ module OCI
|
|
|
63
70
|
|
|
64
71
|
self.description = attributes[:'description'] if attributes[:'description']
|
|
65
72
|
|
|
73
|
+
self.email = attributes[:'email'] if attributes[:'email']
|
|
74
|
+
|
|
66
75
|
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
67
76
|
|
|
68
77
|
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
@@ -88,6 +97,7 @@ module OCI
|
|
|
88
97
|
|
|
89
98
|
self.class == other.class &&
|
|
90
99
|
description == other.description &&
|
|
100
|
+
email == other.email &&
|
|
91
101
|
freeform_tags == other.freeform_tags &&
|
|
92
102
|
defined_tags == other.defined_tags
|
|
93
103
|
end
|
|
@@ -105,7 +115,7 @@ module OCI
|
|
|
105
115
|
# Calculates hash code according to all attributes.
|
|
106
116
|
# @return [Fixnum] Hash code
|
|
107
117
|
def hash
|
|
108
|
-
[description, freeform_tags, defined_tags].hash
|
|
118
|
+
[description, email, freeform_tags, defined_tags].hash
|
|
109
119
|
end
|
|
110
120
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
111
121
|
|
|
@@ -10,18 +10,18 @@ module OCI
|
|
|
10
10
|
# have one or more IAM Service credentials ({ApiKey},
|
|
11
11
|
# {UIPassword}, {SwiftPassword} and
|
|
12
12
|
# {AuthToken}).
|
|
13
|
-
# For more information, see [User Credentials](https://docs.
|
|
13
|
+
# For more information, see [User Credentials](https://docs.cloud.oracle.com/Content/API/Concepts/usercredentials.htm)). End users of your
|
|
14
14
|
# application are not typically IAM Service users. For conceptual information about users and other IAM Service
|
|
15
|
-
# components, see [Overview of the IAM Service](https://docs.
|
|
15
|
+
# components, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
|
|
16
16
|
#
|
|
17
17
|
# These users are created directly within the Oracle Cloud Infrastructure system, via the IAM service.
|
|
18
18
|
# They are different from *federated users*, who authenticate themselves to the Oracle Cloud Infrastructure
|
|
19
19
|
# Console via an identity provider. For more information, see
|
|
20
|
-
# [Identity Providers and Federation](https://docs.
|
|
20
|
+
# [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
|
|
21
21
|
#
|
|
22
22
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
23
23
|
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
24
|
-
# see [Getting Started with Policies](https://docs.
|
|
24
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
25
25
|
#
|
|
26
26
|
class Identity::Models::User # rubocop:disable Metrics/LineLength
|
|
27
27
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -51,6 +51,12 @@ module OCI
|
|
|
51
51
|
# @return [String]
|
|
52
52
|
attr_accessor :description
|
|
53
53
|
|
|
54
|
+
# The email you assign to the user during creation.
|
|
55
|
+
# The name must be unique across all users in the tenancy.
|
|
56
|
+
#
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :email
|
|
59
|
+
|
|
54
60
|
# The OCID of the `IdentityProvider` this user belongs to.
|
|
55
61
|
# @return [String]
|
|
56
62
|
attr_accessor :identity_provider_id
|
|
@@ -83,14 +89,14 @@ module OCI
|
|
|
83
89
|
attr_accessor :inactive_status
|
|
84
90
|
|
|
85
91
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
86
|
-
# For more information, see [Resource Tags](https://docs.
|
|
92
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
87
93
|
# Example: `{\"Department\": \"Finance\"}`
|
|
88
94
|
#
|
|
89
95
|
# @return [Hash<String, String>]
|
|
90
96
|
attr_accessor :freeform_tags
|
|
91
97
|
|
|
92
98
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
93
|
-
# For more information, see [Resource Tags](https://docs.
|
|
99
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
94
100
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
95
101
|
#
|
|
96
102
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -112,6 +118,7 @@ module OCI
|
|
|
112
118
|
'compartment_id': :'compartmentId',
|
|
113
119
|
'name': :'name',
|
|
114
120
|
'description': :'description',
|
|
121
|
+
'email': :'email',
|
|
115
122
|
'identity_provider_id': :'identityProviderId',
|
|
116
123
|
'external_identifier': :'externalIdentifier',
|
|
117
124
|
'time_created': :'timeCreated',
|
|
@@ -133,6 +140,7 @@ module OCI
|
|
|
133
140
|
'compartment_id': :'String',
|
|
134
141
|
'name': :'String',
|
|
135
142
|
'description': :'String',
|
|
143
|
+
'email': :'String',
|
|
136
144
|
'identity_provider_id': :'String',
|
|
137
145
|
'external_identifier': :'String',
|
|
138
146
|
'time_created': :'DateTime',
|
|
@@ -156,6 +164,7 @@ module OCI
|
|
|
156
164
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
157
165
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
158
166
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
167
|
+
# @option attributes [String] :email The value to assign to the {#email} property
|
|
159
168
|
# @option attributes [String] :identity_provider_id The value to assign to the {#identity_provider_id} property
|
|
160
169
|
# @option attributes [String] :external_identifier The value to assign to the {#external_identifier} property
|
|
161
170
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
@@ -183,6 +192,8 @@ module OCI
|
|
|
183
192
|
|
|
184
193
|
self.description = attributes[:'description'] if attributes[:'description']
|
|
185
194
|
|
|
195
|
+
self.email = attributes[:'email'] if attributes[:'email']
|
|
196
|
+
|
|
186
197
|
self.identity_provider_id = attributes[:'identityProviderId'] if attributes[:'identityProviderId']
|
|
187
198
|
|
|
188
199
|
raise 'You cannot provide both :identityProviderId and :identity_provider_id' if attributes.key?(:'identityProviderId') && attributes.key?(:'identity_provider_id')
|
|
@@ -264,6 +275,7 @@ module OCI
|
|
|
264
275
|
compartment_id == other.compartment_id &&
|
|
265
276
|
name == other.name &&
|
|
266
277
|
description == other.description &&
|
|
278
|
+
email == other.email &&
|
|
267
279
|
identity_provider_id == other.identity_provider_id &&
|
|
268
280
|
external_identifier == other.external_identifier &&
|
|
269
281
|
time_created == other.time_created &&
|
|
@@ -288,7 +300,7 @@ module OCI
|
|
|
288
300
|
# Calculates hash code according to all attributes.
|
|
289
301
|
# @return [Fixnum] Hash code
|
|
290
302
|
def hash
|
|
291
|
-
[id, compartment_id, name, description, identity_provider_id, external_identifier, time_created, lifecycle_state, inactive_status, freeform_tags, defined_tags, capabilities, is_mfa_activated].hash
|
|
303
|
+
[id, compartment_id, name, description, email, identity_provider_id, external_identifier, time_created, lifecycle_state, inactive_status, freeform_tags, defined_tags, capabilities, is_mfa_activated].hash
|
|
292
304
|
end
|
|
293
305
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
294
306
|
|