oci 2.135.0__py3-none-any.whl → 2.135.2__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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/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 +32 -32
- 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 +98 -94
- oci/container_engine/models/cluster.py +6 -2
- oci/container_engine/models/cluster_summary.py +6 -2
- oci/container_engine/models/node.py +6 -2
- oci/container_engine/models/node_pool.py +6 -2
- oci/container_engine/models/node_pool_summary.py +6 -2
- oci/container_engine/models/start_credential_rotation_details.py +2 -2
- oci/container_engine/models/work_request.py +7 -3
- oci/container_engine/models/work_request_summary.py +7 -3
- oci/container_engine/models/workload_mapping.py +35 -2
- oci/container_engine/models/workload_mapping_summary.py +35 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +108 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +2 -0
- oci/core/models/add_network_security_group_security_rules_details.py +6 -2
- oci/core/models/create_service_gateway_details.py +2 -2
- oci/core/models/create_vcn_details.py +35 -0
- oci/core/models/create_vnic_details.py +35 -0
- oci/core/models/instance.py +82 -0
- oci/core/models/instance_configuration_create_vnic_details.py +35 -0
- oci/core/models/instance_configuration_launch_instance_details.py +35 -0
- oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
- oci/core/models/launch_attach_volume_details.py +4 -0
- oci/core/models/launch_instance_details.py +35 -0
- oci/core/models/service_gateway.py +4 -4
- oci/core/models/update_instance_details.py +35 -0
- oci/core/models/update_vcn_details.py +37 -2
- oci/core/models/update_vnic_details.py +35 -0
- oci/core/models/vcn.py +35 -0
- oci/core/models/vnic.py +35 -0
- oci/core/virtual_network_client.py +253 -250
- 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 +292 -292
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +396 -396
- oci/database/models/autonomous_database.py +39 -0
- oci/database/models/autonomous_database_summary.py +39 -0
- oci/database/models/cloud_autonomous_vm_cluster.py +39 -0
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +39 -0
- oci/database/models/cloud_vm_cluster.py +68 -2
- oci/database/models/cloud_vm_cluster_summary.py +68 -2
- oci/database/models/create_autonomous_database_base.py +39 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +41 -2
- oci/database/models/create_cloud_vm_cluster_details.py +68 -2
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +39 -0
- oci/database/models/create_exadb_vm_cluster_details.py +39 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_vm_cluster_details.py +29 -2
- oci/database/models/db_system.py +39 -0
- oci/database/models/db_system_summary.py +39 -0
- oci/database/models/exadb_vm_cluster.py +39 -0
- oci/database/models/exadb_vm_cluster_summary.py +39 -0
- oci/database/models/launch_db_system_base.py +39 -0
- oci/database/models/launch_db_system_details.py +7 -0
- oci/database/models/launch_db_system_from_backup_details.py +7 -0
- oci/database/models/launch_db_system_from_database_details.py +7 -0
- oci/database/models/launch_db_system_from_db_system_details.py +7 -0
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +39 -0
- oci/database/models/update_cloud_autonomous_vm_cluster_details.py +41 -2
- oci/database/models/update_cloud_vm_cluster_details.py +68 -2
- oci/database/models/update_db_system_details.py +39 -0
- oci/database/models/update_exadb_vm_cluster_details.py +39 -0
- oci/database/models/update_vm_cluster_details.py +29 -2
- oci/database/models/vm_cluster.py +29 -2
- oci/database/models/vm_cluster_summary.py +29 -2
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +33 -22
- oci/desktops/models/__init__.py +18 -0
- oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/create_desktop_pool_details.py +136 -4
- oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
- oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
- oci/desktops/models/desktop_image.py +33 -2
- oci/desktops/models/desktop_network_configuration.py +14 -4
- oci/desktops/models/desktop_pool.py +136 -4
- oci/desktops/models/desktop_pool_private_access_details.py +212 -0
- oci/desktops/models/desktop_pool_shape_config.py +170 -0
- oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/disconnect_config.py +121 -0
- oci/desktops/models/inactivity_config.py +121 -0
- oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/update_desktop_pool_details.py +29 -2
- 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 +54 -54
- 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 +42 -42
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
- 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_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- 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 +137 -18
- oci/integration/integration_instance_client_composite_operations.py +39 -0
- oci/integration/models/__init__.py +4 -0
- oci/integration/models/create_integration_instance_details.py +31 -0
- oci/integration/models/cross_region_integration_instance_details.py +185 -0
- oci/integration/models/disaster_recovery_details.py +150 -0
- oci/integration/models/integration_instance.py +89 -0
- oci/integration/models/integration_instance_summary.py +62 -0
- oci/integration/models/work_request.py +7 -3
- oci/integration/models/work_request_summary.py +7 -3
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/connection_configuration.py +47 -2
- oci/load_balancer/models/create_load_balancer_details.py +35 -0
- oci/load_balancer/models/load_balancer.py +35 -0
- oci/load_balancer/models/update_load_balancer_details.py +37 -2
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/models/create_network_load_balancer_details.py +43 -2
- oci/network_load_balancer/models/network_load_balancer.py +41 -0
- oci/network_load_balancer/models/network_load_balancer_summary.py +41 -0
- oci/network_load_balancer/models/update_network_load_balancer_details.py +43 -2
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +6 -0
- oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
- oci/opsi/models/create_database_insight_details.py +4 -0
- oci/opsi/models/credential_by_iam.py +58 -0
- oci/opsi/models/credential_by_vault.py +1 -1
- oci/opsi/models/credential_details.py +13 -5
- oci/opsi/models/credentials_by_source.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
- oci/opsi/models/enable_database_insight_details.py +4 -0
- oci/opsi/operations_insights_client.py +179 -179
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +8 -0
- 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/security_attribute/__init__.py +14 -0
- oci/security_attribute/models/__init__.py +54 -0
- oci/security_attribute/models/base_security_attribute_validator.py +122 -0
- oci/security_attribute/models/bulk_delete_security_attributes_details.py +72 -0
- oci/security_attribute/models/bulk_edit_resource.py +134 -0
- oci/security_attribute/models/bulk_edit_security_attribute_details.py +134 -0
- oci/security_attribute/models/bulk_edit_security_attribute_operation_details.py +147 -0
- oci/security_attribute/models/change_security_attribute_namespace_compartment_details.py +72 -0
- oci/security_attribute/models/create_security_attribute_details.py +132 -0
- oci/security_attribute/models/create_security_attribute_namespace_details.py +216 -0
- oci/security_attribute/models/default_security_attribute_validator.py +53 -0
- oci/security_attribute/models/enum_security_attribute_validator.py +85 -0
- oci/security_attribute/models/security_attribute.py +421 -0
- oci/security_attribute/models/security_attribute_namespace.py +446 -0
- oci/security_attribute/models/security_attribute_namespace_summary.py +410 -0
- oci/security_attribute/models/security_attribute_summary.py +361 -0
- oci/security_attribute/models/security_attribute_work_request.py +387 -0
- oci/security_attribute/models/security_attribute_work_request_error_summary.py +136 -0
- oci/security_attribute/models/security_attribute_work_request_log_summary.py +105 -0
- oci/security_attribute/models/security_attribute_work_request_summary.py +386 -0
- oci/security_attribute/models/update_security_attribute_details.py +136 -0
- oci/security_attribute/models/update_security_attribute_namespace_details.py +191 -0
- oci/security_attribute/models/work_request_resource.py +197 -0
- oci/security_attribute/security_attribute_client.py +2321 -0
- oci/security_attribute/security_attribute_client_composite_operations.py +265 -0
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/__init__.py +20 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
- oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
- oci/stack_monitoring/models/maintenance_window.py +439 -0
- oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
- oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
- oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
- oci/stack_monitoring/models/monitored_resource_details.py +171 -0
- oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
- oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
- oci/stack_monitoring/models/work_request.py +19 -3
- oci/stack_monitoring/models/work_request_summary.py +19 -3
- oci/stack_monitoring/stack_monitoring_client.py +921 -113
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/__init__.py +14 -0
- oci/zpr/models/__init__.py +42 -0
- oci/zpr/models/configuration.py +449 -0
- oci/zpr/models/create_configuration_details.py +189 -0
- oci/zpr/models/create_zpr_policy_details.py +251 -0
- oci/zpr/models/update_zpr_policy_details.py +185 -0
- oci/zpr/models/work_request.py +459 -0
- oci/zpr/models/work_request_error.py +146 -0
- oci/zpr/models/work_request_error_collection.py +72 -0
- oci/zpr/models/work_request_log_entry.py +109 -0
- oci/zpr/models/work_request_log_entry_collection.py +72 -0
- oci/zpr/models/work_request_resource.py +238 -0
- oci/zpr/models/work_request_summary.py +457 -0
- oci/zpr/models/work_request_summary_collection.py +72 -0
- oci/zpr/models/zpr_policy.py +505 -0
- oci/zpr/models/zpr_policy_collection.py +72 -0
- oci/zpr/models/zpr_policy_summary.py +463 -0
- oci/zpr/zpr_client.py +2123 -0
- oci/zpr/zpr_client_composite_operations.py +197 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/RECORD +431 -362
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,197 @@
|
|
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: 20240301
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class ZprClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.zpr.ZprClient` and offers convenience methods
|
14
|
+
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
+
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
+
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, client, **kwargs):
|
20
|
+
"""
|
21
|
+
Creates a new ZprClientCompositeOperations object
|
22
|
+
|
23
|
+
:param ZprClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
27
|
+
|
28
|
+
def create_configuration_and_wait_for_state(self, create_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.zpr.ZprClient.create_configuration` and waits for the :py:class:`~oci.zpr.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param oci.zpr.models.CreateConfigurationDetails create_configuration_details: (required)
|
34
|
+
Details for ZPR configuration in the tenancy.
|
35
|
+
|
36
|
+
:param list[str] wait_for_states:
|
37
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.zpr.models.WorkRequest.status`
|
38
|
+
|
39
|
+
:param dict operation_kwargs:
|
40
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.zpr.ZprClient.create_configuration`
|
41
|
+
|
42
|
+
:param dict waiter_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
44
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
45
|
+
"""
|
46
|
+
operation_result = self.client.create_configuration(create_configuration_details, **operation_kwargs)
|
47
|
+
if not wait_for_states:
|
48
|
+
return operation_result
|
49
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
50
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
51
|
+
return operation_result
|
52
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
53
|
+
|
54
|
+
try:
|
55
|
+
waiter_result = oci.wait_until(
|
56
|
+
self.client,
|
57
|
+
self.client.get_work_request(wait_for_resource_id),
|
58
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
59
|
+
**waiter_kwargs
|
60
|
+
)
|
61
|
+
result_to_return = waiter_result
|
62
|
+
|
63
|
+
return result_to_return
|
64
|
+
except Exception as e:
|
65
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
66
|
+
|
67
|
+
def create_zpr_policy_and_wait_for_state(self, create_zpr_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
68
|
+
"""
|
69
|
+
Calls :py:func:`~oci.zpr.ZprClient.create_zpr_policy` and waits for the :py:class:`~oci.zpr.models.WorkRequest`
|
70
|
+
to enter the given state(s).
|
71
|
+
|
72
|
+
:param oci.zpr.models.CreateZprPolicyDetails create_zpr_policy_details: (required)
|
73
|
+
Details for the new ZprPolicy.
|
74
|
+
|
75
|
+
:param list[str] wait_for_states:
|
76
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.zpr.models.WorkRequest.status`
|
77
|
+
|
78
|
+
:param dict operation_kwargs:
|
79
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.zpr.ZprClient.create_zpr_policy`
|
80
|
+
|
81
|
+
:param dict waiter_kwargs:
|
82
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
83
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
84
|
+
"""
|
85
|
+
operation_result = self.client.create_zpr_policy(create_zpr_policy_details, **operation_kwargs)
|
86
|
+
if not wait_for_states:
|
87
|
+
return operation_result
|
88
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
89
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
90
|
+
return operation_result
|
91
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
92
|
+
|
93
|
+
try:
|
94
|
+
waiter_result = oci.wait_until(
|
95
|
+
self.client,
|
96
|
+
self.client.get_work_request(wait_for_resource_id),
|
97
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
98
|
+
**waiter_kwargs
|
99
|
+
)
|
100
|
+
result_to_return = waiter_result
|
101
|
+
|
102
|
+
return result_to_return
|
103
|
+
except Exception as e:
|
104
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
105
|
+
|
106
|
+
def delete_zpr_policy_and_wait_for_state(self, zpr_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
107
|
+
"""
|
108
|
+
Calls :py:func:`~oci.zpr.ZprClient.delete_zpr_policy` and waits for the :py:class:`~oci.zpr.models.WorkRequest`
|
109
|
+
to enter the given state(s).
|
110
|
+
|
111
|
+
:param str zpr_policy_id: (required)
|
112
|
+
The `OCID`__ of the ZprPolicy.
|
113
|
+
|
114
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
115
|
+
|
116
|
+
:param list[str] wait_for_states:
|
117
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.zpr.models.WorkRequest.status`
|
118
|
+
|
119
|
+
:param dict operation_kwargs:
|
120
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.zpr.ZprClient.delete_zpr_policy`
|
121
|
+
|
122
|
+
:param dict waiter_kwargs:
|
123
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
124
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
125
|
+
"""
|
126
|
+
operation_result = None
|
127
|
+
try:
|
128
|
+
operation_result = self.client.delete_zpr_policy(zpr_policy_id, **operation_kwargs)
|
129
|
+
except oci.exceptions.ServiceError as e:
|
130
|
+
if e.status == 404:
|
131
|
+
return WAIT_RESOURCE_NOT_FOUND
|
132
|
+
else:
|
133
|
+
raise e
|
134
|
+
|
135
|
+
if not wait_for_states:
|
136
|
+
return operation_result
|
137
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
138
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
139
|
+
return operation_result
|
140
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
141
|
+
|
142
|
+
try:
|
143
|
+
waiter_result = oci.wait_until(
|
144
|
+
self.client,
|
145
|
+
self.client.get_work_request(wait_for_resource_id),
|
146
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
147
|
+
**waiter_kwargs
|
148
|
+
)
|
149
|
+
result_to_return = waiter_result
|
150
|
+
|
151
|
+
return result_to_return
|
152
|
+
except Exception as e:
|
153
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
154
|
+
|
155
|
+
def update_zpr_policy_and_wait_for_state(self, zpr_policy_id, update_zpr_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
156
|
+
"""
|
157
|
+
Calls :py:func:`~oci.zpr.ZprClient.update_zpr_policy` and waits for the :py:class:`~oci.zpr.models.WorkRequest`
|
158
|
+
to enter the given state(s).
|
159
|
+
|
160
|
+
:param str zpr_policy_id: (required)
|
161
|
+
The `OCID`__ of the ZprPolicy.
|
162
|
+
|
163
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
164
|
+
|
165
|
+
:param oci.zpr.models.UpdateZprPolicyDetails update_zpr_policy_details: (required)
|
166
|
+
The information to be updated.
|
167
|
+
|
168
|
+
:param list[str] wait_for_states:
|
169
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.zpr.models.WorkRequest.status`
|
170
|
+
|
171
|
+
:param dict operation_kwargs:
|
172
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.zpr.ZprClient.update_zpr_policy`
|
173
|
+
|
174
|
+
:param dict waiter_kwargs:
|
175
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
176
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
177
|
+
"""
|
178
|
+
operation_result = self.client.update_zpr_policy(zpr_policy_id, update_zpr_policy_details, **operation_kwargs)
|
179
|
+
if not wait_for_states:
|
180
|
+
return operation_result
|
181
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
182
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
183
|
+
return operation_result
|
184
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
185
|
+
|
186
|
+
try:
|
187
|
+
waiter_result = oci.wait_until(
|
188
|
+
self.client,
|
189
|
+
self.client.get_work_request(wait_for_resource_id),
|
190
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
191
|
+
**waiter_kwargs
|
192
|
+
)
|
193
|
+
result_to_return = waiter_result
|
194
|
+
|
195
|
+
return result_to_return
|
196
|
+
except Exception as e:
|
197
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: oci
|
3
|
-
Version: 2.135.
|
3
|
+
Version: 2.135.2
|
4
4
|
Summary: Oracle Cloud Infrastructure Python SDK
|
5
5
|
Home-page: https://docs.oracle.com/en-us/iaas/tools/python/latest/index.html
|
6
6
|
Author: Oracle
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.7
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.8
|
17
17
|
Classifier: Programming Language :: Python :: 3.9
|
18
18
|
Requires-Dist: certifi
|
19
|
-
Requires-Dist: cryptography (<
|
19
|
+
Requires-Dist: cryptography (<46.0.0,>=3.2.1)
|
20
20
|
Requires-Dist: pyOpenSSL (<25.0.0,>=17.5.0)
|
21
21
|
Requires-Dist: python-dateutil (<3.0.0,>=2.5.3)
|
22
22
|
Requires-Dist: pytz (>=2016.10)
|