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
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
module OCI
|
|
5
|
+
module Rover::Models
|
|
6
|
+
ENCLOSURE_TYPE_ENUM = [
|
|
7
|
+
ENCLOSURE_TYPE_RUGGADIZED = 'RUGGADIZED'.freeze,
|
|
8
|
+
ENCLOSURE_TYPE_NON_RUGGADIZED = 'NON_RUGGADIZED'.freeze
|
|
9
|
+
].freeze
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
module OCI
|
|
5
|
+
module Rover::Models
|
|
6
|
+
LIFECYCLE_STATE_ENUM = [
|
|
7
|
+
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
8
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
9
|
+
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
|
|
10
|
+
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
|
11
|
+
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
|
12
|
+
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze
|
|
13
|
+
].freeze
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
module OCI
|
|
5
|
+
module Rover::Models
|
|
6
|
+
NODE_TYPE_ENUM = [
|
|
7
|
+
NODE_TYPE_STANDALONE = 'STANDALONE'.freeze,
|
|
8
|
+
NODE_TYPE_CLUSTERED = 'CLUSTERED'.freeze
|
|
9
|
+
].freeze
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,610 @@
|
|
|
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
|
+
require 'logger'
|
|
6
|
+
|
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
|
+
module OCI
|
|
9
|
+
# Description of RoverCluster.
|
|
10
|
+
class Rover::Models::RoverCluster
|
|
11
|
+
LIFECYCLE_STATE_ENUM = [
|
|
12
|
+
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
|
13
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
14
|
+
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
|
|
15
|
+
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
|
16
|
+
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
|
17
|
+
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
|
|
18
|
+
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
19
|
+
].freeze
|
|
20
|
+
|
|
21
|
+
ENCLOSURE_TYPE_ENUM = [
|
|
22
|
+
ENCLOSURE_TYPE_RUGGADIZED = 'RUGGADIZED'.freeze,
|
|
23
|
+
ENCLOSURE_TYPE_NON_RUGGADIZED = 'NON_RUGGADIZED'.freeze,
|
|
24
|
+
ENCLOSURE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
25
|
+
].freeze
|
|
26
|
+
|
|
27
|
+
SHIPPING_PREFERENCE_ENUM = [
|
|
28
|
+
SHIPPING_PREFERENCE_ORACLE_SHIPPED = 'ORACLE_SHIPPED'.freeze,
|
|
29
|
+
SHIPPING_PREFERENCE_CUSTOMER_PICKUP = 'CUSTOMER_PICKUP'.freeze,
|
|
30
|
+
SHIPPING_PREFERENCE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
31
|
+
].freeze
|
|
32
|
+
|
|
33
|
+
# **[Required]** The OCID of RoverCluster.
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :id
|
|
36
|
+
|
|
37
|
+
# **[Required]** The OCID of the compartment containing the RoverCluster.
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :compartment_id
|
|
40
|
+
|
|
41
|
+
# **[Required]** A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
42
|
+
# @return [String]
|
|
43
|
+
attr_accessor :display_name
|
|
44
|
+
|
|
45
|
+
# **[Required]** Size of the cluster.
|
|
46
|
+
# @return [Integer]
|
|
47
|
+
attr_accessor :cluster_size
|
|
48
|
+
|
|
49
|
+
# The time the the RoverCluster was created. An RFC3339 formatted datetime string
|
|
50
|
+
# @return [DateTime]
|
|
51
|
+
attr_accessor :time_created
|
|
52
|
+
|
|
53
|
+
# **[Required]** The current state of the RoverCluster.
|
|
54
|
+
# @return [String]
|
|
55
|
+
attr_reader :lifecycle_state
|
|
56
|
+
|
|
57
|
+
# A property that can contain details on the lifecycle.
|
|
58
|
+
# @return [String]
|
|
59
|
+
attr_accessor :lifecycle_state_details
|
|
60
|
+
|
|
61
|
+
# @return [OCI::Rover::Models::ShippingAddress]
|
|
62
|
+
attr_accessor :customer_shipping_address
|
|
63
|
+
|
|
64
|
+
# The summary of nodes that are part of this cluster.
|
|
65
|
+
# @return [Array<OCI::Rover::Models::RoverNodeSummary>]
|
|
66
|
+
attr_accessor :nodes
|
|
67
|
+
|
|
68
|
+
# The type of enclosure rover nodes in this cluster are shipped in.
|
|
69
|
+
# @return [String]
|
|
70
|
+
attr_reader :enclosure_type
|
|
71
|
+
|
|
72
|
+
# Time when customer received the cluster.
|
|
73
|
+
# @return [DateTime]
|
|
74
|
+
attr_accessor :time_customer_received
|
|
75
|
+
|
|
76
|
+
# Time when customer returned the cluster.
|
|
77
|
+
# @return [DateTime]
|
|
78
|
+
attr_accessor :time_customer_returned
|
|
79
|
+
|
|
80
|
+
# Tracking information for device shipping.
|
|
81
|
+
# @return [String]
|
|
82
|
+
attr_accessor :delivery_tracking_info
|
|
83
|
+
|
|
84
|
+
# List of existing workloads that should be provisioned on the nodes.
|
|
85
|
+
# @return [Array<OCI::Rover::Models::RoverWorkload>]
|
|
86
|
+
attr_accessor :cluster_workloads
|
|
87
|
+
|
|
88
|
+
# Root password for the rover cluster.
|
|
89
|
+
# @return [String]
|
|
90
|
+
attr_accessor :super_user_password
|
|
91
|
+
|
|
92
|
+
# Password to unlock the rover cluster.
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :unlock_passphrase
|
|
95
|
+
|
|
96
|
+
# Name of point of contact for this order if customer is picking up.
|
|
97
|
+
# @return [String]
|
|
98
|
+
attr_accessor :point_of_contact
|
|
99
|
+
|
|
100
|
+
# Phone number of point of contact for this order if customer is picking up.
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :point_of_contact_phone_number
|
|
103
|
+
|
|
104
|
+
# Preference for device delivery.
|
|
105
|
+
# @return [String]
|
|
106
|
+
attr_reader :shipping_preference
|
|
107
|
+
|
|
108
|
+
# Tracking Url for the shipped Rover Cluster.
|
|
109
|
+
# @return [String]
|
|
110
|
+
attr_accessor :oracle_shipping_tracking_url
|
|
111
|
+
|
|
112
|
+
# Shipping vendor of choice for orace to customer shipping.
|
|
113
|
+
# @return [String]
|
|
114
|
+
attr_accessor :shipping_vendor
|
|
115
|
+
|
|
116
|
+
# Expected date when customer wants to pickup the device if they chose customer pickup.
|
|
117
|
+
# @return [DateTime]
|
|
118
|
+
attr_accessor :time_pickup_expected
|
|
119
|
+
|
|
120
|
+
# Start time for the window to pickup the device from customer.
|
|
121
|
+
# @return [DateTime]
|
|
122
|
+
attr_accessor :time_return_window_starts
|
|
123
|
+
|
|
124
|
+
# End time for the window to pickup the device from customer.
|
|
125
|
+
# @return [DateTime]
|
|
126
|
+
attr_accessor :time_return_window_ends
|
|
127
|
+
|
|
128
|
+
# Uri to download return shipping label.
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :return_shipping_label_uri
|
|
131
|
+
|
|
132
|
+
# The link to pre-authenticated request for a bucket where image workloads are moved.
|
|
133
|
+
# @return [String]
|
|
134
|
+
attr_accessor :image_export_par
|
|
135
|
+
|
|
136
|
+
# The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
|
|
137
|
+
# predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
138
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
139
|
+
#
|
|
140
|
+
# @return [Hash<String, String>]
|
|
141
|
+
attr_accessor :freeform_tags
|
|
142
|
+
|
|
143
|
+
# The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
|
|
144
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
145
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
146
|
+
#
|
|
147
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
148
|
+
attr_accessor :defined_tags
|
|
149
|
+
|
|
150
|
+
# The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces.
|
|
151
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
152
|
+
# Example: `{orcl-cloud: {free-tier-retain: true}}`
|
|
153
|
+
#
|
|
154
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
155
|
+
attr_accessor :system_tags
|
|
156
|
+
|
|
157
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
158
|
+
def self.attribute_map
|
|
159
|
+
{
|
|
160
|
+
# rubocop:disable Style/SymbolLiteral
|
|
161
|
+
'id': :'id',
|
|
162
|
+
'compartment_id': :'compartmentId',
|
|
163
|
+
'display_name': :'displayName',
|
|
164
|
+
'cluster_size': :'clusterSize',
|
|
165
|
+
'time_created': :'timeCreated',
|
|
166
|
+
'lifecycle_state': :'lifecycleState',
|
|
167
|
+
'lifecycle_state_details': :'lifecycleStateDetails',
|
|
168
|
+
'customer_shipping_address': :'customerShippingAddress',
|
|
169
|
+
'nodes': :'nodes',
|
|
170
|
+
'enclosure_type': :'enclosureType',
|
|
171
|
+
'time_customer_received': :'timeCustomerReceived',
|
|
172
|
+
'time_customer_returned': :'timeCustomerReturned',
|
|
173
|
+
'delivery_tracking_info': :'deliveryTrackingInfo',
|
|
174
|
+
'cluster_workloads': :'clusterWorkloads',
|
|
175
|
+
'super_user_password': :'superUserPassword',
|
|
176
|
+
'unlock_passphrase': :'unlockPassphrase',
|
|
177
|
+
'point_of_contact': :'pointOfContact',
|
|
178
|
+
'point_of_contact_phone_number': :'pointOfContactPhoneNumber',
|
|
179
|
+
'shipping_preference': :'shippingPreference',
|
|
180
|
+
'oracle_shipping_tracking_url': :'oracleShippingTrackingUrl',
|
|
181
|
+
'shipping_vendor': :'shippingVendor',
|
|
182
|
+
'time_pickup_expected': :'timePickupExpected',
|
|
183
|
+
'time_return_window_starts': :'timeReturnWindowStarts',
|
|
184
|
+
'time_return_window_ends': :'timeReturnWindowEnds',
|
|
185
|
+
'return_shipping_label_uri': :'returnShippingLabelUri',
|
|
186
|
+
'image_export_par': :'imageExportPar',
|
|
187
|
+
'freeform_tags': :'freeformTags',
|
|
188
|
+
'defined_tags': :'definedTags',
|
|
189
|
+
'system_tags': :'systemTags'
|
|
190
|
+
# rubocop:enable Style/SymbolLiteral
|
|
191
|
+
}
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Attribute type mapping.
|
|
195
|
+
def self.swagger_types
|
|
196
|
+
{
|
|
197
|
+
# rubocop:disable Style/SymbolLiteral
|
|
198
|
+
'id': :'String',
|
|
199
|
+
'compartment_id': :'String',
|
|
200
|
+
'display_name': :'String',
|
|
201
|
+
'cluster_size': :'Integer',
|
|
202
|
+
'time_created': :'DateTime',
|
|
203
|
+
'lifecycle_state': :'String',
|
|
204
|
+
'lifecycle_state_details': :'String',
|
|
205
|
+
'customer_shipping_address': :'OCI::Rover::Models::ShippingAddress',
|
|
206
|
+
'nodes': :'Array<OCI::Rover::Models::RoverNodeSummary>',
|
|
207
|
+
'enclosure_type': :'String',
|
|
208
|
+
'time_customer_received': :'DateTime',
|
|
209
|
+
'time_customer_returned': :'DateTime',
|
|
210
|
+
'delivery_tracking_info': :'String',
|
|
211
|
+
'cluster_workloads': :'Array<OCI::Rover::Models::RoverWorkload>',
|
|
212
|
+
'super_user_password': :'String',
|
|
213
|
+
'unlock_passphrase': :'String',
|
|
214
|
+
'point_of_contact': :'String',
|
|
215
|
+
'point_of_contact_phone_number': :'String',
|
|
216
|
+
'shipping_preference': :'String',
|
|
217
|
+
'oracle_shipping_tracking_url': :'String',
|
|
218
|
+
'shipping_vendor': :'String',
|
|
219
|
+
'time_pickup_expected': :'DateTime',
|
|
220
|
+
'time_return_window_starts': :'DateTime',
|
|
221
|
+
'time_return_window_ends': :'DateTime',
|
|
222
|
+
'return_shipping_label_uri': :'String',
|
|
223
|
+
'image_export_par': :'String',
|
|
224
|
+
'freeform_tags': :'Hash<String, String>',
|
|
225
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
226
|
+
'system_tags': :'Hash<String, Hash<String, Object>>'
|
|
227
|
+
# rubocop:enable Style/SymbolLiteral
|
|
228
|
+
}
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
232
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
# Initializes the object
|
|
236
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
237
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
238
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
239
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
240
|
+
# @option attributes [Integer] :cluster_size The value to assign to the {#cluster_size} property
|
|
241
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
242
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
243
|
+
# @option attributes [String] :lifecycle_state_details The value to assign to the {#lifecycle_state_details} property
|
|
244
|
+
# @option attributes [OCI::Rover::Models::ShippingAddress] :customer_shipping_address The value to assign to the {#customer_shipping_address} property
|
|
245
|
+
# @option attributes [Array<OCI::Rover::Models::RoverNodeSummary>] :nodes The value to assign to the {#nodes} property
|
|
246
|
+
# @option attributes [String] :enclosure_type The value to assign to the {#enclosure_type} property
|
|
247
|
+
# @option attributes [DateTime] :time_customer_received The value to assign to the {#time_customer_received} property
|
|
248
|
+
# @option attributes [DateTime] :time_customer_returned The value to assign to the {#time_customer_returned} property
|
|
249
|
+
# @option attributes [String] :delivery_tracking_info The value to assign to the {#delivery_tracking_info} property
|
|
250
|
+
# @option attributes [Array<OCI::Rover::Models::RoverWorkload>] :cluster_workloads The value to assign to the {#cluster_workloads} property
|
|
251
|
+
# @option attributes [String] :super_user_password The value to assign to the {#super_user_password} property
|
|
252
|
+
# @option attributes [String] :unlock_passphrase The value to assign to the {#unlock_passphrase} property
|
|
253
|
+
# @option attributes [String] :point_of_contact The value to assign to the {#point_of_contact} property
|
|
254
|
+
# @option attributes [String] :point_of_contact_phone_number The value to assign to the {#point_of_contact_phone_number} property
|
|
255
|
+
# @option attributes [String] :shipping_preference The value to assign to the {#shipping_preference} property
|
|
256
|
+
# @option attributes [String] :oracle_shipping_tracking_url The value to assign to the {#oracle_shipping_tracking_url} property
|
|
257
|
+
# @option attributes [String] :shipping_vendor The value to assign to the {#shipping_vendor} property
|
|
258
|
+
# @option attributes [DateTime] :time_pickup_expected The value to assign to the {#time_pickup_expected} property
|
|
259
|
+
# @option attributes [DateTime] :time_return_window_starts The value to assign to the {#time_return_window_starts} property
|
|
260
|
+
# @option attributes [DateTime] :time_return_window_ends The value to assign to the {#time_return_window_ends} property
|
|
261
|
+
# @option attributes [String] :return_shipping_label_uri The value to assign to the {#return_shipping_label_uri} property
|
|
262
|
+
# @option attributes [String] :image_export_par The value to assign to the {#image_export_par} property
|
|
263
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
264
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
265
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :system_tags The value to assign to the {#system_tags} property
|
|
266
|
+
def initialize(attributes = {})
|
|
267
|
+
return unless attributes.is_a?(Hash)
|
|
268
|
+
|
|
269
|
+
# convert string to symbol for hash key
|
|
270
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
271
|
+
|
|
272
|
+
self.id = attributes[:'id'] if attributes[:'id']
|
|
273
|
+
|
|
274
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
275
|
+
|
|
276
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
277
|
+
|
|
278
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
279
|
+
|
|
280
|
+
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
|
281
|
+
|
|
282
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
283
|
+
|
|
284
|
+
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
|
285
|
+
|
|
286
|
+
self.cluster_size = attributes[:'clusterSize'] if attributes[:'clusterSize']
|
|
287
|
+
|
|
288
|
+
raise 'You cannot provide both :clusterSize and :cluster_size' if attributes.key?(:'clusterSize') && attributes.key?(:'cluster_size')
|
|
289
|
+
|
|
290
|
+
self.cluster_size = attributes[:'cluster_size'] if attributes[:'cluster_size']
|
|
291
|
+
|
|
292
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
|
293
|
+
|
|
294
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
295
|
+
|
|
296
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
|
297
|
+
|
|
298
|
+
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
299
|
+
|
|
300
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
301
|
+
|
|
302
|
+
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
|
303
|
+
|
|
304
|
+
self.lifecycle_state_details = attributes[:'lifecycleStateDetails'] if attributes[:'lifecycleStateDetails']
|
|
305
|
+
|
|
306
|
+
raise 'You cannot provide both :lifecycleStateDetails and :lifecycle_state_details' if attributes.key?(:'lifecycleStateDetails') && attributes.key?(:'lifecycle_state_details')
|
|
307
|
+
|
|
308
|
+
self.lifecycle_state_details = attributes[:'lifecycle_state_details'] if attributes[:'lifecycle_state_details']
|
|
309
|
+
|
|
310
|
+
self.customer_shipping_address = attributes[:'customerShippingAddress'] if attributes[:'customerShippingAddress']
|
|
311
|
+
|
|
312
|
+
raise 'You cannot provide both :customerShippingAddress and :customer_shipping_address' if attributes.key?(:'customerShippingAddress') && attributes.key?(:'customer_shipping_address')
|
|
313
|
+
|
|
314
|
+
self.customer_shipping_address = attributes[:'customer_shipping_address'] if attributes[:'customer_shipping_address']
|
|
315
|
+
|
|
316
|
+
self.nodes = attributes[:'nodes'] if attributes[:'nodes']
|
|
317
|
+
|
|
318
|
+
self.enclosure_type = attributes[:'enclosureType'] if attributes[:'enclosureType']
|
|
319
|
+
|
|
320
|
+
raise 'You cannot provide both :enclosureType and :enclosure_type' if attributes.key?(:'enclosureType') && attributes.key?(:'enclosure_type')
|
|
321
|
+
|
|
322
|
+
self.enclosure_type = attributes[:'enclosure_type'] if attributes[:'enclosure_type']
|
|
323
|
+
|
|
324
|
+
self.time_customer_received = attributes[:'timeCustomerReceived'] if attributes[:'timeCustomerReceived']
|
|
325
|
+
|
|
326
|
+
raise 'You cannot provide both :timeCustomerReceived and :time_customer_received' if attributes.key?(:'timeCustomerReceived') && attributes.key?(:'time_customer_received')
|
|
327
|
+
|
|
328
|
+
self.time_customer_received = attributes[:'time_customer_received'] if attributes[:'time_customer_received']
|
|
329
|
+
|
|
330
|
+
self.time_customer_returned = attributes[:'timeCustomerReturned'] if attributes[:'timeCustomerReturned']
|
|
331
|
+
|
|
332
|
+
raise 'You cannot provide both :timeCustomerReturned and :time_customer_returned' if attributes.key?(:'timeCustomerReturned') && attributes.key?(:'time_customer_returned')
|
|
333
|
+
|
|
334
|
+
self.time_customer_returned = attributes[:'time_customer_returned'] if attributes[:'time_customer_returned']
|
|
335
|
+
|
|
336
|
+
self.delivery_tracking_info = attributes[:'deliveryTrackingInfo'] if attributes[:'deliveryTrackingInfo']
|
|
337
|
+
|
|
338
|
+
raise 'You cannot provide both :deliveryTrackingInfo and :delivery_tracking_info' if attributes.key?(:'deliveryTrackingInfo') && attributes.key?(:'delivery_tracking_info')
|
|
339
|
+
|
|
340
|
+
self.delivery_tracking_info = attributes[:'delivery_tracking_info'] if attributes[:'delivery_tracking_info']
|
|
341
|
+
|
|
342
|
+
self.cluster_workloads = attributes[:'clusterWorkloads'] if attributes[:'clusterWorkloads']
|
|
343
|
+
|
|
344
|
+
raise 'You cannot provide both :clusterWorkloads and :cluster_workloads' if attributes.key?(:'clusterWorkloads') && attributes.key?(:'cluster_workloads')
|
|
345
|
+
|
|
346
|
+
self.cluster_workloads = attributes[:'cluster_workloads'] if attributes[:'cluster_workloads']
|
|
347
|
+
|
|
348
|
+
self.super_user_password = attributes[:'superUserPassword'] if attributes[:'superUserPassword']
|
|
349
|
+
|
|
350
|
+
raise 'You cannot provide both :superUserPassword and :super_user_password' if attributes.key?(:'superUserPassword') && attributes.key?(:'super_user_password')
|
|
351
|
+
|
|
352
|
+
self.super_user_password = attributes[:'super_user_password'] if attributes[:'super_user_password']
|
|
353
|
+
|
|
354
|
+
self.unlock_passphrase = attributes[:'unlockPassphrase'] if attributes[:'unlockPassphrase']
|
|
355
|
+
|
|
356
|
+
raise 'You cannot provide both :unlockPassphrase and :unlock_passphrase' if attributes.key?(:'unlockPassphrase') && attributes.key?(:'unlock_passphrase')
|
|
357
|
+
|
|
358
|
+
self.unlock_passphrase = attributes[:'unlock_passphrase'] if attributes[:'unlock_passphrase']
|
|
359
|
+
|
|
360
|
+
self.point_of_contact = attributes[:'pointOfContact'] if attributes[:'pointOfContact']
|
|
361
|
+
|
|
362
|
+
raise 'You cannot provide both :pointOfContact and :point_of_contact' if attributes.key?(:'pointOfContact') && attributes.key?(:'point_of_contact')
|
|
363
|
+
|
|
364
|
+
self.point_of_contact = attributes[:'point_of_contact'] if attributes[:'point_of_contact']
|
|
365
|
+
|
|
366
|
+
self.point_of_contact_phone_number = attributes[:'pointOfContactPhoneNumber'] if attributes[:'pointOfContactPhoneNumber']
|
|
367
|
+
|
|
368
|
+
raise 'You cannot provide both :pointOfContactPhoneNumber and :point_of_contact_phone_number' if attributes.key?(:'pointOfContactPhoneNumber') && attributes.key?(:'point_of_contact_phone_number')
|
|
369
|
+
|
|
370
|
+
self.point_of_contact_phone_number = attributes[:'point_of_contact_phone_number'] if attributes[:'point_of_contact_phone_number']
|
|
371
|
+
|
|
372
|
+
self.shipping_preference = attributes[:'shippingPreference'] if attributes[:'shippingPreference']
|
|
373
|
+
self.shipping_preference = "ORACLE_SHIPPED" if shipping_preference.nil? && !attributes.key?(:'shippingPreference') # rubocop:disable Style/StringLiterals
|
|
374
|
+
|
|
375
|
+
raise 'You cannot provide both :shippingPreference and :shipping_preference' if attributes.key?(:'shippingPreference') && attributes.key?(:'shipping_preference')
|
|
376
|
+
|
|
377
|
+
self.shipping_preference = attributes[:'shipping_preference'] if attributes[:'shipping_preference']
|
|
378
|
+
self.shipping_preference = "ORACLE_SHIPPED" if shipping_preference.nil? && !attributes.key?(:'shippingPreference') && !attributes.key?(:'shipping_preference') # rubocop:disable Style/StringLiterals
|
|
379
|
+
|
|
380
|
+
self.oracle_shipping_tracking_url = attributes[:'oracleShippingTrackingUrl'] if attributes[:'oracleShippingTrackingUrl']
|
|
381
|
+
|
|
382
|
+
raise 'You cannot provide both :oracleShippingTrackingUrl and :oracle_shipping_tracking_url' if attributes.key?(:'oracleShippingTrackingUrl') && attributes.key?(:'oracle_shipping_tracking_url')
|
|
383
|
+
|
|
384
|
+
self.oracle_shipping_tracking_url = attributes[:'oracle_shipping_tracking_url'] if attributes[:'oracle_shipping_tracking_url']
|
|
385
|
+
|
|
386
|
+
self.shipping_vendor = attributes[:'shippingVendor'] if attributes[:'shippingVendor']
|
|
387
|
+
|
|
388
|
+
raise 'You cannot provide both :shippingVendor and :shipping_vendor' if attributes.key?(:'shippingVendor') && attributes.key?(:'shipping_vendor')
|
|
389
|
+
|
|
390
|
+
self.shipping_vendor = attributes[:'shipping_vendor'] if attributes[:'shipping_vendor']
|
|
391
|
+
|
|
392
|
+
self.time_pickup_expected = attributes[:'timePickupExpected'] if attributes[:'timePickupExpected']
|
|
393
|
+
|
|
394
|
+
raise 'You cannot provide both :timePickupExpected and :time_pickup_expected' if attributes.key?(:'timePickupExpected') && attributes.key?(:'time_pickup_expected')
|
|
395
|
+
|
|
396
|
+
self.time_pickup_expected = attributes[:'time_pickup_expected'] if attributes[:'time_pickup_expected']
|
|
397
|
+
|
|
398
|
+
self.time_return_window_starts = attributes[:'timeReturnWindowStarts'] if attributes[:'timeReturnWindowStarts']
|
|
399
|
+
|
|
400
|
+
raise 'You cannot provide both :timeReturnWindowStarts and :time_return_window_starts' if attributes.key?(:'timeReturnWindowStarts') && attributes.key?(:'time_return_window_starts')
|
|
401
|
+
|
|
402
|
+
self.time_return_window_starts = attributes[:'time_return_window_starts'] if attributes[:'time_return_window_starts']
|
|
403
|
+
|
|
404
|
+
self.time_return_window_ends = attributes[:'timeReturnWindowEnds'] if attributes[:'timeReturnWindowEnds']
|
|
405
|
+
|
|
406
|
+
raise 'You cannot provide both :timeReturnWindowEnds and :time_return_window_ends' if attributes.key?(:'timeReturnWindowEnds') && attributes.key?(:'time_return_window_ends')
|
|
407
|
+
|
|
408
|
+
self.time_return_window_ends = attributes[:'time_return_window_ends'] if attributes[:'time_return_window_ends']
|
|
409
|
+
|
|
410
|
+
self.return_shipping_label_uri = attributes[:'returnShippingLabelUri'] if attributes[:'returnShippingLabelUri']
|
|
411
|
+
|
|
412
|
+
raise 'You cannot provide both :returnShippingLabelUri and :return_shipping_label_uri' if attributes.key?(:'returnShippingLabelUri') && attributes.key?(:'return_shipping_label_uri')
|
|
413
|
+
|
|
414
|
+
self.return_shipping_label_uri = attributes[:'return_shipping_label_uri'] if attributes[:'return_shipping_label_uri']
|
|
415
|
+
|
|
416
|
+
self.image_export_par = attributes[:'imageExportPar'] if attributes[:'imageExportPar']
|
|
417
|
+
|
|
418
|
+
raise 'You cannot provide both :imageExportPar and :image_export_par' if attributes.key?(:'imageExportPar') && attributes.key?(:'image_export_par')
|
|
419
|
+
|
|
420
|
+
self.image_export_par = attributes[:'image_export_par'] if attributes[:'image_export_par']
|
|
421
|
+
|
|
422
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
423
|
+
|
|
424
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
425
|
+
|
|
426
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
427
|
+
|
|
428
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
429
|
+
|
|
430
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
431
|
+
|
|
432
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
433
|
+
|
|
434
|
+
self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']
|
|
435
|
+
|
|
436
|
+
raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags')
|
|
437
|
+
|
|
438
|
+
self.system_tags = attributes[:'system_tags'] if attributes[:'system_tags']
|
|
439
|
+
end
|
|
440
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
441
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
442
|
+
|
|
443
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
444
|
+
# @param [Object] lifecycle_state Object to be assigned
|
|
445
|
+
def lifecycle_state=(lifecycle_state)
|
|
446
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
447
|
+
if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
|
|
448
|
+
OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
449
|
+
@lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
|
|
450
|
+
else
|
|
451
|
+
@lifecycle_state = lifecycle_state
|
|
452
|
+
end
|
|
453
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
457
|
+
# @param [Object] enclosure_type Object to be assigned
|
|
458
|
+
def enclosure_type=(enclosure_type)
|
|
459
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
460
|
+
if enclosure_type && !ENCLOSURE_TYPE_ENUM.include?(enclosure_type)
|
|
461
|
+
OCI.logger.debug("Unknown value for 'enclosure_type' [" + enclosure_type + "]. Mapping to 'ENCLOSURE_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
462
|
+
@enclosure_type = ENCLOSURE_TYPE_UNKNOWN_ENUM_VALUE
|
|
463
|
+
else
|
|
464
|
+
@enclosure_type = enclosure_type
|
|
465
|
+
end
|
|
466
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
470
|
+
# @param [Object] shipping_preference Object to be assigned
|
|
471
|
+
def shipping_preference=(shipping_preference)
|
|
472
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
473
|
+
if shipping_preference && !SHIPPING_PREFERENCE_ENUM.include?(shipping_preference)
|
|
474
|
+
OCI.logger.debug("Unknown value for 'shipping_preference' [" + shipping_preference + "]. Mapping to 'SHIPPING_PREFERENCE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
475
|
+
@shipping_preference = SHIPPING_PREFERENCE_UNKNOWN_ENUM_VALUE
|
|
476
|
+
else
|
|
477
|
+
@shipping_preference = shipping_preference
|
|
478
|
+
end
|
|
479
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
# Checks equality by comparing each attribute.
|
|
486
|
+
# @param [Object] other the other object to be compared
|
|
487
|
+
def ==(other)
|
|
488
|
+
return true if equal?(other)
|
|
489
|
+
|
|
490
|
+
self.class == other.class &&
|
|
491
|
+
id == other.id &&
|
|
492
|
+
compartment_id == other.compartment_id &&
|
|
493
|
+
display_name == other.display_name &&
|
|
494
|
+
cluster_size == other.cluster_size &&
|
|
495
|
+
time_created == other.time_created &&
|
|
496
|
+
lifecycle_state == other.lifecycle_state &&
|
|
497
|
+
lifecycle_state_details == other.lifecycle_state_details &&
|
|
498
|
+
customer_shipping_address == other.customer_shipping_address &&
|
|
499
|
+
nodes == other.nodes &&
|
|
500
|
+
enclosure_type == other.enclosure_type &&
|
|
501
|
+
time_customer_received == other.time_customer_received &&
|
|
502
|
+
time_customer_returned == other.time_customer_returned &&
|
|
503
|
+
delivery_tracking_info == other.delivery_tracking_info &&
|
|
504
|
+
cluster_workloads == other.cluster_workloads &&
|
|
505
|
+
super_user_password == other.super_user_password &&
|
|
506
|
+
unlock_passphrase == other.unlock_passphrase &&
|
|
507
|
+
point_of_contact == other.point_of_contact &&
|
|
508
|
+
point_of_contact_phone_number == other.point_of_contact_phone_number &&
|
|
509
|
+
shipping_preference == other.shipping_preference &&
|
|
510
|
+
oracle_shipping_tracking_url == other.oracle_shipping_tracking_url &&
|
|
511
|
+
shipping_vendor == other.shipping_vendor &&
|
|
512
|
+
time_pickup_expected == other.time_pickup_expected &&
|
|
513
|
+
time_return_window_starts == other.time_return_window_starts &&
|
|
514
|
+
time_return_window_ends == other.time_return_window_ends &&
|
|
515
|
+
return_shipping_label_uri == other.return_shipping_label_uri &&
|
|
516
|
+
image_export_par == other.image_export_par &&
|
|
517
|
+
freeform_tags == other.freeform_tags &&
|
|
518
|
+
defined_tags == other.defined_tags &&
|
|
519
|
+
system_tags == other.system_tags
|
|
520
|
+
end
|
|
521
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
522
|
+
|
|
523
|
+
# @see the `==` method
|
|
524
|
+
# @param [Object] other the other object to be compared
|
|
525
|
+
def eql?(other)
|
|
526
|
+
self == other
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
# Calculates hash code according to all attributes.
|
|
533
|
+
# @return [Fixnum] Hash code
|
|
534
|
+
def hash
|
|
535
|
+
[id, compartment_id, display_name, cluster_size, time_created, lifecycle_state, lifecycle_state_details, customer_shipping_address, nodes, enclosure_type, time_customer_received, time_customer_returned, delivery_tracking_info, cluster_workloads, super_user_password, unlock_passphrase, point_of_contact, point_of_contact_phone_number, shipping_preference, oracle_shipping_tracking_url, shipping_vendor, time_pickup_expected, time_return_window_starts, time_return_window_ends, return_shipping_label_uri, image_export_par, freeform_tags, defined_tags, system_tags].hash
|
|
536
|
+
end
|
|
537
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
538
|
+
|
|
539
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
# Builds the object from hash
|
|
543
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
544
|
+
# @return [Object] Returns the model itself
|
|
545
|
+
def build_from_hash(attributes)
|
|
546
|
+
return nil unless attributes.is_a?(Hash)
|
|
547
|
+
|
|
548
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
549
|
+
if type =~ /^Array<(.*)>/i
|
|
550
|
+
# check to ensure the input is an array given that the the attribute
|
|
551
|
+
# is documented as an array but the input is not
|
|
552
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
553
|
+
public_method("#{key}=").call(
|
|
554
|
+
attributes[self.class.attribute_map[key]]
|
|
555
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
556
|
+
)
|
|
557
|
+
end
|
|
558
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
559
|
+
public_method("#{key}=").call(
|
|
560
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
561
|
+
)
|
|
562
|
+
end
|
|
563
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
self
|
|
567
|
+
end
|
|
568
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
569
|
+
|
|
570
|
+
# Returns the string representation of the object
|
|
571
|
+
# @return [String] String presentation of the object
|
|
572
|
+
def to_s
|
|
573
|
+
to_hash.to_s
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# Returns the object in the form of hash
|
|
577
|
+
# @return [Hash] Returns the object in the form of hash
|
|
578
|
+
def to_hash
|
|
579
|
+
hash = {}
|
|
580
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
581
|
+
value = public_method(attr).call
|
|
582
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
583
|
+
|
|
584
|
+
hash[param] = _to_hash(value)
|
|
585
|
+
end
|
|
586
|
+
hash
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
private
|
|
590
|
+
|
|
591
|
+
# Outputs non-array value in the form of hash
|
|
592
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
593
|
+
# @param [Object] value Any valid value
|
|
594
|
+
# @return [Hash] Returns the value in the form of hash
|
|
595
|
+
def _to_hash(value)
|
|
596
|
+
if value.is_a?(Array)
|
|
597
|
+
value.compact.map { |v| _to_hash(v) }
|
|
598
|
+
elsif value.is_a?(Hash)
|
|
599
|
+
{}.tap do |hash|
|
|
600
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
601
|
+
end
|
|
602
|
+
elsif value.respond_to? :to_hash
|
|
603
|
+
value.to_hash
|
|
604
|
+
else
|
|
605
|
+
value
|
|
606
|
+
end
|
|
607
|
+
end
|
|
608
|
+
end
|
|
609
|
+
end
|
|
610
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|