oci 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/oci.rb +1 -0
- data/lib/oci/analytics/analytics_client.rb +15 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -0
- data/lib/oci/apigateway/api_gateway_client.rb +15 -0
- data/lib/oci/apigateway/deployment_client.rb +6 -0
- data/lib/oci/apigateway/gateway_client.rb +6 -0
- data/lib/oci/apigateway/work_requests_client.rb +5 -0
- data/lib/oci/application_migration/application_migration_client.rb +19 -0
- data/lib/oci/audit/audit_client.rb +4 -1
- data/lib/oci/audit/models/audit_event.rb +8 -7
- data/lib/oci/audit/models/data.rb +0 -107
- data/lib/oci/audit/models/identity.rb +0 -17
- data/lib/oci/audit/models/request.rb +0 -46
- data/lib/oci/audit/models/response.rb +0 -34
- data/lib/oci/audit/models/state_change.rb +0 -9
- data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +0 -1
- data/lib/oci/auth/signers/resource_principals_signer.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +11 -0
- data/lib/oci/bds/bds_client.rb +16 -0
- data/lib/oci/blockchain/blockchain.rb +1 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +57 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +36 -3
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +1 -1
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +1 -1
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +2 -2
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +1 -1
- data/lib/oci/blockchain/models/work_request.rb +1 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +18 -4
- data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +1 -0
- data/lib/oci/budget/budget_client.rb +10 -0
- data/lib/oci/cims/incident_client.rb +7 -0
- data/lib/oci/cims/user_client.rb +1 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +82 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +1 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +6 -0
- data/lib/oci/container_engine/container_engine_client.rb +18 -0
- data/lib/oci/core/blockstorage_client.rb +53 -0
- data/lib/oci/core/compute_client.rb +71 -0
- data/lib/oci/core/compute_management_client.rb +28 -0
- data/lib/oci/core/virtual_network_client.rb +194 -0
- data/lib/oci/data_catalog/data_catalog.rb +5 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +307 -4
- data/lib/oci/data_catalog/models/attribute.rb +45 -4
- data/lib/oci/data_catalog/models/attribute_summary.rb +45 -4
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +55 -4
- data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → data_catalog/models/rule_attribute.rb} +25 -18
- data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
- data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
- data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
- data/lib/oci/data_catalog/models/rule_type.rb +12 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +18 -4
- data/lib/oci/data_flow/data_flow_client.rb +24 -0
- data/lib/oci/data_integration/data_integration_client.rb +92 -0
- data/lib/oci/data_safe/data_safe.rb +8 -0
- data/lib/oci/data_safe/data_safe_client.rb +606 -13
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +198 -0
- data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/{database/models/update_autonomous_data_warehouse_details.rb → data_safe/models/create_on_prem_connector_details.rb} +27 -49
- data/lib/oci/data_safe/models/data_safe_configuration.rb +5 -5
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +2 -2
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +1 -1
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +6 -40
- data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +3 -4
- data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → data_safe/models/on_prem_connector.rb} +98 -98
- data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → data_safe/models/on_prem_connector_summary.rb} +90 -99
- data/lib/oci/data_safe/models/service_list.rb +1 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
- data/lib/oci/data_safe/models/work_request.rb +11 -6
- data/lib/oci/data_safe/models/work_request_error.rb +3 -4
- data/lib/oci/data_safe/models/work_request_log_entry.rb +3 -3
- data/lib/oci/data_safe/models/work_request_summary.rb +13 -8
- data/lib/oci/data_science/data_science_client.rb +34 -0
- data/lib/oci/database/database.rb +4 -8
- data/lib/oci/database/database_client.rb +523 -766
- data/lib/oci/database/database_client_composite_operations.rb +1299 -330
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database.rb +3 -3
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_container_database_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse.rb +8 -21
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +8 -21
- data/lib/oci/database/models/autonomous_database.rb +35 -3
- data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +35 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
- data/lib/oci/database/models/backup.rb +19 -5
- data/lib/oci/database/models/backup_summary.rb +19 -5
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +2 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +2 -1
- data/lib/oci/database/models/cloud_vm_cluster.rb +1 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +7 -3
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/create_database_base.rb +33 -4
- data/lib/oci/database/models/create_database_from_backup.rb +9 -1
- data/lib/oci/database/models/create_db_home_base.rb +30 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/create_new_database_details.rb +9 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/database.rb +16 -2
- data/lib/oci/database/models/database_summary.rb +16 -2
- data/lib/oci/database/models/db_home.rb +16 -2
- data/lib/oci/database/models/db_home_summary.rb +16 -2
- data/lib/oci/database/models/db_system.rb +16 -2
- data/lib/oci/database/models/db_system_summary.rb +16 -2
- data/lib/oci/database/models/exadata_db_system_migration.rb +1 -1
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure.rb +15 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +18 -2
- data/lib/oci/database/models/flex_component_collection.rb +150 -0
- data/lib/oci/database/models/flex_component_summary.rb +197 -0
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +30 -1
- data/lib/oci/database/models/launch_db_system_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +9 -1
- data/lib/oci/database/models/maintenance_run.rb +2 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +2 -1
- data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +6 -2
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +3 -2
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_details.rb +1 -1
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/update_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/update_summary.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +3 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +2 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +2 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -0
- data/lib/oci/database/models/vm_network_details.rb +2 -1
- data/lib/oci/dns/dns_client.rb +49 -0
- data/lib/oci/dts/appliance_export_job_client.rb +6 -0
- data/lib/oci/dts/shipping_vendors_client.rb +1 -0
- data/lib/oci/dts/transfer_appliance_client.rb +8 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +3 -0
- data/lib/oci/dts/transfer_device_client.rb +5 -0
- data/lib/oci/dts/transfer_job_client.rb +6 -0
- data/lib/oci/dts/transfer_package_client.rb +7 -0
- data/lib/oci/email/email_client.rb +10 -0
- data/lib/oci/events/events_client.rb +6 -0
- data/lib/oci/file_storage/file_storage_client.rb +25 -0
- data/lib/oci/functions/functions_invoke_client.rb +1 -0
- data/lib/oci/functions/functions_management_client.rb +11 -0
- data/lib/oci/healthchecks/health_checks_client.rb +17 -0
- data/lib/oci/identity/identity_client.rb +120 -0
- data/lib/oci/identity/models/saml2_identity_provider.rb +12 -1
- data/lib/oci/integration/integration.rb +3 -0
- data/lib/oci/integration/integration_instance_client.rb +12 -0
- data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +44 -1
- data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
- data/lib/oci/integration/models/integration_instance.rb +43 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +43 -1
- data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +47 -4
- data/lib/oci/key_management/kms_crypto_client.rb +4 -0
- data/lib/oci/key_management/kms_management_client.rb +31 -0
- data/lib/oci/key_management/kms_vault_client.rb +11 -0
- data/lib/oci/limits/limits_client.rb +4 -0
- data/lib/oci/limits/quotas_client.rb +5 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +56 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/models/shape_details.rb +180 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +22 -4
- data/lib/oci/log_analytics/log_analytics_client.rb +126 -0
- data/lib/oci/logging/logging_management_client.rb +32 -0
- data/lib/oci/loggingingestion/logging_client.rb +1 -0
- data/lib/oci/loggingsearch/log_search_client.rb +1 -0
- data/lib/oci/management_agent/management_agent.rb +2 -0
- data/lib/oci/management_agent/management_agent_client.rb +101 -0
- data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
- data/lib/oci/management_agent/models/availability_status.rb +12 -0
- data/lib/oci/management_agent/models/management_agent.rb +35 -1
- data/lib/oci/management_agent/models/management_agent_summary.rb +49 -1
- data/lib/oci/management_dashboard/dashx_apis_client.rb +14 -0
- data/lib/oci/marketplace/marketplace_client.rb +16 -0
- data/lib/oci/monitoring/monitoring_client.rb +12 -0
- data/lib/oci/mysql/channels_client.rb +625 -0
- data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
- data/lib/oci/mysql/db_backups_client.rb +11 -0
- data/lib/oci/mysql/db_system_client.rb +17 -0
- data/lib/oci/mysql/models/backup.rb +16 -3
- data/lib/oci/mysql/models/backup_summary.rb +17 -3
- data/lib/oci/mysql/models/ca_certificate.rb +189 -0
- data/lib/oci/mysql/models/channel.rb +340 -0
- data/lib/oci/mysql/models/channel_source.rb +189 -0
- data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
- data/lib/oci/mysql/models/channel_summary.rb +304 -0
- data/lib/oci/mysql/models/channel_target.rb +189 -0
- data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
- data/lib/oci/mysql/models/configuration.rb +2 -2
- data/lib/oci/mysql/models/configuration_summary.rb +2 -2
- data/lib/oci/mysql/models/configuration_variables.rb +30 -15
- data/lib/oci/mysql/models/create_backup_details.rb +2 -2
- data/lib/oci/mysql/models/create_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/create_channel_details.rb +248 -0
- data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +2 -3
- data/lib/oci/mysql/models/create_db_system_details.rb +1 -1
- data/lib/oci/mysql/models/create_db_system_source_details.rb +1 -0
- data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
- data/lib/oci/mysql/models/db_system.rb +15 -3
- data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
- data/lib/oci/mysql/models/db_system_source.rb +1 -0
- data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +2 -2
- data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
- data/lib/oci/mysql/models/update_backup_details.rb +2 -2
- data/lib/oci/mysql/models/update_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/update_channel_details.rb +234 -0
- data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
- data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +2 -2
- data/lib/oci/mysql/mysql.rb +23 -0
- data/lib/oci/mysql/mysqlaas_client.rb +7 -0
- data/lib/oci/mysql/work_requests_client.rb +4 -0
- data/lib/oci/nosql/nosql_client.rb +22 -0
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +11 -9
- data/lib/oci/object_storage/object_storage_client.rb +55 -6
- data/lib/oci/oce/oce_instance_client.rb +10 -0
- data/lib/oci/ocvp/esxi_host_client.rb +5 -0
- data/lib/oci/ocvp/sddc_client.rb +7 -0
- data/lib/oci/ocvp/work_request_client.rb +4 -0
- data/lib/oci/oda/oda_client.rb +12 -0
- data/lib/oci/ons/notification_control_plane_client.rb +6 -0
- data/lib/oci/ons/notification_data_plane_client.rb +10 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +2 -1
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +21 -4
- data/lib/oci/opsi/operations_insights_client.rb +22 -3
- data/lib/oci/optimizer/optimizer_client.rb +22 -0
- data/lib/oci/os_management/os_management_client.rb +53 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +5 -1
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +3 -1
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +2 -2
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +36 -2
- data/lib/oci/resource_search/resource_search_client.rb +3 -0
- data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → rover/models/change_rover_entitlement_compartment_details.rb} +13 -23
- data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
- data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
- data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
- data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
- data/lib/oci/rover/models/enclosure_type.rb +11 -0
- data/lib/oci/rover/models/lifecycle_state.rb +15 -0
- data/lib/oci/rover/models/node_type.rb +11 -0
- data/lib/oci/rover/models/rover_cluster.rb +610 -0
- data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
- data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_collection.rb} +11 -12
- data/lib/oci/{database/models/create_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_summary.rb} +99 -84
- data/lib/oci/rover/models/rover_entitlement.rb +363 -0
- data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
- data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
- data/lib/oci/rover/models/rover_node.rb +661 -0
- data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
- data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_node_collection.rb +150 -0
- data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
- data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_summary.rb +323 -0
- data/lib/oci/rover/models/rover_workload.rb +264 -0
- data/lib/oci/rover/models/shipping_address.rb +276 -0
- data/lib/oci/rover/models/sort_orders.rb +11 -0
- data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
- data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
- data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
- data/lib/oci/rover/rover.rb +54 -0
- data/lib/oci/rover/rover_cluster_client.rb +549 -0
- data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_entitlement_client.rb +514 -0
- data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_node_client.rb +738 -0
- data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
- data/lib/oci/rover/util.rb +3 -0
- data/lib/oci/sch/service_connector_client.rb +12 -0
- data/lib/oci/secrets/secrets_client.rb +2 -0
- data/lib/oci/streaming/stream_admin_client.rb +18 -0
- data/lib/oci/streaming/stream_client.rb +8 -0
- data/lib/oci/tenant_manager_control_plane/link_client.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +4 -0
- data/lib/oci/usage_api/usageapi_client.rb +2 -0
- data/lib/oci/vault/vaults_client.rb +11 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +6 -0
- data/lib/oci/waas/waas_client.rb +66 -0
- data/lib/oci/work_requests/work_request_client.rb +4 -0
- metadata +91 -10
|
@@ -6,7 +6,7 @@ require 'logger'
|
|
|
6
6
|
|
|
7
7
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
8
|
module OCI
|
|
9
|
-
# A Data Safe
|
|
9
|
+
# A Data Safe configuration for a tenancy and region.
|
|
10
10
|
class DataSafe::Models::DataSafeConfiguration
|
|
11
11
|
LIFECYCLE_STATE_ENUM = [
|
|
12
12
|
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
@@ -19,7 +19,7 @@ module OCI
|
|
|
19
19
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
20
20
|
].freeze
|
|
21
21
|
|
|
22
|
-
# Indicates if Data Safe is enabled.
|
|
22
|
+
# **[Required]** Indicates if Data Safe is enabled.
|
|
23
23
|
# @return [BOOLEAN]
|
|
24
24
|
attr_accessor :is_enabled
|
|
25
25
|
|
|
@@ -31,11 +31,11 @@ module OCI
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :compartment_id
|
|
33
33
|
|
|
34
|
-
# The
|
|
34
|
+
# The date and time Data Safe was enabled, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
35
35
|
# @return [DateTime]
|
|
36
36
|
attr_accessor :time_enabled
|
|
37
37
|
|
|
38
|
-
# The current state of Data Safe
|
|
38
|
+
# The current state of Data Safe.
|
|
39
39
|
# @return [String]
|
|
40
40
|
attr_reader :lifecycle_state
|
|
41
41
|
|
|
@@ -48,7 +48,7 @@ module OCI
|
|
|
48
48
|
|
|
49
49
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
50
50
|
#
|
|
51
|
-
# Example: `{\"
|
|
51
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
52
52
|
#
|
|
53
53
|
# @return [Hash<String, Hash<String, Object>>]
|
|
54
54
|
attr_accessor :defined_tags
|
|
@@ -56,7 +56,7 @@ module OCI
|
|
|
56
56
|
# @return [String]
|
|
57
57
|
attr_accessor :description
|
|
58
58
|
|
|
59
|
-
# The date and time the private endpoint was created, in the format defined by RFC3339.
|
|
59
|
+
# The date and time the private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
60
60
|
# @return [DateTime]
|
|
61
61
|
attr_accessor :time_created
|
|
62
62
|
|
|
@@ -78,7 +78,7 @@ module OCI
|
|
|
78
78
|
|
|
79
79
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
80
80
|
#
|
|
81
|
-
# Example: `{\"
|
|
81
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
82
82
|
#
|
|
83
83
|
# @return [Hash<String, Hash<String, Object>>]
|
|
84
84
|
attr_accessor :defined_tags
|
|
@@ -47,7 +47,7 @@ module OCI
|
|
|
47
47
|
# @return [String]
|
|
48
48
|
attr_accessor :description
|
|
49
49
|
|
|
50
|
-
# The date and time the private endpoint was created, in the format defined by RFC3339.
|
|
50
|
+
# The date and time the private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
51
51
|
# @return [DateTime]
|
|
52
52
|
attr_accessor :time_created
|
|
53
53
|
|
|
@@ -5,33 +5,17 @@ require 'date'
|
|
|
5
5
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
7
|
module OCI
|
|
8
|
-
# The
|
|
8
|
+
# The details used to enable Data Safe in the tenancy and region.
|
|
9
9
|
class DataSafe::Models::EnableDataSafeConfigurationDetails
|
|
10
|
-
# Indicates if Data Safe is enabled.
|
|
10
|
+
# **[Required]** Indicates if Data Safe is enabled.
|
|
11
11
|
# @return [BOOLEAN]
|
|
12
12
|
attr_accessor :is_enabled
|
|
13
13
|
|
|
14
|
-
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
15
|
-
#
|
|
16
|
-
# Example: `{\"Department\": \"Finance\"}`
|
|
17
|
-
#
|
|
18
|
-
# @return [Hash<String, String>]
|
|
19
|
-
attr_accessor :freeform_tags
|
|
20
|
-
|
|
21
|
-
# Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
22
|
-
#
|
|
23
|
-
# Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
24
|
-
#
|
|
25
|
-
# @return [Hash<String, Hash<String, Object>>]
|
|
26
|
-
attr_accessor :defined_tags
|
|
27
|
-
|
|
28
14
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
15
|
def self.attribute_map
|
|
30
16
|
{
|
|
31
17
|
# rubocop:disable Style/SymbolLiteral
|
|
32
|
-
'is_enabled': :'isEnabled'
|
|
33
|
-
'freeform_tags': :'freeformTags',
|
|
34
|
-
'defined_tags': :'definedTags'
|
|
18
|
+
'is_enabled': :'isEnabled'
|
|
35
19
|
# rubocop:enable Style/SymbolLiteral
|
|
36
20
|
}
|
|
37
21
|
end
|
|
@@ -40,9 +24,7 @@ module OCI
|
|
|
40
24
|
def self.swagger_types
|
|
41
25
|
{
|
|
42
26
|
# rubocop:disable Style/SymbolLiteral
|
|
43
|
-
'is_enabled': :'BOOLEAN'
|
|
44
|
-
'freeform_tags': :'Hash<String, String>',
|
|
45
|
-
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
|
27
|
+
'is_enabled': :'BOOLEAN'
|
|
46
28
|
# rubocop:enable Style/SymbolLiteral
|
|
47
29
|
}
|
|
48
30
|
end
|
|
@@ -54,8 +36,6 @@ module OCI
|
|
|
54
36
|
# Initializes the object
|
|
55
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
38
|
# @option attributes [BOOLEAN] :is_enabled The value to assign to the {#is_enabled} property
|
|
57
|
-
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
58
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
59
39
|
def initialize(attributes = {})
|
|
60
40
|
return unless attributes.is_a?(Hash)
|
|
61
41
|
|
|
@@ -67,18 +47,6 @@ module OCI
|
|
|
67
47
|
raise 'You cannot provide both :isEnabled and :is_enabled' if attributes.key?(:'isEnabled') && attributes.key?(:'is_enabled')
|
|
68
48
|
|
|
69
49
|
self.is_enabled = attributes[:'is_enabled'] unless attributes[:'is_enabled'].nil?
|
|
70
|
-
|
|
71
|
-
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
72
|
-
|
|
73
|
-
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
74
|
-
|
|
75
|
-
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
76
|
-
|
|
77
|
-
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
78
|
-
|
|
79
|
-
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
80
|
-
|
|
81
|
-
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
82
50
|
end
|
|
83
51
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
84
52
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -92,9 +60,7 @@ module OCI
|
|
|
92
60
|
return true if equal?(other)
|
|
93
61
|
|
|
94
62
|
self.class == other.class &&
|
|
95
|
-
is_enabled == other.is_enabled
|
|
96
|
-
freeform_tags == other.freeform_tags &&
|
|
97
|
-
defined_tags == other.defined_tags
|
|
63
|
+
is_enabled == other.is_enabled
|
|
98
64
|
end
|
|
99
65
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
100
66
|
|
|
@@ -110,7 +76,7 @@ module OCI
|
|
|
110
76
|
# Calculates hash code according to all attributes.
|
|
111
77
|
# @return [Fixnum] Hash code
|
|
112
78
|
def hash
|
|
113
|
-
[is_enabled
|
|
79
|
+
[is_enabled].hash
|
|
114
80
|
end
|
|
115
81
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
116
82
|
|
|
@@ -5,10 +5,9 @@ require 'date'
|
|
|
5
5
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
7
|
module OCI
|
|
8
|
-
#
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# **[Required]** The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
|
|
8
|
+
# The details used to create and download on-premises connector's configuration.
|
|
9
|
+
class DataSafe::Models::GenerateOnPremConnectorConfigurationDetails
|
|
10
|
+
# **[Required]** The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
|
12
11
|
# @return [String]
|
|
13
12
|
attr_accessor :password
|
|
14
13
|
|
|
@@ -6,80 +6,84 @@ require 'logger'
|
|
|
6
6
|
|
|
7
7
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
8
|
module OCI
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
12
|
-
#
|
|
13
|
-
class Database::Models::AutonomousDataWarehouseBackupSummary
|
|
14
|
-
TYPE_ENUM = [
|
|
15
|
-
TYPE_INCREMENTAL = 'INCREMENTAL'.freeze,
|
|
16
|
-
TYPE_FULL = 'FULL'.freeze,
|
|
17
|
-
TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
18
|
-
].freeze
|
|
19
|
-
|
|
9
|
+
# A Data Safe on-premises connector that enables Data Safe to connect to on-premises databases.
|
|
10
|
+
class DataSafe::Models::OnPremConnector
|
|
20
11
|
LIFECYCLE_STATE_ENUM = [
|
|
21
12
|
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
13
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
22
14
|
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
|
|
15
|
+
LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze,
|
|
23
16
|
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
|
24
17
|
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
|
25
18
|
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
|
|
26
19
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
27
20
|
].freeze
|
|
28
21
|
|
|
29
|
-
# **[Required]** The
|
|
22
|
+
# **[Required]** The OCID of the on-premises connector.
|
|
30
23
|
# @return [String]
|
|
31
24
|
attr_accessor :id
|
|
32
25
|
|
|
33
|
-
# **[Required]** The
|
|
34
|
-
# @return [String]
|
|
35
|
-
attr_accessor :compartment_id
|
|
36
|
-
|
|
37
|
-
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Warehouse.
|
|
38
|
-
# @return [String]
|
|
39
|
-
attr_accessor :autonomous_data_warehouse_id
|
|
40
|
-
|
|
41
|
-
# **[Required]** The user-friendly name for the backup. The name does not have to be unique.
|
|
26
|
+
# **[Required]** The display name of the on-premises connector.
|
|
42
27
|
# @return [String]
|
|
43
28
|
attr_accessor :display_name
|
|
44
29
|
|
|
45
|
-
# **[Required]** The
|
|
30
|
+
# **[Required]** The OCID of the compartment that contains the on-premises connector.
|
|
46
31
|
# @return [String]
|
|
47
|
-
|
|
32
|
+
attr_accessor :compartment_id
|
|
48
33
|
|
|
49
|
-
#
|
|
50
|
-
# @return [
|
|
51
|
-
attr_accessor :
|
|
34
|
+
# The description of the on-premises connector.
|
|
35
|
+
# @return [String]
|
|
36
|
+
attr_accessor :description
|
|
52
37
|
|
|
53
|
-
# The date and time the
|
|
38
|
+
# **[Required]** The date and time the on-premises connector was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
54
39
|
# @return [DateTime]
|
|
55
|
-
attr_accessor :
|
|
40
|
+
attr_accessor :time_created
|
|
56
41
|
|
|
57
|
-
# The
|
|
58
|
-
# @return [
|
|
59
|
-
|
|
42
|
+
# **[Required]** The current state of the on-premises connector.
|
|
43
|
+
# @return [String]
|
|
44
|
+
attr_reader :lifecycle_state
|
|
60
45
|
|
|
61
|
-
#
|
|
46
|
+
# Details about the current state of the on-premises connector.
|
|
62
47
|
# @return [String]
|
|
63
48
|
attr_accessor :lifecycle_details
|
|
64
49
|
|
|
65
|
-
#
|
|
50
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
51
|
+
#
|
|
52
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
53
|
+
#
|
|
54
|
+
# @return [Hash<String, String>]
|
|
55
|
+
attr_accessor :freeform_tags
|
|
56
|
+
|
|
57
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm)
|
|
58
|
+
#
|
|
59
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
60
|
+
#
|
|
61
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
62
|
+
attr_accessor :defined_tags
|
|
63
|
+
|
|
64
|
+
# Latest available version of the on-premises connector.
|
|
66
65
|
# @return [String]
|
|
67
|
-
|
|
66
|
+
attr_accessor :available_version
|
|
67
|
+
|
|
68
|
+
# Created version of the on-premises connector.
|
|
69
|
+
# @return [String]
|
|
70
|
+
attr_accessor :created_version
|
|
68
71
|
|
|
69
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
70
73
|
def self.attribute_map
|
|
71
74
|
{
|
|
72
75
|
# rubocop:disable Style/SymbolLiteral
|
|
73
76
|
'id': :'id',
|
|
74
|
-
'compartment_id': :'compartmentId',
|
|
75
|
-
'autonomous_data_warehouse_id': :'autonomousDataWarehouseId',
|
|
76
77
|
'display_name': :'displayName',
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
78
|
+
'compartment_id': :'compartmentId',
|
|
79
|
+
'description': :'description',
|
|
80
|
+
'time_created': :'timeCreated',
|
|
81
|
+
'lifecycle_state': :'lifecycleState',
|
|
81
82
|
'lifecycle_details': :'lifecycleDetails',
|
|
82
|
-
'
|
|
83
|
+
'freeform_tags': :'freeformTags',
|
|
84
|
+
'defined_tags': :'definedTags',
|
|
85
|
+
'available_version': :'availableVersion',
|
|
86
|
+
'created_version': :'createdVersion'
|
|
83
87
|
# rubocop:enable Style/SymbolLiteral
|
|
84
88
|
}
|
|
85
89
|
end
|
|
@@ -89,15 +93,16 @@ module OCI
|
|
|
89
93
|
{
|
|
90
94
|
# rubocop:disable Style/SymbolLiteral
|
|
91
95
|
'id': :'String',
|
|
92
|
-
'compartment_id': :'String',
|
|
93
|
-
'autonomous_data_warehouse_id': :'String',
|
|
94
96
|
'display_name': :'String',
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
97
|
+
'compartment_id': :'String',
|
|
98
|
+
'description': :'String',
|
|
99
|
+
'time_created': :'DateTime',
|
|
100
|
+
'lifecycle_state': :'String',
|
|
99
101
|
'lifecycle_details': :'String',
|
|
100
|
-
'
|
|
102
|
+
'freeform_tags': :'Hash<String, String>',
|
|
103
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
104
|
+
'available_version': :'String',
|
|
105
|
+
'created_version': :'String'
|
|
101
106
|
# rubocop:enable Style/SymbolLiteral
|
|
102
107
|
}
|
|
103
108
|
end
|
|
@@ -109,15 +114,16 @@ module OCI
|
|
|
109
114
|
# Initializes the object
|
|
110
115
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
116
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
112
|
-
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
113
|
-
# @option attributes [String] :autonomous_data_warehouse_id The value to assign to the {#autonomous_data_warehouse_id} property
|
|
114
117
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
115
|
-
# @option attributes [String] :
|
|
116
|
-
# @option attributes [
|
|
117
|
-
# @option attributes [DateTime] :
|
|
118
|
-
# @option attributes [DateTime] :time_ended The value to assign to the {#time_ended} property
|
|
119
|
-
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
118
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
119
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
120
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
120
121
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
122
|
+
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
123
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
124
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
125
|
+
# @option attributes [String] :available_version The value to assign to the {#available_version} property
|
|
126
|
+
# @option attributes [String] :created_version The value to assign to the {#created_version} property
|
|
121
127
|
def initialize(attributes = {})
|
|
122
128
|
return unless attributes.is_a?(Hash)
|
|
123
129
|
|
|
@@ -126,72 +132,65 @@ module OCI
|
|
|
126
132
|
|
|
127
133
|
self.id = attributes[:'id'] if attributes[:'id']
|
|
128
134
|
|
|
135
|
+
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
|
136
|
+
|
|
137
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
138
|
+
|
|
139
|
+
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
|
140
|
+
|
|
129
141
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
130
142
|
|
|
131
143
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
132
144
|
|
|
133
145
|
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
134
146
|
|
|
135
|
-
self.
|
|
147
|
+
self.description = attributes[:'description'] if attributes[:'description']
|
|
136
148
|
|
|
137
|
-
|
|
149
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
|
138
150
|
|
|
139
|
-
|
|
151
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
140
152
|
|
|
141
|
-
self.
|
|
153
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
|
142
154
|
|
|
143
|
-
|
|
155
|
+
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
144
156
|
|
|
145
|
-
|
|
157
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
146
158
|
|
|
147
|
-
self.
|
|
159
|
+
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
|
148
160
|
|
|
149
|
-
self.
|
|
161
|
+
self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails']
|
|
150
162
|
|
|
151
|
-
raise 'You cannot provide both :
|
|
163
|
+
raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
|
|
152
164
|
|
|
153
|
-
self.
|
|
165
|
+
self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details']
|
|
154
166
|
|
|
155
|
-
self.
|
|
167
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
156
168
|
|
|
157
|
-
raise 'You cannot provide both :
|
|
169
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
158
170
|
|
|
159
|
-
self.
|
|
171
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
160
172
|
|
|
161
|
-
self.
|
|
173
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
162
174
|
|
|
163
|
-
raise 'You cannot provide both :
|
|
175
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
164
176
|
|
|
165
|
-
self.
|
|
177
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
166
178
|
|
|
167
|
-
self.
|
|
179
|
+
self.available_version = attributes[:'availableVersion'] if attributes[:'availableVersion']
|
|
168
180
|
|
|
169
|
-
raise 'You cannot provide both :
|
|
181
|
+
raise 'You cannot provide both :availableVersion and :available_version' if attributes.key?(:'availableVersion') && attributes.key?(:'available_version')
|
|
170
182
|
|
|
171
|
-
self.
|
|
183
|
+
self.available_version = attributes[:'available_version'] if attributes[:'available_version']
|
|
172
184
|
|
|
173
|
-
self.
|
|
185
|
+
self.created_version = attributes[:'createdVersion'] if attributes[:'createdVersion']
|
|
174
186
|
|
|
175
|
-
raise 'You cannot provide both :
|
|
187
|
+
raise 'You cannot provide both :createdVersion and :created_version' if attributes.key?(:'createdVersion') && attributes.key?(:'created_version')
|
|
176
188
|
|
|
177
|
-
self.
|
|
189
|
+
self.created_version = attributes[:'created_version'] if attributes[:'created_version']
|
|
178
190
|
end
|
|
179
191
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
180
192
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
181
193
|
|
|
182
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
183
|
-
# @param [Object] type Object to be assigned
|
|
184
|
-
def type=(type)
|
|
185
|
-
# rubocop:disable Style/ConditionalAssignment
|
|
186
|
-
if type && !TYPE_ENUM.include?(type)
|
|
187
|
-
OCI.logger.debug("Unknown value for 'type' [" + type + "]. Mapping to 'TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
188
|
-
@type = TYPE_UNKNOWN_ENUM_VALUE
|
|
189
|
-
else
|
|
190
|
-
@type = type
|
|
191
|
-
end
|
|
192
|
-
# rubocop:enable Style/ConditionalAssignment
|
|
193
|
-
end
|
|
194
|
-
|
|
195
194
|
# Custom attribute writer method checking allowed values (enum).
|
|
196
195
|
# @param [Object] lifecycle_state Object to be assigned
|
|
197
196
|
def lifecycle_state=(lifecycle_state)
|
|
@@ -215,15 +214,16 @@ module OCI
|
|
|
215
214
|
|
|
216
215
|
self.class == other.class &&
|
|
217
216
|
id == other.id &&
|
|
218
|
-
compartment_id == other.compartment_id &&
|
|
219
|
-
autonomous_data_warehouse_id == other.autonomous_data_warehouse_id &&
|
|
220
217
|
display_name == other.display_name &&
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
compartment_id == other.compartment_id &&
|
|
219
|
+
description == other.description &&
|
|
220
|
+
time_created == other.time_created &&
|
|
221
|
+
lifecycle_state == other.lifecycle_state &&
|
|
225
222
|
lifecycle_details == other.lifecycle_details &&
|
|
226
|
-
|
|
223
|
+
freeform_tags == other.freeform_tags &&
|
|
224
|
+
defined_tags == other.defined_tags &&
|
|
225
|
+
available_version == other.available_version &&
|
|
226
|
+
created_version == other.created_version
|
|
227
227
|
end
|
|
228
228
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
229
229
|
|
|
@@ -239,7 +239,7 @@ module OCI
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Fixnum] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[id, compartment_id,
|
|
242
|
+
[id, display_name, compartment_id, description, time_created, lifecycle_state, lifecycle_details, freeform_tags, defined_tags, available_version, created_version].hash
|
|
243
243
|
end
|
|
244
244
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
245
245
|
|