oci 2.126.4__py3-none-any.whl → 2.128.0__py3-none-any.whl
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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +494 -38
- oci/capacity_management/models/__init__.py +4 -2
- oci/capacity_management/models/create_occ_capacity_request_details.py +32 -1
- oci/capacity_management/models/metadata_details.py +7 -3
- oci/capacity_management/models/occ_availability_catalog.py +2 -2
- oci/capacity_management/models/occ_availability_catalog_summary.py +2 -2
- oci/capacity_management/models/occ_availability_summary.py +99 -40
- oci/capacity_management/models/occ_capacity_request.py +47 -0
- oci/capacity_management/models/occ_capacity_request_base_details.py +96 -32
- oci/capacity_management/models/occ_capacity_request_summary.py +31 -0
- oci/capacity_management/models/occ_overview_collection.py +72 -0
- oci/capacity_management/models/occ_overview_summary.py +413 -0
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +447 -333
- oci/database/models/__init__.py +6 -0
- oci/database/models/autonomous_database_peer_collection.py +72 -0
- oci/database/models/autonomous_database_peer_summary.py +107 -0
- oci/database/models/create_autonomous_database_base.py +4 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +512 -0
- oci/database/models/database_connection_credentials_by_details.py +7 -3
- oci/database/models/database_ssl_connection_credentials.py +7 -3
- oci/database/models/enable_database_management_details.py +7 -3
- oci/database/models/enable_pluggable_database_management_details.py +7 -3
- oci/database/models/modify_database_management_details.py +7 -3
- oci/database/models/modify_pluggable_database_management_details.py +7 -3
- oci/database_management/db_management_client.py +478 -206
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +10 -0
- oci/database_management/models/basic_named_credential_content.py +7 -3
- oci/database_management/models/basic_preferred_credential.py +7 -3
- oci/database_management/models/data_points.py +103 -0
- oci/database_management/models/database_connection_credentials_by_details.py +7 -3
- oci/database_management/models/database_password_credential_details.py +7 -3
- oci/database_management/models/database_secret_credential_details.py +7 -3
- oci/database_management/models/database_ssl_connection_credentials.py +7 -3
- oci/database_management/models/database_usage_metrics.py +183 -0
- oci/database_management/models/dataguard_performance_metrics.py +72 -0
- oci/database_management/models/peer_database_metrics.py +72 -0
- oci/database_management/models/performance_metrics.py +165 -0
- oci/database_management/models/performance_metrics_data.py +387 -0
- oci/database_management/models/preferred_credential_summary.py +7 -3
- oci/database_management/models/test_basic_preferred_credential_details.py +7 -3
- oci/database_management/models/update_basic_preferred_credential_details.py +7 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/__init__.py +14 -0
- oci/demand_signal/models/__init__.py +48 -0
- oci/demand_signal/models/change_occ_demand_signal_compartment_details.py +76 -0
- oci/demand_signal/models/create_occ_demand_signal_details.py +251 -0
- oci/demand_signal/models/occ_demand_signal.py +501 -0
- oci/demand_signal/models/occ_demand_signal_collection.py +72 -0
- oci/demand_signal/models/occ_demand_signal_data.py +134 -0
- oci/demand_signal/models/occ_demand_signal_summary.py +430 -0
- oci/demand_signal/models/occ_demand_signal_value.py +134 -0
- oci/demand_signal/models/patch_insert_instruction.py +171 -0
- oci/demand_signal/models/patch_insert_multiple_instruction.py +171 -0
- oci/demand_signal/models/patch_instruction.py +192 -0
- oci/demand_signal/models/patch_merge_instruction.py +97 -0
- oci/demand_signal/models/patch_move_instruction.py +147 -0
- oci/demand_signal/models/patch_occ_demand_signal_details.py +72 -0
- oci/demand_signal/models/patch_prohibit_instruction.py +100 -0
- oci/demand_signal/models/patch_remove_instruction.py +59 -0
- oci/demand_signal/models/patch_replace_instruction.py +92 -0
- oci/demand_signal/models/patch_require_instruction.py +99 -0
- oci/demand_signal/models/update_occ_demand_signal_details.py +185 -0
- oci/demand_signal/occ_demand_signal_client.py +953 -0
- oci/demand_signal/occ_demand_signal_client_composite_operations.py +176 -0
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai/models/__init__.py +4 -0
- oci/generative_ai/models/chat_model_metrics.py +113 -0
- oci/generative_ai/models/create_dedicated_ai_cluster_details.py +8 -0
- oci/generative_ai/models/dedicated_ai_cluster.py +17 -5
- oci/generative_ai/models/lora_training_config.py +186 -0
- oci/generative_ai/models/model_metrics.py +11 -3
- oci/generative_ai/models/t_few_training_config.py +1 -1
- oci/generative_ai/models/text_generation_model_metrics.py +1 -1
- oci/generative_ai/models/training_config.py +11 -3
- oci/generative_ai/models/vanilla_training_config.py +1 -1
- oci/generative_ai_inference/generative_ai_inference_client.py +13 -17
- oci/generative_ai_inference/models/__init__.py +23 -1
- oci/generative_ai_inference/models/assistant_message.py +89 -0
- oci/generative_ai_inference/models/base_chat_request.py +3 -3
- oci/generative_ai_inference/models/base_chat_response.py +3 -3
- oci/generative_ai_inference/models/chat_details.py +3 -3
- oci/generative_ai_inference/models/chat_result.py +2 -2
- oci/generative_ai_inference/models/choice.py +1 -1
- oci/generative_ai_inference/models/citation.py +9 -9
- oci/generative_ai_inference/models/cohere_chat_bot_message.py +113 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +353 -30
- oci/generative_ai_inference/models/cohere_chat_response.py +166 -16
- oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/cohere_message.py +49 -43
- oci/generative_ai_inference/models/cohere_parameter_definition.py +134 -0
- oci/generative_ai_inference/models/cohere_system_message.py +82 -0
- oci/generative_ai_inference/models/cohere_tool.py +134 -0
- oci/generative_ai_inference/models/cohere_tool_call.py +103 -0
- oci/generative_ai_inference/models/cohere_tool_message.py +82 -0
- oci/generative_ai_inference/models/cohere_tool_result.py +99 -0
- oci/generative_ai_inference/models/cohere_user_message.py +82 -0
- oci/generative_ai_inference/models/embed_text_details.py +4 -4
- oci/generative_ai_inference/models/generate_text_details.py +2 -2
- oci/generative_ai_inference/models/generic_chat_request.py +16 -10
- oci/generative_ai_inference/models/generic_chat_response.py +3 -3
- oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
- oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/llm_inference_response.py +3 -11
- oci/generative_ai_inference/models/logprobs.py +3 -1
- oci/generative_ai_inference/models/message.py +50 -5
- oci/generative_ai_inference/models/on_demand_serving_mode.py +2 -2
- oci/generative_ai_inference/models/serving_mode.py +3 -3
- oci/generative_ai_inference/models/summarize_text_details.py +2 -2
- oci/generative_ai_inference/models/system_message.py +89 -0
- oci/generative_ai_inference/models/text_content.py +1 -1
- oci/generative_ai_inference/models/user_message.py +89 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +2420 -1399
- oci/golden_gate/golden_gate_client_composite_operations.py +274 -0
- oci/golden_gate/models/__init__.py +20 -0
- oci/golden_gate/models/add_resource_lock_details.py +124 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +8 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -1
- oci/golden_gate/models/amazon_redshift_connection.py +8 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -1
- oci/golden_gate/models/amazon_s3_connection.py +8 -1
- oci/golden_gate/models/amazon_s3_connection_summary.py +8 -1
- oci/golden_gate/models/azure_data_lake_storage_connection.py +8 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -1
- oci/golden_gate/models/azure_synapse_connection.py +8 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +8 -1
- oci/golden_gate/models/certificate.py +2 -2
- oci/golden_gate/models/connection.py +42 -3
- oci/golden_gate/models/connection_summary.py +44 -5
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -1
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -1
- oci/golden_gate/models/create_certificate_details.py +2 -2
- oci/golden_gate/models/create_connection_details.py +42 -3
- oci/golden_gate/models/create_db2_connection_details.py +474 -0
- oci/golden_gate/models/create_deployment_backup_details.py +33 -2
- oci/golden_gate/models/create_deployment_details.py +37 -2
- oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -1
- oci/golden_gate/models/create_generic_connection_details.py +8 -1
- oci/golden_gate/models/create_golden_gate_connection_details.py +8 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +8 -1
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_hdfs_connection_details.py +8 -1
- oci/golden_gate/models/create_java_message_service_connection_details.py +8 -1
- oci/golden_gate/models/create_kafka_connection_details.py +8 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +8 -1
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +8 -1
- oci/golden_gate/models/create_mongo_db_connection_details.py +8 -1
- oci/golden_gate/models/create_mysql_connection_details.py +8 -1
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -1
- oci/golden_gate/models/create_ogg_deployment_details.py +4 -4
- oci/golden_gate/models/create_oracle_connection_details.py +41 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -1
- oci/golden_gate/models/create_postgresql_connection_details.py +47 -5
- oci/golden_gate/models/create_redis_connection_details.py +46 -4
- oci/golden_gate/models/create_snowflake_connection_details.py +8 -1
- oci/golden_gate/models/db2_connection.py +431 -0
- oci/golden_gate/models/db2_connection_summary.py +399 -0
- oci/golden_gate/models/deployment.py +37 -2
- oci/golden_gate/models/deployment_backup.py +112 -2
- oci/golden_gate/models/deployment_backup_summary.py +112 -2
- oci/golden_gate/models/deployment_summary.py +39 -4
- oci/golden_gate/models/deployment_type_summary.py +7 -3
- oci/golden_gate/models/elasticsearch_connection.py +8 -1
- oci/golden_gate/models/elasticsearch_connection_summary.py +8 -1
- oci/golden_gate/models/generate_library_url_details.py +101 -0
- oci/golden_gate/models/generate_log_reader_component_library_url_details.py +51 -0
- oci/golden_gate/models/generic_connection.py +8 -1
- oci/golden_gate/models/generic_connection_summary.py +8 -1
- oci/golden_gate/models/golden_gate_connection.py +8 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +8 -1
- oci/golden_gate/models/google_big_query_connection.py +8 -1
- oci/golden_gate/models/google_big_query_connection_summary.py +8 -1
- oci/golden_gate/models/google_cloud_storage_connection.py +8 -1
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -1
- oci/golden_gate/models/hdfs_connection.py +8 -1
- oci/golden_gate/models/hdfs_connection_summary.py +8 -1
- oci/golden_gate/models/java_message_service_connection.py +8 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +8 -1
- oci/golden_gate/models/kafka_connection.py +8 -1
- oci/golden_gate/models/kafka_connection_summary.py +8 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +8 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +8 -1
- oci/golden_gate/models/library_url.py +72 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +8 -1
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +8 -1
- oci/golden_gate/models/mongo_db_connection.py +8 -1
- oci/golden_gate/models/mongo_db_connection_summary.py +8 -1
- oci/golden_gate/models/mysql_connection.py +19 -4
- oci/golden_gate/models/mysql_connection_summary.py +8 -1
- oci/golden_gate/models/oci_object_storage_connection.py +8 -1
- oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -1
- oci/golden_gate/models/ogg_deployment.py +2 -2
- oci/golden_gate/models/oracle_connection.py +64 -4
- oci/golden_gate/models/oracle_connection_summary.py +41 -1
- oci/golden_gate/models/oracle_nosql_connection.py +8 -1
- oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -1
- oci/golden_gate/models/postgresql_connection.py +56 -6
- oci/golden_gate/models/postgresql_connection_summary.py +45 -3
- oci/golden_gate/models/redis_connection.py +52 -6
- oci/golden_gate/models/redis_connection_summary.py +45 -3
- oci/golden_gate/models/remove_resource_lock_details.py +91 -0
- oci/golden_gate/models/resource_lock.py +185 -0
- oci/golden_gate/models/snowflake_connection.py +8 -1
- oci/golden_gate/models/snowflake_connection_summary.py +8 -1
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/update_connection_details.py +11 -3
- oci/golden_gate/models/update_db2_connection_details.py +429 -0
- oci/golden_gate/models/update_deployment_details.py +43 -0
- oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +1 -1
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +1 -1
- oci/golden_gate/models/update_mongo_db_connection_details.py +1 -1
- oci/golden_gate/models/update_mysql_connection_details.py +1 -1
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_ogg_deployment_details.py +4 -4
- oci/golden_gate/models/update_oracle_connection_details.py +34 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/update_postgresql_connection_details.py +38 -3
- oci/golden_gate/models/update_redis_connection_details.py +38 -3
- oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
- oci/golden_gate/models/work_request.py +7 -3
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +52 -51
- oci/jms_java_downloads/models/create_java_download_report_details.py +80 -6
- oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +76 -2
- oci/jms_java_downloads/models/java_download_count_aggregation.py +2 -2
- oci/jms_java_downloads/models/java_download_record.py +2 -2
- oci/jms_java_downloads/models/java_download_record_summary.py +2 -2
- oci/jms_java_downloads/models/java_download_report.py +174 -2
- oci/jms_java_downloads/models/java_download_report_summary.py +174 -2
- oci/jms_java_downloads/models/java_download_token.py +24 -8
- oci/jms_java_downloads/models/java_download_token_summary.py +24 -8
- oci/jms_java_downloads/models/java_license_acceptance_record.py +4 -4
- oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +4 -4
- oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +2 -2
- oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +76 -2
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +26 -26
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/METADATA +1 -1
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/RECORD +494 -439
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/WHEEL +0 -0
- {oci-2.126.4.dist-info → oci-2.128.0.dist-info}/top_level.txt +0 -0
@@ -152,7 +152,7 @@ class CapacityManagementClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/create_occ_availability_catalog.py.html>`__ to see an example of how to use create_occ_availability_catalog API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = []
|
@@ -251,7 +251,7 @@ class CapacityManagementClient(object):
|
|
251
251
|
:rtype: :class:`~oci.response.Response`
|
252
252
|
|
253
253
|
:example:
|
254
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
254
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/create_occ_capacity_request.py.html>`__ to see an example of how to use create_occ_capacity_request API.
|
255
255
|
"""
|
256
256
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
257
257
|
required_arguments = []
|
@@ -350,7 +350,7 @@ class CapacityManagementClient(object):
|
|
350
350
|
:rtype: :class:`~oci.response.Response`
|
351
351
|
|
352
352
|
:example:
|
353
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
353
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/delete_occ_availability_catalog.py.html>`__ to see an example of how to use delete_occ_availability_catalog API.
|
354
354
|
"""
|
355
355
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
356
356
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -456,7 +456,7 @@ class CapacityManagementClient(object):
|
|
456
456
|
:rtype: :class:`~oci.response.Response`
|
457
457
|
|
458
458
|
:example:
|
459
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
459
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/delete_occ_capacity_request.py.html>`__ to see an example of how to use delete_occ_capacity_request API.
|
460
460
|
"""
|
461
461
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
462
462
|
required_arguments = ['occCapacityRequestId']
|
@@ -555,7 +555,7 @@ class CapacityManagementClient(object):
|
|
555
555
|
:rtype: :class:`~oci.response.Response`
|
556
556
|
|
557
557
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/get_occ_availability_catalog.py.html>`__ to see an example of how to use get_occ_availability_catalog API.
|
559
559
|
"""
|
560
560
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
561
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -668,7 +668,7 @@ class CapacityManagementClient(object):
|
|
668
668
|
:rtype: :class:`~oci.response.Response`
|
669
669
|
|
670
670
|
:example:
|
671
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
671
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/get_occ_availability_catalog_content.py.html>`__ to see an example of how to use get_occ_availability_catalog_content API.
|
672
672
|
"""
|
673
673
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
674
674
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -772,7 +772,7 @@ class CapacityManagementClient(object):
|
|
772
772
|
:rtype: :class:`~oci.response.Response`
|
773
773
|
|
774
774
|
:example:
|
775
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
775
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/get_occ_capacity_request.py.html>`__ to see an example of how to use get_occ_capacity_request API.
|
776
776
|
"""
|
777
777
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
778
778
|
required_arguments = ['occCapacityRequestId']
|
@@ -871,7 +871,7 @@ class CapacityManagementClient(object):
|
|
871
871
|
:rtype: :class:`~oci.response.Response`
|
872
872
|
|
873
873
|
:example:
|
874
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
874
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/get_occ_customer_group.py.html>`__ to see an example of how to use get_occ_customer_group API.
|
875
875
|
"""
|
876
876
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
877
877
|
required_arguments = ['occCustomerGroupId']
|
@@ -942,6 +942,175 @@ class CapacityManagementClient(object):
|
|
942
942
|
api_reference_link=api_reference_link,
|
943
943
|
required_arguments=required_arguments)
|
944
944
|
|
945
|
+
def list_internal_namespace_occ_overviews(self, namespace, compartment_id, **kwargs):
|
946
|
+
"""
|
947
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
948
|
+
|
949
|
+
|
950
|
+
:param str namespace: (required)
|
951
|
+
The namespace by which we would filter the list.
|
952
|
+
|
953
|
+
Allowed values are: "COMPUTE"
|
954
|
+
|
955
|
+
:param str compartment_id: (required)
|
956
|
+
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
|
957
|
+
|
958
|
+
:param str occ_customer_group_id: (optional)
|
959
|
+
The customer group ocid by which we would filter the list.
|
960
|
+
|
961
|
+
:param str workload_type: (optional)
|
962
|
+
Workload type using the resources in an availability catalog can be filtered.
|
963
|
+
|
964
|
+
:param datetime _from: (optional)
|
965
|
+
The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
|
966
|
+
|
967
|
+
:param datetime to: (optional)
|
968
|
+
The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
|
969
|
+
|
970
|
+
:param int limit: (optional)
|
971
|
+
The maximum number of items to return.
|
972
|
+
|
973
|
+
:param str page: (optional)
|
974
|
+
A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
|
975
|
+
|
976
|
+
:param str opc_request_id: (optional)
|
977
|
+
The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
|
978
|
+
underscore, and dash.
|
979
|
+
|
980
|
+
:param str sort_order: (optional)
|
981
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
982
|
+
|
983
|
+
Allowed values are: "ASC", "DESC"
|
984
|
+
|
985
|
+
:param str sort_by: (optional)
|
986
|
+
The field to sort by. Only one sort order may be provided. The default order for periodValue is chronological order(latest month item at the end).
|
987
|
+
|
988
|
+
Allowed values are: "periodValue"
|
989
|
+
|
990
|
+
:param obj retry_strategy: (optional)
|
991
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
992
|
+
|
993
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
994
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
995
|
+
|
996
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
997
|
+
|
998
|
+
:param bool allow_control_chars: (optional)
|
999
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1000
|
+
By default, the response will not allow control characters in strings
|
1001
|
+
|
1002
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.OccOverviewCollection`
|
1003
|
+
:rtype: :class:`~oci.response.Response`
|
1004
|
+
|
1005
|
+
:example:
|
1006
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_internal_namespace_occ_overviews.py.html>`__ to see an example of how to use list_internal_namespace_occ_overviews API.
|
1007
|
+
"""
|
1008
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1009
|
+
required_arguments = ['namespace', 'compartmentId']
|
1010
|
+
resource_path = "/internal/namespace/{namespace}/occOverview"
|
1011
|
+
method = "GET"
|
1012
|
+
operation_name = "list_internal_namespace_occ_overviews"
|
1013
|
+
api_reference_link = ""
|
1014
|
+
|
1015
|
+
# Don't accept unknown kwargs
|
1016
|
+
expected_kwargs = [
|
1017
|
+
"allow_control_chars",
|
1018
|
+
"retry_strategy",
|
1019
|
+
"occ_customer_group_id",
|
1020
|
+
"workload_type",
|
1021
|
+
"_from",
|
1022
|
+
"to",
|
1023
|
+
"limit",
|
1024
|
+
"page",
|
1025
|
+
"opc_request_id",
|
1026
|
+
"sort_order",
|
1027
|
+
"sort_by"
|
1028
|
+
]
|
1029
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1030
|
+
if extra_kwargs:
|
1031
|
+
raise ValueError(
|
1032
|
+
f"list_internal_namespace_occ_overviews got unknown kwargs: {extra_kwargs!r}")
|
1033
|
+
|
1034
|
+
path_params = {
|
1035
|
+
"namespace": namespace
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1039
|
+
|
1040
|
+
for (k, v) in six.iteritems(path_params):
|
1041
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1042
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1043
|
+
|
1044
|
+
if 'sort_order' in kwargs:
|
1045
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1046
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1047
|
+
raise ValueError(
|
1048
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1049
|
+
)
|
1050
|
+
|
1051
|
+
if 'sort_by' in kwargs:
|
1052
|
+
sort_by_allowed_values = ["periodValue"]
|
1053
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1054
|
+
raise ValueError(
|
1055
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1056
|
+
)
|
1057
|
+
|
1058
|
+
query_params = {
|
1059
|
+
"compartmentId": compartment_id,
|
1060
|
+
"occCustomerGroupId": kwargs.get("occ_customer_group_id", missing),
|
1061
|
+
"workloadType": kwargs.get("workload_type", missing),
|
1062
|
+
"from": kwargs.get("_from", missing),
|
1063
|
+
"to": kwargs.get("to", missing),
|
1064
|
+
"limit": kwargs.get("limit", missing),
|
1065
|
+
"page": kwargs.get("page", missing),
|
1066
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1067
|
+
"sortBy": kwargs.get("sort_by", missing)
|
1068
|
+
}
|
1069
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1070
|
+
|
1071
|
+
header_params = {
|
1072
|
+
"accept": "application/json",
|
1073
|
+
"content-type": "application/json",
|
1074
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1075
|
+
}
|
1076
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1077
|
+
|
1078
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1079
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1080
|
+
client_retry_strategy=self.retry_strategy
|
1081
|
+
)
|
1082
|
+
if retry_strategy is None:
|
1083
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1084
|
+
|
1085
|
+
if retry_strategy:
|
1086
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1087
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1088
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1089
|
+
return retry_strategy.make_retrying_call(
|
1090
|
+
self.base_client.call_api,
|
1091
|
+
resource_path=resource_path,
|
1092
|
+
method=method,
|
1093
|
+
path_params=path_params,
|
1094
|
+
query_params=query_params,
|
1095
|
+
header_params=header_params,
|
1096
|
+
response_type="OccOverviewCollection",
|
1097
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1098
|
+
operation_name=operation_name,
|
1099
|
+
api_reference_link=api_reference_link,
|
1100
|
+
required_arguments=required_arguments)
|
1101
|
+
else:
|
1102
|
+
return self.base_client.call_api(
|
1103
|
+
resource_path=resource_path,
|
1104
|
+
method=method,
|
1105
|
+
path_params=path_params,
|
1106
|
+
query_params=query_params,
|
1107
|
+
header_params=header_params,
|
1108
|
+
response_type="OccOverviewCollection",
|
1109
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1110
|
+
operation_name=operation_name,
|
1111
|
+
api_reference_link=api_reference_link,
|
1112
|
+
required_arguments=required_arguments)
|
1113
|
+
|
945
1114
|
def list_occ_availabilities(self, occ_availability_catalog_id, **kwargs):
|
946
1115
|
"""
|
947
1116
|
Lists availabilities for a particular availability catalog.
|
@@ -959,13 +1128,9 @@ class CapacityManagementClient(object):
|
|
959
1128
|
:param str resource_type: (optional)
|
960
1129
|
Resource type using which the capacity constraints of an availability catalog can be filtered.
|
961
1130
|
|
962
|
-
Allowed values are: "SERVER_HW", "CAPACITY_CONSTRAINT"
|
963
|
-
|
964
1131
|
:param str workload_type: (optional)
|
965
1132
|
Workload type using the resources in an availability catalog can be filtered.
|
966
1133
|
|
967
|
-
Allowed values are: "GENERIC", "ROW", "US_PROD"
|
968
|
-
|
969
1134
|
:param int limit: (optional)
|
970
1135
|
The maximum number of items to return.
|
971
1136
|
|
@@ -1002,7 +1167,7 @@ class CapacityManagementClient(object):
|
|
1002
1167
|
:rtype: :class:`~oci.response.Response`
|
1003
1168
|
|
1004
1169
|
:example:
|
1005
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_availabilities.py.html>`__ to see an example of how to use list_occ_availabilities API.
|
1006
1171
|
"""
|
1007
1172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1008
1173
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -1040,20 +1205,6 @@ class CapacityManagementClient(object):
|
|
1040
1205
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1041
1206
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1042
1207
|
|
1043
|
-
if 'resource_type' in kwargs:
|
1044
|
-
resource_type_allowed_values = ["SERVER_HW", "CAPACITY_CONSTRAINT"]
|
1045
|
-
if kwargs['resource_type'] not in resource_type_allowed_values:
|
1046
|
-
raise ValueError(
|
1047
|
-
f"Invalid value for `resource_type`, must be one of { resource_type_allowed_values }"
|
1048
|
-
)
|
1049
|
-
|
1050
|
-
if 'workload_type' in kwargs:
|
1051
|
-
workload_type_allowed_values = ["GENERIC", "ROW", "US_PROD"]
|
1052
|
-
if kwargs['workload_type'] not in workload_type_allowed_values:
|
1053
|
-
raise ValueError(
|
1054
|
-
f"Invalid value for `workload_type`, must be one of { workload_type_allowed_values }"
|
1055
|
-
)
|
1056
|
-
|
1057
1208
|
if 'sort_order' in kwargs:
|
1058
1209
|
sort_order_allowed_values = ["ASC", "DESC"]
|
1059
1210
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -1183,7 +1334,7 @@ class CapacityManagementClient(object):
|
|
1183
1334
|
:rtype: :class:`~oci.response.Response`
|
1184
1335
|
|
1185
1336
|
:example:
|
1186
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1337
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_availability_catalogs.py.html>`__ to see an example of how to use list_occ_availability_catalogs API.
|
1187
1338
|
"""
|
1188
1339
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1189
1340
|
required_arguments = ['compartmentId']
|
@@ -1356,7 +1507,7 @@ class CapacityManagementClient(object):
|
|
1356
1507
|
:rtype: :class:`~oci.response.Response`
|
1357
1508
|
|
1358
1509
|
:example:
|
1359
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1510
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_availability_catalogs_internal.py.html>`__ to see an example of how to use list_occ_availability_catalogs_internal API.
|
1360
1511
|
"""
|
1361
1512
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1362
1513
|
required_arguments = ['compartmentId']
|
@@ -1484,6 +1635,11 @@ class CapacityManagementClient(object):
|
|
1484
1635
|
|
1485
1636
|
Allowed values are: "COMPUTE"
|
1486
1637
|
|
1638
|
+
:param str request_type: (optional)
|
1639
|
+
A filter to return only the resources that match the request type. The match is not case sensitive.
|
1640
|
+
|
1641
|
+
Allowed values are: "NEW", "TRANSFER"
|
1642
|
+
|
1487
1643
|
:param str display_name: (optional)
|
1488
1644
|
A filter to return only the resources that match the entire display name. The match is not case sensitive.
|
1489
1645
|
|
@@ -1526,7 +1682,7 @@ class CapacityManagementClient(object):
|
|
1526
1682
|
:rtype: :class:`~oci.response.Response`
|
1527
1683
|
|
1528
1684
|
:example:
|
1529
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1685
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_capacity_requests.py.html>`__ to see an example of how to use list_occ_capacity_requests API.
|
1530
1686
|
"""
|
1531
1687
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1532
1688
|
required_arguments = ['compartmentId']
|
@@ -1541,6 +1697,7 @@ class CapacityManagementClient(object):
|
|
1541
1697
|
"retry_strategy",
|
1542
1698
|
"occ_availability_catalog_id",
|
1543
1699
|
"namespace",
|
1700
|
+
"request_type",
|
1544
1701
|
"display_name",
|
1545
1702
|
"id",
|
1546
1703
|
"limit",
|
@@ -1561,6 +1718,13 @@ class CapacityManagementClient(object):
|
|
1561
1718
|
f"Invalid value for `namespace`, must be one of { namespace_allowed_values }"
|
1562
1719
|
)
|
1563
1720
|
|
1721
|
+
if 'request_type' in kwargs:
|
1722
|
+
request_type_allowed_values = ["NEW", "TRANSFER"]
|
1723
|
+
if kwargs['request_type'] not in request_type_allowed_values:
|
1724
|
+
raise ValueError(
|
1725
|
+
f"Invalid value for `request_type`, must be one of { request_type_allowed_values }"
|
1726
|
+
)
|
1727
|
+
|
1564
1728
|
if 'sort_order' in kwargs:
|
1565
1729
|
sort_order_allowed_values = ["ASC", "DESC"]
|
1566
1730
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -1579,6 +1743,7 @@ class CapacityManagementClient(object):
|
|
1579
1743
|
"compartmentId": compartment_id,
|
1580
1744
|
"occAvailabilityCatalogId": kwargs.get("occ_availability_catalog_id", missing),
|
1581
1745
|
"namespace": kwargs.get("namespace", missing),
|
1746
|
+
"requestType": kwargs.get("request_type", missing),
|
1582
1747
|
"displayName": kwargs.get("display_name", missing),
|
1583
1748
|
"id": kwargs.get("id", missing),
|
1584
1749
|
"limit": kwargs.get("limit", missing),
|
@@ -1651,6 +1816,11 @@ class CapacityManagementClient(object):
|
|
1651
1816
|
:param str display_name: (optional)
|
1652
1817
|
A filter to return only the resources that match the entire display name. The match is not case sensitive.
|
1653
1818
|
|
1819
|
+
:param str request_type: (optional)
|
1820
|
+
A filter to return only the resources that match the request type. The match is not case sensitive.
|
1821
|
+
|
1822
|
+
Allowed values are: "NEW", "TRANSFER"
|
1823
|
+
|
1654
1824
|
:param str id: (optional)
|
1655
1825
|
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
|
1656
1826
|
|
@@ -1690,7 +1860,7 @@ class CapacityManagementClient(object):
|
|
1690
1860
|
:rtype: :class:`~oci.response.Response`
|
1691
1861
|
|
1692
1862
|
:example:
|
1693
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1863
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_capacity_requests_internal.py.html>`__ to see an example of how to use list_occ_capacity_requests_internal API.
|
1694
1864
|
"""
|
1695
1865
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1696
1866
|
required_arguments = ['compartmentId']
|
@@ -1707,6 +1877,7 @@ class CapacityManagementClient(object):
|
|
1707
1877
|
"occ_availability_catalog_id",
|
1708
1878
|
"namespace",
|
1709
1879
|
"display_name",
|
1880
|
+
"request_type",
|
1710
1881
|
"id",
|
1711
1882
|
"limit",
|
1712
1883
|
"page",
|
@@ -1726,6 +1897,13 @@ class CapacityManagementClient(object):
|
|
1726
1897
|
f"Invalid value for `namespace`, must be one of { namespace_allowed_values }"
|
1727
1898
|
)
|
1728
1899
|
|
1900
|
+
if 'request_type' in kwargs:
|
1901
|
+
request_type_allowed_values = ["NEW", "TRANSFER"]
|
1902
|
+
if kwargs['request_type'] not in request_type_allowed_values:
|
1903
|
+
raise ValueError(
|
1904
|
+
f"Invalid value for `request_type`, must be one of { request_type_allowed_values }"
|
1905
|
+
)
|
1906
|
+
|
1729
1907
|
if 'sort_order' in kwargs:
|
1730
1908
|
sort_order_allowed_values = ["ASC", "DESC"]
|
1731
1909
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -1746,6 +1924,7 @@ class CapacityManagementClient(object):
|
|
1746
1924
|
"occAvailabilityCatalogId": kwargs.get("occ_availability_catalog_id", missing),
|
1747
1925
|
"namespace": kwargs.get("namespace", missing),
|
1748
1926
|
"displayName": kwargs.get("display_name", missing),
|
1927
|
+
"requestType": kwargs.get("request_type", missing),
|
1749
1928
|
"id": kwargs.get("id", missing),
|
1750
1929
|
"limit": kwargs.get("limit", missing),
|
1751
1930
|
"page": kwargs.get("page", missing),
|
@@ -1850,7 +2029,7 @@ class CapacityManagementClient(object):
|
|
1850
2029
|
:rtype: :class:`~oci.response.Response`
|
1851
2030
|
|
1852
2031
|
:example:
|
1853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2032
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_customer_groups.py.html>`__ to see an example of how to use list_occ_customer_groups API.
|
1854
2033
|
"""
|
1855
2034
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1856
2035
|
required_arguments = ['compartmentId']
|
@@ -1951,13 +2130,290 @@ class CapacityManagementClient(object):
|
|
1951
2130
|
api_reference_link=api_reference_link,
|
1952
2131
|
required_arguments=required_arguments)
|
1953
2132
|
|
2133
|
+
def list_occ_overviews(self, namespace, compartment_id, **kwargs):
|
2134
|
+
"""
|
2135
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
2136
|
+
|
2137
|
+
|
2138
|
+
:param str namespace: (required)
|
2139
|
+
The namespace by which we would filter the list.
|
2140
|
+
|
2141
|
+
Allowed values are: "COMPUTE"
|
2142
|
+
|
2143
|
+
:param str compartment_id: (required)
|
2144
|
+
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
|
2145
|
+
|
2146
|
+
:param datetime _from: (optional)
|
2147
|
+
The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
|
2148
|
+
|
2149
|
+
:param datetime to: (optional)
|
2150
|
+
The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
|
2151
|
+
|
2152
|
+
:param str workload_type: (optional)
|
2153
|
+
Workload type using the resources in an availability catalog can be filtered.
|
2154
|
+
|
2155
|
+
:param int limit: (optional)
|
2156
|
+
The maximum number of items to return.
|
2157
|
+
|
2158
|
+
:param str page: (optional)
|
2159
|
+
A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
|
2160
|
+
|
2161
|
+
:param str opc_request_id: (optional)
|
2162
|
+
The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
|
2163
|
+
underscore, and dash.
|
2164
|
+
|
2165
|
+
:param str sort_order: (optional)
|
2166
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
2167
|
+
|
2168
|
+
Allowed values are: "ASC", "DESC"
|
2169
|
+
|
2170
|
+
:param str sort_by: (optional)
|
2171
|
+
The field to sort by. Only one sort order may be provided. The default order for periodValue is chronological order(latest month item at the end).
|
2172
|
+
|
2173
|
+
Allowed values are: "periodValue"
|
2174
|
+
|
2175
|
+
:param obj retry_strategy: (optional)
|
2176
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2177
|
+
|
2178
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2179
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2180
|
+
|
2181
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2182
|
+
|
2183
|
+
:param bool allow_control_chars: (optional)
|
2184
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2185
|
+
By default, the response will not allow control characters in strings
|
2186
|
+
|
2187
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.OccOverviewCollection`
|
2188
|
+
:rtype: :class:`~oci.response.Response`
|
2189
|
+
|
2190
|
+
:example:
|
2191
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/list_occ_overviews.py.html>`__ to see an example of how to use list_occ_overviews API.
|
2192
|
+
"""
|
2193
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2194
|
+
required_arguments = ['namespace', 'compartmentId']
|
2195
|
+
resource_path = "/namespace/{namespace}/occOverview"
|
2196
|
+
method = "GET"
|
2197
|
+
operation_name = "list_occ_overviews"
|
2198
|
+
api_reference_link = ""
|
2199
|
+
|
2200
|
+
# Don't accept unknown kwargs
|
2201
|
+
expected_kwargs = [
|
2202
|
+
"allow_control_chars",
|
2203
|
+
"retry_strategy",
|
2204
|
+
"_from",
|
2205
|
+
"to",
|
2206
|
+
"workload_type",
|
2207
|
+
"limit",
|
2208
|
+
"page",
|
2209
|
+
"opc_request_id",
|
2210
|
+
"sort_order",
|
2211
|
+
"sort_by"
|
2212
|
+
]
|
2213
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2214
|
+
if extra_kwargs:
|
2215
|
+
raise ValueError(
|
2216
|
+
f"list_occ_overviews got unknown kwargs: {extra_kwargs!r}")
|
2217
|
+
|
2218
|
+
path_params = {
|
2219
|
+
"namespace": namespace
|
2220
|
+
}
|
2221
|
+
|
2222
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2223
|
+
|
2224
|
+
for (k, v) in six.iteritems(path_params):
|
2225
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2226
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2227
|
+
|
2228
|
+
if 'sort_order' in kwargs:
|
2229
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
2230
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2231
|
+
raise ValueError(
|
2232
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
2233
|
+
)
|
2234
|
+
|
2235
|
+
if 'sort_by' in kwargs:
|
2236
|
+
sort_by_allowed_values = ["periodValue"]
|
2237
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2238
|
+
raise ValueError(
|
2239
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2240
|
+
)
|
2241
|
+
|
2242
|
+
query_params = {
|
2243
|
+
"compartmentId": compartment_id,
|
2244
|
+
"from": kwargs.get("_from", missing),
|
2245
|
+
"to": kwargs.get("to", missing),
|
2246
|
+
"workloadType": kwargs.get("workload_type", missing),
|
2247
|
+
"limit": kwargs.get("limit", missing),
|
2248
|
+
"page": kwargs.get("page", missing),
|
2249
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
2250
|
+
"sortBy": kwargs.get("sort_by", missing)
|
2251
|
+
}
|
2252
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2253
|
+
|
2254
|
+
header_params = {
|
2255
|
+
"accept": "application/json",
|
2256
|
+
"content-type": "application/json",
|
2257
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2258
|
+
}
|
2259
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2260
|
+
|
2261
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2262
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2263
|
+
client_retry_strategy=self.retry_strategy
|
2264
|
+
)
|
2265
|
+
if retry_strategy is None:
|
2266
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2267
|
+
|
2268
|
+
if retry_strategy:
|
2269
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2270
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2271
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2272
|
+
return retry_strategy.make_retrying_call(
|
2273
|
+
self.base_client.call_api,
|
2274
|
+
resource_path=resource_path,
|
2275
|
+
method=method,
|
2276
|
+
path_params=path_params,
|
2277
|
+
query_params=query_params,
|
2278
|
+
header_params=header_params,
|
2279
|
+
response_type="OccOverviewCollection",
|
2280
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2281
|
+
operation_name=operation_name,
|
2282
|
+
api_reference_link=api_reference_link,
|
2283
|
+
required_arguments=required_arguments)
|
2284
|
+
else:
|
2285
|
+
return self.base_client.call_api(
|
2286
|
+
resource_path=resource_path,
|
2287
|
+
method=method,
|
2288
|
+
path_params=path_params,
|
2289
|
+
query_params=query_params,
|
2290
|
+
header_params=header_params,
|
2291
|
+
response_type="OccOverviewCollection",
|
2292
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2293
|
+
operation_name=operation_name,
|
2294
|
+
api_reference_link=api_reference_link,
|
2295
|
+
required_arguments=required_arguments)
|
2296
|
+
|
2297
|
+
def patch_internal_occ_capacity_request(self, patch_occ_capacity_request_details, occ_capacity_request_id, **kwargs):
|
2298
|
+
"""
|
2299
|
+
Updates the OccCapacityRequest by evaluating a sequence of instructions.
|
2300
|
+
|
2301
|
+
|
2302
|
+
:param oci.capacity_management.models.PatchOccCapacityRequestDetails patch_occ_capacity_request_details: (required)
|
2303
|
+
Request to update the details of the capacity request.
|
2304
|
+
|
2305
|
+
:param str occ_capacity_request_id: (required)
|
2306
|
+
The OCID of the capacity request.
|
2307
|
+
|
2308
|
+
:param str if_match: (optional)
|
2309
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2310
|
+
for a resource, set the `if-match` parameter to the value of the
|
2311
|
+
etag from a previous GET or POST response for that resource.
|
2312
|
+
The resource will be updated or deleted only if the etag you
|
2313
|
+
provide matches the resource's current etag value.
|
2314
|
+
|
2315
|
+
:param str opc_request_id: (optional)
|
2316
|
+
The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
|
2317
|
+
underscore, and dash.
|
2318
|
+
|
2319
|
+
:param obj retry_strategy: (optional)
|
2320
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2321
|
+
|
2322
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2323
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2324
|
+
|
2325
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2326
|
+
|
2327
|
+
:param bool allow_control_chars: (optional)
|
2328
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2329
|
+
By default, the response will not allow control characters in strings
|
2330
|
+
|
2331
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.OccCapacityRequest`
|
2332
|
+
:rtype: :class:`~oci.response.Response`
|
2333
|
+
|
2334
|
+
:example:
|
2335
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/patch_internal_occ_capacity_request.py.html>`__ to see an example of how to use patch_internal_occ_capacity_request API.
|
2336
|
+
"""
|
2337
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2338
|
+
required_arguments = ['occCapacityRequestId']
|
2339
|
+
resource_path = "/internal/occCapacityRequests/{occCapacityRequestId}"
|
2340
|
+
method = "PATCH"
|
2341
|
+
operation_name = "patch_internal_occ_capacity_request"
|
2342
|
+
api_reference_link = ""
|
2343
|
+
|
2344
|
+
# Don't accept unknown kwargs
|
2345
|
+
expected_kwargs = [
|
2346
|
+
"allow_control_chars",
|
2347
|
+
"retry_strategy",
|
2348
|
+
"if_match",
|
2349
|
+
"opc_request_id"
|
2350
|
+
]
|
2351
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2352
|
+
if extra_kwargs:
|
2353
|
+
raise ValueError(
|
2354
|
+
f"patch_internal_occ_capacity_request got unknown kwargs: {extra_kwargs!r}")
|
2355
|
+
|
2356
|
+
path_params = {
|
2357
|
+
"occCapacityRequestId": occ_capacity_request_id
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2361
|
+
|
2362
|
+
for (k, v) in six.iteritems(path_params):
|
2363
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2364
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2365
|
+
|
2366
|
+
header_params = {
|
2367
|
+
"accept": "application/json",
|
2368
|
+
"content-type": "application/json",
|
2369
|
+
"if-match": kwargs.get("if_match", missing),
|
2370
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2371
|
+
}
|
2372
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2373
|
+
|
2374
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2375
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2376
|
+
client_retry_strategy=self.retry_strategy
|
2377
|
+
)
|
2378
|
+
if retry_strategy is None:
|
2379
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2380
|
+
|
2381
|
+
if retry_strategy:
|
2382
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2383
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2384
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2385
|
+
return retry_strategy.make_retrying_call(
|
2386
|
+
self.base_client.call_api,
|
2387
|
+
resource_path=resource_path,
|
2388
|
+
method=method,
|
2389
|
+
path_params=path_params,
|
2390
|
+
header_params=header_params,
|
2391
|
+
body=patch_occ_capacity_request_details,
|
2392
|
+
response_type="OccCapacityRequest",
|
2393
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2394
|
+
operation_name=operation_name,
|
2395
|
+
api_reference_link=api_reference_link,
|
2396
|
+
required_arguments=required_arguments)
|
2397
|
+
else:
|
2398
|
+
return self.base_client.call_api(
|
2399
|
+
resource_path=resource_path,
|
2400
|
+
method=method,
|
2401
|
+
path_params=path_params,
|
2402
|
+
header_params=header_params,
|
2403
|
+
body=patch_occ_capacity_request_details,
|
2404
|
+
response_type="OccCapacityRequest",
|
2405
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2406
|
+
operation_name=operation_name,
|
2407
|
+
api_reference_link=api_reference_link,
|
2408
|
+
required_arguments=required_arguments)
|
2409
|
+
|
1954
2410
|
def patch_occ_capacity_request(self, patch_occ_capacity_request_details, occ_capacity_request_id, **kwargs):
|
1955
2411
|
"""
|
1956
2412
|
Updates the OccCapacityRequest by evaluating a sequence of instructions.
|
1957
2413
|
|
1958
2414
|
|
1959
2415
|
:param oci.capacity_management.models.PatchOccCapacityRequestDetails patch_occ_capacity_request_details: (required)
|
1960
|
-
Request to update the
|
2416
|
+
Request to update the details of the capacity request.
|
1961
2417
|
|
1962
2418
|
:param str occ_capacity_request_id: (required)
|
1963
2419
|
The OCID of the capacity request.
|
@@ -1989,7 +2445,7 @@ class CapacityManagementClient(object):
|
|
1989
2445
|
:rtype: :class:`~oci.response.Response`
|
1990
2446
|
|
1991
2447
|
:example:
|
1992
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/patch_occ_capacity_request.py.html>`__ to see an example of how to use patch_occ_capacity_request API.
|
1993
2449
|
"""
|
1994
2450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1995
2451
|
required_arguments = ['occCapacityRequestId']
|
@@ -2106,7 +2562,7 @@ class CapacityManagementClient(object):
|
|
2106
2562
|
:rtype: :class:`~oci.response.Response`
|
2107
2563
|
|
2108
2564
|
:example:
|
2109
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2565
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/publish_occ_availability_catalog.py.html>`__ to see an example of how to use publish_occ_availability_catalog API.
|
2110
2566
|
"""
|
2111
2567
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2112
2568
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -2218,7 +2674,7 @@ class CapacityManagementClient(object):
|
|
2218
2674
|
:rtype: :class:`~oci.response.Response`
|
2219
2675
|
|
2220
2676
|
:example:
|
2221
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2677
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/update_internal_occ_capacity_request.py.html>`__ to see an example of how to use update_internal_occ_capacity_request API.
|
2222
2678
|
"""
|
2223
2679
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2224
2680
|
required_arguments = ['occCapacityRequestId']
|
@@ -2331,7 +2787,7 @@ class CapacityManagementClient(object):
|
|
2331
2787
|
:rtype: :class:`~oci.response.Response`
|
2332
2788
|
|
2333
2789
|
:example:
|
2334
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2790
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/update_occ_availability_catalog.py.html>`__ to see an example of how to use update_occ_availability_catalog API.
|
2335
2791
|
"""
|
2336
2792
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2337
2793
|
required_arguments = ['occAvailabilityCatalogId']
|
@@ -2444,7 +2900,7 @@ class CapacityManagementClient(object):
|
|
2444
2900
|
:rtype: :class:`~oci.response.Response`
|
2445
2901
|
|
2446
2902
|
:example:
|
2447
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2903
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.0/capacitymanagement/update_occ_capacity_request.py.html>`__ to see an example of how to use update_occ_capacity_request API.
|
2448
2904
|
"""
|
2449
2905
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2450
2906
|
required_arguments = ['occCapacityRequestId']
|