oci 2.152.0__py3-none-any.whl → 2.153.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/addons/adk/auth/__init__.py +2 -0
- oci/addons/adk/auth/oci/__init__.py +2 -0
- oci/addons/adk/run/__init__.py +2 -0
- oci/addons/adk/tool/function_tool.py +2 -1
- oci/adm/application_dependency_management_client.py +38 -38
- oci/adm/models/application_dependency.py +4 -3
- oci/adm/models/application_dependency_recommendation_summary.py +4 -4
- oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
- oci/adm/models/detect_configuration.py +7 -7
- oci/adm/models/network_configuration.py +1 -2
- oci/adm/models/vulnerability.py +8 -4
- 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 +28 -28
- 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 +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +30 -30
- oci/apm_synthetics/models/create_script_details.py +10 -6
- oci/apm_synthetics/models/monitor.py +51 -0
- oci/apm_synthetics/models/monitor_result.py +2 -2
- oci/apm_synthetics/models/script.py +9 -5
- oci/apm_synthetics/models/script_summary.py +7 -3
- oci/apm_synthetics/models/update_script_details.py +10 -6
- 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 +578 -86
- oci/bds/bds_client_composite_operations.py +42 -0
- oci/bds/models/__init__.py +26 -0
- oci/bds/models/bds_capacity_report.py +132 -0
- oci/bds/models/bds_software_update.py +109 -0
- oci/bds/models/capacity_availability.py +121 -0
- oci/bds/models/capacity_report_shape_availability.py +128 -0
- oci/bds/models/create_bds_capacity_report_details.py +101 -0
- oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
- oci/bds/models/domain_type_capacity_report.py +107 -0
- oci/bds/models/install_os_patch_details.py +33 -2
- oci/bds/models/install_software_updates_details.py +70 -0
- oci/bds/models/multi_ad_capacity_report.py +107 -0
- oci/bds/models/os_patch_package_summary.py +57 -2
- oci/bds/models/patch_history_summary.py +13 -7
- oci/bds/models/single_ad_capacity_report.py +107 -0
- oci/bds/models/software_update.py +253 -0
- oci/bds/models/software_update_collection.py +70 -0
- oci/bds/models/software_update_summary.py +194 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/__init__.py +5 -1
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/capacity_management/demand_signal_client.py +1645 -0
- oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
- oci/capacity_management/internal_demand_signal_client.py +1605 -0
- oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
- oci/capacity_management/models/__init__.py +79 -1
- oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
- oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
- oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
- oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
- oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
- oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
- oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
- oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
- oci/capacity_management/models/occm_demand_signal.py +464 -0
- oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
- oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
- oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
- oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
- oci/capacity_management/models/occm_demand_signal_item.py +675 -0
- oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
- oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
- oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/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 +46 -46
- oci/container_engine/models/cluster.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1095 -163
- oci/core/compute_client_composite_operations.py +403 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +30 -0
- oci/core/models/attach_compute_host_group_host_details.py +74 -0
- oci/core/models/change_compute_host_group_compartment_details.py +76 -0
- oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
- oci/core/models/compute_host.py +191 -0
- oci/core/models/compute_host_configuration_check_details.py +243 -0
- oci/core/models/compute_host_configuration_data.py +97 -0
- oci/core/models/compute_host_group.py +483 -0
- oci/core/models/compute_host_group_collection.py +70 -0
- oci/core/models/compute_host_group_summary.py +428 -0
- oci/core/models/compute_host_summary.py +62 -0
- oci/core/models/create_compute_host_group_details.py +282 -0
- oci/core/models/create_dedicated_vm_host_details.py +29 -2
- oci/core/models/create_ipv6_details.py +4 -4
- oci/core/models/create_local_peering_gateway_details.py +45 -0
- oci/core/models/create_private_ip_details.py +4 -4
- oci/core/models/create_vcn_details.py +33 -2
- oci/core/models/create_volume_details.py +8 -2
- oci/core/models/dedicated_vm_host.py +27 -0
- oci/core/models/detach_compute_host_group_host_details.py +74 -0
- oci/core/models/host_group_configuration.py +152 -0
- oci/core/models/host_group_placement_constraint_details.py +79 -0
- oci/core/models/instance.py +64 -2
- oci/core/models/instance_configuration_create_volume_details.py +8 -2
- oci/core/models/ipv6.py +4 -4
- oci/core/models/launch_instance_details.py +58 -0
- oci/core/models/local_peering_gateway.py +45 -0
- oci/core/models/placement_constraint_details.py +91 -0
- oci/core/models/private_ip.py +4 -4
- oci/core/models/recycle_details.py +125 -0
- oci/core/models/update_compute_host_group_details.py +216 -0
- oci/core/models/update_ipv6_details.py +4 -4
- oci/core/models/update_local_peering_gateway_details.py +45 -0
- oci/core/models/update_private_ip_details.py +4 -4
- oci/core/models/update_vcn_details.py +33 -2
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/update_volume_details.py +8 -2
- oci/core/models/vcn.py +33 -2
- oci/core/models/vnic.py +2 -2
- oci/core/models/volume.py +8 -2
- oci/core/virtual_network_client.py +260 -260
- 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 +45 -45
- 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 +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +795 -508
- oci/database/models/__init__.py +2 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_db_version_summary.py +31 -0
- oci/database/models/backup.py +11 -5
- oci/database/models/backup_summary.py +11 -5
- oci/database/models/create_database_base.py +1 -1
- oci/database/models/create_external_backup_job_details.py +11 -7
- oci/database/models/db_system.py +11 -5
- oci/database/models/db_system_summary.py +11 -5
- oci/database/models/db_system_upgrade_summary.py +152 -0
- oci/database/models/external_container_database.py +11 -5
- oci/database/models/external_container_database_summary.py +11 -5
- oci/database/models/external_database_base.py +11 -5
- oci/database/models/external_non_container_database.py +11 -5
- oci/database/models/external_non_container_database_summary.py +11 -5
- oci/database/models/external_pluggable_database.py +11 -5
- oci/database/models/external_pluggable_database_summary.py +11 -5
- oci/database/models/launch_db_system_details.py +7 -3
- oci/database/models/launch_db_system_from_backup_details.py +7 -3
- oci/database/models/launch_db_system_from_database_details.py +7 -3
- oci/database_management/db_management_client.py +229 -229
- 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/dblm/db_life_cycle_management_client.py +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/distributed_database/__init__.py +20 -0
- oci/distributed_database/distributed_autonomous_db_service_client.py +2315 -0
- oci/distributed_database/distributed_autonomous_db_service_client_composite_operations.py +605 -0
- oci/distributed_database/distributed_db_private_endpoint_service_client.py +944 -0
- oci/distributed_database/distributed_db_private_endpoint_service_client_composite_operations.py +238 -0
- oci/distributed_database/distributed_db_service_client.py +2435 -0
- oci/distributed_database/distributed_db_service_client_composite_operations.py +647 -0
- oci/distributed_database/distributed_db_work_request_service_client.py +654 -0
- oci/distributed_database/distributed_db_work_request_service_client_composite_operations.py +26 -0
- oci/distributed_database/models/__init__.py +158 -0
- oci/distributed_database/models/add_distributed_autonomous_database_gds_control_node_details.py +105 -0
- oci/distributed_database/models/add_distributed_database_gds_control_node_details.py +105 -0
- oci/distributed_database/models/catalog_peer_with_dedicated_infra.py +331 -0
- oci/distributed_database/models/catalog_peer_with_exadb_xs.py +331 -0
- oci/distributed_database/models/change_distributed_autonomous_database_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_database_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_database_private_endpoint_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_db_backup_config_details.py +66 -0
- oci/distributed_database/models/configure_distributed_autonomous_database_gsms_details.py +103 -0
- oci/distributed_database/models/configure_distributed_database_gsms_details.py +103 -0
- oci/distributed_database/models/create_distributed_autonomous_database_catalog_details.py +101 -0
- oci/distributed_database/models/create_distributed_autonomous_database_catalog_with_dedicated_infra_details.py +342 -0
- oci/distributed_database/models/create_distributed_autonomous_database_details.py +799 -0
- oci/distributed_database/models/create_distributed_autonomous_database_shard_details.py +101 -0
- oci/distributed_database/models/create_distributed_autonomous_database_shard_with_dedicated_infra_details.py +377 -0
- oci/distributed_database/models/create_distributed_database_catalog_details.py +99 -0
- oci/distributed_database/models/create_distributed_database_catalog_with_exadb_xs_details.py +282 -0
- oci/distributed_database/models/create_distributed_database_details.py +810 -0
- oci/distributed_database/models/create_distributed_database_private_endpoint_details.py +260 -0
- oci/distributed_database/models/create_distributed_database_shard_details.py +99 -0
- oci/distributed_database/models/create_distributed_database_shard_with_exadb_xs_details.py +282 -0
- oci/distributed_database/models/distributed_autonomous_database.py +1143 -0
- oci/distributed_database/models/distributed_autonomous_database_associated_with_private_endpoint.py +105 -0
- oci/distributed_database/models/distributed_autonomous_database_catalog.py +194 -0
- oci/distributed_database/models/distributed_autonomous_database_catalog_with_dedicated_infra.py +559 -0
- oci/distributed_database/models/distributed_autonomous_database_collection.py +70 -0
- oci/distributed_database/models/distributed_autonomous_database_connection_string.py +70 -0
- oci/distributed_database/models/distributed_autonomous_database_gsm.py +385 -0
- oci/distributed_database/models/distributed_autonomous_database_gsm_image.py +105 -0
- oci/distributed_database/models/distributed_autonomous_database_shard.py +194 -0
- oci/distributed_database/models/distributed_autonomous_database_shard_with_dedicated_infra.py +592 -0
- oci/distributed_database/models/distributed_autonomous_database_summary.py +935 -0
- oci/distributed_database/models/distributed_autonomous_db_metadata.py +70 -0
- oci/distributed_database/models/distributed_database.py +1154 -0
- oci/distributed_database/models/distributed_database_associated_with_private_endpoint.py +105 -0
- oci/distributed_database/models/distributed_database_catalog.py +192 -0
- oci/distributed_database/models/distributed_database_catalog_with_exadb_xs.py +466 -0
- oci/distributed_database/models/distributed_database_collection.py +70 -0
- oci/distributed_database/models/distributed_database_gsm.py +385 -0
- oci/distributed_database/models/distributed_database_private_endpoint.py +639 -0
- oci/distributed_database/models/distributed_database_private_endpoint_collection.py +70 -0
- oci/distributed_database/models/distributed_database_private_endpoint_summary.py +479 -0
- oci/distributed_database/models/distributed_database_shard.py +192 -0
- oci/distributed_database/models/distributed_database_shard_with_exadb_xs.py +499 -0
- oci/distributed_database/models/distributed_database_summary.py +904 -0
- oci/distributed_database/models/distributed_db_backup_config.py +536 -0
- oci/distributed_database/models/distributed_db_backup_destination.py +362 -0
- oci/distributed_database/models/distributed_db_connection_string.py +70 -0
- oci/distributed_database/models/distributed_db_gsm_image.py +105 -0
- oci/distributed_database/models/distributed_db_metadata.py +70 -0
- oci/distributed_database/models/generate_distributed_autonomous_database_wallet_details.py +70 -0
- oci/distributed_database/models/generate_distributed_database_wallet_details.py +70 -0
- oci/distributed_database/models/patch_distributed_autonomous_database_details.py +73 -0
- oci/distributed_database/models/patch_distributed_database_details.py +73 -0
- oci/distributed_database/models/patch_insert_instruction.py +87 -0
- oci/distributed_database/models/patch_instruction.py +154 -0
- oci/distributed_database/models/patch_merge_instruction.py +95 -0
- oci/distributed_database/models/patch_remove_instruction.py +57 -0
- oci/distributed_database/models/shard_peer_with_dedicated_infra.py +331 -0
- oci/distributed_database/models/shard_peer_with_exadb_xs.py +331 -0
- oci/distributed_database/models/update_distributed_autonomous_database_details.py +136 -0
- oci/distributed_database/models/update_distributed_database_details.py +136 -0
- oci/distributed_database/models/update_distributed_database_private_endpoint_details.py +198 -0
- oci/distributed_database/models/upload_distributed_autonomous_database_signed_certificate_and_generate_wallet_details.py +71 -0
- oci/distributed_database/models/upload_distributed_database_signed_certificate_and_generate_wallet_details.py +71 -0
- oci/distributed_database/models/work_request.py +516 -0
- oci/distributed_database/models/work_request_error.py +134 -0
- oci/distributed_database/models/work_request_error_collection.py +70 -0
- oci/distributed_database/models/work_request_log_entry.py +101 -0
- oci/distributed_database/models/work_request_log_entry_collection.py +70 -0
- oci/distributed_database/models/work_request_resource.py +232 -0
- oci/distributed_database/models/work_request_summary.py +516 -0
- oci/distributed_database/models/work_request_summary_collection.py +70 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
- oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_work_request_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/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- 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 +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +200 -200
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +474 -14
- oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
- 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/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/model_deployment_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 +6 -0
- oci/mysql/models/create_db_system_details.py +58 -0
- oci/mysql/models/create_rest_details.py +117 -0
- oci/mysql/models/db_system.py +58 -0
- oci/mysql/models/db_system_snapshot.py +58 -0
- oci/mysql/models/db_system_summary.py +27 -0
- oci/mysql/models/replica.py +31 -0
- oci/mysql/models/replica_overrides.py +33 -2
- oci/mysql/models/replica_summary.py +31 -0
- oci/mysql/models/rest_details.py +117 -0
- oci/mysql/models/update_db_system_details.py +58 -0
- oci/mysql/models/update_rest_details.py +117 -0
- 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/models/__init__.py +24 -0
- oci/network_firewall/models/create_nat_rule_details.py +193 -0
- oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
- oci/network_firewall/models/create_network_firewall_details.py +27 -0
- oci/network_firewall/models/nat_configuration_request.py +70 -0
- oci/network_firewall/models/nat_configuration_response.py +101 -0
- oci/network_firewall/models/nat_rule.py +254 -0
- oci/network_firewall/models/nat_rule_collection.py +70 -0
- oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
- oci/network_firewall/models/nat_rule_summary.py +228 -0
- oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
- oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
- oci/network_firewall/models/network_firewall.py +30 -11
- oci/network_firewall/models/network_firewall_policy.py +3 -11
- oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
- oci/network_firewall/models/network_firewall_summary.py +30 -11
- oci/network_firewall/models/update_nat_rule_details.py +162 -0
- oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
- oci/network_firewall/models/update_network_firewall_details.py +27 -0
- oci/network_firewall/network_firewall_client.py +848 -108
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- 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 +17 -17
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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 +181 -181
- 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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +14 -14
- 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/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- 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/models/average_carbon_emission.py +3 -3
- oci/usage_api/models/create_email_recipients_group_details.py +3 -3
- oci/usage_api/models/email_recipient.py +6 -6
- oci/usage_api/models/email_recipients_group.py +5 -5
- oci/usage_api/models/email_recipients_group_collection.py +3 -3
- oci/usage_api/models/email_recipients_group_summary.py +5 -5
- oci/usage_api/models/forecast.py +5 -3
- oci/usage_api/models/report_query.py +16 -16
- oci/usage_api/models/request_summarized_usages_details.py +4 -4
- oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
- oci/usage_api/models/saved_custom_table.py +4 -4
- oci/usage_api/models/scheduled_run.py +12 -12
- oci/usage_api/models/scheduled_run_summary.py +12 -12
- oci/usage_api/models/update_email_recipients_group_details.py +3 -3
- oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
- oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
- oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
- oci/usage_api/usageapi_client.py +69 -69
- oci/usage_api/usageapi_client_composite_operations.py +4 -4
- 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 +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/METADATA +1 -1
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/RECORD +548 -378
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/WHEEL +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,254 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20230501
|
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 NatRule(object):
|
14
|
+
"""
|
15
|
+
A Nat Rule is used to define to which traffic NAT should be applied by the firewall.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a NatRule.
|
19
|
+
#: This constant has a value of "NATV4"
|
20
|
+
TYPE_NATV4 = "NATV4"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new NatRule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.network_firewall.models.NatV4NatRule`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param name:
|
32
|
+
The value to assign to the name property of this NatRule.
|
33
|
+
:type name: str
|
34
|
+
|
35
|
+
:param type:
|
36
|
+
The value to assign to the type property of this NatRule.
|
37
|
+
Allowed values for this property are: "NATV4", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type type: str
|
40
|
+
|
41
|
+
:param description:
|
42
|
+
The value to assign to the description property of this NatRule.
|
43
|
+
:type description: str
|
44
|
+
|
45
|
+
:param priority_order:
|
46
|
+
The value to assign to the priority_order property of this NatRule.
|
47
|
+
:type priority_order: int
|
48
|
+
|
49
|
+
:param position:
|
50
|
+
The value to assign to the position property of this NatRule.
|
51
|
+
:type position: oci.network_firewall.models.RulePosition
|
52
|
+
|
53
|
+
:param parent_resource_id:
|
54
|
+
The value to assign to the parent_resource_id property of this NatRule.
|
55
|
+
:type parent_resource_id: str
|
56
|
+
|
57
|
+
"""
|
58
|
+
self.swagger_types = {
|
59
|
+
'name': 'str',
|
60
|
+
'type': 'str',
|
61
|
+
'description': 'str',
|
62
|
+
'priority_order': 'int',
|
63
|
+
'position': 'RulePosition',
|
64
|
+
'parent_resource_id': 'str'
|
65
|
+
}
|
66
|
+
self.attribute_map = {
|
67
|
+
'name': 'name',
|
68
|
+
'type': 'type',
|
69
|
+
'description': 'description',
|
70
|
+
'priority_order': 'priorityOrder',
|
71
|
+
'position': 'position',
|
72
|
+
'parent_resource_id': 'parentResourceId'
|
73
|
+
}
|
74
|
+
self._name = None
|
75
|
+
self._type = None
|
76
|
+
self._description = None
|
77
|
+
self._priority_order = None
|
78
|
+
self._position = None
|
79
|
+
self._parent_resource_id = None
|
80
|
+
|
81
|
+
@staticmethod
|
82
|
+
def get_subtype(object_dictionary):
|
83
|
+
"""
|
84
|
+
Given the hash representation of a subtype of this class,
|
85
|
+
use the info in the hash to return the class of the subtype.
|
86
|
+
"""
|
87
|
+
type = object_dictionary['type']
|
88
|
+
|
89
|
+
if type == 'NATV4':
|
90
|
+
return 'NatV4NatRule'
|
91
|
+
else:
|
92
|
+
return 'NatRule'
|
93
|
+
|
94
|
+
@property
|
95
|
+
def name(self):
|
96
|
+
"""
|
97
|
+
**[Required]** Gets the name of this NatRule.
|
98
|
+
Name for the NAT rule, must be unique within the policy.
|
99
|
+
|
100
|
+
|
101
|
+
:return: The name of this NatRule.
|
102
|
+
:rtype: str
|
103
|
+
"""
|
104
|
+
return self._name
|
105
|
+
|
106
|
+
@name.setter
|
107
|
+
def name(self, name):
|
108
|
+
"""
|
109
|
+
Sets the name of this NatRule.
|
110
|
+
Name for the NAT rule, must be unique within the policy.
|
111
|
+
|
112
|
+
|
113
|
+
:param name: The name of this NatRule.
|
114
|
+
:type: str
|
115
|
+
"""
|
116
|
+
self._name = name
|
117
|
+
|
118
|
+
@property
|
119
|
+
def type(self):
|
120
|
+
"""
|
121
|
+
**[Required]** Gets the type of this NatRule.
|
122
|
+
NAT type:
|
123
|
+
|
124
|
+
* NATV4 - NATV4 type NAT.
|
125
|
+
|
126
|
+
Allowed values for this property are: "NATV4", 'UNKNOWN_ENUM_VALUE'.
|
127
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
128
|
+
|
129
|
+
|
130
|
+
:return: The type of this NatRule.
|
131
|
+
:rtype: str
|
132
|
+
"""
|
133
|
+
return self._type
|
134
|
+
|
135
|
+
@type.setter
|
136
|
+
def type(self, type):
|
137
|
+
"""
|
138
|
+
Sets the type of this NatRule.
|
139
|
+
NAT type:
|
140
|
+
|
141
|
+
* NATV4 - NATV4 type NAT.
|
142
|
+
|
143
|
+
|
144
|
+
:param type: The type of this NatRule.
|
145
|
+
:type: str
|
146
|
+
"""
|
147
|
+
allowed_values = ["NATV4"]
|
148
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
149
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
150
|
+
self._type = type
|
151
|
+
|
152
|
+
@property
|
153
|
+
def description(self):
|
154
|
+
"""
|
155
|
+
Gets the description of this NatRule.
|
156
|
+
Description of a NAT rule. This field can be used to add additional info.
|
157
|
+
|
158
|
+
|
159
|
+
:return: The description of this NatRule.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._description
|
163
|
+
|
164
|
+
@description.setter
|
165
|
+
def description(self, description):
|
166
|
+
"""
|
167
|
+
Sets the description of this NatRule.
|
168
|
+
Description of a NAT rule. This field can be used to add additional info.
|
169
|
+
|
170
|
+
|
171
|
+
:param description: The description of this NatRule.
|
172
|
+
:type: str
|
173
|
+
"""
|
174
|
+
self._description = description
|
175
|
+
|
176
|
+
@property
|
177
|
+
def priority_order(self):
|
178
|
+
"""
|
179
|
+
Gets the priority_order of this NatRule.
|
180
|
+
The priority order in which this rule should be evaluated
|
181
|
+
|
182
|
+
|
183
|
+
:return: The priority_order of this NatRule.
|
184
|
+
:rtype: int
|
185
|
+
"""
|
186
|
+
return self._priority_order
|
187
|
+
|
188
|
+
@priority_order.setter
|
189
|
+
def priority_order(self, priority_order):
|
190
|
+
"""
|
191
|
+
Sets the priority_order of this NatRule.
|
192
|
+
The priority order in which this rule should be evaluated
|
193
|
+
|
194
|
+
|
195
|
+
:param priority_order: The priority_order of this NatRule.
|
196
|
+
:type: int
|
197
|
+
"""
|
198
|
+
self._priority_order = priority_order
|
199
|
+
|
200
|
+
@property
|
201
|
+
def position(self):
|
202
|
+
"""
|
203
|
+
Gets the position of this NatRule.
|
204
|
+
|
205
|
+
:return: The position of this NatRule.
|
206
|
+
:rtype: oci.network_firewall.models.RulePosition
|
207
|
+
"""
|
208
|
+
return self._position
|
209
|
+
|
210
|
+
@position.setter
|
211
|
+
def position(self, position):
|
212
|
+
"""
|
213
|
+
Sets the position of this NatRule.
|
214
|
+
|
215
|
+
:param position: The position of this NatRule.
|
216
|
+
:type: oci.network_firewall.models.RulePosition
|
217
|
+
"""
|
218
|
+
self._position = position
|
219
|
+
|
220
|
+
@property
|
221
|
+
def parent_resource_id(self):
|
222
|
+
"""
|
223
|
+
**[Required]** Gets the parent_resource_id of this NatRule.
|
224
|
+
OCID of the Network Firewall Policy this decryption profile belongs to.
|
225
|
+
|
226
|
+
|
227
|
+
:return: The parent_resource_id of this NatRule.
|
228
|
+
:rtype: str
|
229
|
+
"""
|
230
|
+
return self._parent_resource_id
|
231
|
+
|
232
|
+
@parent_resource_id.setter
|
233
|
+
def parent_resource_id(self, parent_resource_id):
|
234
|
+
"""
|
235
|
+
Sets the parent_resource_id of this NatRule.
|
236
|
+
OCID of the Network Firewall Policy this decryption profile belongs to.
|
237
|
+
|
238
|
+
|
239
|
+
:param parent_resource_id: The parent_resource_id of this NatRule.
|
240
|
+
:type: str
|
241
|
+
"""
|
242
|
+
self._parent_resource_id = parent_resource_id
|
243
|
+
|
244
|
+
def __repr__(self):
|
245
|
+
return formatted_flat_dict(self)
|
246
|
+
|
247
|
+
def __eq__(self, other):
|
248
|
+
if other is None:
|
249
|
+
return False
|
250
|
+
|
251
|
+
return self.__dict__ == other.__dict__
|
252
|
+
|
253
|
+
def __ne__(self, other):
|
254
|
+
return not self == other
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20230501
|
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 NatRuleCollection(object):
|
14
|
+
"""
|
15
|
+
Collection of Nat Rule Summaries in the network firewall policy
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new NatRuleCollection object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param items:
|
24
|
+
The value to assign to the items property of this NatRuleCollection.
|
25
|
+
:type items: list[oci.network_firewall.models.NatRuleSummary]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'items': 'list[NatRuleSummary]'
|
30
|
+
}
|
31
|
+
self.attribute_map = {
|
32
|
+
'items': 'items'
|
33
|
+
}
|
34
|
+
self._items = None
|
35
|
+
|
36
|
+
@property
|
37
|
+
def items(self):
|
38
|
+
"""
|
39
|
+
**[Required]** Gets the items of this NatRuleCollection.
|
40
|
+
Collection of Nat Rule Summaries.
|
41
|
+
|
42
|
+
|
43
|
+
:return: The items of this NatRuleCollection.
|
44
|
+
:rtype: list[oci.network_firewall.models.NatRuleSummary]
|
45
|
+
"""
|
46
|
+
return self._items
|
47
|
+
|
48
|
+
@items.setter
|
49
|
+
def items(self, items):
|
50
|
+
"""
|
51
|
+
Sets the items of this NatRuleCollection.
|
52
|
+
Collection of Nat Rule Summaries.
|
53
|
+
|
54
|
+
|
55
|
+
:param items: The items of this NatRuleCollection.
|
56
|
+
:type: list[oci.network_firewall.models.NatRuleSummary]
|
57
|
+
"""
|
58
|
+
self._items = items
|
59
|
+
|
60
|
+
def __repr__(self):
|
61
|
+
return formatted_flat_dict(self)
|
62
|
+
|
63
|
+
def __eq__(self, other):
|
64
|
+
if other is None:
|
65
|
+
return False
|
66
|
+
|
67
|
+
return self.__dict__ == other.__dict__
|
68
|
+
|
69
|
+
def __ne__(self, other):
|
70
|
+
return not self == other
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20230501
|
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 NatRuleMatchCriteria(object):
|
14
|
+
"""
|
15
|
+
Match criteria used in NAT Rule used on the firewall policy.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new NatRuleMatchCriteria object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param source_address:
|
24
|
+
The value to assign to the source_address property of this NatRuleMatchCriteria.
|
25
|
+
:type source_address: list[str]
|
26
|
+
|
27
|
+
:param destination_address:
|
28
|
+
The value to assign to the destination_address property of this NatRuleMatchCriteria.
|
29
|
+
:type destination_address: list[str]
|
30
|
+
|
31
|
+
:param service:
|
32
|
+
The value to assign to the service property of this NatRuleMatchCriteria.
|
33
|
+
:type service: str
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'source_address': 'list[str]',
|
38
|
+
'destination_address': 'list[str]',
|
39
|
+
'service': 'str'
|
40
|
+
}
|
41
|
+
self.attribute_map = {
|
42
|
+
'source_address': 'sourceAddress',
|
43
|
+
'destination_address': 'destinationAddress',
|
44
|
+
'service': 'service'
|
45
|
+
}
|
46
|
+
self._source_address = None
|
47
|
+
self._destination_address = None
|
48
|
+
self._service = None
|
49
|
+
|
50
|
+
@property
|
51
|
+
def source_address(self):
|
52
|
+
"""
|
53
|
+
Gets the source_address of this NatRuleMatchCriteria.
|
54
|
+
An array of IP address list names to be evaluated against the traffic source address.
|
55
|
+
|
56
|
+
|
57
|
+
:return: The source_address of this NatRuleMatchCriteria.
|
58
|
+
:rtype: list[str]
|
59
|
+
"""
|
60
|
+
return self._source_address
|
61
|
+
|
62
|
+
@source_address.setter
|
63
|
+
def source_address(self, source_address):
|
64
|
+
"""
|
65
|
+
Sets the source_address of this NatRuleMatchCriteria.
|
66
|
+
An array of IP address list names to be evaluated against the traffic source address.
|
67
|
+
|
68
|
+
|
69
|
+
:param source_address: The source_address of this NatRuleMatchCriteria.
|
70
|
+
:type: list[str]
|
71
|
+
"""
|
72
|
+
self._source_address = source_address
|
73
|
+
|
74
|
+
@property
|
75
|
+
def destination_address(self):
|
76
|
+
"""
|
77
|
+
Gets the destination_address of this NatRuleMatchCriteria.
|
78
|
+
An array of IP address list names to be evaluated against the traffic destination address.
|
79
|
+
|
80
|
+
|
81
|
+
:return: The destination_address of this NatRuleMatchCriteria.
|
82
|
+
:rtype: list[str]
|
83
|
+
"""
|
84
|
+
return self._destination_address
|
85
|
+
|
86
|
+
@destination_address.setter
|
87
|
+
def destination_address(self, destination_address):
|
88
|
+
"""
|
89
|
+
Sets the destination_address of this NatRuleMatchCriteria.
|
90
|
+
An array of IP address list names to be evaluated against the traffic destination address.
|
91
|
+
|
92
|
+
|
93
|
+
:param destination_address: The destination_address of this NatRuleMatchCriteria.
|
94
|
+
:type: list[str]
|
95
|
+
"""
|
96
|
+
self._destination_address = destination_address
|
97
|
+
|
98
|
+
@property
|
99
|
+
def service(self):
|
100
|
+
"""
|
101
|
+
Gets the service of this NatRuleMatchCriteria.
|
102
|
+
A Service name to be evaluated against the traffic protocol and protocol-specific parameters.
|
103
|
+
|
104
|
+
|
105
|
+
:return: The service of this NatRuleMatchCriteria.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._service
|
109
|
+
|
110
|
+
@service.setter
|
111
|
+
def service(self, service):
|
112
|
+
"""
|
113
|
+
Sets the service of this NatRuleMatchCriteria.
|
114
|
+
A Service name to be evaluated against the traffic protocol and protocol-specific parameters.
|
115
|
+
|
116
|
+
|
117
|
+
:param service: The service of this NatRuleMatchCriteria.
|
118
|
+
:type: str
|
119
|
+
"""
|
120
|
+
self._service = service
|
121
|
+
|
122
|
+
def __repr__(self):
|
123
|
+
return formatted_flat_dict(self)
|
124
|
+
|
125
|
+
def __eq__(self, other):
|
126
|
+
if other is None:
|
127
|
+
return False
|
128
|
+
|
129
|
+
return self.__dict__ == other.__dict__
|
130
|
+
|
131
|
+
def __ne__(self, other):
|
132
|
+
return not self == other
|
@@ -0,0 +1,228 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, 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: 20230501
|
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 NatRuleSummary(object):
|
14
|
+
"""
|
15
|
+
Summary of NAT Rules used in the firewall policy.
|
16
|
+
A Nat Rule is used to define which traffic NAT should be applied by the firewall, and how it should do so.
|
17
|
+
"""
|
18
|
+
|
19
|
+
#: A constant which can be used with the type property of a NatRuleSummary.
|
20
|
+
#: This constant has a value of "NATV4"
|
21
|
+
TYPE_NATV4 = "NATV4"
|
22
|
+
|
23
|
+
def __init__(self, **kwargs):
|
24
|
+
"""
|
25
|
+
Initializes a new NatRuleSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
26
|
+
to a service operations then you should favor using a subclass over the base class:
|
27
|
+
|
28
|
+
* :class:`~oci.network_firewall.models.NatV4NatSummary`
|
29
|
+
|
30
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
31
|
+
|
32
|
+
:param name:
|
33
|
+
The value to assign to the name property of this NatRuleSummary.
|
34
|
+
:type name: str
|
35
|
+
|
36
|
+
:param type:
|
37
|
+
The value to assign to the type property of this NatRuleSummary.
|
38
|
+
Allowed values for this property are: "NATV4", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type type: str
|
41
|
+
|
42
|
+
:param description:
|
43
|
+
The value to assign to the description property of this NatRuleSummary.
|
44
|
+
:type description: str
|
45
|
+
|
46
|
+
:param priority_order:
|
47
|
+
The value to assign to the priority_order property of this NatRuleSummary.
|
48
|
+
:type priority_order: int
|
49
|
+
|
50
|
+
:param parent_resource_id:
|
51
|
+
The value to assign to the parent_resource_id property of this NatRuleSummary.
|
52
|
+
:type parent_resource_id: str
|
53
|
+
|
54
|
+
"""
|
55
|
+
self.swagger_types = {
|
56
|
+
'name': 'str',
|
57
|
+
'type': 'str',
|
58
|
+
'description': 'str',
|
59
|
+
'priority_order': 'int',
|
60
|
+
'parent_resource_id': 'str'
|
61
|
+
}
|
62
|
+
self.attribute_map = {
|
63
|
+
'name': 'name',
|
64
|
+
'type': 'type',
|
65
|
+
'description': 'description',
|
66
|
+
'priority_order': 'priorityOrder',
|
67
|
+
'parent_resource_id': 'parentResourceId'
|
68
|
+
}
|
69
|
+
self._name = None
|
70
|
+
self._type = None
|
71
|
+
self._description = None
|
72
|
+
self._priority_order = None
|
73
|
+
self._parent_resource_id = None
|
74
|
+
|
75
|
+
@staticmethod
|
76
|
+
def get_subtype(object_dictionary):
|
77
|
+
"""
|
78
|
+
Given the hash representation of a subtype of this class,
|
79
|
+
use the info in the hash to return the class of the subtype.
|
80
|
+
"""
|
81
|
+
type = object_dictionary['type']
|
82
|
+
|
83
|
+
if type == 'NATV4':
|
84
|
+
return 'NatV4NatSummary'
|
85
|
+
else:
|
86
|
+
return 'NatRuleSummary'
|
87
|
+
|
88
|
+
@property
|
89
|
+
def name(self):
|
90
|
+
"""
|
91
|
+
**[Required]** Gets the name of this NatRuleSummary.
|
92
|
+
Name for the nat rule, must be unique within the policy.
|
93
|
+
|
94
|
+
|
95
|
+
:return: The name of this NatRuleSummary.
|
96
|
+
:rtype: str
|
97
|
+
"""
|
98
|
+
return self._name
|
99
|
+
|
100
|
+
@name.setter
|
101
|
+
def name(self, name):
|
102
|
+
"""
|
103
|
+
Sets the name of this NatRuleSummary.
|
104
|
+
Name for the nat rule, must be unique within the policy.
|
105
|
+
|
106
|
+
|
107
|
+
:param name: The name of this NatRuleSummary.
|
108
|
+
:type: str
|
109
|
+
"""
|
110
|
+
self._name = name
|
111
|
+
|
112
|
+
@property
|
113
|
+
def type(self):
|
114
|
+
"""
|
115
|
+
**[Required]** Gets the type of this NatRuleSummary.
|
116
|
+
NAT type:
|
117
|
+
|
118
|
+
* NATV4 - NATV4 type NAT.
|
119
|
+
|
120
|
+
Allowed values for this property are: "NATV4", 'UNKNOWN_ENUM_VALUE'.
|
121
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
122
|
+
|
123
|
+
|
124
|
+
:return: The type of this NatRuleSummary.
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._type
|
128
|
+
|
129
|
+
@type.setter
|
130
|
+
def type(self, type):
|
131
|
+
"""
|
132
|
+
Sets the type of this NatRuleSummary.
|
133
|
+
NAT type:
|
134
|
+
|
135
|
+
* NATV4 - NATV4 type NAT.
|
136
|
+
|
137
|
+
|
138
|
+
:param type: The type of this NatRuleSummary.
|
139
|
+
:type: str
|
140
|
+
"""
|
141
|
+
allowed_values = ["NATV4"]
|
142
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
143
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
144
|
+
self._type = type
|
145
|
+
|
146
|
+
@property
|
147
|
+
def description(self):
|
148
|
+
"""
|
149
|
+
Gets the description of this NatRuleSummary.
|
150
|
+
Description of a NAT rule. This field can be used to add additional info.
|
151
|
+
|
152
|
+
|
153
|
+
:return: The description of this NatRuleSummary.
|
154
|
+
:rtype: str
|
155
|
+
"""
|
156
|
+
return self._description
|
157
|
+
|
158
|
+
@description.setter
|
159
|
+
def description(self, description):
|
160
|
+
"""
|
161
|
+
Sets the description of this NatRuleSummary.
|
162
|
+
Description of a NAT rule. This field can be used to add additional info.
|
163
|
+
|
164
|
+
|
165
|
+
:param description: The description of this NatRuleSummary.
|
166
|
+
:type: str
|
167
|
+
"""
|
168
|
+
self._description = description
|
169
|
+
|
170
|
+
@property
|
171
|
+
def priority_order(self):
|
172
|
+
"""
|
173
|
+
**[Required]** Gets the priority_order of this NatRuleSummary.
|
174
|
+
The priority order in which this rule should be evaluated.
|
175
|
+
|
176
|
+
|
177
|
+
:return: The priority_order of this NatRuleSummary.
|
178
|
+
:rtype: int
|
179
|
+
"""
|
180
|
+
return self._priority_order
|
181
|
+
|
182
|
+
@priority_order.setter
|
183
|
+
def priority_order(self, priority_order):
|
184
|
+
"""
|
185
|
+
Sets the priority_order of this NatRuleSummary.
|
186
|
+
The priority order in which this rule should be evaluated.
|
187
|
+
|
188
|
+
|
189
|
+
:param priority_order: The priority_order of this NatRuleSummary.
|
190
|
+
:type: int
|
191
|
+
"""
|
192
|
+
self._priority_order = priority_order
|
193
|
+
|
194
|
+
@property
|
195
|
+
def parent_resource_id(self):
|
196
|
+
"""
|
197
|
+
**[Required]** Gets the parent_resource_id of this NatRuleSummary.
|
198
|
+
OCID of the Network Firewall Policy this application belongs to.
|
199
|
+
|
200
|
+
|
201
|
+
:return: The parent_resource_id of this NatRuleSummary.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._parent_resource_id
|
205
|
+
|
206
|
+
@parent_resource_id.setter
|
207
|
+
def parent_resource_id(self, parent_resource_id):
|
208
|
+
"""
|
209
|
+
Sets the parent_resource_id of this NatRuleSummary.
|
210
|
+
OCID of the Network Firewall Policy this application belongs to.
|
211
|
+
|
212
|
+
|
213
|
+
:param parent_resource_id: The parent_resource_id of this NatRuleSummary.
|
214
|
+
:type: str
|
215
|
+
"""
|
216
|
+
self._parent_resource_id = parent_resource_id
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
return formatted_flat_dict(self)
|
220
|
+
|
221
|
+
def __eq__(self, other):
|
222
|
+
if other is None:
|
223
|
+
return False
|
224
|
+
|
225
|
+
return self.__dict__ == other.__dict__
|
226
|
+
|
227
|
+
def __ne__(self, other):
|
228
|
+
return not self == other
|