oci 2.132.0__py3-none-any.whl → 2.133.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +626 -28
- oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
- oci/ai_document/models/__init__.py +10 -0
- oci/ai_document/models/add_model_lock_details.py +150 -0
- oci/ai_document/models/add_project_lock_details.py +150 -0
- oci/ai_document/models/analyze_document_details.py +5 -5
- oci/ai_document/models/detected_document_type.py +0 -35
- oci/ai_document/models/document_classification_feature.py +2 -33
- oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
- oci/ai_document/models/general_processor_config.py +5 -5
- oci/ai_document/models/model.py +33 -2
- oci/ai_document/models/model_summary.py +33 -2
- oci/ai_document/models/output_location.py +1 -1
- oci/ai_document/models/project.py +33 -2
- oci/ai_document/models/remove_model_lock_details.py +88 -0
- oci/ai_document/models/remove_project_lock_details.py +88 -0
- oci/ai_document/models/resource_lock.py +216 -0
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +17 -17
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/__init__.py +3 -1
- oci/announcements_service/announcement_client.py +103 -6
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/models/__init__.py +12 -0
- oci/announcements_service/models/announcement.py +1 -1
- oci/announcements_service/models/announcement_compartment.py +72 -0
- oci/announcements_service/models/announcement_summary.py +1 -1
- oci/announcements_service/models/base_announcement.py +7 -3
- oci/announcements_service/models/base_service.py +498 -0
- oci/announcements_service/models/notifications_summary.py +130 -0
- oci/announcements_service/models/service.py +130 -0
- oci/announcements_service/models/service_summary.py +133 -0
- oci/announcements_service/models/services_collection.py +72 -0
- oci/announcements_service/service_client.py +275 -0
- oci/announcements_service/service_client_composite_operations.py +26 -0
- 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/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +13862 -9467
- oci/database/database_client_composite_operations.py +1868 -232
- oci/database/models/__init__.py +80 -0
- oci/database/models/action_member.py +134 -0
- oci/database/models/action_order_details.py +107 -0
- oci/database/models/action_param_values_collection.py +72 -0
- oci/database/models/action_param_values_summary.py +216 -0
- oci/database/models/autonomous_database.py +33 -6
- oci/database/models/autonomous_database_standby_summary.py +33 -2
- oci/database/models/autonomous_database_summary.py +33 -6
- oci/database/models/cancel_execution_window_details.py +134 -0
- oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
- oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/create_autonomous_database_base.py +2 -6
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
- oci/database/models/create_exadb_vm_cluster_details.py +12 -2
- oci/database/models/create_execution_action_details.py +304 -0
- oci/database/models/create_execution_window_details.py +282 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
- oci/database/models/create_scheduled_action_details.py +339 -0
- oci/database/models/create_scheduling_plan_details.py +306 -0
- oci/database/models/create_scheduling_policy_details.py +267 -0
- oci/database/models/create_scheduling_window_details.py +181 -0
- oci/database/models/exadata_infrastructure.py +33 -2
- oci/database/models/exadata_infrastructure_summary.py +33 -2
- oci/database/models/exadb_vm_cluster.py +12 -2
- oci/database/models/exadb_vm_cluster_summary.py +12 -2
- oci/database/models/execution_action.py +715 -0
- oci/database/models/execution_action_member.py +216 -0
- oci/database/models/execution_action_summary.py +715 -0
- oci/database/models/execution_window.py +783 -0
- oci/database/models/execution_window_summary.py +783 -0
- oci/database/models/granular_maintenance_history_details.py +99 -0
- oci/database/models/maintenance_run.py +62 -0
- oci/database/models/maintenance_run_history.py +64 -2
- oci/database/models/maintenance_run_history_summary.py +64 -2
- oci/database/models/maintenance_run_summary.py +62 -0
- oci/database/models/move_execution_action_member_details.py +220 -0
- oci/database/models/recommended_scheduled_action_summary.py +280 -0
- oci/database/models/recommended_scheduled_actions_collection.py +72 -0
- oci/database/models/reorder_execution_action_details.py +152 -0
- oci/database/models/reorder_scheduled_actions_details.py +109 -0
- oci/database/models/scheduled_action.py +633 -0
- oci/database/models/scheduled_action_collection.py +72 -0
- oci/database/models/scheduled_action_summary.py +633 -0
- oci/database/models/scheduling_plan.py +643 -0
- oci/database/models/scheduling_plan_collection.py +72 -0
- oci/database/models/scheduling_plan_summary.py +643 -0
- oci/database/models/scheduling_policy.py +493 -0
- oci/database/models/scheduling_policy_summary.py +493 -0
- oci/database/models/scheduling_window.py +469 -0
- oci/database/models/scheduling_window_summary.py +469 -0
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database/models/update_exadb_vm_cluster_details.py +12 -2
- oci/database/models/update_execution_action_details.py +218 -0
- oci/database/models/update_execution_window_details.py +212 -0
- oci/database/models/update_scheduled_action_details.py +140 -0
- oci/database/models/update_scheduling_policy_details.py +232 -0
- oci/database/models/update_scheduling_window_details.py +146 -0
- oci/database/models/window_preference_detail.py +231 -0
- oci/database_management/db_management_client.py +580 -208
- oci/database_management/db_management_client_composite_operations.py +132 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
- oci/database_management/models/autonomous_database_feature_details.py +167 -0
- oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
- oci/database_management/models/connector_details.py +15 -3
- oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
- oci/database_management/models/db_management_private_endpoint.py +31 -0
- oci/database_management/models/direct_connector_details.py +51 -0
- oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
- oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/external_connector_details.py +1 -1
- oci/database_management/models/macs_connector_details.py +1 -1
- oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
- oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
- oci/database_management/models/private_end_point_connector_details.py +1 -1
- 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/__init__.py +16 -0
- oci/delegate_access_control/delegate_access_control_client.py +3324 -0
- oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
- oci/delegate_access_control/models/__init__.py +96 -0
- oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
- oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
- oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
- oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
- oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
- oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control.py +833 -0
- oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
- oci/delegate_access_control/models/delegation_control_summary.py +465 -0
- oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_subscription.py +524 -0
- oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
- oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
- oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider.py +583 -0
- oci/delegate_access_control/models/service_provider_action.py +371 -0
- oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
- oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
- oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
- oci/delegate_access_control/models/service_provider_summary.py +508 -0
- oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
- oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
- oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
- oci/delegate_access_control/models/work_request.py +438 -0
- oci/delegate_access_control/models/work_request_error.py +136 -0
- oci/delegate_access_control/models/work_request_error_collection.py +72 -0
- oci/delegate_access_control/models/work_request_log_entry.py +103 -0
- oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
- oci/delegate_access_control/models/work_request_resource.py +234 -0
- oci/delegate_access_control/models/work_request_summary.py +438 -0
- oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/work_request_client.py +660 -0
- oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
- 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 +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +393 -59
- oci/file_storage/file_storage_client_composite_operations.py +138 -0
- oci/file_storage/models/__init__.py +4 -0
- oci/file_storage/models/create_mount_target_details.py +39 -26
- oci/file_storage/models/mount_target.py +153 -3
- oci/file_storage/models/mount_target_summary.py +155 -3
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- 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 +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- 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 +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/fusion_environment_family.py +33 -2
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_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 +68 -68
- 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 +307 -307
- oci/integration/integration_instance_client.py +16 -16
- 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 +25 -25
- oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/key_management/models/auto_key_rotation_details.py +10 -10
- oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
- oci/key_management/models/create_hsm_cluster_details.py +5 -5
- oci/key_management/models/hsm_cluster.py +4 -4
- oci/key_management/models/hsm_cluster_collection.py +2 -2
- oci/key_management/models/hsm_cluster_summary.py +3 -3
- oci/key_management/models/hsm_partition.py +29 -9
- oci/key_management/models/hsm_partition_collection.py +1 -1
- oci/key_management/models/hsm_partition_summary.py +11 -7
- oci/key_management/models/port_information.py +5 -5
- oci/key_management/models/pre_co_user_credentials.py +2 -2
- oci/key_management/models/upload_partition_certificates_details.py +5 -5
- oci/key_management/models/vault.py +31 -0
- 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/load_balancer/models/backend.py +4 -0
- oci/load_balancer/models/backend_details.py +4 -0
- oci/load_balancer/models/backend_set.py +6 -2
- oci/load_balancer/models/backend_set_details.py +6 -2
- oci/load_balancer/models/create_backend_details.py +4 -0
- oci/load_balancer/models/create_backend_set_details.py +6 -2
- oci/load_balancer/models/create_load_balancer_details.py +116 -0
- oci/load_balancer/models/ip_max_connections.py +8 -2
- oci/load_balancer/models/load_balancer.py +100 -0
- oci/load_balancer/models/update_backend_details.py +4 -0
- oci/load_balancer/models/update_backend_set_details.py +6 -2
- oci/load_balancer/models/update_load_balancer_details.py +112 -0
- 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/models/__init__.py +2 -0
- oci/mysql/models/create_db_system_details.py +37 -2
- oci/mysql/models/customer_contact.py +72 -0
- oci/mysql/models/db_system.py +37 -2
- oci/mysql/models/update_db_system_details.py +37 -2
- 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/models/__init__.py +14 -0
- oci/object_storage/models/access_target_details.py +136 -0
- oci/object_storage/models/create_private_endpoint_details.py +389 -0
- oci/object_storage/models/fqdns.py +99 -0
- oci/object_storage/models/prefix_fqdns.py +134 -0
- oci/object_storage/models/private_endpoint.py +685 -0
- oci/object_storage/models/private_endpoint_summary.py +369 -0
- oci/object_storage/models/update_private_endpoint_details.py +216 -0
- oci/object_storage/models/work_request.py +15 -3
- oci/object_storage/models/work_request_summary.py +15 -3
- oci/object_storage/object_storage_client.py +686 -71
- oci/object_storage/object_storage_client_composite_operations.py +139 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +8 -8
- oci/ocvp/cluster_client_composite_operations.py +2 -2
- oci/ocvp/esxi_host_client.py +9 -9
- oci/ocvp/models/cluster.py +35 -2
- oci/ocvp/models/cluster_summary.py +35 -2
- oci/ocvp/models/datastore_details.py +1 -1
- oci/ocvp/models/esxi_host.py +35 -2
- oci/ocvp/models/esxi_host_summary.py +35 -2
- oci/ocvp/models/sddc.py +35 -2
- oci/ocvp/models/sddc_summary.py +35 -2
- oci/ocvp/models/supported_host_shape_summary.py +55 -3
- oci/ocvp/models/work_request.py +55 -3
- oci/ocvp/sddc_client.py +21 -16
- 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 +177 -177
- 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 +135 -25
- oci/recovery/database_recovery_client_composite_operations.py +42 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/change_protected_database_subscription_details.py +103 -0
- oci/recovery/models/create_protected_database_details.py +33 -0
- oci/recovery/models/create_protection_policy_details.py +39 -0
- oci/recovery/models/protected_database.py +31 -0
- oci/recovery/models/protected_database_summary.py +31 -0
- oci/recovery/models/protection_policy.py +31 -0
- oci/recovery/models/protection_policy_summary.py +31 -0
- 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/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_endpoints.py +1 -0
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/models/__init__.py +2 -0
- oci/waf/models/dynamic_http_response_body.py +104 -0
- oci/waf/models/http_response_body.py +11 -3
- oci/waf/models/static_text_http_response_body.py +1 -1
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/METADATA +1 -1
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/RECORD +489 -369
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/WHEEL +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/top_level.txt +0 -0
@@ -146,7 +146,7 @@ class AnnouncementClient(object):
|
|
146
146
|
:rtype: :class:`~oci.response.Response`
|
147
147
|
|
148
148
|
:example:
|
149
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/get_announcement.py.html>`__ to see an example of how to use get_announcement API.
|
150
150
|
"""
|
151
151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
152
152
|
required_arguments = ['announcementId']
|
@@ -215,6 +215,103 @@ class AnnouncementClient(object):
|
|
215
215
|
api_reference_link=api_reference_link,
|
216
216
|
required_arguments=required_arguments)
|
217
217
|
|
218
|
+
def get_announcement_compartment(self, announcement_id, **kwargs):
|
219
|
+
"""
|
220
|
+
Gets the compartment details of an announcement.
|
221
|
+
|
222
|
+
|
223
|
+
:param str announcement_id: (required)
|
224
|
+
The OCID of the announcement.
|
225
|
+
|
226
|
+
:param str opc_request_id: (optional)
|
227
|
+
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
228
|
+
a particular request, please provide the complete request ID.
|
229
|
+
|
230
|
+
:param obj retry_strategy: (optional)
|
231
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
232
|
+
|
233
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
234
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
235
|
+
|
236
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
237
|
+
|
238
|
+
:param bool allow_control_chars: (optional)
|
239
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
240
|
+
By default, the response will not allow control characters in strings
|
241
|
+
|
242
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.announcements_service.models.AnnouncementCompartment`
|
243
|
+
:rtype: :class:`~oci.response.Response`
|
244
|
+
|
245
|
+
:example:
|
246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/get_announcement_compartment.py.html>`__ to see an example of how to use get_announcement_compartment API.
|
247
|
+
"""
|
248
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
249
|
+
required_arguments = ['announcementId']
|
250
|
+
resource_path = "/announcements/{announcementId}/compartment"
|
251
|
+
method = "GET"
|
252
|
+
operation_name = "get_announcement_compartment"
|
253
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/announcements/0.0.1/AnnouncementCompartment/GetAnnouncementCompartment"
|
254
|
+
|
255
|
+
# Don't accept unknown kwargs
|
256
|
+
expected_kwargs = [
|
257
|
+
"allow_control_chars",
|
258
|
+
"retry_strategy",
|
259
|
+
"opc_request_id"
|
260
|
+
]
|
261
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
262
|
+
if extra_kwargs:
|
263
|
+
raise ValueError(
|
264
|
+
f"get_announcement_compartment got unknown kwargs: {extra_kwargs!r}")
|
265
|
+
|
266
|
+
path_params = {
|
267
|
+
"announcementId": announcement_id
|
268
|
+
}
|
269
|
+
|
270
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
271
|
+
|
272
|
+
for (k, v) in six.iteritems(path_params):
|
273
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
274
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
275
|
+
|
276
|
+
header_params = {
|
277
|
+
"accept": "application/json",
|
278
|
+
"content-type": "application/json",
|
279
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
280
|
+
}
|
281
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
282
|
+
|
283
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
284
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
285
|
+
client_retry_strategy=self.retry_strategy
|
286
|
+
)
|
287
|
+
|
288
|
+
if retry_strategy:
|
289
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
290
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
291
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
292
|
+
return retry_strategy.make_retrying_call(
|
293
|
+
self.base_client.call_api,
|
294
|
+
resource_path=resource_path,
|
295
|
+
method=method,
|
296
|
+
path_params=path_params,
|
297
|
+
header_params=header_params,
|
298
|
+
response_type="AnnouncementCompartment",
|
299
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
300
|
+
operation_name=operation_name,
|
301
|
+
api_reference_link=api_reference_link,
|
302
|
+
required_arguments=required_arguments)
|
303
|
+
else:
|
304
|
+
return self.base_client.call_api(
|
305
|
+
resource_path=resource_path,
|
306
|
+
method=method,
|
307
|
+
path_params=path_params,
|
308
|
+
header_params=header_params,
|
309
|
+
response_type="AnnouncementCompartment",
|
310
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
311
|
+
operation_name=operation_name,
|
312
|
+
api_reference_link=api_reference_link,
|
313
|
+
required_arguments=required_arguments)
|
314
|
+
|
218
315
|
def get_announcement_user_status(self, announcement_id, **kwargs):
|
219
316
|
"""
|
220
317
|
Gets information about whether a specific announcement was acknowledged by a user.
|
@@ -245,7 +342,7 @@ class AnnouncementClient(object):
|
|
245
342
|
:rtype: :class:`~oci.response.Response`
|
246
343
|
|
247
344
|
:example:
|
248
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
345
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/get_announcement_user_status.py.html>`__ to see an example of how to use get_announcement_user_status API.
|
249
346
|
"""
|
250
347
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
251
348
|
required_arguments = ['announcementId']
|
@@ -366,7 +463,7 @@ class AnnouncementClient(object):
|
|
366
463
|
:param str platform_type: (optional)
|
367
464
|
A filter to return only announcements affecting a specific platform.
|
368
465
|
|
369
|
-
Allowed values are: "IAAS", "SAAS"
|
466
|
+
Allowed values are: "IAAS", "SAAS", "PAAS"
|
370
467
|
|
371
468
|
:param list[str] exclude_announcement_types: (optional)
|
372
469
|
Exclude The type of announcement.
|
@@ -397,7 +494,7 @@ class AnnouncementClient(object):
|
|
397
494
|
:rtype: :class:`~oci.response.Response`
|
398
495
|
|
399
496
|
:example:
|
400
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
497
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/list_announcements.py.html>`__ to see an example of how to use list_announcements API.
|
401
498
|
"""
|
402
499
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
403
500
|
required_arguments = ['compartmentId']
|
@@ -454,7 +551,7 @@ class AnnouncementClient(object):
|
|
454
551
|
)
|
455
552
|
|
456
553
|
if 'platform_type' in kwargs:
|
457
|
-
platform_type_allowed_values = ["IAAS", "SAAS"]
|
554
|
+
platform_type_allowed_values = ["IAAS", "SAAS", "PAAS"]
|
458
555
|
if kwargs['platform_type'] not in platform_type_allowed_values:
|
459
556
|
raise ValueError(
|
460
557
|
f"Invalid value for `platform_type`, must be one of { platform_type_allowed_values }"
|
@@ -555,7 +652,7 @@ class AnnouncementClient(object):
|
|
555
652
|
:rtype: :class:`~oci.response.Response`
|
556
653
|
|
557
654
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
655
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/update_announcement_user_status.py.html>`__ to see an example of how to use update_announcement_user_status API.
|
559
656
|
"""
|
560
657
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
658
|
required_arguments = ['announcementId']
|
@@ -152,7 +152,7 @@ class AnnouncementSubscriptionClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/change_announcement_subscription_compartment.py.html>`__ to see an example of how to use change_announcement_subscription_compartment API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['announcementSubscriptionId']
|
@@ -260,7 +260,7 @@ class AnnouncementSubscriptionClient(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.133.0/announcementsservice/create_announcement_subscription.py.html>`__ to see an example of how to use create_announcement_subscription API.
|
264
264
|
"""
|
265
265
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
266
266
|
required_arguments = []
|
@@ -365,7 +365,7 @@ class AnnouncementSubscriptionClient(object):
|
|
365
365
|
:rtype: :class:`~oci.response.Response`
|
366
366
|
|
367
367
|
:example:
|
368
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
368
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/create_filter_group.py.html>`__ to see an example of how to use create_filter_group API.
|
369
369
|
"""
|
370
370
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
371
371
|
required_arguments = ['announcementSubscriptionId']
|
@@ -474,7 +474,7 @@ class AnnouncementSubscriptionClient(object):
|
|
474
474
|
:rtype: :class:`~oci.response.Response`
|
475
475
|
|
476
476
|
:example:
|
477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
477
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/delete_announcement_subscription.py.html>`__ to see an example of how to use delete_announcement_subscription API.
|
478
478
|
"""
|
479
479
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
480
480
|
required_arguments = ['announcementSubscriptionId']
|
@@ -579,7 +579,7 @@ class AnnouncementSubscriptionClient(object):
|
|
579
579
|
:rtype: :class:`~oci.response.Response`
|
580
580
|
|
581
581
|
:example:
|
582
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
582
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/delete_filter_group.py.html>`__ to see an example of how to use delete_filter_group API.
|
583
583
|
"""
|
584
584
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
585
585
|
required_arguments = ['announcementSubscriptionId', 'filterGroupName']
|
@@ -679,7 +679,7 @@ class AnnouncementSubscriptionClient(object):
|
|
679
679
|
:rtype: :class:`~oci.response.Response`
|
680
680
|
|
681
681
|
:example:
|
682
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
682
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/get_announcement_subscription.py.html>`__ to see an example of how to use get_announcement_subscription API.
|
683
683
|
"""
|
684
684
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
685
685
|
required_arguments = ['announcementSubscriptionId']
|
@@ -805,7 +805,7 @@ class AnnouncementSubscriptionClient(object):
|
|
805
805
|
:rtype: :class:`~oci.response.Response`
|
806
806
|
|
807
807
|
:example:
|
808
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
808
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/list_announcement_subscriptions.py.html>`__ to see an example of how to use list_announcement_subscriptions API.
|
809
809
|
"""
|
810
810
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
811
811
|
required_arguments = ['compartmentId']
|
@@ -940,7 +940,7 @@ class AnnouncementSubscriptionClient(object):
|
|
940
940
|
:rtype: :class:`~oci.response.Response`
|
941
941
|
|
942
942
|
:example:
|
943
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
943
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/update_announcement_subscription.py.html>`__ to see an example of how to use update_announcement_subscription API.
|
944
944
|
"""
|
945
945
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
946
946
|
required_arguments = ['announcementSubscriptionId']
|
@@ -1052,7 +1052,7 @@ class AnnouncementSubscriptionClient(object):
|
|
1052
1052
|
:rtype: :class:`~oci.response.Response`
|
1053
1053
|
|
1054
1054
|
:example:
|
1055
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1055
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/update_filter_group.py.html>`__ to see an example of how to use update_filter_group API.
|
1056
1056
|
"""
|
1057
1057
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1058
1058
|
required_arguments = ['announcementSubscriptionId', 'filterGroupName']
|
@@ -149,7 +149,7 @@ class AnnouncementsPreferencesClient(object):
|
|
149
149
|
:rtype: :class:`~oci.response.Response`
|
150
150
|
|
151
151
|
:example:
|
152
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
152
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/create_announcements_preference.py.html>`__ to see an example of how to use create_announcements_preference API.
|
153
153
|
"""
|
154
154
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
155
155
|
required_arguments = []
|
@@ -241,7 +241,7 @@ class AnnouncementsPreferencesClient(object):
|
|
241
241
|
:rtype: :class:`~oci.response.Response`
|
242
242
|
|
243
243
|
:example:
|
244
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
244
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/get_announcements_preference.py.html>`__ to see an example of how to use get_announcements_preference API.
|
245
245
|
"""
|
246
246
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
247
247
|
required_arguments = ['preferenceId']
|
@@ -346,7 +346,7 @@ class AnnouncementsPreferencesClient(object):
|
|
346
346
|
:rtype: :class:`~oci.response.Response`
|
347
347
|
|
348
348
|
:example:
|
349
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
349
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/list_announcements_preferences.py.html>`__ to see an example of how to use list_announcements_preferences API.
|
350
350
|
"""
|
351
351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
352
352
|
required_arguments = ['compartmentId']
|
@@ -450,7 +450,7 @@ class AnnouncementsPreferencesClient(object):
|
|
450
450
|
:rtype: :class:`~oci.response.Response`
|
451
451
|
|
452
452
|
:example:
|
453
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
453
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.133.0/announcementsservice/update_announcements_preference.py.html>`__ to see an example of how to use update_announcements_preference API.
|
454
454
|
"""
|
455
455
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
456
456
|
required_arguments = ['preferenceId']
|
@@ -8,6 +8,7 @@ from __future__ import absolute_import
|
|
8
8
|
|
9
9
|
from .affected_resource import AffectedResource
|
10
10
|
from .announcement import Announcement
|
11
|
+
from .announcement_compartment import AnnouncementCompartment
|
11
12
|
from .announcement_subscription import AnnouncementSubscription
|
12
13
|
from .announcement_subscription_collection import AnnouncementSubscriptionCollection
|
13
14
|
from .announcement_subscription_summary import AnnouncementSubscriptionSummary
|
@@ -19,6 +20,7 @@ from .announcements_preferences_summary import AnnouncementsPreferencesSummary
|
|
19
20
|
from .base_announcement import BaseAnnouncement
|
20
21
|
from .base_announcements_preferences import BaseAnnouncementsPreferences
|
21
22
|
from .base_create_announcements_preferences_details import BaseCreateAnnouncementsPreferencesDetails
|
23
|
+
from .base_service import BaseService
|
22
24
|
from .change_announcement_subscription_compartment_details import ChangeAnnouncementSubscriptionCompartmentDetails
|
23
25
|
from .create_announcement_subscription_details import CreateAnnouncementSubscriptionDetails
|
24
26
|
from .create_announcements_preferences_details import CreateAnnouncementsPreferencesDetails
|
@@ -27,6 +29,10 @@ from .filter import Filter
|
|
27
29
|
from .filter_group import FilterGroup
|
28
30
|
from .filter_group_details import FilterGroupDetails
|
29
31
|
from .model_property import ModelProperty
|
32
|
+
from .notifications_summary import NotificationsSummary
|
33
|
+
from .service import Service
|
34
|
+
from .service_summary import ServiceSummary
|
35
|
+
from .services_collection import ServicesCollection
|
30
36
|
from .update_announcement_subscription_details import UpdateAnnouncementSubscriptionDetails
|
31
37
|
from .update_announcements_preferences_details import UpdateAnnouncementsPreferencesDetails
|
32
38
|
from .update_filter_group_details import UpdateFilterGroupDetails
|
@@ -35,6 +41,7 @@ from .update_filter_group_details import UpdateFilterGroupDetails
|
|
35
41
|
announcements_service_type_mapping = {
|
36
42
|
"AffectedResource": AffectedResource,
|
37
43
|
"Announcement": Announcement,
|
44
|
+
"AnnouncementCompartment": AnnouncementCompartment,
|
38
45
|
"AnnouncementSubscription": AnnouncementSubscription,
|
39
46
|
"AnnouncementSubscriptionCollection": AnnouncementSubscriptionCollection,
|
40
47
|
"AnnouncementSubscriptionSummary": AnnouncementSubscriptionSummary,
|
@@ -46,6 +53,7 @@ announcements_service_type_mapping = {
|
|
46
53
|
"BaseAnnouncement": BaseAnnouncement,
|
47
54
|
"BaseAnnouncementsPreferences": BaseAnnouncementsPreferences,
|
48
55
|
"BaseCreateAnnouncementsPreferencesDetails": BaseCreateAnnouncementsPreferencesDetails,
|
56
|
+
"BaseService": BaseService,
|
49
57
|
"ChangeAnnouncementSubscriptionCompartmentDetails": ChangeAnnouncementSubscriptionCompartmentDetails,
|
50
58
|
"CreateAnnouncementSubscriptionDetails": CreateAnnouncementSubscriptionDetails,
|
51
59
|
"CreateAnnouncementsPreferencesDetails": CreateAnnouncementsPreferencesDetails,
|
@@ -54,6 +62,10 @@ announcements_service_type_mapping = {
|
|
54
62
|
"FilterGroup": FilterGroup,
|
55
63
|
"FilterGroupDetails": FilterGroupDetails,
|
56
64
|
"ModelProperty": ModelProperty,
|
65
|
+
"NotificationsSummary": NotificationsSummary,
|
66
|
+
"Service": Service,
|
67
|
+
"ServiceSummary": ServiceSummary,
|
68
|
+
"ServicesCollection": ServicesCollection,
|
57
69
|
"UpdateAnnouncementSubscriptionDetails": UpdateAnnouncementSubscriptionDetails,
|
58
70
|
"UpdateAnnouncementsPreferencesDetails": UpdateAnnouncementsPreferencesDetails,
|
59
71
|
"UpdateFilterGroupDetails": UpdateFilterGroupDetails
|
@@ -103,7 +103,7 @@ class Announcement(BaseAnnouncement):
|
|
103
103
|
|
104
104
|
:param platform_type:
|
105
105
|
The value to assign to the platform_type property of this Announcement.
|
106
|
-
Allowed values for this property are: "IAAS", "SAAS", 'UNKNOWN_ENUM_VALUE'.
|
106
|
+
Allowed values for this property are: "IAAS", "SAAS", "PAAS", 'UNKNOWN_ENUM_VALUE'.
|
107
107
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
108
108
|
:type platform_type: str
|
109
109
|
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
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
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 0.0.1
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class AnnouncementCompartment(object):
|
14
|
+
"""
|
15
|
+
Compartment details of an announcement.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new AnnouncementCompartment object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param compartment_id:
|
24
|
+
The value to assign to the compartment_id property of this AnnouncementCompartment.
|
25
|
+
:type compartment_id: str
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'compartment_id': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'compartment_id': 'compartmentId'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._compartment_id = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def compartment_id(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the compartment_id of this AnnouncementCompartment.
|
42
|
+
The OCID of the compartment to which the announcement belongs to.
|
43
|
+
|
44
|
+
|
45
|
+
:return: The compartment_id of this AnnouncementCompartment.
|
46
|
+
:rtype: str
|
47
|
+
"""
|
48
|
+
return self._compartment_id
|
49
|
+
|
50
|
+
@compartment_id.setter
|
51
|
+
def compartment_id(self, compartment_id):
|
52
|
+
"""
|
53
|
+
Sets the compartment_id of this AnnouncementCompartment.
|
54
|
+
The OCID of the compartment to which the announcement belongs to.
|
55
|
+
|
56
|
+
|
57
|
+
:param compartment_id: The compartment_id of this AnnouncementCompartment.
|
58
|
+
:type: str
|
59
|
+
"""
|
60
|
+
self._compartment_id = compartment_id
|
61
|
+
|
62
|
+
def __repr__(self):
|
63
|
+
return formatted_flat_dict(self)
|
64
|
+
|
65
|
+
def __eq__(self, other):
|
66
|
+
if other is None:
|
67
|
+
return False
|
68
|
+
|
69
|
+
return self.__dict__ == other.__dict__
|
70
|
+
|
71
|
+
def __ne__(self, other):
|
72
|
+
return not self == other
|
@@ -103,7 +103,7 @@ class AnnouncementSummary(BaseAnnouncement):
|
|
103
103
|
|
104
104
|
:param platform_type:
|
105
105
|
The value to assign to the platform_type property of this AnnouncementSummary.
|
106
|
-
Allowed values for this property are: "IAAS", "SAAS", 'UNKNOWN_ENUM_VALUE'.
|
106
|
+
Allowed values for this property are: "IAAS", "SAAS", "PAAS", 'UNKNOWN_ENUM_VALUE'.
|
107
107
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
108
108
|
:type platform_type: str
|
109
109
|
|
@@ -123,6 +123,10 @@ class BaseAnnouncement(object):
|
|
123
123
|
#: This constant has a value of "SAAS"
|
124
124
|
PLATFORM_TYPE_SAAS = "SAAS"
|
125
125
|
|
126
|
+
#: A constant which can be used with the platform_type property of a BaseAnnouncement.
|
127
|
+
#: This constant has a value of "PAAS"
|
128
|
+
PLATFORM_TYPE_PAAS = "PAAS"
|
129
|
+
|
126
130
|
def __init__(self, **kwargs):
|
127
131
|
"""
|
128
132
|
Initializes a new BaseAnnouncement object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -211,7 +215,7 @@ class BaseAnnouncement(object):
|
|
211
215
|
|
212
216
|
:param platform_type:
|
213
217
|
The value to assign to the platform_type property of this BaseAnnouncement.
|
214
|
-
Allowed values for this property are: "IAAS", "SAAS"
|
218
|
+
Allowed values for this property are: "IAAS", "SAAS", "PAAS"
|
215
219
|
:type platform_type: str
|
216
220
|
|
217
221
|
:param chain_id:
|
@@ -794,7 +798,7 @@ class BaseAnnouncement(object):
|
|
794
798
|
Gets the platform_type of this BaseAnnouncement.
|
795
799
|
The platform type that this announcement pertains to.
|
796
800
|
|
797
|
-
Allowed values for this property are: "IAAS", "SAAS"
|
801
|
+
Allowed values for this property are: "IAAS", "SAAS", "PAAS"
|
798
802
|
|
799
803
|
|
800
804
|
:return: The platform_type of this BaseAnnouncement.
|
@@ -812,7 +816,7 @@ class BaseAnnouncement(object):
|
|
812
816
|
:param platform_type: The platform_type of this BaseAnnouncement.
|
813
817
|
:type: str
|
814
818
|
"""
|
815
|
-
allowed_values = ["IAAS", "SAAS"]
|
819
|
+
allowed_values = ["IAAS", "SAAS", "PAAS"]
|
816
820
|
if not value_allowed_none_or_none_sentinel(platform_type, allowed_values):
|
817
821
|
raise ValueError(
|
818
822
|
f"Invalid value for `platform_type`, must be None or one of {allowed_values}"
|