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
|
@@ -94,6 +94,18 @@ module OCI
|
|
|
94
94
|
# @return [BOOLEAN]
|
|
95
95
|
attr_accessor :is_file_server_enabled
|
|
96
96
|
|
|
97
|
+
# VisualBuilder is enabled or not.
|
|
98
|
+
# @return [BOOLEAN]
|
|
99
|
+
attr_accessor :is_visual_builder_enabled
|
|
100
|
+
|
|
101
|
+
# @return [OCI::Integration::Models::CustomEndpointDetails]
|
|
102
|
+
attr_accessor :custom_endpoint
|
|
103
|
+
|
|
104
|
+
# A list of alternate custom endpoints used for the integration instance URL.
|
|
105
|
+
#
|
|
106
|
+
# @return [Array<OCI::Integration::Models::CustomEndpointDetails>]
|
|
107
|
+
attr_accessor :alternate_custom_endpoints
|
|
108
|
+
|
|
97
109
|
# The entitlement used for billing purposes.
|
|
98
110
|
# @return [String]
|
|
99
111
|
attr_reader :consumption_model
|
|
@@ -116,6 +128,9 @@ module OCI
|
|
|
116
128
|
'instance_url': :'instanceUrl',
|
|
117
129
|
'message_packs': :'messagePacks',
|
|
118
130
|
'is_file_server_enabled': :'isFileServerEnabled',
|
|
131
|
+
'is_visual_builder_enabled': :'isVisualBuilderEnabled',
|
|
132
|
+
'custom_endpoint': :'customEndpoint',
|
|
133
|
+
'alternate_custom_endpoints': :'alternateCustomEndpoints',
|
|
119
134
|
'consumption_model': :'consumptionModel'
|
|
120
135
|
# rubocop:enable Style/SymbolLiteral
|
|
121
136
|
}
|
|
@@ -139,6 +154,9 @@ module OCI
|
|
|
139
154
|
'instance_url': :'String',
|
|
140
155
|
'message_packs': :'Integer',
|
|
141
156
|
'is_file_server_enabled': :'BOOLEAN',
|
|
157
|
+
'is_visual_builder_enabled': :'BOOLEAN',
|
|
158
|
+
'custom_endpoint': :'OCI::Integration::Models::CustomEndpointDetails',
|
|
159
|
+
'alternate_custom_endpoints': :'Array<OCI::Integration::Models::CustomEndpointDetails>',
|
|
142
160
|
'consumption_model': :'String'
|
|
143
161
|
# rubocop:enable Style/SymbolLiteral
|
|
144
162
|
}
|
|
@@ -164,6 +182,9 @@ module OCI
|
|
|
164
182
|
# @option attributes [String] :instance_url The value to assign to the {#instance_url} property
|
|
165
183
|
# @option attributes [Integer] :message_packs The value to assign to the {#message_packs} property
|
|
166
184
|
# @option attributes [BOOLEAN] :is_file_server_enabled The value to assign to the {#is_file_server_enabled} property
|
|
185
|
+
# @option attributes [BOOLEAN] :is_visual_builder_enabled The value to assign to the {#is_visual_builder_enabled} property
|
|
186
|
+
# @option attributes [OCI::Integration::Models::CustomEndpointDetails] :custom_endpoint The value to assign to the {#custom_endpoint} property
|
|
187
|
+
# @option attributes [Array<OCI::Integration::Models::CustomEndpointDetails>] :alternate_custom_endpoints The value to assign to the {#alternate_custom_endpoints} property
|
|
167
188
|
# @option attributes [String] :consumption_model The value to assign to the {#consumption_model} property
|
|
168
189
|
def initialize(attributes = {})
|
|
169
190
|
return unless attributes.is_a?(Hash)
|
|
@@ -251,6 +272,24 @@ module OCI
|
|
|
251
272
|
|
|
252
273
|
self.is_file_server_enabled = attributes[:'is_file_server_enabled'] unless attributes[:'is_file_server_enabled'].nil?
|
|
253
274
|
|
|
275
|
+
self.is_visual_builder_enabled = attributes[:'isVisualBuilderEnabled'] unless attributes[:'isVisualBuilderEnabled'].nil?
|
|
276
|
+
|
|
277
|
+
raise 'You cannot provide both :isVisualBuilderEnabled and :is_visual_builder_enabled' if attributes.key?(:'isVisualBuilderEnabled') && attributes.key?(:'is_visual_builder_enabled')
|
|
278
|
+
|
|
279
|
+
self.is_visual_builder_enabled = attributes[:'is_visual_builder_enabled'] unless attributes[:'is_visual_builder_enabled'].nil?
|
|
280
|
+
|
|
281
|
+
self.custom_endpoint = attributes[:'customEndpoint'] if attributes[:'customEndpoint']
|
|
282
|
+
|
|
283
|
+
raise 'You cannot provide both :customEndpoint and :custom_endpoint' if attributes.key?(:'customEndpoint') && attributes.key?(:'custom_endpoint')
|
|
284
|
+
|
|
285
|
+
self.custom_endpoint = attributes[:'custom_endpoint'] if attributes[:'custom_endpoint']
|
|
286
|
+
|
|
287
|
+
self.alternate_custom_endpoints = attributes[:'alternateCustomEndpoints'] if attributes[:'alternateCustomEndpoints']
|
|
288
|
+
|
|
289
|
+
raise 'You cannot provide both :alternateCustomEndpoints and :alternate_custom_endpoints' if attributes.key?(:'alternateCustomEndpoints') && attributes.key?(:'alternate_custom_endpoints')
|
|
290
|
+
|
|
291
|
+
self.alternate_custom_endpoints = attributes[:'alternate_custom_endpoints'] if attributes[:'alternate_custom_endpoints']
|
|
292
|
+
|
|
254
293
|
self.consumption_model = attributes[:'consumptionModel'] if attributes[:'consumptionModel']
|
|
255
294
|
|
|
256
295
|
raise 'You cannot provide both :consumptionModel and :consumption_model' if attributes.key?(:'consumptionModel') && attributes.key?(:'consumption_model')
|
|
@@ -322,6 +361,9 @@ module OCI
|
|
|
322
361
|
instance_url == other.instance_url &&
|
|
323
362
|
message_packs == other.message_packs &&
|
|
324
363
|
is_file_server_enabled == other.is_file_server_enabled &&
|
|
364
|
+
is_visual_builder_enabled == other.is_visual_builder_enabled &&
|
|
365
|
+
custom_endpoint == other.custom_endpoint &&
|
|
366
|
+
alternate_custom_endpoints == other.alternate_custom_endpoints &&
|
|
325
367
|
consumption_model == other.consumption_model
|
|
326
368
|
end
|
|
327
369
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
@@ -338,7 +380,7 @@ module OCI
|
|
|
338
380
|
# Calculates hash code according to all attributes.
|
|
339
381
|
# @return [Fixnum] Hash code
|
|
340
382
|
def hash
|
|
341
|
-
[id, display_name, compartment_id, integration_instance_type, time_created, time_updated, lifecycle_state, state_message, freeform_tags, defined_tags, is_byol, instance_url, message_packs, is_file_server_enabled, consumption_model].hash
|
|
383
|
+
[id, display_name, compartment_id, integration_instance_type, time_created, time_updated, lifecycle_state, state_message, freeform_tags, defined_tags, is_byol, instance_url, message_packs, is_file_server_enabled, is_visual_builder_enabled, custom_endpoint, alternate_custom_endpoints, consumption_model].hash
|
|
342
384
|
end
|
|
343
385
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
344
386
|
|
|
@@ -80,6 +80,18 @@ module OCI
|
|
|
80
80
|
# @return [BOOLEAN]
|
|
81
81
|
attr_accessor :is_file_server_enabled
|
|
82
82
|
|
|
83
|
+
# Visual Builder is enabled or not.
|
|
84
|
+
# @return [BOOLEAN]
|
|
85
|
+
attr_accessor :is_visual_builder_enabled
|
|
86
|
+
|
|
87
|
+
# @return [OCI::Integration::Models::CustomEndpointDetails]
|
|
88
|
+
attr_accessor :custom_endpoint
|
|
89
|
+
|
|
90
|
+
# A list of alternate custom endpoints used for the integration instance URL.
|
|
91
|
+
#
|
|
92
|
+
# @return [Array<OCI::Integration::Models::CustomEndpointDetails>]
|
|
93
|
+
attr_accessor :alternate_custom_endpoints
|
|
94
|
+
|
|
83
95
|
# The entitlement used for billing purposes.
|
|
84
96
|
# @return [String]
|
|
85
97
|
attr_reader :consumption_model
|
|
@@ -100,6 +112,9 @@ module OCI
|
|
|
100
112
|
'instance_url': :'instanceUrl',
|
|
101
113
|
'message_packs': :'messagePacks',
|
|
102
114
|
'is_file_server_enabled': :'isFileServerEnabled',
|
|
115
|
+
'is_visual_builder_enabled': :'isVisualBuilderEnabled',
|
|
116
|
+
'custom_endpoint': :'customEndpoint',
|
|
117
|
+
'alternate_custom_endpoints': :'alternateCustomEndpoints',
|
|
103
118
|
'consumption_model': :'consumptionModel'
|
|
104
119
|
# rubocop:enable Style/SymbolLiteral
|
|
105
120
|
}
|
|
@@ -121,6 +136,9 @@ module OCI
|
|
|
121
136
|
'instance_url': :'String',
|
|
122
137
|
'message_packs': :'Integer',
|
|
123
138
|
'is_file_server_enabled': :'BOOLEAN',
|
|
139
|
+
'is_visual_builder_enabled': :'BOOLEAN',
|
|
140
|
+
'custom_endpoint': :'OCI::Integration::Models::CustomEndpointDetails',
|
|
141
|
+
'alternate_custom_endpoints': :'Array<OCI::Integration::Models::CustomEndpointDetails>',
|
|
124
142
|
'consumption_model': :'String'
|
|
125
143
|
# rubocop:enable Style/SymbolLiteral
|
|
126
144
|
}
|
|
@@ -144,6 +162,9 @@ module OCI
|
|
|
144
162
|
# @option attributes [String] :instance_url The value to assign to the {#instance_url} property
|
|
145
163
|
# @option attributes [Integer] :message_packs The value to assign to the {#message_packs} property
|
|
146
164
|
# @option attributes [BOOLEAN] :is_file_server_enabled The value to assign to the {#is_file_server_enabled} property
|
|
165
|
+
# @option attributes [BOOLEAN] :is_visual_builder_enabled The value to assign to the {#is_visual_builder_enabled} property
|
|
166
|
+
# @option attributes [OCI::Integration::Models::CustomEndpointDetails] :custom_endpoint The value to assign to the {#custom_endpoint} property
|
|
167
|
+
# @option attributes [Array<OCI::Integration::Models::CustomEndpointDetails>] :alternate_custom_endpoints The value to assign to the {#alternate_custom_endpoints} property
|
|
147
168
|
# @option attributes [String] :consumption_model The value to assign to the {#consumption_model} property
|
|
148
169
|
def initialize(attributes = {})
|
|
149
170
|
return unless attributes.is_a?(Hash)
|
|
@@ -219,6 +240,24 @@ module OCI
|
|
|
219
240
|
|
|
220
241
|
self.is_file_server_enabled = attributes[:'is_file_server_enabled'] unless attributes[:'is_file_server_enabled'].nil?
|
|
221
242
|
|
|
243
|
+
self.is_visual_builder_enabled = attributes[:'isVisualBuilderEnabled'] unless attributes[:'isVisualBuilderEnabled'].nil?
|
|
244
|
+
|
|
245
|
+
raise 'You cannot provide both :isVisualBuilderEnabled and :is_visual_builder_enabled' if attributes.key?(:'isVisualBuilderEnabled') && attributes.key?(:'is_visual_builder_enabled')
|
|
246
|
+
|
|
247
|
+
self.is_visual_builder_enabled = attributes[:'is_visual_builder_enabled'] unless attributes[:'is_visual_builder_enabled'].nil?
|
|
248
|
+
|
|
249
|
+
self.custom_endpoint = attributes[:'customEndpoint'] if attributes[:'customEndpoint']
|
|
250
|
+
|
|
251
|
+
raise 'You cannot provide both :customEndpoint and :custom_endpoint' if attributes.key?(:'customEndpoint') && attributes.key?(:'custom_endpoint')
|
|
252
|
+
|
|
253
|
+
self.custom_endpoint = attributes[:'custom_endpoint'] if attributes[:'custom_endpoint']
|
|
254
|
+
|
|
255
|
+
self.alternate_custom_endpoints = attributes[:'alternateCustomEndpoints'] if attributes[:'alternateCustomEndpoints']
|
|
256
|
+
|
|
257
|
+
raise 'You cannot provide both :alternateCustomEndpoints and :alternate_custom_endpoints' if attributes.key?(:'alternateCustomEndpoints') && attributes.key?(:'alternate_custom_endpoints')
|
|
258
|
+
|
|
259
|
+
self.alternate_custom_endpoints = attributes[:'alternate_custom_endpoints'] if attributes[:'alternate_custom_endpoints']
|
|
260
|
+
|
|
222
261
|
self.consumption_model = attributes[:'consumptionModel'] if attributes[:'consumptionModel']
|
|
223
262
|
|
|
224
263
|
raise 'You cannot provide both :consumptionModel and :consumption_model' if attributes.key?(:'consumptionModel') && attributes.key?(:'consumption_model')
|
|
@@ -288,6 +327,9 @@ module OCI
|
|
|
288
327
|
instance_url == other.instance_url &&
|
|
289
328
|
message_packs == other.message_packs &&
|
|
290
329
|
is_file_server_enabled == other.is_file_server_enabled &&
|
|
330
|
+
is_visual_builder_enabled == other.is_visual_builder_enabled &&
|
|
331
|
+
custom_endpoint == other.custom_endpoint &&
|
|
332
|
+
alternate_custom_endpoints == other.alternate_custom_endpoints &&
|
|
291
333
|
consumption_model == other.consumption_model
|
|
292
334
|
end
|
|
293
335
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
@@ -304,7 +346,7 @@ module OCI
|
|
|
304
346
|
# Calculates hash code according to all attributes.
|
|
305
347
|
# @return [Fixnum] Hash code
|
|
306
348
|
def hash
|
|
307
|
-
[id, display_name, compartment_id, integration_instance_type, time_created, time_updated, lifecycle_state, state_message, is_byol, instance_url, message_packs, is_file_server_enabled, consumption_model].hash
|
|
349
|
+
[id, display_name, compartment_id, integration_instance_type, time_created, time_updated, lifecycle_state, state_message, is_byol, instance_url, message_packs, is_file_server_enabled, is_visual_builder_enabled, custom_endpoint, alternate_custom_endpoints, consumption_model].hash
|
|
308
350
|
end
|
|
309
351
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
310
352
|
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# Details for a custom endpoint for the integration instance (update).
|
|
9
|
+
class Integration::Models::UpdateCustomEndpointDetails
|
|
10
|
+
# **[Required]** A custom hostname to be used for the integration instance URL, in FQDN format.
|
|
11
|
+
# @return [String]
|
|
12
|
+
attr_accessor :hostname
|
|
13
|
+
|
|
14
|
+
# Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname.
|
|
15
|
+
# All certificates should be stored in a single base64 encoded secret.
|
|
16
|
+
# Note the update will fail if this is not a valid certificate.
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :certificate_secret_id
|
|
20
|
+
|
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
|
+
def self.attribute_map
|
|
23
|
+
{
|
|
24
|
+
# rubocop:disable Style/SymbolLiteral
|
|
25
|
+
'hostname': :'hostname',
|
|
26
|
+
'certificate_secret_id': :'certificateSecretId'
|
|
27
|
+
# rubocop:enable Style/SymbolLiteral
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute type mapping.
|
|
32
|
+
def self.swagger_types
|
|
33
|
+
{
|
|
34
|
+
# rubocop:disable Style/SymbolLiteral
|
|
35
|
+
'hostname': :'String',
|
|
36
|
+
'certificate_secret_id': :'String'
|
|
37
|
+
# rubocop:enable Style/SymbolLiteral
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
42
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
+
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
|
48
|
+
# @option attributes [String] :certificate_secret_id The value to assign to the {#certificate_secret_id} property
|
|
49
|
+
def initialize(attributes = {})
|
|
50
|
+
return unless attributes.is_a?(Hash)
|
|
51
|
+
|
|
52
|
+
# convert string to symbol for hash key
|
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
54
|
+
|
|
55
|
+
self.hostname = attributes[:'hostname'] if attributes[:'hostname']
|
|
56
|
+
|
|
57
|
+
self.certificate_secret_id = attributes[:'certificateSecretId'] if attributes[:'certificateSecretId']
|
|
58
|
+
|
|
59
|
+
raise 'You cannot provide both :certificateSecretId and :certificate_secret_id' if attributes.key?(:'certificateSecretId') && attributes.key?(:'certificate_secret_id')
|
|
60
|
+
|
|
61
|
+
self.certificate_secret_id = attributes[:'certificate_secret_id'] if attributes[:'certificate_secret_id']
|
|
62
|
+
end
|
|
63
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
64
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
65
|
+
|
|
66
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
# Checks equality by comparing each attribute.
|
|
70
|
+
# @param [Object] other the other object to be compared
|
|
71
|
+
def ==(other)
|
|
72
|
+
return true if equal?(other)
|
|
73
|
+
|
|
74
|
+
self.class == other.class &&
|
|
75
|
+
hostname == other.hostname &&
|
|
76
|
+
certificate_secret_id == other.certificate_secret_id
|
|
77
|
+
end
|
|
78
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
79
|
+
|
|
80
|
+
# @see the `==` method
|
|
81
|
+
# @param [Object] other the other object to be compared
|
|
82
|
+
def eql?(other)
|
|
83
|
+
self == other
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# Calculates hash code according to all attributes.
|
|
90
|
+
# @return [Fixnum] Hash code
|
|
91
|
+
def hash
|
|
92
|
+
[hostname, certificate_secret_id].hash
|
|
93
|
+
end
|
|
94
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
95
|
+
|
|
96
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
# Builds the object from hash
|
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
101
|
+
# @return [Object] Returns the model itself
|
|
102
|
+
def build_from_hash(attributes)
|
|
103
|
+
return nil unless attributes.is_a?(Hash)
|
|
104
|
+
|
|
105
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
106
|
+
if type =~ /^Array<(.*)>/i
|
|
107
|
+
# check to ensure the input is an array given that the the attribute
|
|
108
|
+
# is documented as an array but the input is not
|
|
109
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
110
|
+
public_method("#{key}=").call(
|
|
111
|
+
attributes[self.class.attribute_map[key]]
|
|
112
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
116
|
+
public_method("#{key}=").call(
|
|
117
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
118
|
+
)
|
|
119
|
+
end
|
|
120
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
self
|
|
124
|
+
end
|
|
125
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
126
|
+
|
|
127
|
+
# Returns the string representation of the object
|
|
128
|
+
# @return [String] String presentation of the object
|
|
129
|
+
def to_s
|
|
130
|
+
to_hash.to_s
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Returns the object in the form of hash
|
|
134
|
+
# @return [Hash] Returns the object in the form of hash
|
|
135
|
+
def to_hash
|
|
136
|
+
hash = {}
|
|
137
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
138
|
+
value = public_method(attr).call
|
|
139
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
140
|
+
|
|
141
|
+
hash[param] = _to_hash(value)
|
|
142
|
+
end
|
|
143
|
+
hash
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
private
|
|
147
|
+
|
|
148
|
+
# Outputs non-array value in the form of hash
|
|
149
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
150
|
+
# @param [Object] value Any valid value
|
|
151
|
+
# @return [Hash] Returns the value in the form of hash
|
|
152
|
+
def _to_hash(value)
|
|
153
|
+
if value.is_a?(Array)
|
|
154
|
+
value.compact.map { |v| _to_hash(v) }
|
|
155
|
+
elsif value.is_a?(Hash)
|
|
156
|
+
{}.tap do |hash|
|
|
157
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
158
|
+
end
|
|
159
|
+
elsif value.respond_to? :to_hash
|
|
160
|
+
value.to_hash
|
|
161
|
+
else
|
|
162
|
+
value
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -46,6 +46,19 @@ module OCI
|
|
|
46
46
|
# @return [BOOLEAN]
|
|
47
47
|
attr_accessor :is_file_server_enabled
|
|
48
48
|
|
|
49
|
+
# Visual Builder is enabled or not.
|
|
50
|
+
# @return [BOOLEAN]
|
|
51
|
+
attr_accessor :is_visual_builder_enabled
|
|
52
|
+
|
|
53
|
+
# @return [OCI::Integration::Models::UpdateCustomEndpointDetails]
|
|
54
|
+
attr_accessor :custom_endpoint
|
|
55
|
+
|
|
56
|
+
# A list of alternate custom endpoints to be used for the integration instance URL
|
|
57
|
+
# (contact Oracle for alternateCustomEndpoints availability for a specific instance).
|
|
58
|
+
#
|
|
59
|
+
# @return [Array<OCI::Integration::Models::UpdateCustomEndpointDetails>]
|
|
60
|
+
attr_accessor :alternate_custom_endpoints
|
|
61
|
+
|
|
49
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
63
|
def self.attribute_map
|
|
51
64
|
{
|
|
@@ -56,7 +69,10 @@ module OCI
|
|
|
56
69
|
'defined_tags': :'definedTags',
|
|
57
70
|
'is_byol': :'isByol',
|
|
58
71
|
'message_packs': :'messagePacks',
|
|
59
|
-
'is_file_server_enabled': :'isFileServerEnabled'
|
|
72
|
+
'is_file_server_enabled': :'isFileServerEnabled',
|
|
73
|
+
'is_visual_builder_enabled': :'isVisualBuilderEnabled',
|
|
74
|
+
'custom_endpoint': :'customEndpoint',
|
|
75
|
+
'alternate_custom_endpoints': :'alternateCustomEndpoints'
|
|
60
76
|
# rubocop:enable Style/SymbolLiteral
|
|
61
77
|
}
|
|
62
78
|
end
|
|
@@ -71,7 +87,10 @@ module OCI
|
|
|
71
87
|
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
72
88
|
'is_byol': :'BOOLEAN',
|
|
73
89
|
'message_packs': :'Integer',
|
|
74
|
-
'is_file_server_enabled': :'BOOLEAN'
|
|
90
|
+
'is_file_server_enabled': :'BOOLEAN',
|
|
91
|
+
'is_visual_builder_enabled': :'BOOLEAN',
|
|
92
|
+
'custom_endpoint': :'OCI::Integration::Models::UpdateCustomEndpointDetails',
|
|
93
|
+
'alternate_custom_endpoints': :'Array<OCI::Integration::Models::UpdateCustomEndpointDetails>'
|
|
75
94
|
# rubocop:enable Style/SymbolLiteral
|
|
76
95
|
}
|
|
77
96
|
end
|
|
@@ -89,6 +108,9 @@ module OCI
|
|
|
89
108
|
# @option attributes [BOOLEAN] :is_byol The value to assign to the {#is_byol} property
|
|
90
109
|
# @option attributes [Integer] :message_packs The value to assign to the {#message_packs} property
|
|
91
110
|
# @option attributes [BOOLEAN] :is_file_server_enabled The value to assign to the {#is_file_server_enabled} property
|
|
111
|
+
# @option attributes [BOOLEAN] :is_visual_builder_enabled The value to assign to the {#is_visual_builder_enabled} property
|
|
112
|
+
# @option attributes [OCI::Integration::Models::UpdateCustomEndpointDetails] :custom_endpoint The value to assign to the {#custom_endpoint} property
|
|
113
|
+
# @option attributes [Array<OCI::Integration::Models::UpdateCustomEndpointDetails>] :alternate_custom_endpoints The value to assign to the {#alternate_custom_endpoints} property
|
|
92
114
|
def initialize(attributes = {})
|
|
93
115
|
return unless attributes.is_a?(Hash)
|
|
94
116
|
|
|
@@ -138,6 +160,24 @@ module OCI
|
|
|
138
160
|
|
|
139
161
|
self.is_file_server_enabled = attributes[:'is_file_server_enabled'] unless attributes[:'is_file_server_enabled'].nil?
|
|
140
162
|
self.is_file_server_enabled = false if is_file_server_enabled.nil? && !attributes.key?(:'isFileServerEnabled') && !attributes.key?(:'is_file_server_enabled') # rubocop:disable Style/StringLiterals
|
|
163
|
+
|
|
164
|
+
self.is_visual_builder_enabled = attributes[:'isVisualBuilderEnabled'] unless attributes[:'isVisualBuilderEnabled'].nil?
|
|
165
|
+
|
|
166
|
+
raise 'You cannot provide both :isVisualBuilderEnabled and :is_visual_builder_enabled' if attributes.key?(:'isVisualBuilderEnabled') && attributes.key?(:'is_visual_builder_enabled')
|
|
167
|
+
|
|
168
|
+
self.is_visual_builder_enabled = attributes[:'is_visual_builder_enabled'] unless attributes[:'is_visual_builder_enabled'].nil?
|
|
169
|
+
|
|
170
|
+
self.custom_endpoint = attributes[:'customEndpoint'] if attributes[:'customEndpoint']
|
|
171
|
+
|
|
172
|
+
raise 'You cannot provide both :customEndpoint and :custom_endpoint' if attributes.key?(:'customEndpoint') && attributes.key?(:'custom_endpoint')
|
|
173
|
+
|
|
174
|
+
self.custom_endpoint = attributes[:'custom_endpoint'] if attributes[:'custom_endpoint']
|
|
175
|
+
|
|
176
|
+
self.alternate_custom_endpoints = attributes[:'alternateCustomEndpoints'] if attributes[:'alternateCustomEndpoints']
|
|
177
|
+
|
|
178
|
+
raise 'You cannot provide both :alternateCustomEndpoints and :alternate_custom_endpoints' if attributes.key?(:'alternateCustomEndpoints') && attributes.key?(:'alternate_custom_endpoints')
|
|
179
|
+
|
|
180
|
+
self.alternate_custom_endpoints = attributes[:'alternate_custom_endpoints'] if attributes[:'alternate_custom_endpoints']
|
|
141
181
|
end
|
|
142
182
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
143
183
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -165,7 +205,10 @@ module OCI
|
|
|
165
205
|
defined_tags == other.defined_tags &&
|
|
166
206
|
is_byol == other.is_byol &&
|
|
167
207
|
message_packs == other.message_packs &&
|
|
168
|
-
is_file_server_enabled == other.is_file_server_enabled
|
|
208
|
+
is_file_server_enabled == other.is_file_server_enabled &&
|
|
209
|
+
is_visual_builder_enabled == other.is_visual_builder_enabled &&
|
|
210
|
+
custom_endpoint == other.custom_endpoint &&
|
|
211
|
+
alternate_custom_endpoints == other.alternate_custom_endpoints
|
|
169
212
|
end
|
|
170
213
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
171
214
|
|
|
@@ -181,7 +224,7 @@ module OCI
|
|
|
181
224
|
# Calculates hash code according to all attributes.
|
|
182
225
|
# @return [Fixnum] Hash code
|
|
183
226
|
def hash
|
|
184
|
-
[display_name, integration_instance_type, freeform_tags, defined_tags, is_byol, message_packs, is_file_server_enabled].hash
|
|
227
|
+
[display_name, integration_instance_type, freeform_tags, defined_tags, is_byol, message_packs, is_file_server_enabled, is_visual_builder_enabled, custom_endpoint, alternate_custom_endpoints].hash
|
|
185
228
|
end
|
|
186
229
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
187
230
|
|
|
@@ -84,6 +84,7 @@ module OCI
|
|
|
84
84
|
# generated by the service.
|
|
85
85
|
#
|
|
86
86
|
# @return [Response] A Response object with data of type {OCI::KeyManagement::Models::DecryptedData DecryptedData}
|
|
87
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/keymanagement/decrypt.rb.html) to see an example of how to use decrypt API.
|
|
87
88
|
def decrypt(decrypt_data_details, opts = {})
|
|
88
89
|
logger.debug 'Calling operation KmsCryptoClient#decrypt.' if logger
|
|
89
90
|
|
|
@@ -141,6 +142,7 @@ module OCI
|
|
|
141
142
|
# generated by the service.
|
|
142
143
|
#
|
|
143
144
|
# @return [Response] A Response object with data of type {OCI::KeyManagement::Models::EncryptedData EncryptedData}
|
|
145
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/keymanagement/encrypt.rb.html) to see an example of how to use encrypt API.
|
|
144
146
|
def encrypt(encrypt_data_details, opts = {})
|
|
145
147
|
logger.debug 'Calling operation KmsCryptoClient#encrypt.' if logger
|
|
146
148
|
|
|
@@ -196,6 +198,7 @@ module OCI
|
|
|
196
198
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
197
199
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
198
200
|
# @return [Response] A Response object with data of type {OCI::KeyManagement::Models::ExportedKeyData ExportedKeyData}
|
|
201
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/keymanagement/export_key.rb.html) to see an example of how to use export_key API.
|
|
199
202
|
def export_key(export_key_details, opts = {})
|
|
200
203
|
logger.debug 'Calling operation KmsCryptoClient#export_key.' if logger
|
|
201
204
|
|
|
@@ -252,6 +255,7 @@ module OCI
|
|
|
252
255
|
# generated by the service.
|
|
253
256
|
#
|
|
254
257
|
# @return [Response] A Response object with data of type {OCI::KeyManagement::Models::GeneratedKey GeneratedKey}
|
|
258
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/keymanagement/generate_data_encryption_key.rb.html) to see an example of how to use generate_data_encryption_key API.
|
|
255
259
|
def generate_data_encryption_key(generate_key_details, opts = {})
|
|
256
260
|
logger.debug 'Calling operation KmsCryptoClient#generate_data_encryption_key.' if logger
|
|
257
261
|
|