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
|
@@ -0,0 +1,180 @@
|
|
|
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
|
+
# CreateTagDefaultDetails model.
|
|
8
|
+
class Identity::Models::CreateTagDefaultDetails # rubocop:disable Metrics/LineLength
|
|
9
|
+
# **[Required]** The OCID of the Compartment. The Tag Default will apply to any resource contained in this Compartment.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
attr_accessor :compartment_id
|
|
13
|
+
|
|
14
|
+
# **[Required]** The OCID of the Tag Definition. The Tag Default will always assign a default value for this Tag Definition.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :tag_definition_id
|
|
18
|
+
|
|
19
|
+
# **[Required]** The default value for the Tag Definition. This will be applied to all resources created in the Compartment.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :value
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
# rubocop:disable Style/SymbolLiteral
|
|
28
|
+
'compartment_id': :'compartmentId',
|
|
29
|
+
'tag_definition_id': :'tagDefinitionId',
|
|
30
|
+
'value': :'value'
|
|
31
|
+
# rubocop:enable Style/SymbolLiteral
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.swagger_types
|
|
37
|
+
{
|
|
38
|
+
# rubocop:disable Style/SymbolLiteral
|
|
39
|
+
'compartment_id': :'String',
|
|
40
|
+
'tag_definition_id': :'String',
|
|
41
|
+
'value': :'String'
|
|
42
|
+
# rubocop:enable Style/SymbolLiteral
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
47
|
+
# rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
53
|
+
# @option attributes [String] :tag_definition_id The value to assign to the {#tag_definition_id} property
|
|
54
|
+
# @option attributes [String] :value The value to assign to the {#value} property
|
|
55
|
+
def initialize(attributes = {})
|
|
56
|
+
return unless attributes.is_a?(Hash)
|
|
57
|
+
|
|
58
|
+
# convert string to symbol for hash key
|
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
60
|
+
|
|
61
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
62
|
+
|
|
63
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
64
|
+
|
|
65
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
66
|
+
|
|
67
|
+
self.tag_definition_id = attributes[:'tagDefinitionId'] if attributes[:'tagDefinitionId']
|
|
68
|
+
|
|
69
|
+
raise 'You cannot provide both :tagDefinitionId and :tag_definition_id' if attributes.key?(:'tagDefinitionId') && attributes.key?(:'tag_definition_id')
|
|
70
|
+
|
|
71
|
+
self.tag_definition_id = attributes[:'tag_definition_id'] if attributes[:'tag_definition_id']
|
|
72
|
+
|
|
73
|
+
self.value = attributes[:'value'] if attributes[:'value']
|
|
74
|
+
end
|
|
75
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
76
|
+
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
77
|
+
|
|
78
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# Checks equality by comparing each attribute.
|
|
82
|
+
# @param [Object] other the other object to be compared
|
|
83
|
+
def ==(other)
|
|
84
|
+
return true if equal?(other)
|
|
85
|
+
|
|
86
|
+
self.class == other.class &&
|
|
87
|
+
compartment_id == other.compartment_id &&
|
|
88
|
+
tag_definition_id == other.tag_definition_id &&
|
|
89
|
+
value == other.value
|
|
90
|
+
end
|
|
91
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
92
|
+
|
|
93
|
+
# @see the `==` method
|
|
94
|
+
# @param [Object] other the other object to be compared
|
|
95
|
+
def eql?(other)
|
|
96
|
+
self == other
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# Calculates hash code according to all attributes.
|
|
103
|
+
# @return [Fixnum] Hash code
|
|
104
|
+
def hash
|
|
105
|
+
[compartment_id, tag_definition_id, value].hash
|
|
106
|
+
end
|
|
107
|
+
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
108
|
+
|
|
109
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# Builds the object from hash
|
|
113
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
114
|
+
# @return [Object] Returns the model itself
|
|
115
|
+
def build_from_hash(attributes)
|
|
116
|
+
return nil unless attributes.is_a?(Hash)
|
|
117
|
+
|
|
118
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
119
|
+
if type =~ /^Array<(.*)>/i
|
|
120
|
+
# check to ensure the input is an array given that the the attribute
|
|
121
|
+
# is documented as an array but the input is not
|
|
122
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
123
|
+
public_method("#{key}=").call(
|
|
124
|
+
attributes[self.class.attribute_map[key]]
|
|
125
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
126
|
+
)
|
|
127
|
+
end
|
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
129
|
+
public_method("#{key}=").call(
|
|
130
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
131
|
+
)
|
|
132
|
+
end
|
|
133
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
self
|
|
137
|
+
end
|
|
138
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
139
|
+
|
|
140
|
+
# Returns the string representation of the object
|
|
141
|
+
# @return [String] String presentation of the object
|
|
142
|
+
def to_s
|
|
143
|
+
to_hash.to_s
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Returns the object in the form of hash
|
|
147
|
+
# @return [Hash] Returns the object in the form of hash
|
|
148
|
+
def to_hash
|
|
149
|
+
hash = {}
|
|
150
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
151
|
+
value = public_method(attr).call
|
|
152
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
153
|
+
|
|
154
|
+
hash[param] = _to_hash(value)
|
|
155
|
+
end
|
|
156
|
+
hash
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
private
|
|
160
|
+
|
|
161
|
+
# Outputs non-array value in the form of hash
|
|
162
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
163
|
+
# @param [Object] value Any valid value
|
|
164
|
+
# @return [Hash] Returns the value in the form of hash
|
|
165
|
+
def _to_hash(value)
|
|
166
|
+
if value.is_a?(Array)
|
|
167
|
+
value.compact.map { |v| _to_hash(v) }
|
|
168
|
+
elsif value.is_a?(Hash)
|
|
169
|
+
{}.tap do |hash|
|
|
170
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
171
|
+
end
|
|
172
|
+
elsif value.respond_to? :to_hash
|
|
173
|
+
value.to_hash
|
|
174
|
+
else
|
|
175
|
+
value
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
# rubocop:enable Lint/UnneededCopDisableDirective
|
|
@@ -16,14 +16,14 @@ module OCI
|
|
|
16
16
|
attr_accessor :description
|
|
17
17
|
|
|
18
18
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
19
|
-
# For more information, see [Resource Tags](https://docs.
|
|
19
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
20
20
|
# Example: `{\"Department\": \"Finance\"}`
|
|
21
21
|
#
|
|
22
22
|
# @return [Hash<String, String>]
|
|
23
23
|
attr_accessor :freeform_tags
|
|
24
24
|
|
|
25
25
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
26
|
-
# For more information, see [Resource Tags](https://docs.
|
|
26
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
27
27
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
28
28
|
#
|
|
29
29
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -20,14 +20,14 @@ module OCI
|
|
|
20
20
|
attr_accessor :description
|
|
21
21
|
|
|
22
22
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
23
|
-
# For more information, see [Resource Tags](https://docs.
|
|
23
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
24
24
|
# Example: `{\"Department\": \"Finance\"}`
|
|
25
25
|
#
|
|
26
26
|
# @return [Hash<String, String>]
|
|
27
27
|
attr_accessor :freeform_tags
|
|
28
28
|
|
|
29
29
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
30
|
-
# For more information, see [Resource Tags](https://docs.
|
|
30
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
31
31
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
32
32
|
#
|
|
33
33
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -20,15 +20,19 @@ module OCI
|
|
|
20
20
|
# @return [String]
|
|
21
21
|
attr_accessor :description
|
|
22
22
|
|
|
23
|
+
# The email you assign to the user. Has to be unique across the tenancy.
|
|
24
|
+
# @return [String]
|
|
25
|
+
attr_accessor :email
|
|
26
|
+
|
|
23
27
|
# 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.
|
|
28
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
25
29
|
# Example: `{\"Department\": \"Finance\"}`
|
|
26
30
|
#
|
|
27
31
|
# @return [Hash<String, String>]
|
|
28
32
|
attr_accessor :freeform_tags
|
|
29
33
|
|
|
30
34
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
31
|
-
# 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).
|
|
32
36
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
33
37
|
#
|
|
34
38
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -41,6 +45,7 @@ module OCI
|
|
|
41
45
|
'compartment_id': :'compartmentId',
|
|
42
46
|
'name': :'name',
|
|
43
47
|
'description': :'description',
|
|
48
|
+
'email': :'email',
|
|
44
49
|
'freeform_tags': :'freeformTags',
|
|
45
50
|
'defined_tags': :'definedTags'
|
|
46
51
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -54,6 +59,7 @@ module OCI
|
|
|
54
59
|
'compartment_id': :'String',
|
|
55
60
|
'name': :'String',
|
|
56
61
|
'description': :'String',
|
|
62
|
+
'email': :'String',
|
|
57
63
|
'freeform_tags': :'Hash<String, String>',
|
|
58
64
|
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
|
59
65
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -69,6 +75,7 @@ module OCI
|
|
|
69
75
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
70
76
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
71
77
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
78
|
+
# @option attributes [String] :email The value to assign to the {#email} property
|
|
72
79
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
73
80
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
74
81
|
def initialize(attributes = {})
|
|
@@ -87,6 +94,8 @@ module OCI
|
|
|
87
94
|
|
|
88
95
|
self.description = attributes[:'description'] if attributes[:'description']
|
|
89
96
|
|
|
97
|
+
self.email = attributes[:'email'] if attributes[:'email']
|
|
98
|
+
|
|
90
99
|
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
91
100
|
|
|
92
101
|
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
@@ -114,6 +123,7 @@ module OCI
|
|
|
114
123
|
compartment_id == other.compartment_id &&
|
|
115
124
|
name == other.name &&
|
|
116
125
|
description == other.description &&
|
|
126
|
+
email == other.email &&
|
|
117
127
|
freeform_tags == other.freeform_tags &&
|
|
118
128
|
defined_tags == other.defined_tags
|
|
119
129
|
end
|
|
@@ -131,7 +141,7 @@ module OCI
|
|
|
131
141
|
# Calculates hash code according to all attributes.
|
|
132
142
|
# @return [Fixnum] Hash code
|
|
133
143
|
def hash
|
|
134
|
-
[compartment_id, name, description, freeform_tags, defined_tags].hash
|
|
144
|
+
[compartment_id, name, description, email, freeform_tags, defined_tags].hash
|
|
135
145
|
end
|
|
136
146
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
137
147
|
|
|
@@ -6,12 +6,12 @@ require 'logger'
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
7
7
|
module OCI
|
|
8
8
|
# A `CustomerSecretKey` is an Oracle-provided key for using the Object Storage Service's
|
|
9
|
-
# [Amazon S3 compatible API](https://docs.
|
|
9
|
+
# [Amazon S3 compatible API](https://docs.cloud.oracle.com/Content/Object/Tasks/s3compatibleapi.htm).
|
|
10
10
|
# A user can have up to two secret keys at a time.
|
|
11
11
|
#
|
|
12
12
|
# **Note:** The secret key is always an Oracle-generated string; you can't change it to a string of your choice.
|
|
13
13
|
#
|
|
14
|
-
# For more information, see [Managing User Credentials](https://docs.
|
|
14
|
+
# For more information, see [Managing User Credentials](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
|
|
15
15
|
#
|
|
16
16
|
class Identity::Models::CustomerSecretKey # rubocop:disable Metrics/LineLength
|
|
17
17
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -13,7 +13,7 @@ module OCI
|
|
|
13
13
|
#
|
|
14
14
|
# This works like regular user/group membership. But in that case, the membership is a static relationship, whereas
|
|
15
15
|
# in a dynamic group, the membership of an instance certificate to a dynamic group is determined during runtime.
|
|
16
|
-
# For more information, see [Managing Dynamic Groups](https://docs.
|
|
16
|
+
# For more information, see [Managing Dynamic Groups](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm).
|
|
17
17
|
#
|
|
18
18
|
class Identity::Models::DynamicGroup # rubocop:disable Metrics/LineLength
|
|
19
19
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -44,7 +44,7 @@ module OCI
|
|
|
44
44
|
attr_accessor :description
|
|
45
45
|
|
|
46
46
|
# **[Required]** A rule string that defines which instance certificates will be matched.
|
|
47
|
-
# For syntax, see [Managing Dynamic Groups](https://docs.
|
|
47
|
+
# For syntax, see [Managing Dynamic Groups](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm).
|
|
48
48
|
#
|
|
49
49
|
# @return [String]
|
|
50
50
|
attr_accessor :matching_rule
|
|
@@ -7,17 +7,17 @@ require 'logger'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A collection of users who all need the same type of access to a particular set of resources or compartment.
|
|
9
9
|
# For conceptual information about groups and other IAM Service components, see
|
|
10
|
-
# [Overview of the IAM Service](https://docs.
|
|
10
|
+
# [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
|
|
11
11
|
#
|
|
12
12
|
# If you're federating with an identity provider (IdP), you need to create mappings between the groups
|
|
13
13
|
# defined in the IdP and groups you define in the IAM service. For more information, see
|
|
14
|
-
# [Identity Providers and Federation](https://docs.
|
|
14
|
+
# [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). Also see
|
|
15
15
|
# {IdentityProvider} and
|
|
16
16
|
# {IdpGroupMapping}.
|
|
17
17
|
#
|
|
18
18
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
19
19
|
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
20
|
-
# see [Getting Started with Policies](https://docs.
|
|
20
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
21
21
|
#
|
|
22
22
|
class Identity::Models::Group # rubocop:disable Metrics/LineLength
|
|
23
23
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -65,14 +65,14 @@ module OCI
|
|
|
65
65
|
attr_accessor :inactive_status
|
|
66
66
|
|
|
67
67
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
68
|
-
# For more information, see [Resource Tags](https://docs.
|
|
68
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
69
69
|
# Example: `{\"Department\": \"Finance\"}`
|
|
70
70
|
#
|
|
71
71
|
# @return [Hash<String, String>]
|
|
72
72
|
attr_accessor :freeform_tags
|
|
73
73
|
|
|
74
74
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
75
|
-
# For more information, see [Resource Tags](https://docs.
|
|
75
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
76
76
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
77
77
|
#
|
|
78
78
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -9,11 +9,11 @@ module OCI
|
|
|
9
9
|
# {Saml2IdentityProvider}
|
|
10
10
|
# is a specific type of `IdentityProvider` that supports the SAML 2.0 protocol. Each
|
|
11
11
|
# `IdentityProvider` object has its own OCID. For more information, see
|
|
12
|
-
# [Identity Providers and Federation](https://docs.
|
|
12
|
+
# [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
|
|
13
13
|
#
|
|
14
14
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
15
15
|
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
16
|
-
# see [Getting Started with Policies](https://docs.
|
|
16
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
17
17
|
#
|
|
18
18
|
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
|
19
19
|
class Identity::Models::IdentityProvider # rubocop:disable Metrics/LineLength
|
|
@@ -87,14 +87,14 @@ module OCI
|
|
|
87
87
|
attr_accessor :protocol
|
|
88
88
|
|
|
89
89
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
90
|
-
# For more information, see [Resource Tags](https://docs.
|
|
90
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
91
91
|
# Example: `{\"Department\": \"Finance\"}`
|
|
92
92
|
#
|
|
93
93
|
# @return [Hash<String, String>]
|
|
94
94
|
attr_accessor :freeform_tags
|
|
95
95
|
|
|
96
96
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
97
|
-
# For more information, see [Resource Tags](https://docs.
|
|
97
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
98
98
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
99
99
|
#
|
|
100
100
|
# @return [Hash<String, Hash<String, Object>>]
|
|
@@ -8,7 +8,7 @@ module OCI
|
|
|
8
8
|
# A mapping between a single group defined by the identity provider (IdP) you're federating with
|
|
9
9
|
# and a single IAM Service {Group} in Oracle Cloud Infrastructure.
|
|
10
10
|
# For more information about group mappings and what they're for, see
|
|
11
|
-
# [Identity Providers and Federation](https://docs.
|
|
11
|
+
# [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
|
|
12
12
|
#
|
|
13
13
|
# A given IdP group can be mapped to zero, one, or multiple IAM Service groups, and vice versa.
|
|
14
14
|
# But each `IdPGroupMapping` object is between only a single IdP group and IAM Service group.
|
|
@@ -5,7 +5,12 @@ require 'logger'
|
|
|
5
5
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
7
7
|
module OCI
|
|
8
|
-
#
|
|
8
|
+
# Users can enable multi-factor authentication (MFA) for their own user accounts. After MFA is enabled, the
|
|
9
|
+
# user is prompted for a time-based one-time password (TOTP) to authenticate before they can sign in to the
|
|
10
|
+
# Console. To enable multi-factor authentication, the user must register a mobile device with a TOTP authenticator app
|
|
11
|
+
# installed. The registration process creates the `MfaTotpDevice` object. The registration process requires
|
|
12
|
+
# interaction with the Console and cannot be completed programmatically. For more information, see
|
|
13
|
+
# [Managing Multi-Factor Authentication](https://docs.cloud.oracle.com/Content/Identity/Tasks/usingmfa.htm).
|
|
9
14
|
#
|
|
10
15
|
class Identity::Models::MfaTotpDevice # rubocop:disable Metrics/LineLength
|
|
11
16
|
LIFECYCLE_STATE_ENUM = [
|
|
@@ -17,27 +22,27 @@ module OCI
|
|
|
17
22
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
18
23
|
].freeze
|
|
19
24
|
|
|
20
|
-
# **[Required]** The OCID of the
|
|
25
|
+
# **[Required]** The OCID of the MFA TOTP device.
|
|
21
26
|
# @return [String]
|
|
22
27
|
attr_accessor :id
|
|
23
28
|
|
|
24
|
-
# **[Required]** The seed for the
|
|
29
|
+
# **[Required]** The seed for the MFA TOTP device (Base32 encoded).
|
|
25
30
|
#
|
|
26
31
|
# @return [String]
|
|
27
32
|
attr_accessor :seed
|
|
28
33
|
|
|
29
|
-
# **[Required]** The OCID of the user the
|
|
34
|
+
# **[Required]** The OCID of the user the MFA TOTP device belongs to.
|
|
30
35
|
# @return [String]
|
|
31
36
|
attr_accessor :user_id
|
|
32
37
|
|
|
33
|
-
# **[Required]** Date and time the `
|
|
38
|
+
# **[Required]** Date and time the `MfaTotpDevice` object was created, in the format defined by RFC3339.
|
|
34
39
|
#
|
|
35
40
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
36
41
|
#
|
|
37
42
|
# @return [DateTime]
|
|
38
43
|
attr_accessor :time_created
|
|
39
44
|
|
|
40
|
-
# Date and time when this
|
|
45
|
+
# Date and time when this MFA TOTP device will expire, in the format defined by RFC3339.
|
|
41
46
|
# Null if it never expires.
|
|
42
47
|
#
|
|
43
48
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
@@ -45,17 +50,23 @@ module OCI
|
|
|
45
50
|
# @return [DateTime]
|
|
46
51
|
attr_accessor :time_expires
|
|
47
52
|
|
|
48
|
-
# **[Required]** The
|
|
53
|
+
# **[Required]** The MFA TOTP device's current state. After creating the MFA TOTP device, make sure its `lifecycleState` changes from
|
|
49
54
|
# CREATING to ACTIVE before using it.
|
|
50
55
|
#
|
|
51
56
|
# @return [String]
|
|
52
57
|
attr_reader :lifecycle_state
|
|
53
58
|
|
|
54
|
-
# The detailed status of INACTIVE lifecycleState.
|
|
59
|
+
# The detailed status of INACTIVE lifecycleState.
|
|
60
|
+
# Allowed values are:
|
|
61
|
+
# - 1 - SUSPENDED
|
|
62
|
+
# - 2 - DISABLED
|
|
63
|
+
# - 4 - BLOCKED
|
|
64
|
+
# - 8 - LOCKED
|
|
65
|
+
#
|
|
55
66
|
# @return [Integer]
|
|
56
67
|
attr_accessor :inactive_status
|
|
57
68
|
|
|
58
|
-
# **[Required]** Flag to indicate if the
|
|
69
|
+
# **[Required]** Flag to indicate if the MFA TOTP device has been activated.
|
|
59
70
|
# @return [BOOLEAN]
|
|
60
71
|
attr_accessor :is_activated
|
|
61
72
|
|