oci 2.129.3__py3-none-any.whl → 2.130.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +29 -29
- oci/apm_synthetics/models/__init__.py +14 -0
- oci/apm_synthetics/models/basic_authentication_details.py +99 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +48 -9
- oci/apm_synthetics/models/database_wallet_details.py +103 -0
- oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
- oci/apm_synthetics/models/monitor.py +112 -11
- oci/apm_synthetics/models/monitor_configuration.py +19 -3
- oci/apm_synthetics/models/monitor_summary.py +112 -11
- oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/password.py +109 -0
- oci/apm_synthetics/models/password_in_text.py +82 -0
- oci/apm_synthetics/models/password_in_vault.py +83 -0
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
- oci/apm_synthetics/models/update_monitor_details.py +37 -6
- oci/apm_synthetics/models/vantage_point_info.py +33 -2
- oci/apm_synthetics/models/worker_monitor_list.py +11 -3
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/certificate_retriever.py +13 -6
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/instance_principals_security_token_signer.py +1 -1
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +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 +3762 -2702
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/audit_event_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_security_assessment_details.py +31 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/create_user_assessment_details.py +31 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/finding_summary.py +31 -0
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/references.py +34 -3
- oci/data_safe/models/report.py +44 -5
- oci/data_safe/models/report_definition.py +40 -5
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +13 -5
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/security_assessment.py +31 -0
- oci/data_safe/models/sensitive_data_model.py +35 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
- oci/data_safe/models/tables_for_discovery.py +103 -0
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
- oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/update_security_assessment_details.py +31 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/update_user_assessment_details.py +31 -0
- oci/data_safe/models/user_assessment.py +31 -0
- oci/data_safe/models/user_assessment_summary.py +31 -0
- oci/data_safe/models/work_request.py +39 -3
- oci/data_safe/models/work_request_summary.py +39 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +707 -353
- oci/database/database_client_composite_operations.py +123 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_database.py +103 -2
- oci/database/models/autonomous_database_summary.py +103 -2
- oci/database/models/change_autonomous_database_subscription_details.py +107 -0
- oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
- oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_subscription_details.py +107 -0
- oci/database/models/cloud_exadata_infrastructure.py +35 -0
- oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
- oci/database/models/cloud_vm_cluster.py +35 -0
- oci/database/models/cloud_vm_cluster_summary.py +35 -0
- oci/database/models/create_autonomous_database_base.py +66 -0
- oci/database/models/create_autonomous_database_clone_details.py +14 -0
- oci/database/models/create_autonomous_database_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
- oci/database/models/create_cloud_vm_cluster_details.py +35 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +208 -208
- 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 +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +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 +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- 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 +50 -50
- oci/object_storage/transfer/internal/download/__init__.py +1 -1
- 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 +22 -0
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/host_containers.py +182 -0
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +30 -3
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_io_usage.py +244 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_top_processes.py +158 -3
- oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
- oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +374 -0
- oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
- oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
- oci/opsi/models/my_sql_sql_stats.py +1074 -0
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/resource_statistics.py +64 -2
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +2 -2
- oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
- oci/opsi/operations_insights_client.py +464 -195
- 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 +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
@@ -161,7 +161,7 @@ class NetworkFirewallClient(object):
|
|
161
161
|
:rtype: :class:`~oci.response.Response`
|
162
162
|
|
163
163
|
:example:
|
164
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/apply_network_firewall_policy.py.html>`__ to see an example of how to use apply_network_firewall_policy API.
|
165
165
|
"""
|
166
166
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
167
167
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -290,7 +290,7 @@ class NetworkFirewallClient(object):
|
|
290
290
|
:rtype: :class:`~oci.response.Response`
|
291
291
|
|
292
292
|
:example:
|
293
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
293
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_address_lists.py.html>`__ to see an example of how to use bulk_upload_address_lists API.
|
294
294
|
"""
|
295
295
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
296
296
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -438,7 +438,7 @@ class NetworkFirewallClient(object):
|
|
438
438
|
:rtype: :class:`~oci.response.Response`
|
439
439
|
|
440
440
|
:example:
|
441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
441
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_application_groups.py.html>`__ to see an example of how to use bulk_upload_application_groups API.
|
442
442
|
"""
|
443
443
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
444
444
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -586,7 +586,7 @@ class NetworkFirewallClient(object):
|
|
586
586
|
:rtype: :class:`~oci.response.Response`
|
587
587
|
|
588
588
|
:example:
|
589
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
589
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_applications.py.html>`__ to see an example of how to use bulk_upload_applications API.
|
590
590
|
"""
|
591
591
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
592
592
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -734,7 +734,7 @@ class NetworkFirewallClient(object):
|
|
734
734
|
:rtype: :class:`~oci.response.Response`
|
735
735
|
|
736
736
|
:example:
|
737
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
737
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_decryption_profiles.py.html>`__ to see an example of how to use bulk_upload_decryption_profiles API.
|
738
738
|
"""
|
739
739
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
740
740
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -882,7 +882,7 @@ class NetworkFirewallClient(object):
|
|
882
882
|
:rtype: :class:`~oci.response.Response`
|
883
883
|
|
884
884
|
:example:
|
885
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
885
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_decryption_rules.py.html>`__ to see an example of how to use bulk_upload_decryption_rules API.
|
886
886
|
"""
|
887
887
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
888
888
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1030,7 +1030,7 @@ class NetworkFirewallClient(object):
|
|
1030
1030
|
:rtype: :class:`~oci.response.Response`
|
1031
1031
|
|
1032
1032
|
:example:
|
1033
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1033
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_mapped_secrets.py.html>`__ to see an example of how to use bulk_upload_mapped_secrets API.
|
1034
1034
|
"""
|
1035
1035
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1036
1036
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1178,7 +1178,7 @@ class NetworkFirewallClient(object):
|
|
1178
1178
|
:rtype: :class:`~oci.response.Response`
|
1179
1179
|
|
1180
1180
|
:example:
|
1181
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1181
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_security_rules.py.html>`__ to see an example of how to use bulk_upload_security_rules API.
|
1182
1182
|
"""
|
1183
1183
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1184
1184
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1326,7 +1326,7 @@ class NetworkFirewallClient(object):
|
|
1326
1326
|
:rtype: :class:`~oci.response.Response`
|
1327
1327
|
|
1328
1328
|
:example:
|
1329
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1329
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_service_lists.py.html>`__ to see an example of how to use bulk_upload_service_lists API.
|
1330
1330
|
"""
|
1331
1331
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1332
1332
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1474,7 +1474,7 @@ class NetworkFirewallClient(object):
|
|
1474
1474
|
:rtype: :class:`~oci.response.Response`
|
1475
1475
|
|
1476
1476
|
:example:
|
1477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1477
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_services.py.html>`__ to see an example of how to use bulk_upload_services API.
|
1478
1478
|
"""
|
1479
1479
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1480
1480
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1571,6 +1571,154 @@ class NetworkFirewallClient(object):
|
|
1571
1571
|
api_reference_link=api_reference_link,
|
1572
1572
|
required_arguments=required_arguments)
|
1573
1573
|
|
1574
|
+
def bulk_upload_tunnel_inspection_rules(self, network_firewall_policy_id, bulk_upload_tunnel_inspection_rules_details, **kwargs):
|
1575
|
+
"""
|
1576
|
+
Creates a new Tunnel Inspection Rule at bulk for the Network Firewall Policy.
|
1577
|
+
|
1578
|
+
|
1579
|
+
:param str network_firewall_policy_id: (required)
|
1580
|
+
Unique Network Firewall Policy identifier
|
1581
|
+
|
1582
|
+
:param stream bulk_upload_tunnel_inspection_rules_details: (required)
|
1583
|
+
Request details to create the tunnel inspection rule for the network firewall policy Resource.
|
1584
|
+
|
1585
|
+
:param str opc_retry_token: (optional)
|
1586
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1587
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1588
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1589
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1590
|
+
might be rejected.
|
1591
|
+
|
1592
|
+
:param str opc_request_id: (optional)
|
1593
|
+
The client request ID for tracing.
|
1594
|
+
|
1595
|
+
:param str if_match: (optional)
|
1596
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1597
|
+
for a resource, set the `if-match` parameter to the value of the
|
1598
|
+
etag from a previous GET or POST response for that resource.
|
1599
|
+
The resource will be updated or deleted only if the etag you
|
1600
|
+
provide matches the resource's current etag value.
|
1601
|
+
|
1602
|
+
:param obj retry_strategy: (optional)
|
1603
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1604
|
+
|
1605
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1606
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1607
|
+
|
1608
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1609
|
+
|
1610
|
+
:param bool allow_control_chars: (optional)
|
1611
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1612
|
+
By default, the response will not allow control characters in strings
|
1613
|
+
:param int buffer_limit: (optional)
|
1614
|
+
A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit.
|
1615
|
+
If the stream size is greater than the buffer_limit, a BufferError exception will be thrown.
|
1616
|
+
|
1617
|
+
The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length.
|
1618
|
+
If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB.
|
1619
|
+
Large streams can cause the process to freeze, consider passing in content-length for large streams instead.
|
1620
|
+
|
1621
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1622
|
+
:rtype: :class:`~oci.response.Response`
|
1623
|
+
|
1624
|
+
:example:
|
1625
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_tunnel_inspection_rules.py.html>`__ to see an example of how to use bulk_upload_tunnel_inspection_rules API.
|
1626
|
+
"""
|
1627
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1628
|
+
required_arguments = ['networkFirewallPolicyId']
|
1629
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/actions/bulkUpload"
|
1630
|
+
method = "POST"
|
1631
|
+
operation_name = "bulk_upload_tunnel_inspection_rules"
|
1632
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/BulkUploadTunnelInspectionRules"
|
1633
|
+
|
1634
|
+
# Don't accept unknown kwargs
|
1635
|
+
expected_kwargs = [
|
1636
|
+
"allow_control_chars",
|
1637
|
+
"retry_strategy",
|
1638
|
+
"buffer_limit",
|
1639
|
+
"opc_retry_token",
|
1640
|
+
"opc_request_id",
|
1641
|
+
"if_match"
|
1642
|
+
]
|
1643
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1644
|
+
if extra_kwargs:
|
1645
|
+
raise ValueError(
|
1646
|
+
f"bulk_upload_tunnel_inspection_rules got unknown kwargs: {extra_kwargs!r}")
|
1647
|
+
|
1648
|
+
path_params = {
|
1649
|
+
"networkFirewallPolicyId": network_firewall_policy_id
|
1650
|
+
}
|
1651
|
+
|
1652
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1653
|
+
|
1654
|
+
for (k, v) in six.iteritems(path_params):
|
1655
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1656
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1657
|
+
|
1658
|
+
header_params = {
|
1659
|
+
"accept": "application/json",
|
1660
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1661
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1662
|
+
"if-match": kwargs.get("if_match", missing)
|
1663
|
+
}
|
1664
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1665
|
+
|
1666
|
+
# If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
|
1667
|
+
try:
|
1668
|
+
bulk_upload_tunnel_inspection_rules_details
|
1669
|
+
except NameError:
|
1670
|
+
bulk_upload_tunnel_inspection_rules_details = kwargs.get("bulk_upload_tunnel_inspection_rules_details", missing)
|
1671
|
+
|
1672
|
+
if bulk_upload_tunnel_inspection_rules_details is not missing and bulk_upload_tunnel_inspection_rules_details is not None:
|
1673
|
+
if (not isinstance(bulk_upload_tunnel_inspection_rules_details, (six.binary_type, six.string_types)) and
|
1674
|
+
not hasattr(bulk_upload_tunnel_inspection_rules_details, "read")):
|
1675
|
+
raise TypeError('The body must be a string, bytes, or provide a read() method.')
|
1676
|
+
|
1677
|
+
if hasattr(bulk_upload_tunnel_inspection_rules_details, 'fileno') and hasattr(bulk_upload_tunnel_inspection_rules_details, 'name') and bulk_upload_tunnel_inspection_rules_details.name != '<stdin>':
|
1678
|
+
if requests.utils.super_len(bulk_upload_tunnel_inspection_rules_details) == 0:
|
1679
|
+
header_params['Content-Length'] = '0'
|
1680
|
+
|
1681
|
+
# If content length is not given and stream object have no 'fileno' and is not a string or bytes, try to calculate content length
|
1682
|
+
elif 'Content-Length' not in header_params and not is_content_length_calculable_by_req_util(bulk_upload_tunnel_inspection_rules_details):
|
1683
|
+
calculated_obj = back_up_body_calculate_stream_content_length(bulk_upload_tunnel_inspection_rules_details, kwargs.get("buffer_limit"))
|
1684
|
+
header_params['Content-Length'] = calculated_obj["content_length"]
|
1685
|
+
bulk_upload_tunnel_inspection_rules_details = calculated_obj["byte_content"]
|
1686
|
+
|
1687
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1688
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1689
|
+
client_retry_strategy=self.retry_strategy
|
1690
|
+
)
|
1691
|
+
if retry_strategy is None:
|
1692
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1693
|
+
|
1694
|
+
if retry_strategy:
|
1695
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1696
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1697
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1698
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1699
|
+
return retry_strategy.make_retrying_call(
|
1700
|
+
self.base_client.call_api,
|
1701
|
+
resource_path=resource_path,
|
1702
|
+
method=method,
|
1703
|
+
path_params=path_params,
|
1704
|
+
header_params=header_params,
|
1705
|
+
body=bulk_upload_tunnel_inspection_rules_details,
|
1706
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1707
|
+
operation_name=operation_name,
|
1708
|
+
api_reference_link=api_reference_link,
|
1709
|
+
required_arguments=required_arguments)
|
1710
|
+
else:
|
1711
|
+
return self.base_client.call_api(
|
1712
|
+
resource_path=resource_path,
|
1713
|
+
method=method,
|
1714
|
+
path_params=path_params,
|
1715
|
+
header_params=header_params,
|
1716
|
+
body=bulk_upload_tunnel_inspection_rules_details,
|
1717
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1718
|
+
operation_name=operation_name,
|
1719
|
+
api_reference_link=api_reference_link,
|
1720
|
+
required_arguments=required_arguments)
|
1721
|
+
|
1574
1722
|
def bulk_upload_url_lists(self, network_firewall_policy_id, bulk_upload_url_lists_details, **kwargs):
|
1575
1723
|
"""
|
1576
1724
|
Creates a new Url Lists at bulk for the Network Firewall Policy.
|
@@ -1622,7 +1770,7 @@ class NetworkFirewallClient(object):
|
|
1622
1770
|
:rtype: :class:`~oci.response.Response`
|
1623
1771
|
|
1624
1772
|
:example:
|
1625
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1773
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/bulk_upload_url_lists.py.html>`__ to see an example of how to use bulk_upload_url_lists API.
|
1626
1774
|
"""
|
1627
1775
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1628
1776
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -1753,7 +1901,7 @@ class NetworkFirewallClient(object):
|
|
1753
1901
|
:rtype: :class:`~oci.response.Response`
|
1754
1902
|
|
1755
1903
|
:example:
|
1756
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1904
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
1757
1905
|
"""
|
1758
1906
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1759
1907
|
required_arguments = ['workRequestId']
|
@@ -1870,7 +2018,7 @@ class NetworkFirewallClient(object):
|
|
1870
2018
|
:rtype: :class:`~oci.response.Response`
|
1871
2019
|
|
1872
2020
|
:example:
|
1873
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2021
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/change_network_firewall_compartment.py.html>`__ to see an example of how to use change_network_firewall_compartment API.
|
1874
2022
|
"""
|
1875
2023
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1876
2024
|
required_arguments = ['networkFirewallId']
|
@@ -1990,7 +2138,7 @@ class NetworkFirewallClient(object):
|
|
1990
2138
|
:rtype: :class:`~oci.response.Response`
|
1991
2139
|
|
1992
2140
|
:example:
|
1993
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2141
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/change_network_firewall_policy_compartment.py.html>`__ to see an example of how to use change_network_firewall_policy_compartment API.
|
1994
2142
|
"""
|
1995
2143
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1996
2144
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2110,7 +2258,7 @@ class NetworkFirewallClient(object):
|
|
2110
2258
|
:rtype: :class:`~oci.response.Response`
|
2111
2259
|
|
2112
2260
|
:example:
|
2113
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/clone_network_firewall_policy.py.html>`__ to see an example of how to use clone_network_firewall_policy API.
|
2114
2262
|
"""
|
2115
2263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2116
2264
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2225,7 +2373,7 @@ class NetworkFirewallClient(object):
|
|
2225
2373
|
:rtype: :class:`~oci.response.Response`
|
2226
2374
|
|
2227
2375
|
:example:
|
2228
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2376
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_address_list.py.html>`__ to see an example of how to use create_address_list API.
|
2229
2377
|
"""
|
2230
2378
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2231
2379
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2338,7 +2486,7 @@ class NetworkFirewallClient(object):
|
|
2338
2486
|
:rtype: :class:`~oci.response.Response`
|
2339
2487
|
|
2340
2488
|
:example:
|
2341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2489
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_application.py.html>`__ to see an example of how to use create_application API.
|
2342
2490
|
"""
|
2343
2491
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2344
2492
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2451,7 +2599,7 @@ class NetworkFirewallClient(object):
|
|
2451
2599
|
:rtype: :class:`~oci.response.Response`
|
2452
2600
|
|
2453
2601
|
:example:
|
2454
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2602
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_application_group.py.html>`__ to see an example of how to use create_application_group API.
|
2455
2603
|
"""
|
2456
2604
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2457
2605
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2564,7 +2712,7 @@ class NetworkFirewallClient(object):
|
|
2564
2712
|
:rtype: :class:`~oci.response.Response`
|
2565
2713
|
|
2566
2714
|
:example:
|
2567
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2715
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_decryption_profile.py.html>`__ to see an example of how to use create_decryption_profile API.
|
2568
2716
|
"""
|
2569
2717
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2570
2718
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2677,7 +2825,7 @@ class NetworkFirewallClient(object):
|
|
2677
2825
|
:rtype: :class:`~oci.response.Response`
|
2678
2826
|
|
2679
2827
|
:example:
|
2680
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2828
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_decryption_rule.py.html>`__ to see an example of how to use create_decryption_rule API.
|
2681
2829
|
"""
|
2682
2830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2683
2831
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2790,7 +2938,7 @@ class NetworkFirewallClient(object):
|
|
2790
2938
|
:rtype: :class:`~oci.response.Response`
|
2791
2939
|
|
2792
2940
|
:example:
|
2793
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2941
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_mapped_secret.py.html>`__ to see an example of how to use create_mapped_secret API.
|
2794
2942
|
"""
|
2795
2943
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2796
2944
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -2900,7 +3048,7 @@ class NetworkFirewallClient(object):
|
|
2900
3048
|
:rtype: :class:`~oci.response.Response`
|
2901
3049
|
|
2902
3050
|
:example:
|
2903
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3051
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_network_firewall.py.html>`__ to see an example of how to use create_network_firewall API.
|
2904
3052
|
"""
|
2905
3053
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2906
3054
|
required_arguments = []
|
@@ -2998,7 +3146,7 @@ class NetworkFirewallClient(object):
|
|
2998
3146
|
:rtype: :class:`~oci.response.Response`
|
2999
3147
|
|
3000
3148
|
:example:
|
3001
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_network_firewall_policy.py.html>`__ to see an example of how to use create_network_firewall_policy API.
|
3002
3150
|
"""
|
3003
3151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3004
3152
|
required_arguments = []
|
@@ -3099,7 +3247,7 @@ class NetworkFirewallClient(object):
|
|
3099
3247
|
:rtype: :class:`~oci.response.Response`
|
3100
3248
|
|
3101
3249
|
:example:
|
3102
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3250
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_security_rule.py.html>`__ to see an example of how to use create_security_rule API.
|
3103
3251
|
"""
|
3104
3252
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3105
3253
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -3212,7 +3360,7 @@ class NetworkFirewallClient(object):
|
|
3212
3360
|
:rtype: :class:`~oci.response.Response`
|
3213
3361
|
|
3214
3362
|
:example:
|
3215
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3363
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_service.py.html>`__ to see an example of how to use create_service API.
|
3216
3364
|
"""
|
3217
3365
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3218
3366
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -3325,7 +3473,7 @@ class NetworkFirewallClient(object):
|
|
3325
3473
|
:rtype: :class:`~oci.response.Response`
|
3326
3474
|
|
3327
3475
|
:example:
|
3328
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3476
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_service_list.py.html>`__ to see an example of how to use create_service_list API.
|
3329
3477
|
"""
|
3330
3478
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3331
3479
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -3401,6 +3549,119 @@ class NetworkFirewallClient(object):
|
|
3401
3549
|
api_reference_link=api_reference_link,
|
3402
3550
|
required_arguments=required_arguments)
|
3403
3551
|
|
3552
|
+
def create_tunnel_inspection_rule(self, network_firewall_policy_id, create_tunnel_inspection_rule_details, **kwargs):
|
3553
|
+
"""
|
3554
|
+
Creates a new tunnel inspection rule for the network firewall policy.
|
3555
|
+
|
3556
|
+
|
3557
|
+
:param str network_firewall_policy_id: (required)
|
3558
|
+
Unique Network Firewall Policy identifier
|
3559
|
+
|
3560
|
+
:param oci.network_firewall.models.CreateTunnelInspectionRuleDetails create_tunnel_inspection_rule_details: (required)
|
3561
|
+
Request Details to create the network firewall policy resource.
|
3562
|
+
|
3563
|
+
:param str opc_retry_token: (optional)
|
3564
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3565
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
3566
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3567
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
3568
|
+
might be rejected.
|
3569
|
+
|
3570
|
+
:param str opc_request_id: (optional)
|
3571
|
+
The client request ID for tracing.
|
3572
|
+
|
3573
|
+
:param obj retry_strategy: (optional)
|
3574
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3575
|
+
|
3576
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
3577
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3578
|
+
|
3579
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3580
|
+
|
3581
|
+
:param bool allow_control_chars: (optional)
|
3582
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3583
|
+
By default, the response will not allow control characters in strings
|
3584
|
+
|
3585
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.TunnelInspectionRule`
|
3586
|
+
:rtype: :class:`~oci.response.Response`
|
3587
|
+
|
3588
|
+
:example:
|
3589
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_tunnel_inspection_rule.py.html>`__ to see an example of how to use create_tunnel_inspection_rule API.
|
3590
|
+
"""
|
3591
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3592
|
+
required_arguments = ['networkFirewallPolicyId']
|
3593
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules"
|
3594
|
+
method = "POST"
|
3595
|
+
operation_name = "create_tunnel_inspection_rule"
|
3596
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/CreateTunnelInspectionRule"
|
3597
|
+
|
3598
|
+
# Don't accept unknown kwargs
|
3599
|
+
expected_kwargs = [
|
3600
|
+
"allow_control_chars",
|
3601
|
+
"retry_strategy",
|
3602
|
+
"opc_retry_token",
|
3603
|
+
"opc_request_id"
|
3604
|
+
]
|
3605
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3606
|
+
if extra_kwargs:
|
3607
|
+
raise ValueError(
|
3608
|
+
f"create_tunnel_inspection_rule got unknown kwargs: {extra_kwargs!r}")
|
3609
|
+
|
3610
|
+
path_params = {
|
3611
|
+
"networkFirewallPolicyId": network_firewall_policy_id
|
3612
|
+
}
|
3613
|
+
|
3614
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3615
|
+
|
3616
|
+
for (k, v) in six.iteritems(path_params):
|
3617
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3618
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3619
|
+
|
3620
|
+
header_params = {
|
3621
|
+
"accept": "application/json",
|
3622
|
+
"content-type": "application/json",
|
3623
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
3624
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3625
|
+
}
|
3626
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3627
|
+
|
3628
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3629
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3630
|
+
client_retry_strategy=self.retry_strategy
|
3631
|
+
)
|
3632
|
+
if retry_strategy is None:
|
3633
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3634
|
+
|
3635
|
+
if retry_strategy:
|
3636
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3637
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3638
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3639
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3640
|
+
return retry_strategy.make_retrying_call(
|
3641
|
+
self.base_client.call_api,
|
3642
|
+
resource_path=resource_path,
|
3643
|
+
method=method,
|
3644
|
+
path_params=path_params,
|
3645
|
+
header_params=header_params,
|
3646
|
+
body=create_tunnel_inspection_rule_details,
|
3647
|
+
response_type="TunnelInspectionRule",
|
3648
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3649
|
+
operation_name=operation_name,
|
3650
|
+
api_reference_link=api_reference_link,
|
3651
|
+
required_arguments=required_arguments)
|
3652
|
+
else:
|
3653
|
+
return self.base_client.call_api(
|
3654
|
+
resource_path=resource_path,
|
3655
|
+
method=method,
|
3656
|
+
path_params=path_params,
|
3657
|
+
header_params=header_params,
|
3658
|
+
body=create_tunnel_inspection_rule_details,
|
3659
|
+
response_type="TunnelInspectionRule",
|
3660
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3661
|
+
operation_name=operation_name,
|
3662
|
+
api_reference_link=api_reference_link,
|
3663
|
+
required_arguments=required_arguments)
|
3664
|
+
|
3404
3665
|
def create_url_list(self, network_firewall_policy_id, create_url_list_details, **kwargs):
|
3405
3666
|
"""
|
3406
3667
|
Creates a new Url List for the Network Firewall Policy.
|
@@ -3438,7 +3699,7 @@ class NetworkFirewallClient(object):
|
|
3438
3699
|
:rtype: :class:`~oci.response.Response`
|
3439
3700
|
|
3440
3701
|
:example:
|
3441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3702
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/create_url_list.py.html>`__ to see an example of how to use create_url_list API.
|
3442
3703
|
"""
|
3443
3704
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3444
3705
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -3551,7 +3812,7 @@ class NetworkFirewallClient(object):
|
|
3551
3812
|
:rtype: :class:`~oci.response.Response`
|
3552
3813
|
|
3553
3814
|
:example:
|
3554
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3815
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_address_list.py.html>`__ to see an example of how to use delete_address_list API.
|
3555
3816
|
"""
|
3556
3817
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3557
3818
|
required_arguments = ['networkFirewallPolicyId', 'addressListName']
|
@@ -3660,7 +3921,7 @@ class NetworkFirewallClient(object):
|
|
3660
3921
|
:rtype: :class:`~oci.response.Response`
|
3661
3922
|
|
3662
3923
|
:example:
|
3663
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3924
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_application.py.html>`__ to see an example of how to use delete_application API.
|
3664
3925
|
"""
|
3665
3926
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3666
3927
|
required_arguments = ['networkFirewallPolicyId', 'applicationName']
|
@@ -3769,7 +4030,7 @@ class NetworkFirewallClient(object):
|
|
3769
4030
|
:rtype: :class:`~oci.response.Response`
|
3770
4031
|
|
3771
4032
|
:example:
|
3772
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4033
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_application_group.py.html>`__ to see an example of how to use delete_application_group API.
|
3773
4034
|
"""
|
3774
4035
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3775
4036
|
required_arguments = ['networkFirewallPolicyId', 'applicationGroupName']
|
@@ -3878,7 +4139,7 @@ class NetworkFirewallClient(object):
|
|
3878
4139
|
:rtype: :class:`~oci.response.Response`
|
3879
4140
|
|
3880
4141
|
:example:
|
3881
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4142
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_decryption_profile.py.html>`__ to see an example of how to use delete_decryption_profile API.
|
3882
4143
|
"""
|
3883
4144
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3884
4145
|
required_arguments = ['networkFirewallPolicyId', 'decryptionProfileName']
|
@@ -3987,7 +4248,7 @@ class NetworkFirewallClient(object):
|
|
3987
4248
|
:rtype: :class:`~oci.response.Response`
|
3988
4249
|
|
3989
4250
|
:example:
|
3990
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4251
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_decryption_rule.py.html>`__ to see an example of how to use delete_decryption_rule API.
|
3991
4252
|
"""
|
3992
4253
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3993
4254
|
required_arguments = ['networkFirewallPolicyId', 'decryptionRuleName']
|
@@ -4096,7 +4357,7 @@ class NetworkFirewallClient(object):
|
|
4096
4357
|
:rtype: :class:`~oci.response.Response`
|
4097
4358
|
|
4098
4359
|
:example:
|
4099
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4360
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_mapped_secret.py.html>`__ to see an example of how to use delete_mapped_secret API.
|
4100
4361
|
"""
|
4101
4362
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4102
4363
|
required_arguments = ['networkFirewallPolicyId', 'mappedSecretName']
|
@@ -4204,7 +4465,7 @@ class NetworkFirewallClient(object):
|
|
4204
4465
|
:rtype: :class:`~oci.response.Response`
|
4205
4466
|
|
4206
4467
|
:example:
|
4207
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4468
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_network_firewall.py.html>`__ to see an example of how to use delete_network_firewall API.
|
4208
4469
|
"""
|
4209
4470
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4210
4471
|
required_arguments = ['networkFirewallId']
|
@@ -4309,7 +4570,7 @@ class NetworkFirewallClient(object):
|
|
4309
4570
|
:rtype: :class:`~oci.response.Response`
|
4310
4571
|
|
4311
4572
|
:example:
|
4312
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4573
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_network_firewall_policy.py.html>`__ to see an example of how to use delete_network_firewall_policy API.
|
4313
4574
|
"""
|
4314
4575
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4315
4576
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -4417,7 +4678,7 @@ class NetworkFirewallClient(object):
|
|
4417
4678
|
:rtype: :class:`~oci.response.Response`
|
4418
4679
|
|
4419
4680
|
:example:
|
4420
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4681
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_security_rule.py.html>`__ to see an example of how to use delete_security_rule API.
|
4421
4682
|
"""
|
4422
4683
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4423
4684
|
required_arguments = ['networkFirewallPolicyId', 'securityRuleName']
|
@@ -4526,7 +4787,7 @@ class NetworkFirewallClient(object):
|
|
4526
4787
|
:rtype: :class:`~oci.response.Response`
|
4527
4788
|
|
4528
4789
|
:example:
|
4529
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4790
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_service.py.html>`__ to see an example of how to use delete_service API.
|
4530
4791
|
"""
|
4531
4792
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4532
4793
|
required_arguments = ['networkFirewallPolicyId', 'serviceName']
|
@@ -4635,7 +4896,7 @@ class NetworkFirewallClient(object):
|
|
4635
4896
|
:rtype: :class:`~oci.response.Response`
|
4636
4897
|
|
4637
4898
|
:example:
|
4638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4899
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_service_list.py.html>`__ to see an example of how to use delete_service_list API.
|
4639
4900
|
"""
|
4640
4901
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4641
4902
|
required_arguments = ['networkFirewallPolicyId', 'serviceListName']
|
@@ -4707,6 +4968,115 @@ class NetworkFirewallClient(object):
|
|
4707
4968
|
api_reference_link=api_reference_link,
|
4708
4969
|
required_arguments=required_arguments)
|
4709
4970
|
|
4971
|
+
def delete_tunnel_inspection_rule(self, network_firewall_policy_id, tunnel_inspection_rule_name, **kwargs):
|
4972
|
+
"""
|
4973
|
+
Deletes a tunnel inspection rule resource with the given identifier.
|
4974
|
+
|
4975
|
+
|
4976
|
+
:param str network_firewall_policy_id: (required)
|
4977
|
+
Unique Network Firewall Policy identifier
|
4978
|
+
|
4979
|
+
:param str tunnel_inspection_rule_name: (required)
|
4980
|
+
Unique identifier for Tunnel Inspection Rules in the network firewall policy.
|
4981
|
+
|
4982
|
+
:param str if_match: (optional)
|
4983
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
4984
|
+
for a resource, set the `if-match` parameter to the value of the
|
4985
|
+
etag from a previous GET or POST response for that resource.
|
4986
|
+
The resource will be updated or deleted only if the etag you
|
4987
|
+
provide matches the resource's current etag value.
|
4988
|
+
|
4989
|
+
:param str opc_request_id: (optional)
|
4990
|
+
The client request ID for tracing.
|
4991
|
+
|
4992
|
+
:param obj retry_strategy: (optional)
|
4993
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4994
|
+
|
4995
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
4996
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4997
|
+
|
4998
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4999
|
+
|
5000
|
+
:param bool allow_control_chars: (optional)
|
5001
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5002
|
+
By default, the response will not allow control characters in strings
|
5003
|
+
|
5004
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
5005
|
+
:rtype: :class:`~oci.response.Response`
|
5006
|
+
|
5007
|
+
:example:
|
5008
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_tunnel_inspection_rule.py.html>`__ to see an example of how to use delete_tunnel_inspection_rule API.
|
5009
|
+
"""
|
5010
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5011
|
+
required_arguments = ['networkFirewallPolicyId', 'tunnelInspectionRuleName']
|
5012
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/{tunnelInspectionRuleName}"
|
5013
|
+
method = "DELETE"
|
5014
|
+
operation_name = "delete_tunnel_inspection_rule"
|
5015
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/DeleteTunnelInspectionRule"
|
5016
|
+
|
5017
|
+
# Don't accept unknown kwargs
|
5018
|
+
expected_kwargs = [
|
5019
|
+
"allow_control_chars",
|
5020
|
+
"retry_strategy",
|
5021
|
+
"if_match",
|
5022
|
+
"opc_request_id"
|
5023
|
+
]
|
5024
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5025
|
+
if extra_kwargs:
|
5026
|
+
raise ValueError(
|
5027
|
+
f"delete_tunnel_inspection_rule got unknown kwargs: {extra_kwargs!r}")
|
5028
|
+
|
5029
|
+
path_params = {
|
5030
|
+
"networkFirewallPolicyId": network_firewall_policy_id,
|
5031
|
+
"tunnelInspectionRuleName": tunnel_inspection_rule_name
|
5032
|
+
}
|
5033
|
+
|
5034
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5035
|
+
|
5036
|
+
for (k, v) in six.iteritems(path_params):
|
5037
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5038
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5039
|
+
|
5040
|
+
header_params = {
|
5041
|
+
"accept": "application/json",
|
5042
|
+
"content-type": "application/json",
|
5043
|
+
"if-match": kwargs.get("if_match", missing),
|
5044
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5045
|
+
}
|
5046
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5047
|
+
|
5048
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5049
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5050
|
+
client_retry_strategy=self.retry_strategy
|
5051
|
+
)
|
5052
|
+
if retry_strategy is None:
|
5053
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5054
|
+
|
5055
|
+
if retry_strategy:
|
5056
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5057
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5058
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5059
|
+
return retry_strategy.make_retrying_call(
|
5060
|
+
self.base_client.call_api,
|
5061
|
+
resource_path=resource_path,
|
5062
|
+
method=method,
|
5063
|
+
path_params=path_params,
|
5064
|
+
header_params=header_params,
|
5065
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5066
|
+
operation_name=operation_name,
|
5067
|
+
api_reference_link=api_reference_link,
|
5068
|
+
required_arguments=required_arguments)
|
5069
|
+
else:
|
5070
|
+
return self.base_client.call_api(
|
5071
|
+
resource_path=resource_path,
|
5072
|
+
method=method,
|
5073
|
+
path_params=path_params,
|
5074
|
+
header_params=header_params,
|
5075
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5076
|
+
operation_name=operation_name,
|
5077
|
+
api_reference_link=api_reference_link,
|
5078
|
+
required_arguments=required_arguments)
|
5079
|
+
|
4710
5080
|
def delete_url_list(self, network_firewall_policy_id, url_list_name, **kwargs):
|
4711
5081
|
"""
|
4712
5082
|
Deletes a Url List resource with the given identifier.
|
@@ -4744,7 +5114,7 @@ class NetworkFirewallClient(object):
|
|
4744
5114
|
:rtype: :class:`~oci.response.Response`
|
4745
5115
|
|
4746
5116
|
:example:
|
4747
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5117
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/delete_url_list.py.html>`__ to see an example of how to use delete_url_list API.
|
4748
5118
|
"""
|
4749
5119
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4750
5120
|
required_arguments = ['networkFirewallPolicyId', 'urlListName']
|
@@ -4846,7 +5216,7 @@ class NetworkFirewallClient(object):
|
|
4846
5216
|
:rtype: :class:`~oci.response.Response`
|
4847
5217
|
|
4848
5218
|
:example:
|
4849
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5219
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_address_list.py.html>`__ to see an example of how to use get_address_list API.
|
4850
5220
|
"""
|
4851
5221
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4852
5222
|
required_arguments = ['networkFirewallPolicyId', 'addressListName']
|
@@ -4954,7 +5324,7 @@ class NetworkFirewallClient(object):
|
|
4954
5324
|
:rtype: :class:`~oci.response.Response`
|
4955
5325
|
|
4956
5326
|
:example:
|
4957
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5327
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_application.py.html>`__ to see an example of how to use get_application API.
|
4958
5328
|
"""
|
4959
5329
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4960
5330
|
required_arguments = ['networkFirewallPolicyId', 'applicationName']
|
@@ -5066,7 +5436,7 @@ class NetworkFirewallClient(object):
|
|
5066
5436
|
:rtype: :class:`~oci.response.Response`
|
5067
5437
|
|
5068
5438
|
:example:
|
5069
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5439
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_application_group.py.html>`__ to see an example of how to use get_application_group API.
|
5070
5440
|
"""
|
5071
5441
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5072
5442
|
required_arguments = ['networkFirewallPolicyId', 'applicationGroupName']
|
@@ -5168,7 +5538,7 @@ class NetworkFirewallClient(object):
|
|
5168
5538
|
:rtype: :class:`~oci.response.Response`
|
5169
5539
|
|
5170
5540
|
:example:
|
5171
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_decryption_profile.py.html>`__ to see an example of how to use get_decryption_profile API.
|
5172
5542
|
"""
|
5173
5543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5174
5544
|
required_arguments = ['networkFirewallPolicyId', 'decryptionProfileName']
|
@@ -5276,7 +5646,7 @@ class NetworkFirewallClient(object):
|
|
5276
5646
|
:rtype: :class:`~oci.response.Response`
|
5277
5647
|
|
5278
5648
|
:example:
|
5279
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5649
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_decryption_rule.py.html>`__ to see an example of how to use get_decryption_rule API.
|
5280
5650
|
"""
|
5281
5651
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5282
5652
|
required_arguments = ['networkFirewallPolicyId', 'decryptionRuleName']
|
@@ -5394,7 +5764,7 @@ class NetworkFirewallClient(object):
|
|
5394
5764
|
:rtype: :class:`~oci.response.Response`
|
5395
5765
|
|
5396
5766
|
:example:
|
5397
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5767
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_mapped_secret.py.html>`__ to see an example of how to use get_mapped_secret API.
|
5398
5768
|
"""
|
5399
5769
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5400
5770
|
required_arguments = ['networkFirewallPolicyId', 'mappedSecretName']
|
@@ -5505,7 +5875,7 @@ class NetworkFirewallClient(object):
|
|
5505
5875
|
:rtype: :class:`~oci.response.Response`
|
5506
5876
|
|
5507
5877
|
:example:
|
5508
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5878
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_network_firewall.py.html>`__ to see an example of how to use get_network_firewall API.
|
5509
5879
|
"""
|
5510
5880
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5511
5881
|
required_arguments = ['networkFirewallId']
|
@@ -5603,7 +5973,7 @@ class NetworkFirewallClient(object):
|
|
5603
5973
|
:rtype: :class:`~oci.response.Response`
|
5604
5974
|
|
5605
5975
|
:example:
|
5606
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5976
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_network_firewall_policy.py.html>`__ to see an example of how to use get_network_firewall_policy API.
|
5607
5977
|
"""
|
5608
5978
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5609
5979
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -5704,7 +6074,7 @@ class NetworkFirewallClient(object):
|
|
5704
6074
|
:rtype: :class:`~oci.response.Response`
|
5705
6075
|
|
5706
6076
|
:example:
|
5707
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6077
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_security_rule.py.html>`__ to see an example of how to use get_security_rule API.
|
5708
6078
|
"""
|
5709
6079
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5710
6080
|
required_arguments = ['networkFirewallPolicyId', 'securityRuleName']
|
@@ -5812,7 +6182,7 @@ class NetworkFirewallClient(object):
|
|
5812
6182
|
:rtype: :class:`~oci.response.Response`
|
5813
6183
|
|
5814
6184
|
:example:
|
5815
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6185
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_service.py.html>`__ to see an example of how to use get_service API.
|
5816
6186
|
"""
|
5817
6187
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5818
6188
|
required_arguments = ['networkFirewallPolicyId', 'serviceName']
|
@@ -5874,9 +6244,112 @@ class NetworkFirewallClient(object):
|
|
5874
6244
|
resource_path=resource_path,
|
5875
6245
|
method=method,
|
5876
6246
|
path_params=path_params,
|
5877
|
-
query_params=query_params,
|
6247
|
+
query_params=query_params,
|
6248
|
+
header_params=header_params,
|
6249
|
+
response_type="Service",
|
6250
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6251
|
+
operation_name=operation_name,
|
6252
|
+
api_reference_link=api_reference_link,
|
6253
|
+
required_arguments=required_arguments)
|
6254
|
+
else:
|
6255
|
+
return self.base_client.call_api(
|
6256
|
+
resource_path=resource_path,
|
6257
|
+
method=method,
|
6258
|
+
path_params=path_params,
|
6259
|
+
query_params=query_params,
|
6260
|
+
header_params=header_params,
|
6261
|
+
response_type="Service",
|
6262
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6263
|
+
operation_name=operation_name,
|
6264
|
+
api_reference_link=api_reference_link,
|
6265
|
+
required_arguments=required_arguments)
|
6266
|
+
|
6267
|
+
def get_service_list(self, network_firewall_policy_id, service_list_name, **kwargs):
|
6268
|
+
"""
|
6269
|
+
Get ServiceList by the given name in the context of network firewall policy.
|
6270
|
+
|
6271
|
+
|
6272
|
+
:param str network_firewall_policy_id: (required)
|
6273
|
+
Unique Network Firewall Policy identifier
|
6274
|
+
|
6275
|
+
:param str service_list_name: (required)
|
6276
|
+
Unique name identifier for Service Lists in the scope of Network Firewall Policy.
|
6277
|
+
|
6278
|
+
:param str opc_request_id: (optional)
|
6279
|
+
The client request ID for tracing.
|
6280
|
+
|
6281
|
+
:param obj retry_strategy: (optional)
|
6282
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6283
|
+
|
6284
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
6285
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6286
|
+
|
6287
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6288
|
+
|
6289
|
+
:param bool allow_control_chars: (optional)
|
6290
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6291
|
+
By default, the response will not allow control characters in strings
|
6292
|
+
|
6293
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.ServiceList`
|
6294
|
+
:rtype: :class:`~oci.response.Response`
|
6295
|
+
|
6296
|
+
:example:
|
6297
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_service_list.py.html>`__ to see an example of how to use get_service_list API.
|
6298
|
+
"""
|
6299
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6300
|
+
required_arguments = ['networkFirewallPolicyId', 'serviceListName']
|
6301
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/serviceLists/{serviceListName}"
|
6302
|
+
method = "GET"
|
6303
|
+
operation_name = "get_service_list"
|
6304
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/ServiceList/GetServiceList"
|
6305
|
+
|
6306
|
+
# Don't accept unknown kwargs
|
6307
|
+
expected_kwargs = [
|
6308
|
+
"allow_control_chars",
|
6309
|
+
"retry_strategy",
|
6310
|
+
"opc_request_id"
|
6311
|
+
]
|
6312
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6313
|
+
if extra_kwargs:
|
6314
|
+
raise ValueError(
|
6315
|
+
f"get_service_list got unknown kwargs: {extra_kwargs!r}")
|
6316
|
+
|
6317
|
+
path_params = {
|
6318
|
+
"networkFirewallPolicyId": network_firewall_policy_id,
|
6319
|
+
"serviceListName": service_list_name
|
6320
|
+
}
|
6321
|
+
|
6322
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6323
|
+
|
6324
|
+
for (k, v) in six.iteritems(path_params):
|
6325
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6326
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6327
|
+
|
6328
|
+
header_params = {
|
6329
|
+
"accept": "application/json",
|
6330
|
+
"content-type": "application/json",
|
6331
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6332
|
+
}
|
6333
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6334
|
+
|
6335
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6336
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6337
|
+
client_retry_strategy=self.retry_strategy
|
6338
|
+
)
|
6339
|
+
if retry_strategy is None:
|
6340
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
6341
|
+
|
6342
|
+
if retry_strategy:
|
6343
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6344
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6345
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6346
|
+
return retry_strategy.make_retrying_call(
|
6347
|
+
self.base_client.call_api,
|
6348
|
+
resource_path=resource_path,
|
6349
|
+
method=method,
|
6350
|
+
path_params=path_params,
|
5878
6351
|
header_params=header_params,
|
5879
|
-
response_type="
|
6352
|
+
response_type="ServiceList",
|
5880
6353
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5881
6354
|
operation_name=operation_name,
|
5882
6355
|
api_reference_link=api_reference_link,
|
@@ -5886,24 +6359,23 @@ class NetworkFirewallClient(object):
|
|
5886
6359
|
resource_path=resource_path,
|
5887
6360
|
method=method,
|
5888
6361
|
path_params=path_params,
|
5889
|
-
query_params=query_params,
|
5890
6362
|
header_params=header_params,
|
5891
|
-
response_type="
|
6363
|
+
response_type="ServiceList",
|
5892
6364
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5893
6365
|
operation_name=operation_name,
|
5894
6366
|
api_reference_link=api_reference_link,
|
5895
6367
|
required_arguments=required_arguments)
|
5896
6368
|
|
5897
|
-
def
|
6369
|
+
def get_tunnel_inspection_rule(self, network_firewall_policy_id, tunnel_inspection_rule_name, **kwargs):
|
5898
6370
|
"""
|
5899
|
-
Get
|
6371
|
+
Get tunnel inspection rule by the given name in the context of network firewall policy.
|
5900
6372
|
|
5901
6373
|
|
5902
6374
|
:param str network_firewall_policy_id: (required)
|
5903
6375
|
Unique Network Firewall Policy identifier
|
5904
6376
|
|
5905
|
-
:param str
|
5906
|
-
Unique
|
6377
|
+
:param str tunnel_inspection_rule_name: (required)
|
6378
|
+
Unique identifier for Tunnel Inspection Rules in the network firewall policy.
|
5907
6379
|
|
5908
6380
|
:param str opc_request_id: (optional)
|
5909
6381
|
The client request ID for tracing.
|
@@ -5920,18 +6392,18 @@ class NetworkFirewallClient(object):
|
|
5920
6392
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5921
6393
|
By default, the response will not allow control characters in strings
|
5922
6394
|
|
5923
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.
|
6395
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.TunnelInspectionRule`
|
5924
6396
|
:rtype: :class:`~oci.response.Response`
|
5925
6397
|
|
5926
6398
|
:example:
|
5927
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6399
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_tunnel_inspection_rule.py.html>`__ to see an example of how to use get_tunnel_inspection_rule API.
|
5928
6400
|
"""
|
5929
6401
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5930
|
-
required_arguments = ['networkFirewallPolicyId', '
|
5931
|
-
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/
|
6402
|
+
required_arguments = ['networkFirewallPolicyId', 'tunnelInspectionRuleName']
|
6403
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/{tunnelInspectionRuleName}"
|
5932
6404
|
method = "GET"
|
5933
|
-
operation_name = "
|
5934
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/
|
6405
|
+
operation_name = "get_tunnel_inspection_rule"
|
6406
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/GetTunnelInspectionRule"
|
5935
6407
|
|
5936
6408
|
# Don't accept unknown kwargs
|
5937
6409
|
expected_kwargs = [
|
@@ -5942,11 +6414,11 @@ class NetworkFirewallClient(object):
|
|
5942
6414
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5943
6415
|
if extra_kwargs:
|
5944
6416
|
raise ValueError(
|
5945
|
-
f"
|
6417
|
+
f"get_tunnel_inspection_rule got unknown kwargs: {extra_kwargs!r}")
|
5946
6418
|
|
5947
6419
|
path_params = {
|
5948
6420
|
"networkFirewallPolicyId": network_firewall_policy_id,
|
5949
|
-
"
|
6421
|
+
"tunnelInspectionRuleName": tunnel_inspection_rule_name
|
5950
6422
|
}
|
5951
6423
|
|
5952
6424
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5979,7 +6451,7 @@ class NetworkFirewallClient(object):
|
|
5979
6451
|
method=method,
|
5980
6452
|
path_params=path_params,
|
5981
6453
|
header_params=header_params,
|
5982
|
-
response_type="
|
6454
|
+
response_type="TunnelInspectionRule",
|
5983
6455
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5984
6456
|
operation_name=operation_name,
|
5985
6457
|
api_reference_link=api_reference_link,
|
@@ -5990,7 +6462,7 @@ class NetworkFirewallClient(object):
|
|
5990
6462
|
method=method,
|
5991
6463
|
path_params=path_params,
|
5992
6464
|
header_params=header_params,
|
5993
|
-
response_type="
|
6465
|
+
response_type="TunnelInspectionRule",
|
5994
6466
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5995
6467
|
operation_name=operation_name,
|
5996
6468
|
api_reference_link=api_reference_link,
|
@@ -6026,7 +6498,7 @@ class NetworkFirewallClient(object):
|
|
6026
6498
|
:rtype: :class:`~oci.response.Response`
|
6027
6499
|
|
6028
6500
|
:example:
|
6029
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6501
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_url_list.py.html>`__ to see an example of how to use get_url_list API.
|
6030
6502
|
"""
|
6031
6503
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6032
6504
|
required_arguments = ['networkFirewallPolicyId', 'urlListName']
|
@@ -6125,7 +6597,7 @@ class NetworkFirewallClient(object):
|
|
6125
6597
|
:rtype: :class:`~oci.response.Response`
|
6126
6598
|
|
6127
6599
|
:example:
|
6128
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6600
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
6129
6601
|
"""
|
6130
6602
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6131
6603
|
required_arguments = ['workRequestId']
|
@@ -6242,7 +6714,7 @@ class NetworkFirewallClient(object):
|
|
6242
6714
|
:rtype: :class:`~oci.response.Response`
|
6243
6715
|
|
6244
6716
|
:example:
|
6245
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6717
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_address_lists.py.html>`__ to see an example of how to use list_address_lists API.
|
6246
6718
|
"""
|
6247
6719
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6248
6720
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -6389,7 +6861,7 @@ class NetworkFirewallClient(object):
|
|
6389
6861
|
:rtype: :class:`~oci.response.Response`
|
6390
6862
|
|
6391
6863
|
:example:
|
6392
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6864
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_application_groups.py.html>`__ to see an example of how to use list_application_groups API.
|
6393
6865
|
"""
|
6394
6866
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6395
6867
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -6536,7 +7008,7 @@ class NetworkFirewallClient(object):
|
|
6536
7008
|
:rtype: :class:`~oci.response.Response`
|
6537
7009
|
|
6538
7010
|
:example:
|
6539
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7011
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_applications.py.html>`__ to see an example of how to use list_applications API.
|
6540
7012
|
"""
|
6541
7013
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6542
7014
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -6683,7 +7155,7 @@ class NetworkFirewallClient(object):
|
|
6683
7155
|
:rtype: :class:`~oci.response.Response`
|
6684
7156
|
|
6685
7157
|
:example:
|
6686
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_decryption_profiles.py.html>`__ to see an example of how to use list_decryption_profiles API.
|
6687
7159
|
"""
|
6688
7160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6689
7161
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -6833,7 +7305,7 @@ class NetworkFirewallClient(object):
|
|
6833
7305
|
:rtype: :class:`~oci.response.Response`
|
6834
7306
|
|
6835
7307
|
:example:
|
6836
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7308
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_decryption_rules.py.html>`__ to see an example of how to use list_decryption_rules API.
|
6837
7309
|
"""
|
6838
7310
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6839
7311
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -6982,7 +7454,7 @@ class NetworkFirewallClient(object):
|
|
6982
7454
|
:rtype: :class:`~oci.response.Response`
|
6983
7455
|
|
6984
7456
|
:example:
|
6985
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7457
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_mapped_secrets.py.html>`__ to see an example of how to use list_mapped_secrets API.
|
6986
7458
|
"""
|
6987
7459
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6988
7460
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -7137,7 +7609,7 @@ class NetworkFirewallClient(object):
|
|
7137
7609
|
:rtype: :class:`~oci.response.Response`
|
7138
7610
|
|
7139
7611
|
:example:
|
7140
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7612
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_network_firewall_policies.py.html>`__ to see an example of how to use list_network_firewall_policies API.
|
7141
7613
|
"""
|
7142
7614
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7143
7615
|
required_arguments = ['compartmentId']
|
@@ -7302,7 +7774,7 @@ class NetworkFirewallClient(object):
|
|
7302
7774
|
:rtype: :class:`~oci.response.Response`
|
7303
7775
|
|
7304
7776
|
:example:
|
7305
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7777
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_network_firewalls.py.html>`__ to see an example of how to use list_network_firewalls API.
|
7306
7778
|
"""
|
7307
7779
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7308
7780
|
required_arguments = ['compartmentId']
|
@@ -7456,7 +7928,7 @@ class NetworkFirewallClient(object):
|
|
7456
7928
|
:rtype: :class:`~oci.response.Response`
|
7457
7929
|
|
7458
7930
|
:example:
|
7459
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7931
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_security_rules.py.html>`__ to see an example of how to use list_security_rules API.
|
7460
7932
|
"""
|
7461
7933
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7462
7934
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -7605,7 +8077,7 @@ class NetworkFirewallClient(object):
|
|
7605
8077
|
:rtype: :class:`~oci.response.Response`
|
7606
8078
|
|
7607
8079
|
:example:
|
7608
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8080
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_service_lists.py.html>`__ to see an example of how to use list_service_lists API.
|
7609
8081
|
"""
|
7610
8082
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7611
8083
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -7752,7 +8224,7 @@ class NetworkFirewallClient(object):
|
|
7752
8224
|
:rtype: :class:`~oci.response.Response`
|
7753
8225
|
|
7754
8226
|
:example:
|
7755
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8227
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_services.py.html>`__ to see an example of how to use list_services API.
|
7756
8228
|
"""
|
7757
8229
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7758
8230
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -7853,6 +8325,158 @@ class NetworkFirewallClient(object):
|
|
7853
8325
|
api_reference_link=api_reference_link,
|
7854
8326
|
required_arguments=required_arguments)
|
7855
8327
|
|
8328
|
+
def list_tunnel_inspection_rules(self, network_firewall_policy_id, **kwargs):
|
8329
|
+
"""
|
8330
|
+
Returns a list of tunnel inspection rules for the network firewall policy.
|
8331
|
+
|
8332
|
+
|
8333
|
+
:param str network_firewall_policy_id: (required)
|
8334
|
+
Unique Network Firewall Policy identifier
|
8335
|
+
|
8336
|
+
:param int limit: (optional)
|
8337
|
+
The maximum number of items to return.
|
8338
|
+
|
8339
|
+
:param str page: (optional)
|
8340
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` or `opc-prev-page` header field of a previous response.
|
8341
|
+
|
8342
|
+
:param str sort_order: (optional)
|
8343
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
8344
|
+
|
8345
|
+
Allowed values are: "ASC", "DESC"
|
8346
|
+
|
8347
|
+
:param str sort_by: (optional)
|
8348
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
8349
|
+
|
8350
|
+
Allowed values are: "timeCreated", "displayName"
|
8351
|
+
|
8352
|
+
:param str opc_request_id: (optional)
|
8353
|
+
The client request ID for tracing.
|
8354
|
+
|
8355
|
+
:param str display_name: (optional)
|
8356
|
+
A filter to return only resources that match the entire display name given.
|
8357
|
+
|
8358
|
+
:param int tunnel_inspection_rule_priority_order: (optional)
|
8359
|
+
Unique priority order for Tunnel Inspection rules in the network firewall policy.
|
8360
|
+
|
8361
|
+
:param obj retry_strategy: (optional)
|
8362
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
8363
|
+
|
8364
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
8365
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
8366
|
+
|
8367
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
8368
|
+
|
8369
|
+
:param bool allow_control_chars: (optional)
|
8370
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
8371
|
+
By default, the response will not allow control characters in strings
|
8372
|
+
|
8373
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.TunnelInspectionRuleSummaryCollection`
|
8374
|
+
:rtype: :class:`~oci.response.Response`
|
8375
|
+
|
8376
|
+
:example:
|
8377
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_tunnel_inspection_rules.py.html>`__ to see an example of how to use list_tunnel_inspection_rules API.
|
8378
|
+
"""
|
8379
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8380
|
+
required_arguments = ['networkFirewallPolicyId']
|
8381
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules"
|
8382
|
+
method = "GET"
|
8383
|
+
operation_name = "list_tunnel_inspection_rules"
|
8384
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/ListTunnelInspectionRules"
|
8385
|
+
|
8386
|
+
# Don't accept unknown kwargs
|
8387
|
+
expected_kwargs = [
|
8388
|
+
"allow_control_chars",
|
8389
|
+
"retry_strategy",
|
8390
|
+
"limit",
|
8391
|
+
"page",
|
8392
|
+
"sort_order",
|
8393
|
+
"sort_by",
|
8394
|
+
"opc_request_id",
|
8395
|
+
"display_name",
|
8396
|
+
"tunnel_inspection_rule_priority_order"
|
8397
|
+
]
|
8398
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
8399
|
+
if extra_kwargs:
|
8400
|
+
raise ValueError(
|
8401
|
+
f"list_tunnel_inspection_rules got unknown kwargs: {extra_kwargs!r}")
|
8402
|
+
|
8403
|
+
path_params = {
|
8404
|
+
"networkFirewallPolicyId": network_firewall_policy_id
|
8405
|
+
}
|
8406
|
+
|
8407
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
8408
|
+
|
8409
|
+
for (k, v) in six.iteritems(path_params):
|
8410
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
8411
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8412
|
+
|
8413
|
+
if 'sort_order' in kwargs:
|
8414
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
8415
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
8416
|
+
raise ValueError(
|
8417
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
8418
|
+
)
|
8419
|
+
|
8420
|
+
if 'sort_by' in kwargs:
|
8421
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
8422
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
8423
|
+
raise ValueError(
|
8424
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
8425
|
+
)
|
8426
|
+
|
8427
|
+
query_params = {
|
8428
|
+
"limit": kwargs.get("limit", missing),
|
8429
|
+
"page": kwargs.get("page", missing),
|
8430
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
8431
|
+
"sortBy": kwargs.get("sort_by", missing),
|
8432
|
+
"displayName": kwargs.get("display_name", missing),
|
8433
|
+
"tunnelInspectionRulePriorityOrder": kwargs.get("tunnel_inspection_rule_priority_order", missing)
|
8434
|
+
}
|
8435
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
8436
|
+
|
8437
|
+
header_params = {
|
8438
|
+
"accept": "application/json",
|
8439
|
+
"content-type": "application/json",
|
8440
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
8441
|
+
}
|
8442
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
8443
|
+
|
8444
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
8445
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
8446
|
+
client_retry_strategy=self.retry_strategy
|
8447
|
+
)
|
8448
|
+
if retry_strategy is None:
|
8449
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
8450
|
+
|
8451
|
+
if retry_strategy:
|
8452
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
8453
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
8454
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
8455
|
+
return retry_strategy.make_retrying_call(
|
8456
|
+
self.base_client.call_api,
|
8457
|
+
resource_path=resource_path,
|
8458
|
+
method=method,
|
8459
|
+
path_params=path_params,
|
8460
|
+
query_params=query_params,
|
8461
|
+
header_params=header_params,
|
8462
|
+
response_type="TunnelInspectionRuleSummaryCollection",
|
8463
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8464
|
+
operation_name=operation_name,
|
8465
|
+
api_reference_link=api_reference_link,
|
8466
|
+
required_arguments=required_arguments)
|
8467
|
+
else:
|
8468
|
+
return self.base_client.call_api(
|
8469
|
+
resource_path=resource_path,
|
8470
|
+
method=method,
|
8471
|
+
path_params=path_params,
|
8472
|
+
query_params=query_params,
|
8473
|
+
header_params=header_params,
|
8474
|
+
response_type="TunnelInspectionRuleSummaryCollection",
|
8475
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8476
|
+
operation_name=operation_name,
|
8477
|
+
api_reference_link=api_reference_link,
|
8478
|
+
required_arguments=required_arguments)
|
8479
|
+
|
7856
8480
|
def list_url_lists(self, network_firewall_policy_id, **kwargs):
|
7857
8481
|
"""
|
7858
8482
|
Returns a list of URL lists for the Network Firewall Policy.
|
@@ -7899,7 +8523,7 @@ class NetworkFirewallClient(object):
|
|
7899
8523
|
:rtype: :class:`~oci.response.Response`
|
7900
8524
|
|
7901
8525
|
:example:
|
7902
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8526
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_url_lists.py.html>`__ to see an example of how to use list_url_lists API.
|
7903
8527
|
"""
|
7904
8528
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7905
8529
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -8043,7 +8667,7 @@ class NetworkFirewallClient(object):
|
|
8043
8667
|
:rtype: :class:`~oci.response.Response`
|
8044
8668
|
|
8045
8669
|
:example:
|
8046
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8670
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
8047
8671
|
"""
|
8048
8672
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8049
8673
|
required_arguments = ['workRequestId']
|
@@ -8185,7 +8809,7 @@ class NetworkFirewallClient(object):
|
|
8185
8809
|
:rtype: :class:`~oci.response.Response`
|
8186
8810
|
|
8187
8811
|
:example:
|
8188
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8812
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
8189
8813
|
"""
|
8190
8814
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8191
8815
|
required_arguments = ['workRequestId']
|
@@ -8338,7 +8962,7 @@ class NetworkFirewallClient(object):
|
|
8338
8962
|
:rtype: :class:`~oci.response.Response`
|
8339
8963
|
|
8340
8964
|
:example:
|
8341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8965
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
8342
8966
|
"""
|
8343
8967
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8344
8968
|
required_arguments = ['compartmentId']
|
@@ -8480,7 +9104,7 @@ class NetworkFirewallClient(object):
|
|
8480
9104
|
:rtype: :class:`~oci.response.Response`
|
8481
9105
|
|
8482
9106
|
:example:
|
8483
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9107
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/migrate_network_firewall_policy.py.html>`__ to see an example of how to use migrate_network_firewall_policy API.
|
8484
9108
|
"""
|
8485
9109
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8486
9110
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -8594,7 +9218,7 @@ class NetworkFirewallClient(object):
|
|
8594
9218
|
:rtype: :class:`~oci.response.Response`
|
8595
9219
|
|
8596
9220
|
:example:
|
8597
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9221
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_address_list.py.html>`__ to see an example of how to use update_address_list API.
|
8598
9222
|
"""
|
8599
9223
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8600
9224
|
required_arguments = ['networkFirewallPolicyId', 'addressListName']
|
@@ -8710,7 +9334,7 @@ class NetworkFirewallClient(object):
|
|
8710
9334
|
:rtype: :class:`~oci.response.Response`
|
8711
9335
|
|
8712
9336
|
:example:
|
8713
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9337
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_application.py.html>`__ to see an example of how to use update_application API.
|
8714
9338
|
"""
|
8715
9339
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8716
9340
|
required_arguments = ['networkFirewallPolicyId', 'applicationName']
|
@@ -8826,7 +9450,7 @@ class NetworkFirewallClient(object):
|
|
8826
9450
|
:rtype: :class:`~oci.response.Response`
|
8827
9451
|
|
8828
9452
|
:example:
|
8829
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9453
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_application_group.py.html>`__ to see an example of how to use update_application_group API.
|
8830
9454
|
"""
|
8831
9455
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8832
9456
|
required_arguments = ['networkFirewallPolicyId', 'applicationGroupName']
|
@@ -8942,7 +9566,7 @@ class NetworkFirewallClient(object):
|
|
8942
9566
|
:rtype: :class:`~oci.response.Response`
|
8943
9567
|
|
8944
9568
|
:example:
|
8945
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9569
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_decryption_profile.py.html>`__ to see an example of how to use update_decryption_profile API.
|
8946
9570
|
"""
|
8947
9571
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8948
9572
|
required_arguments = ['networkFirewallPolicyId', 'decryptionProfileName']
|
@@ -9058,7 +9682,7 @@ class NetworkFirewallClient(object):
|
|
9058
9682
|
:rtype: :class:`~oci.response.Response`
|
9059
9683
|
|
9060
9684
|
:example:
|
9061
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9685
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_decryption_rule.py.html>`__ to see an example of how to use update_decryption_rule API.
|
9062
9686
|
"""
|
9063
9687
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9064
9688
|
required_arguments = ['networkFirewallPolicyId', 'decryptionRuleName']
|
@@ -9174,7 +9798,7 @@ class NetworkFirewallClient(object):
|
|
9174
9798
|
:rtype: :class:`~oci.response.Response`
|
9175
9799
|
|
9176
9800
|
:example:
|
9177
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9801
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_mapped_secret.py.html>`__ to see an example of how to use update_mapped_secret API.
|
9178
9802
|
"""
|
9179
9803
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9180
9804
|
required_arguments = ['networkFirewallPolicyId', 'mappedSecretName']
|
@@ -9289,7 +9913,7 @@ class NetworkFirewallClient(object):
|
|
9289
9913
|
:rtype: :class:`~oci.response.Response`
|
9290
9914
|
|
9291
9915
|
:example:
|
9292
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9916
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_network_firewall.py.html>`__ to see an example of how to use update_network_firewall API.
|
9293
9917
|
"""
|
9294
9918
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9295
9919
|
required_arguments = ['networkFirewallId']
|
@@ -9399,7 +10023,7 @@ class NetworkFirewallClient(object):
|
|
9399
10023
|
:rtype: :class:`~oci.response.Response`
|
9400
10024
|
|
9401
10025
|
:example:
|
9402
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10026
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_network_firewall_policy.py.html>`__ to see an example of how to use update_network_firewall_policy API.
|
9403
10027
|
"""
|
9404
10028
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9405
10029
|
required_arguments = ['networkFirewallPolicyId']
|
@@ -9512,7 +10136,7 @@ class NetworkFirewallClient(object):
|
|
9512
10136
|
:rtype: :class:`~oci.response.Response`
|
9513
10137
|
|
9514
10138
|
:example:
|
9515
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10139
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_security_rule.py.html>`__ to see an example of how to use update_security_rule API.
|
9516
10140
|
"""
|
9517
10141
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9518
10142
|
required_arguments = ['networkFirewallPolicyId', 'securityRuleName']
|
@@ -9628,7 +10252,7 @@ class NetworkFirewallClient(object):
|
|
9628
10252
|
:rtype: :class:`~oci.response.Response`
|
9629
10253
|
|
9630
10254
|
:example:
|
9631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_service.py.html>`__ to see an example of how to use update_service API.
|
9632
10256
|
"""
|
9633
10257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9634
10258
|
required_arguments = ['networkFirewallPolicyId', 'serviceName']
|
@@ -9744,7 +10368,7 @@ class NetworkFirewallClient(object):
|
|
9744
10368
|
:rtype: :class:`~oci.response.Response`
|
9745
10369
|
|
9746
10370
|
:example:
|
9747
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10371
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_service_list.py.html>`__ to see an example of how to use update_service_list API.
|
9748
10372
|
"""
|
9749
10373
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9750
10374
|
required_arguments = ['networkFirewallPolicyId', 'serviceListName']
|
@@ -9820,6 +10444,122 @@ class NetworkFirewallClient(object):
|
|
9820
10444
|
api_reference_link=api_reference_link,
|
9821
10445
|
required_arguments=required_arguments)
|
9822
10446
|
|
10447
|
+
def update_tunnel_inspection_rule(self, network_firewall_policy_id, tunnel_inspection_rule_name, update_tunnel_inspection_rule_details, **kwargs):
|
10448
|
+
"""
|
10449
|
+
Updates the tunnel inspection rule with the given name in the network firewall policy.
|
10450
|
+
|
10451
|
+
|
10452
|
+
:param str network_firewall_policy_id: (required)
|
10453
|
+
Unique Network Firewall Policy identifier
|
10454
|
+
|
10455
|
+
:param str tunnel_inspection_rule_name: (required)
|
10456
|
+
Unique identifier for Tunnel Inspection Rules in the network firewall policy.
|
10457
|
+
|
10458
|
+
:param oci.network_firewall.models.UpdateTunnelInspectionRuleDetails update_tunnel_inspection_rule_details: (required)
|
10459
|
+
The information to be updated.
|
10460
|
+
|
10461
|
+
:param str if_match: (optional)
|
10462
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
10463
|
+
for a resource, set the `if-match` parameter to the value of the
|
10464
|
+
etag from a previous GET or POST response for that resource.
|
10465
|
+
The resource will be updated or deleted only if the etag you
|
10466
|
+
provide matches the resource's current etag value.
|
10467
|
+
|
10468
|
+
:param str opc_request_id: (optional)
|
10469
|
+
The client request ID for tracing.
|
10470
|
+
|
10471
|
+
:param obj retry_strategy: (optional)
|
10472
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10473
|
+
|
10474
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
10475
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10476
|
+
|
10477
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10478
|
+
|
10479
|
+
:param bool allow_control_chars: (optional)
|
10480
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10481
|
+
By default, the response will not allow control characters in strings
|
10482
|
+
|
10483
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.network_firewall.models.TunnelInspectionRule`
|
10484
|
+
:rtype: :class:`~oci.response.Response`
|
10485
|
+
|
10486
|
+
:example:
|
10487
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_tunnel_inspection_rule.py.html>`__ to see an example of how to use update_tunnel_inspection_rule API.
|
10488
|
+
"""
|
10489
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10490
|
+
required_arguments = ['networkFirewallPolicyId', 'tunnelInspectionRuleName']
|
10491
|
+
resource_path = "/networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/{tunnelInspectionRuleName}"
|
10492
|
+
method = "PUT"
|
10493
|
+
operation_name = "update_tunnel_inspection_rule"
|
10494
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/TunnelInspectionRule/UpdateTunnelInspectionRule"
|
10495
|
+
|
10496
|
+
# Don't accept unknown kwargs
|
10497
|
+
expected_kwargs = [
|
10498
|
+
"allow_control_chars",
|
10499
|
+
"retry_strategy",
|
10500
|
+
"if_match",
|
10501
|
+
"opc_request_id"
|
10502
|
+
]
|
10503
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10504
|
+
if extra_kwargs:
|
10505
|
+
raise ValueError(
|
10506
|
+
f"update_tunnel_inspection_rule got unknown kwargs: {extra_kwargs!r}")
|
10507
|
+
|
10508
|
+
path_params = {
|
10509
|
+
"networkFirewallPolicyId": network_firewall_policy_id,
|
10510
|
+
"tunnelInspectionRuleName": tunnel_inspection_rule_name
|
10511
|
+
}
|
10512
|
+
|
10513
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
10514
|
+
|
10515
|
+
for (k, v) in six.iteritems(path_params):
|
10516
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
10517
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
10518
|
+
|
10519
|
+
header_params = {
|
10520
|
+
"accept": "application/json",
|
10521
|
+
"content-type": "application/json",
|
10522
|
+
"if-match": kwargs.get("if_match", missing),
|
10523
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10524
|
+
}
|
10525
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10526
|
+
|
10527
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10528
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10529
|
+
client_retry_strategy=self.retry_strategy
|
10530
|
+
)
|
10531
|
+
if retry_strategy is None:
|
10532
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10533
|
+
|
10534
|
+
if retry_strategy:
|
10535
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10536
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10537
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10538
|
+
return retry_strategy.make_retrying_call(
|
10539
|
+
self.base_client.call_api,
|
10540
|
+
resource_path=resource_path,
|
10541
|
+
method=method,
|
10542
|
+
path_params=path_params,
|
10543
|
+
header_params=header_params,
|
10544
|
+
body=update_tunnel_inspection_rule_details,
|
10545
|
+
response_type="TunnelInspectionRule",
|
10546
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10547
|
+
operation_name=operation_name,
|
10548
|
+
api_reference_link=api_reference_link,
|
10549
|
+
required_arguments=required_arguments)
|
10550
|
+
else:
|
10551
|
+
return self.base_client.call_api(
|
10552
|
+
resource_path=resource_path,
|
10553
|
+
method=method,
|
10554
|
+
path_params=path_params,
|
10555
|
+
header_params=header_params,
|
10556
|
+
body=update_tunnel_inspection_rule_details,
|
10557
|
+
response_type="TunnelInspectionRule",
|
10558
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10559
|
+
operation_name=operation_name,
|
10560
|
+
api_reference_link=api_reference_link,
|
10561
|
+
required_arguments=required_arguments)
|
10562
|
+
|
9823
10563
|
def update_url_list(self, network_firewall_policy_id, url_list_name, update_url_list_details, **kwargs):
|
9824
10564
|
"""
|
9825
10565
|
Updates the Url list with the given name in the network firewall policy.
|
@@ -9860,7 +10600,7 @@ class NetworkFirewallClient(object):
|
|
9860
10600
|
:rtype: :class:`~oci.response.Response`
|
9861
10601
|
|
9862
10602
|
:example:
|
9863
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10603
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/networkfirewall/update_url_list.py.html>`__ to see an example of how to use update_url_list API.
|
9864
10604
|
"""
|
9865
10605
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9866
10606
|
required_arguments = ['networkFirewallPolicyId', 'urlListName']
|