oci 2.139.0__py3-none-any.whl → 2.141.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/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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_language/models/__init__.py +6 -0
- oci/ai_language/models/batch_detect_dominant_language_details.py +31 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +31 -0
- oci/ai_language/models/batch_detect_language_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
- oci/ai_language/models/batch_detect_language_text_classification_details.py +31 -0
- oci/ai_language/models/batch_language_translation_details.py +93 -0
- oci/ai_language/models/create_endpoint_details.py +78 -0
- oci/ai_language/models/endpoint.py +78 -0
- oci/ai_language/models/endpoint_summary.py +78 -0
- oci/ai_language/models/health_nlu_model_details.py +91 -0
- oci/ai_language/models/hierarchical_entity.py +27 -0
- oci/ai_language/models/meta_info.py +196 -0
- oci/ai_language/models/model_details.py +35 -23
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity_mask.py +14 -0
- oci/ai_language/models/pii_entity_masking.py +64 -2
- oci/ai_language/models/pii_entity_remove.py +16 -2
- oci/ai_language/models/pii_entity_replace.py +14 -0
- oci/ai_language/models/pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_translation_model_details.py +91 -0
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_language/models/update_endpoint_details.py +31 -0
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +320 -25
- oci/ai_vision/ai_service_vision_client_composite_operations.py +42 -0
- oci/ai_vision/models/__init__.py +54 -0
- oci/ai_vision/models/analyze_video_result.py +440 -0
- oci/ai_vision/models/create_video_job_details.py +254 -0
- oci/ai_vision/models/object_property.py +130 -0
- oci/ai_vision/models/video_face.py +72 -0
- oci/ai_vision/models/video_face_detection_feature.py +146 -0
- oci/ai_vision/models/video_face_frame.py +192 -0
- oci/ai_vision/models/video_face_segment.py +130 -0
- oci/ai_vision/models/video_feature.py +145 -0
- oci/ai_vision/models/video_job.py +552 -0
- oci/ai_vision/models/video_label.py +103 -0
- oci/ai_vision/models/video_label_detection_feature.py +146 -0
- oci/ai_vision/models/video_label_segment.py +99 -0
- oci/ai_vision/models/video_metadata.py +165 -0
- oci/ai_vision/models/video_object.py +103 -0
- oci/ai_vision/models/video_object_detection_feature.py +146 -0
- oci/ai_vision/models/video_object_frame.py +130 -0
- oci/ai_vision/models/video_object_segment.py +130 -0
- oci/ai_vision/models/video_object_tracking_feature.py +146 -0
- oci/ai_vision/models/video_segment.py +103 -0
- oci/ai_vision/models/video_text.py +103 -0
- oci/ai_vision/models/video_text_detection_feature.py +84 -0
- oci/ai_vision/models/video_text_frame.py +130 -0
- oci/ai_vision/models/video_text_segment.py +130 -0
- oci/ai_vision/models/video_tracked_object.py +161 -0
- oci/ai_vision/models/video_tracked_object_properties.py +72 -0
- oci/ai_vision/models/video_tracked_object_segment.py +130 -0
- oci/ai_vision/models/video_tracking_frame.py +161 -0
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- 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/auth/certificate_retriever.py +2 -5
- oci/auth/signers/instance_principals_security_token_signer.py +32 -29
- oci/auth/signers/oke_workload_identity_resource_principal_signer.py +12 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +2516 -1014
- oci/bds/bds_client_composite_operations.py +407 -0
- oci/bds/models/__init__.py +34 -0
- oci/bds/models/activate_iam_user_sync_configuration_details.py +103 -0
- oci/bds/models/activate_upst_configuration_details.py +134 -0
- oci/bds/models/batching_based_odh_patching_config.py +33 -2
- oci/bds/models/bds_api_key.py +33 -2
- oci/bds/models/bds_cluster_version_summary.py +103 -0
- oci/bds/models/bds_instance.py +29 -2
- oci/bds/models/create_bds_api_key_details.py +33 -2
- oci/bds/models/create_bds_instance_details.py +29 -2
- oci/bds/models/create_identity_configuration_details.py +219 -0
- oci/bds/models/deactivate_iam_user_sync_configuration_details.py +72 -0
- oci/bds/models/deactivate_upst_configuration_details.py +72 -0
- oci/bds/models/domain_based_odh_patching_config.py +33 -2
- oci/bds/models/iam_user_sync_configuration.py +197 -0
- oci/bds/models/iam_user_sync_configuration_details.py +72 -0
- oci/bds/models/identity_configuration.py +328 -0
- oci/bds/models/identity_configuration_summary.py +134 -0
- oci/bds/models/node_type_shape_config.py +105 -0
- oci/bds/models/refresh_confidential_application_details.py +72 -0
- oci/bds/models/refresh_upst_token_exchange_keytab_details.py +72 -0
- oci/bds/models/start_bds_instance_details.py +29 -2
- oci/bds/models/start_cluster_shape_configs.py +72 -0
- oci/bds/models/update_bds_instance_details.py +29 -2
- oci/bds/models/update_identity_configuration_details.py +126 -0
- oci/bds/models/upst_configuration.py +352 -0
- oci/bds/models/upst_configuration_details.py +103 -0
- oci/bds/models/work_request.py +39 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/blockchain/models/blockchain_platform.py +17 -5
- oci/blockchain/models/work_request.py +7 -3
- oci/blockchain/models/work_request_summary.py +7 -3
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/models/__init__.py +6 -0
- oci/cloud_bridge/models/asset_source_credentials.py +2 -2
- oci/cloud_bridge/models/aws_ebs_asset_details.py +68 -0
- oci/cloud_bridge/models/aws_ec2_asset_details.py +176 -0
- oci/cloud_bridge/models/disk.py +33 -2
- oci/cloud_bridge/models/monthly_cost_summary.py +2 -2
- oci/cloud_bridge/models/update_plugin_details.py +72 -0
- oci/cloud_bridge/models/work_request.py +7 -3
- oci/cloud_bridge/models/work_request_summary.py +7 -3
- oci/cloud_bridge/ocb_agent_svc_client.py +136 -22
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +45 -0
- 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 +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/instance.py +33 -2
- oci/core/models/instance_configuration_launch_instance_details.py +33 -2
- oci/core/models/launch_instance_details.py +33 -2
- oci/core/models/launch_instance_licensing_config.py +152 -0
- oci/core/models/launch_instance_windows_licensing_config.py +59 -0
- oci/core/models/licensing_config.py +166 -0
- oci/core/models/update_instance_details.py +33 -2
- oci/core/models/update_instance_licensing_config.py +152 -0
- oci/core/models/update_instance_windows_licensing_config.py +59 -0
- 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 +146 -44
- oci/data_flow/data_flow_client_composite_operations.py +39 -0
- oci/data_flow/models/application.py +7 -3
- oci/data_flow/models/application_summary.py +7 -3
- 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 +292 -292
- oci/data_science/data_science_client.py +94 -94
- oci/data_science/models/create_data_science_private_endpoint_details.py +7 -3
- oci/data_science/models/create_job_run_details.py +4 -4
- oci/data_science/models/data_science_private_endpoint.py +7 -3
- oci/data_science/models/data_science_private_endpoint_summary.py +7 -3
- oci/data_science/models/instance_configuration.py +33 -2
- oci/data_science/models/job_run.py +6 -6
- oci/data_science/models/job_run_summary.py +9 -9
- oci/data_science/models/job_summary.py +1 -1
- oci/data_science/models/metadata.py +4 -4
- oci/database/database_client.py +411 -399
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_database.py +31 -0
- oci/database/models/autonomous_database_summary.py +31 -0
- oci/database/models/create_autonomous_database_base.py +31 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/rotate_autonomous_container_database_encryption_key_details.py +76 -0
- oci/database/models/rotate_autonomous_database_encryption_key_details.py +76 -0
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +289 -31
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +88 -0
- oci/disaster_recovery/models/__init__.py +8 -0
- oci/disaster_recovery/models/create_dr_plan_details.py +35 -0
- oci/disaster_recovery/models/dr_plan.py +92 -0
- oci/disaster_recovery/models/dr_plan_group.py +55 -0
- oci/disaster_recovery/models/dr_plan_step.py +51 -0
- oci/disaster_recovery/models/dr_plan_summary.py +59 -0
- oci/disaster_recovery/models/refresh_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/refresh_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/verify_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/verify_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/work_request.py +11 -3
- oci/disaster_recovery/models/work_request_summary.py +11 -3
- oci/dns/dns_client.py +54 -54
- 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_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 +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/__init__.py +12 -0
- oci/fleet_software_update/models/apply_action.py +1 -1
- oci/fleet_software_update/models/apply_action_summary.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_action.py +1 -1
- oci/fleet_software_update/models/cleanup_action_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/create_apply_action_details.py +1 -1
- oci/fleet_software_update/models/create_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/create_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/create_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_cycle_apply_action_details.py +111 -0
- oci/fleet_software_update/models/create_stage_action_details.py +1 -1
- oci/fleet_software_update/models/db_collection.py +7 -0
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/fsu_action.py +11 -3
- oci/fleet_software_update/models/fsu_action_summary.py +11 -3
- oci/fleet_software_update/models/fsu_collection.py +35 -0
- oci/fleet_software_update/models/fsu_collection_summary.py +35 -0
- oci/fleet_software_update/models/fsu_cycle.py +105 -3
- oci/fleet_software_update/models/fsu_cycle_summary.py +101 -3
- oci/fleet_software_update/models/fsu_job.py +11 -3
- oci/fleet_software_update/models/fsu_job_summary.py +11 -3
- oci/fleet_software_update/models/gi_collection.py +7 -0
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/next_action_to_execute_details.py +7 -3
- oci/fleet_software_update/models/patch_fsu_cycle.py +16 -1
- oci/fleet_software_update/models/precheck_action.py +1 -1
- oci/fleet_software_update/models/precheck_action_summary.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/rollback_action.py +1 -1
- oci/fleet_software_update/models/rollback_action_summary.py +1 -1
- oci/fleet_software_update/models/rollback_cycle_action.py +226 -0
- oci/fleet_software_update/models/rollback_cycle_action_summary.py +225 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job.py +278 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job_summary.py +251 -0
- oci/fleet_software_update/models/rollback_fsu_job.py +1 -1
- oci/fleet_software_update/models/rollback_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/stage_action.py +1 -1
- oci/fleet_software_update/models/stage_action_summary.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/update_apply_action_details.py +1 -1
- oci/fleet_software_update/models/update_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/update_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/update_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_cycle_action_details.py +72 -0
- oci/fleet_software_update/models/update_stage_action_details.py +1 -1
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -102
- oci/generative_ai_agent/models/__init__.py +2 -0
- oci/generative_ai_agent/models/agent.py +0 -2
- oci/generative_ai_agent/models/agent_collection.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint_collection.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint_summary.py +0 -2
- oci/generative_ai_agent/models/agent_summary.py +0 -2
- oci/generative_ai_agent/models/basic_auth_secret.py +0 -2
- oci/generative_ai_agent/models/change_agent_compartment_details.py +0 -2
- oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +0 -2
- oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +0 -2
- oci/generative_ai_agent/models/create_agent_details.py +0 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +0 -2
- oci/generative_ai_agent/models/create_data_ingestion_job_details.py +0 -2
- oci/generative_ai_agent/models/create_data_source_details.py +0 -2
- oci/generative_ai_agent/models/create_knowledge_base_details.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job.py +35 -2
- oci/generative_ai_agent/models/data_ingestion_job_collection.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job_statistics.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job_summary.py +0 -2
- oci/generative_ai_agent/models/data_source.py +0 -2
- oci/generative_ai_agent/models/data_source_collection.py +0 -2
- oci/generative_ai_agent/models/data_source_config.py +31 -2
- oci/generative_ai_agent/models/data_source_summary.py +0 -2
- oci/generative_ai_agent/models/database_connection.py +0 -2
- oci/generative_ai_agent/models/database_function.py +0 -2
- oci/generative_ai_agent/models/database_tool_connection.py +0 -2
- oci/generative_ai_agent/models/default_index_config.py +0 -2
- oci/generative_ai_agent/models/idcs_secret.py +0 -2
- oci/generative_ai_agent/models/index.py +0 -2
- oci/generative_ai_agent/models/index_config.py +0 -2
- oci/generative_ai_agent/models/index_schema.py +0 -2
- oci/generative_ai_agent/models/knowledge_base.py +27 -2
- oci/generative_ai_agent/models/knowledge_base_collection.py +0 -2
- oci/generative_ai_agent/models/knowledge_base_statistics.py +72 -0
- oci/generative_ai_agent/models/knowledge_base_summary.py +0 -2
- oci/generative_ai_agent/models/object_storage_prefix.py +0 -2
- oci/generative_ai_agent/models/oci_database_config.py +0 -2
- oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +8 -3
- oci/generative_ai_agent/models/oci_open_search_index_config.py +0 -2
- oci/generative_ai_agent/models/secret_detail.py +0 -2
- oci/generative_ai_agent/models/session_config.py +0 -2
- oci/generative_ai_agent/models/update_agent_details.py +0 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +0 -2
- oci/generative_ai_agent/models/update_data_source_details.py +0 -2
- oci/generative_ai_agent/models/update_knowledge_base_details.py +0 -2
- oci/generative_ai_agent/models/work_request.py +15 -5
- oci/generative_ai_agent/models/work_request_error.py +0 -2
- oci/generative_ai_agent/models/work_request_error_collection.py +0 -2
- oci/generative_ai_agent/models/work_request_log_entry.py +0 -2
- oci/generative_ai_agent/models/work_request_log_entry_collection.py +0 -2
- oci/generative_ai_agent/models/work_request_resource.py +0 -2
- oci/generative_ai_agent/models/work_request_summary.py +15 -5
- oci/generative_ai_agent/models/work_request_summary_collection.py +0 -2
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_agent_runtime/models/chat_details.py +1 -1
- oci/generative_ai_agent_runtime/models/citation.py +95 -2
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +2343 -499
- oci/golden_gate/golden_gate_client_composite_operations.py +264 -0
- oci/golden_gate/models/__init__.py +71 -1
- oci/golden_gate/models/change_pipeline_compartment_details.py +76 -0
- oci/golden_gate/models/create_mysql_connection_details.py +2 -2
- oci/golden_gate/models/create_pipeline_details.py +402 -0
- oci/golden_gate/models/create_zero_etl_pipeline_details.py +142 -0
- oci/golden_gate/models/default_start_pipeline_details.py +51 -0
- oci/golden_gate/models/default_stop_pipeline_details.py +51 -0
- oci/golden_gate/models/default_test_pipeline_connection_details.py +88 -0
- oci/golden_gate/models/initial_data_load.py +143 -0
- oci/golden_gate/models/mapping_rule.py +152 -0
- oci/golden_gate/models/pipeline.py +775 -0
- oci/golden_gate/models/pipeline_collection.py +72 -0
- oci/golden_gate/models/pipeline_initialization_step.py +263 -0
- oci/golden_gate/models/pipeline_initialization_steps.py +72 -0
- oci/golden_gate/models/pipeline_running_process_collection.py +72 -0
- oci/golden_gate/models/pipeline_running_process_summary.py +238 -0
- oci/golden_gate/models/pipeline_schema_collection.py +72 -0
- oci/golden_gate/models/pipeline_schema_summary.py +105 -0
- oci/golden_gate/models/pipeline_schema_table_collection.py +134 -0
- oci/golden_gate/models/pipeline_schema_table_summary.py +105 -0
- oci/golden_gate/models/pipeline_summary.py +739 -0
- oci/golden_gate/models/process_options.py +142 -0
- oci/golden_gate/models/recipe_summary.py +239 -0
- oci/golden_gate/models/recipe_summary_collection.py +72 -0
- oci/golden_gate/models/replicate_schema_change.py +190 -0
- oci/golden_gate/models/source_pipeline_connection_details.py +78 -0
- oci/golden_gate/models/start_pipeline_details.py +101 -0
- oci/golden_gate/models/step_message.py +197 -0
- oci/golden_gate/models/stop_pipeline_details.py +101 -0
- oci/golden_gate/models/target_pipeline_connection_details.py +78 -0
- oci/golden_gate/models/test_pipeline_connection_details.py +101 -0
- oci/golden_gate/models/test_pipeline_connection_error.py +165 -0
- oci/golden_gate/models/test_pipeline_connection_result.py +119 -0
- oci/golden_gate/models/update_mysql_connection_details.py +2 -2
- oci/golden_gate/models/update_pipeline_details.py +282 -0
- oci/golden_gate/models/update_zero_etl_pipeline_details.py +145 -0
- oci/golden_gate/models/work_request.py +27 -3
- oci/golden_gate/models/zero_etl_pipeline.py +275 -0
- oci/golden_gate/models/zero_etl_pipeline_summary.py +243 -0
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- 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 +7 -7
- 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 +86 -86
- 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 +55 -55
- oci/object_storage/transfer/internal/multipart_object_assembler.py +15 -0
- 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 +180 -180
- 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 +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/retry/__init__.py +0 -1
- 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/security_attribute/security_attribute_client.py +18 -18
- 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/models/__init__.py +8 -0
- oci/stack_monitoring/models/http_query_properties.py +212 -0
- oci/stack_monitoring/models/http_script_file_details.py +103 -0
- oci/stack_monitoring/models/http_update_query_properties.py +211 -0
- oci/stack_monitoring/models/jmx_query_properties.py +1 -1
- oci/stack_monitoring/models/jmx_update_query_properties.py +1 -1
- oci/stack_monitoring/models/metric_extension_query_properties.py +11 -3
- oci/stack_monitoring/models/metric_extension_summary.py +7 -3
- oci/stack_monitoring/models/metric_extension_update_query_properties.py +11 -3
- oci/stack_monitoring/models/os_command_query_properties.py +1 -1
- oci/stack_monitoring/models/os_command_update_query_properties.py +1 -1
- oci/stack_monitoring/models/script_file_details.py +1 -1
- oci/stack_monitoring/models/sql_out_param_details.py +44 -9
- oci/stack_monitoring/models/sql_query_properties.py +1 -1
- oci/stack_monitoring/models/sql_update_query_properties.py +1 -1
- oci/stack_monitoring/models/update_http_script_file_details.py +103 -0
- oci/stack_monitoring/stack_monitoring_client.py +86 -80
- 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/models/__init__.py +8 -4
- oci/visual_builder/models/create_vb_instance_details.py +29 -2
- oci/visual_builder/models/network_endpoint_details.py +102 -0
- oci/visual_builder/models/private_endpoint_details.py +144 -0
- oci/visual_builder/models/update_network_endpoint_details.py +102 -0
- oci/visual_builder/models/update_private_endpoint_details.py +113 -0
- oci/visual_builder/models/update_vb_instance_details.py +29 -2
- oci/visual_builder/models/vb_instance.py +29 -60
- oci/visual_builder/models/vb_instance_summary.py +29 -2
- oci/visual_builder/vb_instance_client.py +129 -13
- oci/visual_builder/vb_instance_client_composite_operations.py +39 -0
- 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/zpr/zpr_client.py +15 -15
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/METADATA +1 -1
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/RECORD +595 -486
- oci/visual_builder/models/attachment_details.py +0 -218
- oci/visual_builder/models/idcs_info_details.py +0 -198
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/WHEEL +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/top_level.txt +0 -0
@@ -168,7 +168,7 @@ class ArtifactsClient(object):
|
|
168
168
|
:rtype: :class:`~oci.response.Response`
|
169
169
|
|
170
170
|
:example:
|
171
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
171
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
|
172
172
|
"""
|
173
173
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
174
174
|
required_arguments = ['repositoryId']
|
@@ -295,7 +295,7 @@ class ArtifactsClient(object):
|
|
295
295
|
:rtype: :class:`~oci.response.Response`
|
296
296
|
|
297
297
|
:example:
|
298
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
298
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
|
299
299
|
"""
|
300
300
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
301
301
|
required_arguments = ['repositoryId']
|
@@ -411,7 +411,7 @@ class ArtifactsClient(object):
|
|
411
411
|
:rtype: :class:`~oci.response.Response`
|
412
412
|
|
413
413
|
:example:
|
414
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
|
415
415
|
"""
|
416
416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
417
417
|
required_arguments = []
|
@@ -512,7 +512,7 @@ class ArtifactsClient(object):
|
|
512
512
|
:rtype: :class:`~oci.response.Response`
|
513
513
|
|
514
514
|
:example:
|
515
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
515
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
|
516
516
|
"""
|
517
517
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
518
518
|
required_arguments = []
|
@@ -611,7 +611,7 @@ class ArtifactsClient(object):
|
|
611
611
|
:rtype: :class:`~oci.response.Response`
|
612
612
|
|
613
613
|
:example:
|
614
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
614
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
|
615
615
|
"""
|
616
616
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
617
617
|
required_arguments = []
|
@@ -710,7 +710,7 @@ class ArtifactsClient(object):
|
|
710
710
|
:rtype: :class:`~oci.response.Response`
|
711
711
|
|
712
712
|
:example:
|
713
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
713
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
|
714
714
|
"""
|
715
715
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
716
716
|
required_arguments = ['imageId']
|
@@ -818,7 +818,7 @@ class ArtifactsClient(object):
|
|
818
818
|
:rtype: :class:`~oci.response.Response`
|
819
819
|
|
820
820
|
:example:
|
821
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
821
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
|
822
822
|
"""
|
823
823
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
824
824
|
required_arguments = ['imageSignatureId']
|
@@ -926,7 +926,7 @@ class ArtifactsClient(object):
|
|
926
926
|
:rtype: :class:`~oci.response.Response`
|
927
927
|
|
928
928
|
:example:
|
929
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
929
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
|
930
930
|
"""
|
931
931
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
932
932
|
required_arguments = ['repositoryId']
|
@@ -1036,7 +1036,7 @@ class ArtifactsClient(object):
|
|
1036
1036
|
:rtype: :class:`~oci.response.Response`
|
1037
1037
|
|
1038
1038
|
:example:
|
1039
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1039
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
|
1040
1040
|
"""
|
1041
1041
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1042
1042
|
required_arguments = ['artifactId']
|
@@ -1154,7 +1154,7 @@ class ArtifactsClient(object):
|
|
1154
1154
|
:rtype: :class:`~oci.response.Response`
|
1155
1155
|
|
1156
1156
|
:example:
|
1157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
|
1158
1158
|
"""
|
1159
1159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1160
1160
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1264,7 +1264,7 @@ class ArtifactsClient(object):
|
|
1264
1264
|
:rtype: :class:`~oci.response.Response`
|
1265
1265
|
|
1266
1266
|
:example:
|
1267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1267
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
|
1268
1268
|
"""
|
1269
1269
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1270
1270
|
required_arguments = ['repositoryId']
|
@@ -1365,7 +1365,7 @@ class ArtifactsClient(object):
|
|
1365
1365
|
:rtype: :class:`~oci.response.Response`
|
1366
1366
|
|
1367
1367
|
:example:
|
1368
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1368
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
|
1369
1369
|
"""
|
1370
1370
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1371
1371
|
required_arguments = ['compartmentId']
|
@@ -1463,7 +1463,7 @@ class ArtifactsClient(object):
|
|
1463
1463
|
:rtype: :class:`~oci.response.Response`
|
1464
1464
|
|
1465
1465
|
:example:
|
1466
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
|
1467
1467
|
"""
|
1468
1468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1469
1469
|
required_arguments = ['imageId']
|
@@ -1566,7 +1566,7 @@ class ArtifactsClient(object):
|
|
1566
1566
|
:rtype: :class:`~oci.response.Response`
|
1567
1567
|
|
1568
1568
|
:example:
|
1569
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1569
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
|
1570
1570
|
"""
|
1571
1571
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1572
1572
|
required_arguments = ['imageSignatureId']
|
@@ -1669,7 +1669,7 @@ class ArtifactsClient(object):
|
|
1669
1669
|
:rtype: :class:`~oci.response.Response`
|
1670
1670
|
|
1671
1671
|
:example:
|
1672
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1672
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
|
1673
1673
|
"""
|
1674
1674
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1675
1675
|
required_arguments = ['repositoryId']
|
@@ -1774,7 +1774,7 @@ class ArtifactsClient(object):
|
|
1774
1774
|
:rtype: :class:`~oci.response.Response`
|
1775
1775
|
|
1776
1776
|
:example:
|
1777
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1777
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
|
1778
1778
|
"""
|
1779
1779
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1780
1780
|
required_arguments = ['artifactId']
|
@@ -1887,7 +1887,7 @@ class ArtifactsClient(object):
|
|
1887
1887
|
:rtype: :class:`~oci.response.Response`
|
1888
1888
|
|
1889
1889
|
:example:
|
1890
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1890
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
|
1891
1891
|
"""
|
1892
1892
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1893
1893
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1992,7 +1992,7 @@ class ArtifactsClient(object):
|
|
1992
1992
|
:rtype: :class:`~oci.response.Response`
|
1993
1993
|
|
1994
1994
|
:example:
|
1995
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
|
1996
1996
|
"""
|
1997
1997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1998
1998
|
required_arguments = ['repositoryId']
|
@@ -2172,7 +2172,7 @@ class ArtifactsClient(object):
|
|
2172
2172
|
:rtype: :class:`~oci.response.Response`
|
2173
2173
|
|
2174
2174
|
:example:
|
2175
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2175
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
|
2176
2176
|
"""
|
2177
2177
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2178
2178
|
required_arguments = ['compartmentId']
|
@@ -2381,7 +2381,7 @@ class ArtifactsClient(object):
|
|
2381
2381
|
:rtype: :class:`~oci.response.Response`
|
2382
2382
|
|
2383
2383
|
:example:
|
2384
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2384
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
|
2385
2385
|
"""
|
2386
2386
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2387
2387
|
required_arguments = ['compartmentId']
|
@@ -2568,7 +2568,7 @@ class ArtifactsClient(object):
|
|
2568
2568
|
:rtype: :class:`~oci.response.Response`
|
2569
2569
|
|
2570
2570
|
:example:
|
2571
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2571
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
|
2572
2572
|
"""
|
2573
2573
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2574
2574
|
required_arguments = ['compartmentId']
|
@@ -2751,7 +2751,7 @@ class ArtifactsClient(object):
|
|
2751
2751
|
:rtype: :class:`~oci.response.Response`
|
2752
2752
|
|
2753
2753
|
:example:
|
2754
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2754
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
|
2755
2755
|
"""
|
2756
2756
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2757
2757
|
required_arguments = ['compartmentId', 'repositoryId']
|
@@ -2928,7 +2928,7 @@ class ArtifactsClient(object):
|
|
2928
2928
|
:rtype: :class:`~oci.response.Response`
|
2929
2929
|
|
2930
2930
|
:example:
|
2931
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2931
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
|
2932
2932
|
"""
|
2933
2933
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2934
2934
|
required_arguments = ['compartmentId']
|
@@ -3071,7 +3071,7 @@ class ArtifactsClient(object):
|
|
3071
3071
|
:rtype: :class:`~oci.response.Response`
|
3072
3072
|
|
3073
3073
|
:example:
|
3074
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3074
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
|
3075
3075
|
"""
|
3076
3076
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3077
3077
|
required_arguments = ['imageId']
|
@@ -3196,7 +3196,7 @@ class ArtifactsClient(object):
|
|
3196
3196
|
:rtype: :class:`~oci.response.Response`
|
3197
3197
|
|
3198
3198
|
:example:
|
3199
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3199
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
|
3200
3200
|
"""
|
3201
3201
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3202
3202
|
required_arguments = ['imageId']
|
@@ -3312,7 +3312,7 @@ class ArtifactsClient(object):
|
|
3312
3312
|
:rtype: :class:`~oci.response.Response`
|
3313
3313
|
|
3314
3314
|
:example:
|
3315
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3315
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
|
3316
3316
|
"""
|
3317
3317
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3318
3318
|
required_arguments = ['compartmentId']
|
@@ -3422,7 +3422,7 @@ class ArtifactsClient(object):
|
|
3422
3422
|
:rtype: :class:`~oci.response.Response`
|
3423
3423
|
|
3424
3424
|
:example:
|
3425
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3425
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
|
3426
3426
|
"""
|
3427
3427
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3428
3428
|
required_arguments = ['imageId']
|
@@ -3537,7 +3537,7 @@ class ArtifactsClient(object):
|
|
3537
3537
|
:rtype: :class:`~oci.response.Response`
|
3538
3538
|
|
3539
3539
|
:example:
|
3540
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
|
3541
3541
|
"""
|
3542
3542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3543
3543
|
required_arguments = ['imageSignatureId']
|
@@ -3652,7 +3652,7 @@ class ArtifactsClient(object):
|
|
3652
3652
|
:rtype: :class:`~oci.response.Response`
|
3653
3653
|
|
3654
3654
|
:example:
|
3655
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3655
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
|
3656
3656
|
"""
|
3657
3657
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3658
3658
|
required_arguments = ['repositoryId']
|
@@ -3771,7 +3771,7 @@ class ArtifactsClient(object):
|
|
3771
3771
|
:rtype: :class:`~oci.response.Response`
|
3772
3772
|
|
3773
3773
|
:example:
|
3774
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3774
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
|
3775
3775
|
"""
|
3776
3776
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3777
3777
|
required_arguments = ['artifactId']
|
@@ -3896,7 +3896,7 @@ class ArtifactsClient(object):
|
|
3896
3896
|
:rtype: :class:`~oci.response.Response`
|
3897
3897
|
|
3898
3898
|
:example:
|
3899
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3899
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
|
3900
3900
|
"""
|
3901
3901
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3902
3902
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -4013,7 +4013,7 @@ class ArtifactsClient(object):
|
|
4013
4013
|
:rtype: :class:`~oci.response.Response`
|
4014
4014
|
|
4015
4015
|
:example:
|
4016
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4016
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
|
4017
4017
|
"""
|
4018
4018
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4019
4019
|
required_arguments = ['repositoryId']
|
oci/audit/audit_client.py
CHANGED
@@ -143,7 +143,7 @@ class AuditClient(object):
|
|
143
143
|
:rtype: :class:`~oci.response.Response`
|
144
144
|
|
145
145
|
:example:
|
146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
|
147
147
|
"""
|
148
148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
149
149
|
required_arguments = ['compartmentId']
|
@@ -260,7 +260,7 @@ class AuditClient(object):
|
|
260
260
|
:rtype: :class:`~oci.response.Response`
|
261
261
|
|
262
262
|
:example:
|
263
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
263
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
|
264
264
|
"""
|
265
265
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
266
266
|
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
@@ -355,7 +355,7 @@ class AuditClient(object):
|
|
355
355
|
:rtype: :class:`~oci.response.Response`
|
356
356
|
|
357
357
|
:example:
|
358
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
358
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
|
359
359
|
"""
|
360
360
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
361
361
|
required_arguments = ['compartmentId']
|
@@ -17,17 +17,14 @@ import pprint
|
|
17
17
|
|
18
18
|
# A retry strategy for use when calling the metadata endpoint on an instance to retrieve certificates.
|
19
19
|
# This retry strategy will retry on 404, 429 and 5xx exceptions (the metadata endpoint does not throw errors like an
|
20
|
-
# OCI service) up to
|
20
|
+
# OCI service) up to 8 times with exponential backoff and jitter, for a max of 3 minutes
|
21
21
|
INSTANCE_METADATA_URL_CERTIFICATE_RETRIEVER_RETRY_STRATEGY = (
|
22
22
|
oci.retry.RetryStrategyBuilder(service_error_check=True,
|
23
23
|
service_error_retry_config={-1: [], 429: [], 404: []},
|
24
24
|
service_error_retry_on_any_5xx=True,
|
25
|
-
retry_max_wait_between_calls_seconds=31,
|
26
|
-
retry_base_sleep_time_seconds=30,
|
27
|
-
retry_exponential_growth_factor=1,
|
28
25
|
total_elapsed_time_seconds=180
|
29
26
|
)
|
30
|
-
.add_max_attempts(
|
27
|
+
.add_max_attempts(8).add_total_elapsed_time().get_retry_strategy())
|
31
28
|
|
32
29
|
|
33
30
|
# An abstract class which defines the interface via which certificates (and their corresponding private key) can be retrieved.
|
@@ -12,6 +12,7 @@ from oci._vendor.requests.exceptions import HTTPError
|
|
12
12
|
from oci._vendor.requests.exceptions import ConnectTimeout
|
13
13
|
|
14
14
|
import oci.regions
|
15
|
+
import os
|
15
16
|
import logging
|
16
17
|
|
17
18
|
|
@@ -24,6 +25,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
24
25
|
the token:
|
25
26
|
|
26
27
|
* Using the metadata endpoint for the instance (http://169.254.169.254/opc/v2) we can discover the region the instance is in, its leaf certificate and any intermediate certificates (for requesting the token) and the tenancy (as) that is in the leaf certificate.
|
28
|
+
* You can override the metadata endpoint by overriding the environment variable OCI_METADATA_BASE_URL with an endpoint of your choice
|
27
29
|
* The signer leverages X509FederationClient so it can refresh the security token and also get the private key needed to sign requests (via the client's session_key_supplier)
|
28
30
|
|
29
31
|
This signer can be used as follows:
|
@@ -47,7 +49,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
47
49
|
|
48
50
|
:param obj federation_client_retry_strategy: (optional):
|
49
51
|
A retry strategy to apply to calls made by the X509FederationClient used by this class. This should be one of the strategies available in
|
50
|
-
the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.
|
52
|
+
the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_FEDERATION_CLIENT_RETRY_STRATEGY` is also available and
|
51
53
|
will be used by the X509FederationClient if no explicit retry strategy is specified.
|
52
54
|
|
53
55
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
@@ -59,15 +61,16 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
59
61
|
the certificate & corresponding private key (if there is one defined for this retriever) from UrlBasedCertificateRetriever,
|
60
62
|
region, federation endpoint, and the response for receiving the token from the federation endpoint
|
61
63
|
"""
|
62
|
-
|
63
|
-
METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
|
64
|
-
GET_REGION_URL = '{}/instance/region'.format(METADATA_URL_BASE)
|
65
|
-
LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(METADATA_URL_BASE)
|
66
|
-
LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(METADATA_URL_BASE)
|
67
|
-
INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(METADATA_URL_BASE)
|
68
|
-
METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
|
69
|
-
|
70
64
|
def __init__(self, **kwargs):
|
65
|
+
self.METADATA_URL_BASE_ENV_VAR = 'OCI_METADATA_BASE_URL'
|
66
|
+
self.DEFAULT_METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
|
67
|
+
self.METADATA_URL_BASE = os.environ.get(self.METADATA_URL_BASE_ENV_VAR, self.DEFAULT_METADATA_URL_BASE)
|
68
|
+
self.GET_REGION_URL = '{}/instance/region'.format(self.METADATA_URL_BASE)
|
69
|
+
self.LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(self.METADATA_URL_BASE)
|
70
|
+
self.LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(self.METADATA_URL_BASE)
|
71
|
+
self.INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(self.METADATA_URL_BASE)
|
72
|
+
self.METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
|
73
|
+
|
71
74
|
self.logger = logging.getLogger("{}.{}".format(__name__, id(self)))
|
72
75
|
self.logger.addHandler(logging.NullHandler())
|
73
76
|
if kwargs.get('log_requests'):
|
@@ -90,22 +93,10 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
90
93
|
headers=self.METADATA_AUTH_HEADERS,
|
91
94
|
log_requests=kwargs.get('log_requests'))
|
92
95
|
except (HTTPError, ConnectTimeout, oci.exceptions.ServiceError) as e:
|
93
|
-
if
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
InstancePrincipalsSecurityTokenSigner.LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
|
98
|
-
InstancePrincipalsSecurityTokenSigner.INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
|
99
|
-
self.leaf_certificate_retriever = UrlBasedCertificateRetriever(
|
100
|
-
certificate_url=self.LEAF_CERTIFICATE_URL,
|
101
|
-
private_key_url=self.LEAF_CERTIFICATE_PRIVATE_KEY_URL,
|
102
|
-
retry_strategy=self.retry_strategy,
|
103
|
-
headers=self.METADATA_AUTH_HEADERS)
|
104
|
-
else:
|
105
|
-
if not e.args:
|
106
|
-
e.args = ('',)
|
107
|
-
e.args = e.args + ("Instance principals authentication can only be used on OCI compute instances. Please confirm this code is running on an OCI compute instance. See https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info.",)
|
108
|
-
raise e
|
96
|
+
if not e.args:
|
97
|
+
e.args = ('',)
|
98
|
+
e.args = e.args + ("Instance principals authentication can only be used on OCI compute instances. Please confirm this code is running on an OCI compute instance. See https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info.",)
|
99
|
+
raise e
|
109
100
|
|
110
101
|
self.intermediate_certificate_retriever = UrlBasedCertificateRetriever(
|
111
102
|
certificate_url=self.INTERMEDIATE_CERTIFICATE_URL,
|
@@ -143,8 +134,23 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
143
134
|
if hasattr(self, 'region'):
|
144
135
|
return self.region
|
145
136
|
|
146
|
-
self.
|
137
|
+
if self.retry_strategy:
|
138
|
+
self.retry_strategy.make_retrying_call(self._set_region_from_imds)
|
139
|
+
else:
|
140
|
+
self._set_region_from_imds()
|
141
|
+
|
142
|
+
self.logger.debug(f"Region is set to: {self.region}")
|
143
|
+
return self.region
|
144
|
+
|
145
|
+
def _set_region_from_imds(self):
|
146
|
+
self.logger.debug(f"Requesting region information from IMDS: {self.GET_REGION_URL}")
|
147
147
|
response = requests.get(self.GET_REGION_URL, timeout=(10, 60), headers=self.METADATA_AUTH_HEADERS)
|
148
|
+
|
149
|
+
try:
|
150
|
+
response.raise_for_status()
|
151
|
+
except HTTPError as e:
|
152
|
+
raise oci.exceptions.ServiceError(e.response.status_code, e.errno, e.response.headers, str(e))
|
153
|
+
|
148
154
|
region_raw = response.text.strip().lower()
|
149
155
|
|
150
156
|
# The region can be something like "phx" but internally we expect "us-phoenix-1", "us-ashburn-1" etc.
|
@@ -152,6 +158,3 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
152
158
|
self.region = oci.regions.REGIONS_SHORT_NAMES[region_raw]
|
153
159
|
else:
|
154
160
|
self.region = region_raw
|
155
|
-
|
156
|
-
self.logger.debug("Region is set to : %s " % (self.region))
|
157
|
-
return self.region
|
@@ -134,11 +134,18 @@ class OkeWorkloadIdentityResourcePrincipalSigner(SecurityTokenSigner):
|
|
134
134
|
"reason": response.reason}, indent=2)))
|
135
135
|
|
136
136
|
if not response.ok:
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
137
|
+
if response.status_code == 403:
|
138
|
+
raise oci.exceptions.ServiceError(
|
139
|
+
response.status_code,
|
140
|
+
response.reason,
|
141
|
+
response.headers,
|
142
|
+
"Please ensure the cluster type is enhanced")
|
143
|
+
else:
|
144
|
+
raise oci.exceptions.ServiceError(
|
145
|
+
response.status_code,
|
146
|
+
response.reason,
|
147
|
+
response.headers,
|
148
|
+
"Failed to get RPST token from proxymux")
|
142
149
|
|
143
150
|
try:
|
144
151
|
decoded_response = base64.b64decode(response.content).decode("UTF-8")
|
@@ -171,7 +171,7 @@ class AutoScalingClient(object):
|
|
171
171
|
:rtype: :class:`~oci.response.Response`
|
172
172
|
|
173
173
|
:example:
|
174
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
174
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/change_auto_scaling_configuration_compartment.py.html>`__ to see an example of how to use change_auto_scaling_configuration_compartment API.
|
175
175
|
"""
|
176
176
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
177
177
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -278,7 +278,7 @@ class AutoScalingClient(object):
|
|
278
278
|
:rtype: :class:`~oci.response.Response`
|
279
279
|
|
280
280
|
:example:
|
281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
281
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/create_auto_scaling_configuration.py.html>`__ to see an example of how to use create_auto_scaling_configuration API.
|
282
282
|
"""
|
283
283
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
284
284
|
required_arguments = []
|
@@ -386,7 +386,7 @@ class AutoScalingClient(object):
|
|
386
386
|
:rtype: :class:`~oci.response.Response`
|
387
387
|
|
388
388
|
:example:
|
389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/create_auto_scaling_policy.py.html>`__ to see an example of how to use create_auto_scaling_policy API.
|
390
390
|
"""
|
391
391
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
392
392
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -493,7 +493,7 @@ class AutoScalingClient(object):
|
|
493
493
|
:rtype: :class:`~oci.response.Response`
|
494
494
|
|
495
495
|
:example:
|
496
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/delete_auto_scaling_configuration.py.html>`__ to see an example of how to use delete_auto_scaling_configuration API.
|
497
497
|
"""
|
498
498
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
499
499
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -598,7 +598,7 @@ class AutoScalingClient(object):
|
|
598
598
|
:rtype: :class:`~oci.response.Response`
|
599
599
|
|
600
600
|
:example:
|
601
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
601
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/delete_auto_scaling_policy.py.html>`__ to see an example of how to use delete_auto_scaling_policy API.
|
602
602
|
"""
|
603
603
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
604
604
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|
@@ -696,7 +696,7 @@ class AutoScalingClient(object):
|
|
696
696
|
:rtype: :class:`~oci.response.Response`
|
697
697
|
|
698
698
|
:example:
|
699
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
699
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
|
700
700
|
"""
|
701
701
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
702
702
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -796,7 +796,7 @@ class AutoScalingClient(object):
|
|
796
796
|
:rtype: :class:`~oci.response.Response`
|
797
797
|
|
798
798
|
:example:
|
799
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
799
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/get_auto_scaling_policy.py.html>`__ to see an example of how to use get_auto_scaling_policy API.
|
800
800
|
"""
|
801
801
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
802
802
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|
@@ -924,7 +924,7 @@ class AutoScalingClient(object):
|
|
924
924
|
:rtype: :class:`~oci.response.Response`
|
925
925
|
|
926
926
|
:example:
|
927
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
927
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
|
928
928
|
"""
|
929
929
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
930
930
|
required_arguments = ['compartmentId']
|
@@ -1068,7 +1068,7 @@ class AutoScalingClient(object):
|
|
1068
1068
|
:rtype: :class:`~oci.response.Response`
|
1069
1069
|
|
1070
1070
|
:example:
|
1071
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1071
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/list_auto_scaling_policies.py.html>`__ to see an example of how to use list_auto_scaling_policies API.
|
1072
1072
|
"""
|
1073
1073
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1074
1074
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -1211,7 +1211,7 @@ class AutoScalingClient(object):
|
|
1211
1211
|
:rtype: :class:`~oci.response.Response`
|
1212
1212
|
|
1213
1213
|
:example:
|
1214
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1214
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
|
1215
1215
|
"""
|
1216
1216
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1217
1217
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -1333,7 +1333,7 @@ class AutoScalingClient(object):
|
|
1333
1333
|
:rtype: :class:`~oci.response.Response`
|
1334
1334
|
|
1335
1335
|
:example:
|
1336
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1336
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/update_auto_scaling_policy.py.html>`__ to see an example of how to use update_auto_scaling_policy API.
|
1337
1337
|
"""
|
1338
1338
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1339
1339
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|