oci 2.110.2__py3-none-any.whl → 2.112.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 +18 -18
- 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 +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- 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 +18 -18
- oci/apm_synthetics/models/__init__.py +2 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +3 -3
- oci/apm_synthetics/models/client_certificate.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +9 -3
- oci/apm_synthetics/models/link.py +2 -2
- oci/apm_synthetics/models/monitor.py +9 -3
- oci/apm_synthetics/models/monitor_configuration.py +11 -3
- oci/apm_synthetics/models/monitor_summary.py +9 -3
- oci/apm_synthetics/models/network_monitor_configuration.py +92 -0
- oci/apm_synthetics/models/private_key.py +1 -1
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +3 -3
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/update_monitor_details.py +2 -0
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- 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/auth_utils.py +16 -0
- oci/auth/rpt_path_providers.py +54 -4
- oci/auth/security_token_container.py +4 -0
- oci/auth/signers/__init__.py +3 -1
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +31 -1
- oci/auth/signers/nested_resource_principals_signer.py +200 -0
- oci/auth/signers/oke_workload_identity_resource_principal_signer.py +154 -0
- oci/auth/signers/resource_principals_federation_signer.py +1 -1
- oci/auth/signers/resource_principals_signer.py +149 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +3 -1
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +47 -47
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/__init__.py +1 -3
- oci/cims/incident_client.py +356 -93
- oci/cims/models/__init__.py +6 -0
- oci/cims/models/account_item.py +85 -0
- oci/cims/models/activity_item.py +112 -14
- oci/cims/models/category.py +5 -5
- oci/cims/models/contact.py +32 -1
- oci/cims/models/contextual_data.py +9 -9
- oci/cims/models/create_account_item_details.py +78 -0
- oci/cims/models/create_category_details.py +2 -4
- oci/cims/models/create_incident.py +13 -9
- oci/cims/models/create_issue_type_details.py +0 -2
- oci/cims/models/create_item_details.py +9 -7
- oci/cims/models/create_limit_item_details.py +3 -3
- oci/cims/models/create_resource_details.py +2 -289
- oci/cims/models/create_sub_category_details.py +3 -5
- oci/cims/models/create_tech_support_item_details.py +1 -3
- oci/cims/models/create_ticket_details.py +11 -13
- oci/cims/models/create_user_details.py +65 -36
- oci/cims/models/incident.py +10 -6
- oci/cims/models/incident_resource_type.py +66 -4
- oci/cims/models/incident_summary.py +9 -5
- oci/cims/models/incident_type.py +1 -1
- oci/cims/models/issue_type.py +33 -2
- oci/cims/models/item.py +8 -4
- oci/cims/models/limit_item.py +7 -7
- oci/cims/models/resource.py +2 -285
- oci/cims/models/service_categories.py +134 -0
- oci/cims/models/service_category.py +1 -1
- oci/cims/models/sub_category.py +5 -5
- oci/cims/models/tenancy_information.py +3 -3
- oci/cims/models/ticket.py +7 -3
- oci/cims/models/update_activity_item_details.py +8 -6
- oci/cims/models/update_incident.py +62 -2
- oci/cims/models/update_item_details.py +3 -5
- oci/cims/models/update_resource_details.py +0 -2
- oci/cims/models/update_ticket_details.py +0 -2
- oci/cims/models/user.py +79 -19
- 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 +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +129 -24
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +90 -90
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +20 -0
- oci/core/models/amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_gpu_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_gpu_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_platform_config.py +34 -3
- oci/core/models/amd_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/amd_vm_platform_config.py +1 -1
- oci/core/models/capture_filter.py +5 -2
- oci/core/models/change_capture_filter_compartment_details.py +1 -1
- oci/core/models/cluster_network_placement_configuration_details.py +32 -5
- oci/core/models/cpe.py +33 -2
- oci/core/models/create_capture_filter_details.py +1 -1
- oci/core/models/create_cpe_details.py +33 -2
- oci/core/models/create_instance_pool_placement_configuration_details.py +32 -5
- oci/core/models/create_ip_sec_connection_tunnel_details.py +105 -0
- oci/core/models/create_macsec_properties.py +33 -2
- oci/core/models/create_virtual_circuit_details.py +31 -0
- oci/core/models/create_vnic_details.py +76 -0
- oci/core/models/drg_attachment_network_create_details.py +1 -1
- oci/core/models/drg_attachment_network_details.py +5 -1
- oci/core/models/generic_bm_launch_instance_platform_config.py +349 -0
- oci/core/models/generic_bm_platform_config.py +349 -0
- oci/core/models/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_milan_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_rome_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/instance_configuration_create_vnic_details.py +76 -0
- oci/core/models/instance_configuration_generic_bm_launch_instance_platform_config.py +349 -0
- oci/core/models/instance_configuration_intel_icelake_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_intel_skylake_bm_launch_instance_platform_config.py +199 -3
- oci/core/models/instance_configuration_intel_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.py +103 -0
- oci/core/models/instance_configuration_launch_instance_platform_config.py +11 -3
- oci/core/models/instance_pool_placement_configuration.py +32 -3
- oci/core/models/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.py +72 -0
- oci/core/models/instance_pool_placement_primary_subnet.py +152 -0
- oci/core/models/instance_pool_placement_secondary_vnic_subnet.py +76 -0
- oci/core/models/instance_pool_placement_subnet_details.py +152 -0
- oci/core/models/intel_icelake_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/intel_icelake_bm_platform_config.py +34 -3
- oci/core/models/intel_skylake_bm_launch_instance_platform_config.py +199 -3
- oci/core/models/intel_skylake_bm_platform_config.py +199 -3
- oci/core/models/intel_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/intel_vm_platform_config.py +1 -1
- oci/core/models/ip_sec_connection.py +49 -2
- oci/core/models/ip_sec_connection_tunnel.py +37 -2
- oci/core/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
- oci/core/models/ipv6_address_ipv6_subnet_cidr_pair_details.py +109 -0
- oci/core/models/launch_instance_platform_config.py +11 -3
- oci/core/models/loop_back_drg_attachment_network_details.py +93 -0
- oci/core/models/macsec_properties.py +33 -2
- oci/core/models/platform_config.py +11 -3
- oci/core/models/shape_platform_config_options.py +7 -3
- oci/core/models/update_capture_filter_details.py +1 -1
- oci/core/models/update_instance_pool_placement_configuration_details.py +34 -7
- oci/core/models/update_macsec_properties.py +33 -2
- oci/core/models/update_virtual_circuit_details.py +31 -0
- oci/core/models/virtual_circuit.py +31 -0
- oci/core/models/virtual_circuit_associated_tunnel_details.py +154 -0
- oci/core/models/virtual_circuit_drg_attachment_network_details.py +37 -2
- oci/core/models/vnic.py +37 -2
- oci/core/virtual_network_client.py +361 -241
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +424 -154
- oci/data_catalog/models/__init__.py +22 -0
- oci/data_catalog/models/asynchronous_export_glossary_details.py +68 -0
- oci/data_catalog/models/asynchronous_export_glossary_result.py +196 -0
- oci/data_catalog/models/asynchronous_export_request_details.py +68 -0
- oci/data_catalog/models/asynchronous_export_result.py +196 -0
- oci/data_catalog/models/attribute.py +33 -0
- oci/data_catalog/models/attribute_summary.py +33 -0
- oci/data_catalog/models/create_job_definition_details.py +42 -3
- oci/data_catalog/models/create_job_details.py +2 -0
- oci/data_catalog/models/create_job_execution_details.py +11 -3
- oci/data_catalog/models/data_asset.py +33 -0
- oci/data_catalog/models/data_asset_summary.py +35 -2
- oci/data_catalog/models/entity.py +33 -0
- oci/data_catalog/models/entity_lineage.py +222 -0
- oci/data_catalog/models/entity_summary.py +33 -0
- oci/data_catalog/models/faceted_search_date_filter_request.py +2 -2
- oci/data_catalog/models/faceted_search_string_filter_request.py +8 -2
- oci/data_catalog/models/fetch_entity_lineage_details.py +190 -0
- oci/data_catalog/models/folder.py +33 -0
- oci/data_catalog/models/folder_summary.py +35 -2
- oci/data_catalog/models/job.py +44 -3
- oci/data_catalog/models/job_definition.py +42 -3
- oci/data_catalog/models/job_definition_summary.py +44 -5
- oci/data_catalog/models/job_execution.py +11 -3
- oci/data_catalog/models/job_execution_summary.py +11 -3
- oci/data_catalog/models/job_summary.py +44 -3
- oci/data_catalog/models/lineage_object.py +400 -0
- oci/data_catalog/models/lineage_relationship.py +134 -0
- oci/data_catalog/models/object_lineage.py +223 -0
- oci/data_catalog/models/object_lineage_request_details.py +190 -0
- oci/data_catalog/models/object_storage_object_reference.py +134 -0
- oci/data_catalog/models/update_job_definition_details.py +31 -0
- oci/data_catalog/models/update_job_details.py +2 -0
- 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 +214 -214
- oci/data_science/data_science_client.py +85 -85
- oci/database/database_client.py +626 -308
- oci/database/models/__init__.py +10 -0
- oci/database/models/acd_avm_resource_stats.py +241 -0
- oci/database/models/autonomous_container_database.py +107 -38
- oci/database/models/autonomous_container_database_resource_usage.py +437 -0
- oci/database/models/autonomous_container_database_summary.py +107 -38
- oci/database/models/autonomous_database.py +2 -6
- oci/database/models/autonomous_database_connection_strings.py +1 -1
- oci/database/models/autonomous_database_summary.py +2 -6
- oci/database/models/autonomous_vm_cluster.py +6 -18
- oci/database/models/autonomous_vm_cluster_summary.py +6 -18
- oci/database/models/autonomous_vm_resource_usage.py +299 -0
- oci/database/models/avm_acd_resource_stats.py +272 -0
- oci/database/models/cloud_autonomous_vm_cluster.py +287 -20
- oci/database/models/cloud_autonomous_vm_cluster_resource_usage.py +673 -0
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +287 -20
- oci/database/models/create_autonomous_vm_cluster_details.py +4 -12
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +4 -12
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/models/__init__.py +10 -0
- oci/database_migration/models/connection.py +27 -0
- oci/database_migration/models/create_connection_details.py +27 -0
- oci/database_migration/models/create_golden_gate_hub.py +4 -4
- oci/database_migration/models/create_golden_gate_service_details.py +149 -0
- oci/database_migration/models/create_migration_details.py +27 -0
- oci/database_migration/models/database_credentials.py +103 -0
- oci/database_migration/models/ggs_deployment.py +103 -0
- oci/database_migration/models/golden_gate_service_details.py +95 -0
- oci/database_migration/models/migration.py +38 -3
- oci/database_migration/models/migration_job_progress_resource.py +11 -3
- oci/database_migration/models/migration_job_progress_summary.py +11 -3
- oci/database_migration/models/migration_phase_summary.py +11 -3
- oci/database_migration/models/phase_status.py +11 -3
- oci/database_migration/models/resume_job_details.py +11 -3
- oci/database_migration/models/start_migration_details.py +11 -3
- oci/database_migration/models/update_connection_details.py +27 -0
- oci/database_migration/models/update_golden_gate_service_details.py +149 -0
- oci/database_migration/models/update_migration_details.py +27 -0
- oci/database_tools/database_tools_client.py +19 -19
- 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 +25 -25
- 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/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +57 -57
- 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 +190 -190
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +56 -56
- oci/key_management/kms_crypto_client.py +6 -6
- 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 +22 -22
- oci/log_analytics/log_analytics_client.py +192 -192
- 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 +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +25 -25
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +273 -1328
- oci/mysql/db_system_client_composite_operations.py +0 -294
- oci/mysql/models/__init__.py +0 -16
- oci/mysql/models/db_system.py +0 -60
- oci/mysql/models/db_system_summary.py +0 -60
- oci/mysql/models/shape_summary.py +3 -7
- oci/mysql/models/work_request.py +3 -31
- oci/mysql/models/work_request_summary.py +3 -31
- oci/mysql/mysqlaas_client.py +9 -9
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- 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/esxi_host_client.py +6 -6
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- 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 +11 -11
- 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 +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +159 -159
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- 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/queue/models/__init__.py +4 -0
- oci/queue/models/channel_collection.py +72 -0
- oci/queue/models/create_queue_details.py +50 -11
- oci/queue/models/delete_messages_details_entry.py +2 -2
- oci/queue/models/get_message.py +55 -12
- oci/queue/models/message_metadata.py +103 -0
- oci/queue/models/purge_queue_details.py +43 -8
- oci/queue/models/put_message.py +44 -5
- oci/queue/models/put_messages.py +3 -3
- oci/queue/models/put_messages_details_entry.py +29 -2
- oci/queue/models/queue.py +76 -21
- oci/queue/models/queue_stats.py +34 -3
- oci/queue/models/queue_summary.py +37 -17
- oci/queue/models/stats.py +2 -2
- oci/queue/models/update_messages_details.py +1 -1
- oci/queue/models/update_messages_details_entry.py +2 -2
- oci/queue/models/update_messages_result.py +2 -2
- oci/queue/models/update_messages_result_entry.py +12 -4
- oci/queue/models/update_queue_details.py +47 -8
- oci/queue/models/updated_message.py +12 -4
- oci/queue/models/work_request.py +6 -2
- oci/queue/models/work_request_error.py +6 -2
- oci/queue/models/work_request_log_entry.py +6 -2
- oci/queue/models/work_request_summary.py +8 -4
- oci/queue/queue_admin_client.py +67 -46
- oci/queue/queue_admin_client_composite_operations.py +4 -4
- oci/queue/queue_client.py +209 -36
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- 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/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 +22 -22
- 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 +19 -19
- oci/vault/vaults_client.py +11 -11
- 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/models/__init__.py +4 -0
- oci/vn_monitoring/models/cpe.py +33 -2
- oci/vn_monitoring/models/create_cpe_details.py +33 -2
- oci/vn_monitoring/models/create_ip_sec_connection_details.py +35 -2
- oci/vn_monitoring/models/create_ip_sec_connection_tunnel_details.py +105 -0
- oci/vn_monitoring/models/create_virtual_circuit_details.py +31 -0
- oci/vn_monitoring/models/drg_attachment_network_create_details.py +1 -1
- oci/vn_monitoring/models/drg_attachment_network_details.py +5 -1
- oci/vn_monitoring/models/ip_sec_connection.py +50 -2
- oci/vn_monitoring/models/ip_sec_connection_tunnel.py +37 -2
- oci/vn_monitoring/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
- oci/vn_monitoring/models/loop_back_drg_attachment_network_details.py +93 -0
- oci/vn_monitoring/models/update_virtual_circuit_details.py +31 -0
- oci/vn_monitoring/models/virtual_circuit.py +31 -0
- oci/vn_monitoring/models/virtual_circuit_associated_tunnel_details.py +155 -0
- oci/vn_monitoring/models/virtual_circuit_drg_attachment_network_details.py +37 -2
- 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.110.2.dist-info → oci-2.112.0.dist-info}/METADATA +1 -1
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/RECORD +475 -434
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/WHEEL +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/top_level.txt +0 -0
@@ -163,7 +163,7 @@ class ArtifactsClient(object):
|
|
163
163
|
:rtype: :class:`~oci.response.Response`
|
164
164
|
|
165
165
|
:example:
|
166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
|
167
167
|
"""
|
168
168
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
169
169
|
required_arguments = ['repositoryId']
|
@@ -290,7 +290,7 @@ class ArtifactsClient(object):
|
|
290
290
|
:rtype: :class:`~oci.response.Response`
|
291
291
|
|
292
292
|
:example:
|
293
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
293
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
|
294
294
|
"""
|
295
295
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
296
296
|
required_arguments = ['repositoryId']
|
@@ -406,7 +406,7 @@ class ArtifactsClient(object):
|
|
406
406
|
:rtype: :class:`~oci.response.Response`
|
407
407
|
|
408
408
|
:example:
|
409
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
409
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
|
410
410
|
"""
|
411
411
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
412
412
|
required_arguments = []
|
@@ -507,7 +507,7 @@ class ArtifactsClient(object):
|
|
507
507
|
:rtype: :class:`~oci.response.Response`
|
508
508
|
|
509
509
|
:example:
|
510
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
510
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
|
511
511
|
"""
|
512
512
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
513
513
|
required_arguments = []
|
@@ -606,7 +606,7 @@ class ArtifactsClient(object):
|
|
606
606
|
:rtype: :class:`~oci.response.Response`
|
607
607
|
|
608
608
|
:example:
|
609
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
609
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
|
610
610
|
"""
|
611
611
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
612
612
|
required_arguments = []
|
@@ -705,7 +705,7 @@ class ArtifactsClient(object):
|
|
705
705
|
:rtype: :class:`~oci.response.Response`
|
706
706
|
|
707
707
|
:example:
|
708
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
708
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
|
709
709
|
"""
|
710
710
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
711
711
|
required_arguments = ['imageId']
|
@@ -813,7 +813,7 @@ class ArtifactsClient(object):
|
|
813
813
|
:rtype: :class:`~oci.response.Response`
|
814
814
|
|
815
815
|
:example:
|
816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
816
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
|
817
817
|
"""
|
818
818
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
819
819
|
required_arguments = ['imageSignatureId']
|
@@ -921,7 +921,7 @@ class ArtifactsClient(object):
|
|
921
921
|
:rtype: :class:`~oci.response.Response`
|
922
922
|
|
923
923
|
:example:
|
924
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
924
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
|
925
925
|
"""
|
926
926
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
927
927
|
required_arguments = ['repositoryId']
|
@@ -1031,7 +1031,7 @@ class ArtifactsClient(object):
|
|
1031
1031
|
:rtype: :class:`~oci.response.Response`
|
1032
1032
|
|
1033
1033
|
:example:
|
1034
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1034
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
|
1035
1035
|
"""
|
1036
1036
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1037
1037
|
required_arguments = ['artifactId']
|
@@ -1149,7 +1149,7 @@ class ArtifactsClient(object):
|
|
1149
1149
|
:rtype: :class:`~oci.response.Response`
|
1150
1150
|
|
1151
1151
|
:example:
|
1152
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1152
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
|
1153
1153
|
"""
|
1154
1154
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1155
1155
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1259,7 +1259,7 @@ class ArtifactsClient(object):
|
|
1259
1259
|
:rtype: :class:`~oci.response.Response`
|
1260
1260
|
|
1261
1261
|
:example:
|
1262
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1262
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
|
1263
1263
|
"""
|
1264
1264
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1265
1265
|
required_arguments = ['repositoryId']
|
@@ -1360,7 +1360,7 @@ class ArtifactsClient(object):
|
|
1360
1360
|
:rtype: :class:`~oci.response.Response`
|
1361
1361
|
|
1362
1362
|
:example:
|
1363
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1363
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
|
1364
1364
|
"""
|
1365
1365
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1366
1366
|
required_arguments = ['compartmentId']
|
@@ -1458,7 +1458,7 @@ class ArtifactsClient(object):
|
|
1458
1458
|
:rtype: :class:`~oci.response.Response`
|
1459
1459
|
|
1460
1460
|
:example:
|
1461
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
|
1462
1462
|
"""
|
1463
1463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1464
1464
|
required_arguments = ['imageId']
|
@@ -1561,7 +1561,7 @@ class ArtifactsClient(object):
|
|
1561
1561
|
:rtype: :class:`~oci.response.Response`
|
1562
1562
|
|
1563
1563
|
:example:
|
1564
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1564
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
|
1565
1565
|
"""
|
1566
1566
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1567
1567
|
required_arguments = ['imageSignatureId']
|
@@ -1664,7 +1664,7 @@ class ArtifactsClient(object):
|
|
1664
1664
|
:rtype: :class:`~oci.response.Response`
|
1665
1665
|
|
1666
1666
|
:example:
|
1667
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1667
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
|
1668
1668
|
"""
|
1669
1669
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1670
1670
|
required_arguments = ['repositoryId']
|
@@ -1769,7 +1769,7 @@ class ArtifactsClient(object):
|
|
1769
1769
|
:rtype: :class:`~oci.response.Response`
|
1770
1770
|
|
1771
1771
|
:example:
|
1772
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
|
1773
1773
|
"""
|
1774
1774
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1775
1775
|
required_arguments = ['artifactId']
|
@@ -1882,7 +1882,7 @@ class ArtifactsClient(object):
|
|
1882
1882
|
:rtype: :class:`~oci.response.Response`
|
1883
1883
|
|
1884
1884
|
:example:
|
1885
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1885
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
|
1886
1886
|
"""
|
1887
1887
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1888
1888
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1987,7 +1987,7 @@ class ArtifactsClient(object):
|
|
1987
1987
|
:rtype: :class:`~oci.response.Response`
|
1988
1988
|
|
1989
1989
|
:example:
|
1990
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1990
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
|
1991
1991
|
"""
|
1992
1992
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1993
1993
|
required_arguments = ['repositoryId']
|
@@ -2167,7 +2167,7 @@ class ArtifactsClient(object):
|
|
2167
2167
|
:rtype: :class:`~oci.response.Response`
|
2168
2168
|
|
2169
2169
|
:example:
|
2170
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
|
2171
2171
|
"""
|
2172
2172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2173
2173
|
required_arguments = ['compartmentId']
|
@@ -2376,7 +2376,7 @@ class ArtifactsClient(object):
|
|
2376
2376
|
:rtype: :class:`~oci.response.Response`
|
2377
2377
|
|
2378
2378
|
:example:
|
2379
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2379
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
|
2380
2380
|
"""
|
2381
2381
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2382
2382
|
required_arguments = ['compartmentId']
|
@@ -2563,7 +2563,7 @@ class ArtifactsClient(object):
|
|
2563
2563
|
:rtype: :class:`~oci.response.Response`
|
2564
2564
|
|
2565
2565
|
:example:
|
2566
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2566
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
|
2567
2567
|
"""
|
2568
2568
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2569
2569
|
required_arguments = ['compartmentId']
|
@@ -2746,7 +2746,7 @@ class ArtifactsClient(object):
|
|
2746
2746
|
:rtype: :class:`~oci.response.Response`
|
2747
2747
|
|
2748
2748
|
:example:
|
2749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
|
2750
2750
|
"""
|
2751
2751
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2752
2752
|
required_arguments = ['compartmentId', 'repositoryId']
|
@@ -2923,7 +2923,7 @@ class ArtifactsClient(object):
|
|
2923
2923
|
:rtype: :class:`~oci.response.Response`
|
2924
2924
|
|
2925
2925
|
:example:
|
2926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
|
2927
2927
|
"""
|
2928
2928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2929
2929
|
required_arguments = ['compartmentId']
|
@@ -3066,7 +3066,7 @@ class ArtifactsClient(object):
|
|
3066
3066
|
:rtype: :class:`~oci.response.Response`
|
3067
3067
|
|
3068
3068
|
:example:
|
3069
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3069
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
|
3070
3070
|
"""
|
3071
3071
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3072
3072
|
required_arguments = ['imageId']
|
@@ -3191,7 +3191,7 @@ class ArtifactsClient(object):
|
|
3191
3191
|
:rtype: :class:`~oci.response.Response`
|
3192
3192
|
|
3193
3193
|
:example:
|
3194
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3194
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
|
3195
3195
|
"""
|
3196
3196
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3197
3197
|
required_arguments = ['imageId']
|
@@ -3307,7 +3307,7 @@ class ArtifactsClient(object):
|
|
3307
3307
|
:rtype: :class:`~oci.response.Response`
|
3308
3308
|
|
3309
3309
|
:example:
|
3310
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3310
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
|
3311
3311
|
"""
|
3312
3312
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3313
3313
|
required_arguments = ['compartmentId']
|
@@ -3417,7 +3417,7 @@ class ArtifactsClient(object):
|
|
3417
3417
|
:rtype: :class:`~oci.response.Response`
|
3418
3418
|
|
3419
3419
|
:example:
|
3420
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3420
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
|
3421
3421
|
"""
|
3422
3422
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3423
3423
|
required_arguments = ['imageId']
|
@@ -3532,7 +3532,7 @@ class ArtifactsClient(object):
|
|
3532
3532
|
:rtype: :class:`~oci.response.Response`
|
3533
3533
|
|
3534
3534
|
:example:
|
3535
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3535
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
|
3536
3536
|
"""
|
3537
3537
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3538
3538
|
required_arguments = ['imageSignatureId']
|
@@ -3647,7 +3647,7 @@ class ArtifactsClient(object):
|
|
3647
3647
|
:rtype: :class:`~oci.response.Response`
|
3648
3648
|
|
3649
3649
|
:example:
|
3650
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3650
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
|
3651
3651
|
"""
|
3652
3652
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3653
3653
|
required_arguments = ['repositoryId']
|
@@ -3766,7 +3766,7 @@ class ArtifactsClient(object):
|
|
3766
3766
|
:rtype: :class:`~oci.response.Response`
|
3767
3767
|
|
3768
3768
|
:example:
|
3769
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3769
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
|
3770
3770
|
"""
|
3771
3771
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3772
3772
|
required_arguments = ['artifactId']
|
@@ -3891,7 +3891,7 @@ class ArtifactsClient(object):
|
|
3891
3891
|
:rtype: :class:`~oci.response.Response`
|
3892
3892
|
|
3893
3893
|
:example:
|
3894
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
|
3895
3895
|
"""
|
3896
3896
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3897
3897
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -4008,7 +4008,7 @@ class ArtifactsClient(object):
|
|
4008
4008
|
:rtype: :class:`~oci.response.Response`
|
4009
4009
|
|
4010
4010
|
:example:
|
4011
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4011
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
|
4012
4012
|
"""
|
4013
4013
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4014
4014
|
required_arguments = ['repositoryId']
|
oci/audit/audit_client.py
CHANGED
@@ -138,7 +138,7 @@ class AuditClient(object):
|
|
138
138
|
:rtype: :class:`~oci.response.Response`
|
139
139
|
|
140
140
|
:example:
|
141
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
141
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
|
142
142
|
"""
|
143
143
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
144
144
|
required_arguments = ['compartmentId']
|
@@ -255,7 +255,7 @@ class AuditClient(object):
|
|
255
255
|
:rtype: :class:`~oci.response.Response`
|
256
256
|
|
257
257
|
:example:
|
258
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
258
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
|
259
259
|
"""
|
260
260
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
261
261
|
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
@@ -350,7 +350,7 @@ class AuditClient(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.112.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
|
354
354
|
"""
|
355
355
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
356
356
|
required_arguments = ['compartmentId']
|
oci/auth/auth_utils.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
3
|
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
4
|
|
5
|
+
import random
|
5
6
|
from oci._vendor import six
|
6
7
|
|
7
8
|
|
@@ -31,3 +32,18 @@ def sanitize_certificate_string(cert_string):
|
|
31
32
|
.replace('-----BEGIN PUBLIC KEY-----', '') \
|
32
33
|
.replace('-----END PUBLIC KEY-----', '') \
|
33
34
|
.replace('\n', '')
|
35
|
+
|
36
|
+
|
37
|
+
def generate_opc_request_id():
|
38
|
+
client_id = generate_unique_id()
|
39
|
+
stack_id = generate_unique_id()
|
40
|
+
individual_id = generate_unique_id()
|
41
|
+
|
42
|
+
opc_request_id = "{}/{}/{}".format(client_id, stack_id, individual_id)
|
43
|
+
return opc_request_id
|
44
|
+
|
45
|
+
|
46
|
+
def generate_unique_id():
|
47
|
+
b = [random.randrange(256) for i in range(16)]
|
48
|
+
hex_string = ''.join(format(x, '02x') for x in b)
|
49
|
+
return hex_string
|
oci/auth/rpt_path_providers.py
CHANGED
@@ -6,15 +6,20 @@ from __future__ import absolute_import
|
|
6
6
|
import abc
|
7
7
|
import os
|
8
8
|
import logging
|
9
|
+
import time
|
9
10
|
|
10
11
|
from oci._vendor import requests
|
12
|
+
import oci._vendor.jwt as jwt
|
11
13
|
|
12
14
|
from .signers.instance_principals_security_token_signer import InstancePrincipalsSecurityTokenSigner
|
13
15
|
|
14
16
|
OCI_RESOURCE_PRINCIPAL_RPT_PATH = "OCI_RESOURCE_PRINCIPAL_RPT_PATH"
|
15
17
|
OCI_RESOURCE_PRINCIPAL_RPT_ID = "OCI_RESOURCE_PRINCIPAL_RPT_ID"
|
18
|
+
OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE"
|
19
|
+
OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE"
|
16
20
|
IMDS_PATH_TEMPLATE = "/20180711/resourcePrincipalToken/{id}"
|
17
21
|
METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
|
22
|
+
OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH = "/var/run/secrets/kubernetes.io/serviceaccount/token"
|
18
23
|
|
19
24
|
logger = logging.getLogger(__name__)
|
20
25
|
|
@@ -70,18 +75,27 @@ class ImdsRptPathProvider(AbstractRptPathProvider):
|
|
70
75
|
|
71
76
|
|
72
77
|
class EnvRptPathProvider(AbstractRptPathProvider):
|
73
|
-
def __init__(self):
|
78
|
+
def __init__(self, **kwargs):
|
74
79
|
super(EnvRptPathProvider, self).__init__(self.get_path_template())
|
75
80
|
self.replacements = self.build_replacements()
|
81
|
+
if kwargs.get("child_resource", False):
|
82
|
+
self.child_resource = True
|
83
|
+
else:
|
84
|
+
self.child_resource = False
|
76
85
|
|
77
86
|
def get_replacements(self):
|
78
87
|
return self.replacements
|
79
88
|
|
80
89
|
def get_path_template(self):
|
90
|
+
if self.child_resource:
|
91
|
+
return os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE)
|
81
92
|
return os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH)
|
82
93
|
|
83
94
|
def build_replacements(self):
|
84
|
-
|
95
|
+
if self.child_resource:
|
96
|
+
rpt_id = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE)
|
97
|
+
else:
|
98
|
+
rpt_id = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ID)
|
85
99
|
if rpt_id:
|
86
100
|
return {'id': rpt_id}
|
87
101
|
return None
|
@@ -102,9 +116,9 @@ class DefaultRptPathProvider(AbstractRptPathProvider):
|
|
102
116
|
This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer
|
103
117
|
"""
|
104
118
|
|
105
|
-
def __init__(self):
|
119
|
+
def __init__(self, **kwargs):
|
106
120
|
logger.debug("A path provider was not specified, using DefaultRptPathProvider")
|
107
|
-
self.env_rpt_path_provider = EnvRptPathProvider()
|
121
|
+
self.env_rpt_path_provider = EnvRptPathProvider(**kwargs)
|
108
122
|
self.imds_rpt_path_provider = ImdsRptPathProvider()
|
109
123
|
super(DefaultRptPathProvider, self).__init__(self.get_path_template())
|
110
124
|
self.replacements = self.build_replacements()
|
@@ -129,6 +143,34 @@ class DefaultRptPathProvider(AbstractRptPathProvider):
|
|
129
143
|
return self.replacements
|
130
144
|
|
131
145
|
|
146
|
+
class DefaultServiceAccountTokenProvider(object):
|
147
|
+
def __init__(self):
|
148
|
+
self.token_path = OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH
|
149
|
+
|
150
|
+
def override_sa_token_path(self, new_token_path):
|
151
|
+
self.token_path = new_token_path
|
152
|
+
|
153
|
+
def get_sa_token(self):
|
154
|
+
token_path = os.path.expanduser(self.token_path)
|
155
|
+
with open(token_path, mode="r", encoding="utf-8") as f:
|
156
|
+
sa_token = f.read().strip()
|
157
|
+
is_sa_token_valid = is_valid_sa_token(sa_token)
|
158
|
+
if is_sa_token_valid is False:
|
159
|
+
raise RuntimeError("Service account token at {} has expired".format(self.token_path))
|
160
|
+
return sa_token
|
161
|
+
|
162
|
+
|
163
|
+
class SuppliedServiceAccountTokenProvider(object):
|
164
|
+
def __init__(self, token_string):
|
165
|
+
self.token_string = token_string
|
166
|
+
|
167
|
+
def get_sa_token(self):
|
168
|
+
is_sa_token_valid = is_valid_sa_token(self.token_string)
|
169
|
+
if is_sa_token_valid is False:
|
170
|
+
raise RuntimeError("The supplied service account token has expired.")
|
171
|
+
return self.token_string
|
172
|
+
|
173
|
+
|
132
174
|
def get_instance_id_from_imds():
|
133
175
|
# Get the instance id from the metadata service
|
134
176
|
# TODO add error checks to ensure instance_id was retrieved.
|
@@ -137,3 +179,11 @@ def get_instance_id_from_imds():
|
|
137
179
|
timeout = (10, 60)
|
138
180
|
response = requests.get(endpoint, timeout=timeout, headers=METADATA_AUTH_HEADERS)
|
139
181
|
return response.text.strip().lower()
|
182
|
+
|
183
|
+
|
184
|
+
def is_valid_sa_token(token):
|
185
|
+
decoded_jwt = jwt.decode(jwt=token, verify=False)
|
186
|
+
time_now = int(time.time())
|
187
|
+
if decoded_jwt.get('exp') is None:
|
188
|
+
raise RuntimeError("Service account token does not have an 'exp' field.")
|
189
|
+
return time_now < decoded_jwt['exp']
|
@@ -23,6 +23,10 @@ class SecurityTokenContainer(object):
|
|
23
23
|
def valid_with_jitter(self, jitter=DEFAULT_EXPIRY_JITTER_SECONDS):
|
24
24
|
return not self._expired_with_jitter(jitter)
|
25
25
|
|
26
|
+
def valid_with_half_expiration_time(self):
|
27
|
+
valid_duration = self.jwt['exp'] - self.jwt['iat']
|
28
|
+
return not self._expired_with_jitter(valid_duration / 2)
|
29
|
+
|
26
30
|
def _expired_with_jitter(self, jitter):
|
27
31
|
"""
|
28
32
|
Checks expiry with some jitter to account for clock skews on the client and also, for
|
oci/auth/signers/__init__.py
CHANGED
@@ -9,6 +9,8 @@ from .resource_principals_federation_signer import ResourcePrincipalsFederationS
|
|
9
9
|
from .resource_principals_delegation_token_signer import ResourcePrincipalsDelegationTokenSigner # noqa: F401
|
10
10
|
from .ephemeral_resource_principals_signer import EphemeralResourcePrincipalSigner # noqa: F401
|
11
11
|
from .ephemeral_resource_principals_delegation_token_signer import EphemeralResourcePrincipalsDelegationTokenSigner # noqa: F401
|
12
|
-
from .resource_principals_signer import get_resource_principals_signer, get_resource_principal_delegation_token_signer # noqa: F401
|
12
|
+
from .resource_principals_signer import get_resource_principals_signer, get_resource_principal_delegation_token_signer, get_oke_workload_identity_resource_principal_signer # noqa: F401
|
13
|
+
from .oke_workload_identity_resource_principal_signer import OkeWorkloadIdentityResourcePrincipalSigner # noqa: F401
|
13
14
|
from .ephemeral_resource_principals_v21_signer import EphemeralResourcePrincipalV21Signer # noqa: F401
|
14
15
|
from .key_pair_signer import KeyPairSigner # noqa: F401
|
16
|
+
from .nested_resource_principals_signer import NestedResourcePrincipals # noqa: F401
|
@@ -10,6 +10,8 @@ from cryptography.hazmat.primitives.serialization import Encoding, PublicFormat
|
|
10
10
|
|
11
11
|
import oci
|
12
12
|
import oci.signer
|
13
|
+
from oci._vendor import requests
|
14
|
+
|
13
15
|
from .ephemeral_resource_principals_signer import FixedSessionKeySupplier, FileBasedSessionKeySupplier
|
14
16
|
from .key_pair_signer import KeyPairSigner
|
15
17
|
from .security_token_signer import SecurityTokenSigner, SECURITY_TOKEN_FORMAT_STRING
|
@@ -17,11 +19,16 @@ from .. import auth_utils
|
|
17
19
|
from ..security_token_container import SecurityTokenContainer
|
18
20
|
|
19
21
|
|
22
|
+
METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
|
23
|
+
GET_REGION_URL = '{}/instance/region'.format(METADATA_URL_BASE)
|
24
|
+
METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
|
25
|
+
|
26
|
+
|
20
27
|
class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
|
21
28
|
|
22
29
|
def __init__(self, resource_principal_token_endpoint=None, resource_principal_session_token_endpoint=None,
|
23
30
|
resource_id=None, private_key=None, private_key_passphrase=None, retry_strategy=None,
|
24
|
-
log_requests=None, generic_headers=None, tenancy_id=None, rp_version=None, **kwargs):
|
31
|
+
log_requests=None, generic_headers=None, tenancy_id=None, rp_version=None, region=None, **kwargs):
|
25
32
|
|
26
33
|
if resource_principal_token_endpoint:
|
27
34
|
self.resource_principal_token_endpoint = resource_principal_token_endpoint
|
@@ -43,6 +50,7 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
|
|
43
50
|
raise ValueError("tenancy_id should be provided")
|
44
51
|
|
45
52
|
self._reset_signers_lock = threading.Lock()
|
53
|
+
self.region = self._initialize_and_return_region(region_raw=region)
|
46
54
|
|
47
55
|
if retry_strategy:
|
48
56
|
self.retry_strategy = retry_strategy
|
@@ -200,3 +208,25 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
|
|
200
208
|
header_params=header_params,
|
201
209
|
body=body,
|
202
210
|
response_type=oci.base_client.BYTES_RESPONSE_TYPE)
|
211
|
+
|
212
|
+
def _initialize_and_return_region(self, region_raw=None):
|
213
|
+
if hasattr(self, 'region'):
|
214
|
+
return self.region
|
215
|
+
|
216
|
+
if region_raw is None:
|
217
|
+
try:
|
218
|
+
self.logger.debug("Requesting region information from :{}".format(GET_REGION_URL))
|
219
|
+
response = requests.get(GET_REGION_URL, timeout=(10, 60), headers=METADATA_AUTH_HEADERS)
|
220
|
+
region_raw = response.text.strip().lower()
|
221
|
+
except Exception as ex:
|
222
|
+
self.logger.debug("Got exception: {} while getting region from: {}, setting region as None".format(ex, GET_REGION_URL))
|
223
|
+
region_raw = None
|
224
|
+
|
225
|
+
# The region can be something like "phx" but internally we expect "us-phoenix-1", "us-ashburn-1" etc.
|
226
|
+
if region_raw in oci.regions.REGIONS_SHORT_NAMES:
|
227
|
+
region_to_use = oci.regions.REGIONS_SHORT_NAMES[region_raw]
|
228
|
+
else:
|
229
|
+
region_to_use = region_raw
|
230
|
+
|
231
|
+
self.logger.debug("Region is set to: {}".format(region_to_use))
|
232
|
+
return region_to_use
|