oci 2.142.0__py3-none-any.whl → 2.143.1__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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +2 -2
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +18 -0
- oci/core/models/byoasn.py +501 -0
- oci/core/models/byoasn_byoip_range.py +173 -0
- oci/core/models/byoasn_collection.py +72 -0
- oci/core/models/byoasn_summary.py +360 -0
- oci/core/models/byoip_range.py +27 -0
- oci/core/models/byoip_range_origin_asn.py +138 -0
- oci/core/models/change_byoasn_compartment_details.py +76 -0
- oci/core/models/create_byoasn_details.py +222 -0
- oci/core/models/set_origin_asn_details.py +107 -0
- oci/core/models/update_byoasn_details.py +156 -0
- oci/core/virtual_network_client.py +1426 -379
- oci/core/virtual_network_client_composite_operations.py +229 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +2132 -1266
- oci/database/database_client_composite_operations.py +573 -0
- oci/database/models/__init__.py +24 -0
- oci/database/models/autonomous_dw_database.py +4609 -0
- oci/database/models/backup.py +29 -2
- oci/database/models/backup_summary.py +29 -2
- oci/database/models/cloud_exadata_infrastructure.py +111 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +111 -2
- oci/database/models/cloud_vm_cluster.py +49 -2
- oci/database/models/cloud_vm_cluster_summary.py +49 -2
- oci/database/models/convert_to_standalone_details.py +76 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +64 -2
- oci/database/models/create_data_guard_association_details.py +27 -0
- oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
- oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
- oci/database/models/create_database_base.py +13 -3
- oci/database/models/create_database_details.py +29 -2
- oci/database/models/create_database_from_backup.py +1 -1
- oci/database/models/create_database_from_backup_details.py +27 -0
- oci/database/models/create_exadata_infrastructure_details.py +62 -0
- oci/database/models/create_new_database_details.py +1 -1
- oci/database/models/create_stand_by_database_details.py +108 -0
- oci/database/models/create_standby_details.py +396 -0
- oci/database/models/data_guard_group.py +132 -0
- oci/database/models/data_guard_group_member.py +406 -0
- oci/database/models/database.py +56 -2
- oci/database/models/database_summary.py +56 -2
- oci/database/models/db_server.py +49 -2
- oci/database/models/db_server_summary.py +49 -2
- oci/database/models/db_system_shape_summary.py +109 -0
- oci/database/models/encryption_key_location_details.py +101 -0
- oci/database/models/exadata_infrastructure.py +118 -5
- oci/database/models/exadata_infrastructure_summary.py +118 -5
- oci/database/models/external_hsm_encryption_details.py +82 -0
- oci/database/models/failover_data_guard_details.py +76 -0
- oci/database/models/flex_component_summary.py +235 -2
- oci/database/models/reinstate_data_guard_details.py +111 -0
- oci/database/models/switch_over_data_guard_details.py +76 -0
- oci/database/models/update_autonomous_database_details.py +37 -2
- oci/database/models/update_data_guard_details.py +241 -0
- oci/database/models/update_exadata_infrastructure_details.py +7 -3
- oci/database/models/vm_cluster.py +49 -2
- oci/database/models/vm_cluster_summary.py +49 -2
- oci/database_management/db_management_client.py +2738 -600
- oci/database_management/db_management_client_composite_operations.py +301 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +275 -7
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/alert_log_summary.py +14 -6
- oci/database_management/models/attention_log_summary.py +14 -6
- oci/database_management/models/awr_db_snapshot_range_summary.py +93 -0
- oci/database_management/models/awr_db_summary.py +93 -0
- oci/database_management/models/base_database_ha_details.py +540 -0
- oci/database_management/models/create_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/create_external_my_sql_database_details.py +103 -0
- oci/database_management/models/create_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/database_backup_metrics.py +722 -0
- oci/database_management/models/database_backup_summary.py +263 -0
- oci/database_management/models/database_fleet_backup_metrics.py +72 -0
- oci/database_management/models/database_fleet_dataguard_metrics.py +72 -0
- oci/database_management/models/database_fleet_ha_overview_metrics.py +72 -0
- oci/database_management/models/database_ha_backup_details.py +722 -0
- oci/database_management/models/database_ha_metrics.py +629 -0
- oci/database_management/models/dataguard_metrics.py +664 -0
- oci/database_management/models/disable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/enable_external_database_management_details.py +72 -0
- oci/database_management/models/enable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +108 -0
- oci/database_management/models/external_my_sql_database.py +181 -0
- oci/database_management/models/external_my_sql_database_collection.py +72 -0
- oci/database_management/models/external_my_sql_database_connector.py +761 -0
- oci/database_management/models/external_my_sql_database_summary.py +365 -0
- oci/database_management/models/ha_metric_definition.py +202 -0
- oci/database_management/models/managed_my_sql_database.py +192 -2
- oci/database_management/models/managed_my_sql_database_summary.py +161 -2
- oci/database_management/models/my_sql_connector_collection.py +72 -0
- oci/database_management/models/my_sql_data_summary.py +93 -0
- oci/database_management/models/my_sql_database_connector_summary.py +711 -0
- oci/database_management/models/stand_by_database_dataguard_metrics.py +294 -0
- oci/database_management/models/update_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/update_external_my_sql_database_details.py +72 -0
- oci/database_management/models/update_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/work_request.py +23 -3
- oci/database_management/models/work_request_summary.py +23 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +48 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/create_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +292 -0
- oci/disaster_recovery/models/create_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/create_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/dr_plan_step.py +67 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +67 -3
- oci/disaster_recovery/models/dr_protection_group_member.py +11 -3
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_oke_cluster.py +351 -0
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
- oci/disaster_recovery/models/oke_backup_location.py +146 -0
- oci/disaster_recovery/models/oke_cluster_backup_config.py +234 -0
- oci/disaster_recovery/models/oke_cluster_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_managed_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/oke_cluster_network_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_vault_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_virtual_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/update_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_backup_config_details.py +236 -0
- oci/disaster_recovery/models/update_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/update_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/models/__init__.py +2 -0
- oci/network_load_balancer/models/backend.py +8 -8
- oci/network_load_balancer/models/backend_details.py +4 -4
- oci/network_load_balancer/models/backend_operational_status.py +92 -0
- oci/network_load_balancer/models/backend_set.py +64 -2
- oci/network_load_balancer/models/backend_set_details.py +64 -2
- oci/network_load_balancer/models/backend_set_summary.py +64 -2
- oci/network_load_balancer/models/backend_summary.py +8 -8
- oci/network_load_balancer/models/create_backend_details.py +8 -8
- oci/network_load_balancer/models/create_backend_set_details.py +64 -2
- oci/network_load_balancer/models/create_listener_details.py +3 -3
- oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
- oci/network_load_balancer/models/health_checker.py +2 -2
- oci/network_load_balancer/models/health_checker_details.py +2 -2
- oci/network_load_balancer/models/listener.py +3 -3
- oci/network_load_balancer/models/listener_details.py +3 -3
- oci/network_load_balancer/models/listener_summary.py +3 -3
- oci/network_load_balancer/models/network_load_balancer.py +6 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
- oci/network_load_balancer/models/update_backend_details.py +6 -6
- oci/network_load_balancer/models/update_backend_set_details.py +64 -2
- oci/network_load_balancer/models/update_listener_details.py +3 -3
- oci/network_load_balancer/network_load_balancer_client.py +150 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- 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 +14 -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/change_external_mysql_database_insight_connection_details.py +76 -0
- oci/opsi/models/create_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +142 -0
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_news_report_details.py +99 -5
- 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_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +86 -0
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/external_mysql_database_configuration_summary.py +226 -0
- oci/opsi/models/external_mysql_database_insight.py +248 -0
- oci/opsi/models/external_mysql_database_insight_summary.py +280 -0
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +1 -1
- 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 +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/news_content_types.py +33 -2
- oci/opsi/models/news_report.py +99 -5
- oci/opsi/models/news_report_summary.py +99 -5
- 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/summarize_exadata_insight_resource_utilization_insight_aggregation.py +62 -0
- 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_external_mysql_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_news_report_details.py +99 -5
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/vm_cluster_summary.py +8 -8
- oci/opsi/models/work_request.py +7 -3
- oci/opsi/operations_insights_client.py +332 -202
- oci/opsi/operations_insights_client_composite_operations.py +42 -0
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- 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/models/assigned_subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +35 -2
- oci/tenant_manager_control_plane/models/available_region_summary.py +35 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription.py +57 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py +64 -2
- oci/tenant_manager_control_plane/models/classic_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +33 -2
- oci/tenant_manager_control_plane/models/link_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_summary.py +37 -4
- oci/tenant_manager_control_plane/models/work_request.py +23 -3
- oci/tenant_manager_control_plane/models/work_request_summary.py +23 -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 +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/METADATA +1 -1
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/RECORD +511 -431
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/WHEEL +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/top_level.txt +0 -0
@@ -153,7 +153,7 @@ class VirtualNetworkClient(object):
|
|
153
153
|
:rtype: :class:`~oci.response.Response`
|
154
154
|
|
155
155
|
:example:
|
156
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_drg_route_distribution_statements.py.html>`__ to see an example of how to use add_drg_route_distribution_statements API.
|
157
157
|
"""
|
158
158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
159
159
|
required_arguments = ['drgRouteDistributionId']
|
@@ -253,7 +253,7 @@ class VirtualNetworkClient(object):
|
|
253
253
|
:rtype: :class:`~oci.response.Response`
|
254
254
|
|
255
255
|
:example:
|
256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
256
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_drg_route_rules.py.html>`__ to see an example of how to use add_drg_route_rules API.
|
257
257
|
"""
|
258
258
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
259
259
|
required_arguments = ['drgRouteTableId']
|
@@ -370,7 +370,7 @@ class VirtualNetworkClient(object):
|
|
370
370
|
:rtype: :class:`~oci.response.Response`
|
371
371
|
|
372
372
|
:example:
|
373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_ipv6_subnet_cidr.py.html>`__ to see an example of how to use add_ipv6_subnet_cidr API.
|
374
374
|
"""
|
375
375
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
376
376
|
required_arguments = ['subnetId']
|
@@ -490,7 +490,7 @@ class VirtualNetworkClient(object):
|
|
490
490
|
:rtype: :class:`~oci.response.Response`
|
491
491
|
|
492
492
|
:example:
|
493
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
493
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_ipv6_vcn_cidr.py.html>`__ to see an example of how to use add_ipv6_vcn_cidr API.
|
494
494
|
"""
|
495
495
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
496
496
|
required_arguments = ['vcnId']
|
@@ -594,7 +594,7 @@ class VirtualNetworkClient(object):
|
|
594
594
|
:rtype: :class:`~oci.response.Response`
|
595
595
|
|
596
596
|
:example:
|
597
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
597
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_network_security_group_security_rules.py.html>`__ to see an example of how to use add_network_security_group_security_rules API.
|
598
598
|
"""
|
599
599
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
600
600
|
required_arguments = ['networkSecurityGroupId']
|
@@ -700,7 +700,7 @@ class VirtualNetworkClient(object):
|
|
700
700
|
:rtype: :class:`~oci.response.Response`
|
701
701
|
|
702
702
|
:example:
|
703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
703
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_public_ip_pool_capacity.py.html>`__ to see an example of how to use add_public_ip_pool_capacity API.
|
704
704
|
"""
|
705
705
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
706
706
|
required_arguments = ['publicIpPoolId']
|
@@ -825,7 +825,7 @@ class VirtualNetworkClient(object):
|
|
825
825
|
:rtype: :class:`~oci.response.Response`
|
826
826
|
|
827
827
|
:example:
|
828
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
828
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/add_vcn_cidr.py.html>`__ to see an example of how to use add_vcn_cidr API.
|
829
829
|
"""
|
830
830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
831
831
|
required_arguments = ['vcnId']
|
@@ -930,7 +930,7 @@ class VirtualNetworkClient(object):
|
|
930
930
|
:rtype: :class:`~oci.response.Response`
|
931
931
|
|
932
932
|
:example:
|
933
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
933
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/advertise_byoip_range.py.html>`__ to see an example of how to use advertise_byoip_range API.
|
934
934
|
"""
|
935
935
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
936
936
|
required_arguments = ['byoipRangeId']
|
@@ -1040,7 +1040,7 @@ class VirtualNetworkClient(object):
|
|
1040
1040
|
:rtype: :class:`~oci.response.Response`
|
1041
1041
|
|
1042
1042
|
:example:
|
1043
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1043
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/attach_service_id.py.html>`__ to see an example of how to use attach_service_id API.
|
1044
1044
|
"""
|
1045
1045
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1046
1046
|
required_arguments = ['serviceGatewayId']
|
@@ -1143,7 +1143,7 @@ class VirtualNetworkClient(object):
|
|
1143
1143
|
:rtype: :class:`~oci.response.Response`
|
1144
1144
|
|
1145
1145
|
:example:
|
1146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/bulk_add_virtual_circuit_public_prefixes.py.html>`__ to see an example of how to use bulk_add_virtual_circuit_public_prefixes API.
|
1147
1147
|
"""
|
1148
1148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1149
1149
|
required_arguments = ['virtualCircuitId']
|
@@ -1239,7 +1239,7 @@ class VirtualNetworkClient(object):
|
|
1239
1239
|
:rtype: :class:`~oci.response.Response`
|
1240
1240
|
|
1241
1241
|
:example:
|
1242
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1242
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/bulk_delete_virtual_circuit_public_prefixes.py.html>`__ to see an example of how to use bulk_delete_virtual_circuit_public_prefixes API.
|
1243
1243
|
"""
|
1244
1244
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1245
1245
|
required_arguments = ['virtualCircuitId']
|
@@ -1303,6 +1303,131 @@ class VirtualNetworkClient(object):
|
|
1303
1303
|
api_reference_link=api_reference_link,
|
1304
1304
|
required_arguments=required_arguments)
|
1305
1305
|
|
1306
|
+
def change_byoasn_compartment(self, byoasn_id, change_byoasn_compartment_details, **kwargs):
|
1307
|
+
"""
|
1308
|
+
Moves a BYOASN Resource to a different compartment. For information
|
1309
|
+
about moving resources between compartments, see
|
1310
|
+
`Moving Resources to a Different Compartment`__.
|
1311
|
+
|
1312
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
1313
|
+
|
1314
|
+
|
1315
|
+
:param str byoasn_id: (required)
|
1316
|
+
The `OCID`__ of the `Byoasn` resource.
|
1317
|
+
|
1318
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1319
|
+
|
1320
|
+
:param oci.core.models.ChangeByoasnCompartmentDetails change_byoasn_compartment_details: (required)
|
1321
|
+
Request to change the compartment of a BYOIP CIDR block.
|
1322
|
+
|
1323
|
+
:param str opc_request_id: (optional)
|
1324
|
+
Unique identifier for the request.
|
1325
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
1326
|
+
|
1327
|
+
:param str opc_retry_token: (optional)
|
1328
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1329
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1330
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
1331
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1332
|
+
may be rejected).
|
1333
|
+
|
1334
|
+
:param str if_match: (optional)
|
1335
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1336
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1337
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1338
|
+
|
1339
|
+
:param obj retry_strategy: (optional)
|
1340
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1341
|
+
|
1342
|
+
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.
|
1343
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1344
|
+
|
1345
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1346
|
+
|
1347
|
+
:param bool allow_control_chars: (optional)
|
1348
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1349
|
+
By default, the response will not allow control characters in strings
|
1350
|
+
|
1351
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1352
|
+
:rtype: :class:`~oci.response.Response`
|
1353
|
+
|
1354
|
+
:example:
|
1355
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_byoasn_compartment.py.html>`__ to see an example of how to use change_byoasn_compartment API.
|
1356
|
+
"""
|
1357
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1358
|
+
required_arguments = ['byoasnId']
|
1359
|
+
resource_path = "/byoasns/{byoasnId}/actions/changeCompartment"
|
1360
|
+
method = "POST"
|
1361
|
+
operation_name = "change_byoasn_compartment"
|
1362
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ChangeByoasnCompartment"
|
1363
|
+
|
1364
|
+
# Don't accept unknown kwargs
|
1365
|
+
expected_kwargs = [
|
1366
|
+
"allow_control_chars",
|
1367
|
+
"retry_strategy",
|
1368
|
+
"opc_request_id",
|
1369
|
+
"opc_retry_token",
|
1370
|
+
"if_match"
|
1371
|
+
]
|
1372
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1373
|
+
if extra_kwargs:
|
1374
|
+
raise ValueError(
|
1375
|
+
f"change_byoasn_compartment got unknown kwargs: {extra_kwargs!r}")
|
1376
|
+
|
1377
|
+
path_params = {
|
1378
|
+
"byoasnId": byoasn_id
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1382
|
+
|
1383
|
+
for (k, v) in six.iteritems(path_params):
|
1384
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1385
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1386
|
+
|
1387
|
+
header_params = {
|
1388
|
+
"accept": "application/json",
|
1389
|
+
"content-type": "application/json",
|
1390
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1391
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1392
|
+
"if-match": kwargs.get("if_match", missing)
|
1393
|
+
}
|
1394
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1395
|
+
|
1396
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1397
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1398
|
+
client_retry_strategy=self.retry_strategy
|
1399
|
+
)
|
1400
|
+
if retry_strategy is None:
|
1401
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1402
|
+
|
1403
|
+
if retry_strategy:
|
1404
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1405
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1406
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1407
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1408
|
+
return retry_strategy.make_retrying_call(
|
1409
|
+
self.base_client.call_api,
|
1410
|
+
resource_path=resource_path,
|
1411
|
+
method=method,
|
1412
|
+
path_params=path_params,
|
1413
|
+
header_params=header_params,
|
1414
|
+
body=change_byoasn_compartment_details,
|
1415
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1416
|
+
operation_name=operation_name,
|
1417
|
+
api_reference_link=api_reference_link,
|
1418
|
+
required_arguments=required_arguments)
|
1419
|
+
else:
|
1420
|
+
return self.base_client.call_api(
|
1421
|
+
resource_path=resource_path,
|
1422
|
+
method=method,
|
1423
|
+
path_params=path_params,
|
1424
|
+
header_params=header_params,
|
1425
|
+
body=change_byoasn_compartment_details,
|
1426
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1427
|
+
operation_name=operation_name,
|
1428
|
+
api_reference_link=api_reference_link,
|
1429
|
+
required_arguments=required_arguments)
|
1430
|
+
|
1306
1431
|
def change_byoip_range_compartment(self, byoip_range_id, change_byoip_range_compartment_details, **kwargs):
|
1307
1432
|
"""
|
1308
1433
|
Moves a BYOIP CIDR block to a different compartment. For information
|
@@ -1347,7 +1472,7 @@ class VirtualNetworkClient(object):
|
|
1347
1472
|
:rtype: :class:`~oci.response.Response`
|
1348
1473
|
|
1349
1474
|
:example:
|
1350
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1475
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_byoip_range_compartment.py.html>`__ to see an example of how to use change_byoip_range_compartment API.
|
1351
1476
|
"""
|
1352
1477
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1353
1478
|
required_arguments = ['byoipRangeId']
|
@@ -1468,7 +1593,7 @@ class VirtualNetworkClient(object):
|
|
1468
1593
|
:rtype: :class:`~oci.response.Response`
|
1469
1594
|
|
1470
1595
|
:example:
|
1471
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1596
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_capture_filter_compartment.py.html>`__ to see an example of how to use change_capture_filter_compartment API.
|
1472
1597
|
"""
|
1473
1598
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1474
1599
|
required_arguments = ['captureFilterId']
|
@@ -1586,7 +1711,7 @@ class VirtualNetworkClient(object):
|
|
1586
1711
|
:rtype: :class:`~oci.response.Response`
|
1587
1712
|
|
1588
1713
|
:example:
|
1589
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1714
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_cpe_compartment.py.html>`__ to see an example of how to use change_cpe_compartment API.
|
1590
1715
|
"""
|
1591
1716
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1592
1717
|
required_arguments = ['cpeId']
|
@@ -1704,7 +1829,7 @@ class VirtualNetworkClient(object):
|
|
1704
1829
|
:rtype: :class:`~oci.response.Response`
|
1705
1830
|
|
1706
1831
|
:example:
|
1707
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1832
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_cross_connect_compartment.py.html>`__ to see an example of how to use change_cross_connect_compartment API.
|
1708
1833
|
"""
|
1709
1834
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1710
1835
|
required_arguments = ['crossConnectId']
|
@@ -1822,7 +1947,7 @@ class VirtualNetworkClient(object):
|
|
1822
1947
|
:rtype: :class:`~oci.response.Response`
|
1823
1948
|
|
1824
1949
|
:example:
|
1825
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1950
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_cross_connect_group_compartment.py.html>`__ to see an example of how to use change_cross_connect_group_compartment API.
|
1826
1951
|
"""
|
1827
1952
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1828
1953
|
required_arguments = ['crossConnectGroupId']
|
@@ -1940,7 +2065,7 @@ class VirtualNetworkClient(object):
|
|
1940
2065
|
:rtype: :class:`~oci.response.Response`
|
1941
2066
|
|
1942
2067
|
:example:
|
1943
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2068
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_dhcp_options_compartment.py.html>`__ to see an example of how to use change_dhcp_options_compartment API.
|
1944
2069
|
"""
|
1945
2070
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1946
2071
|
required_arguments = ['dhcpId']
|
@@ -2056,7 +2181,7 @@ class VirtualNetworkClient(object):
|
|
2056
2181
|
:rtype: :class:`~oci.response.Response`
|
2057
2182
|
|
2058
2183
|
:example:
|
2059
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2184
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_drg_compartment.py.html>`__ to see an example of how to use change_drg_compartment API.
|
2060
2185
|
"""
|
2061
2186
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2062
2187
|
required_arguments = ['drgId']
|
@@ -2172,7 +2297,7 @@ class VirtualNetworkClient(object):
|
|
2172
2297
|
:rtype: :class:`~oci.response.Response`
|
2173
2298
|
|
2174
2299
|
:example:
|
2175
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2300
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_internet_gateway_compartment.py.html>`__ to see an example of how to use change_internet_gateway_compartment API.
|
2176
2301
|
"""
|
2177
2302
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2178
2303
|
required_arguments = ['igId']
|
@@ -2288,7 +2413,7 @@ class VirtualNetworkClient(object):
|
|
2288
2413
|
:rtype: :class:`~oci.response.Response`
|
2289
2414
|
|
2290
2415
|
:example:
|
2291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2416
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_ip_sec_connection_compartment.py.html>`__ to see an example of how to use change_ip_sec_connection_compartment API.
|
2292
2417
|
"""
|
2293
2418
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2294
2419
|
required_arguments = ['ipscId']
|
@@ -2406,7 +2531,7 @@ class VirtualNetworkClient(object):
|
|
2406
2531
|
:rtype: :class:`~oci.response.Response`
|
2407
2532
|
|
2408
2533
|
:example:
|
2409
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2534
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_local_peering_gateway_compartment.py.html>`__ to see an example of how to use change_local_peering_gateway_compartment API.
|
2410
2535
|
"""
|
2411
2536
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2412
2537
|
required_arguments = ['localPeeringGatewayId']
|
@@ -2522,7 +2647,7 @@ class VirtualNetworkClient(object):
|
|
2522
2647
|
:rtype: :class:`~oci.response.Response`
|
2523
2648
|
|
2524
2649
|
:example:
|
2525
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2650
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_nat_gateway_compartment.py.html>`__ to see an example of how to use change_nat_gateway_compartment API.
|
2526
2651
|
"""
|
2527
2652
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2528
2653
|
required_arguments = ['natGatewayId']
|
@@ -2637,7 +2762,7 @@ class VirtualNetworkClient(object):
|
|
2637
2762
|
:rtype: :class:`~oci.response.Response`
|
2638
2763
|
|
2639
2764
|
:example:
|
2640
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2765
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_network_security_group_compartment.py.html>`__ to see an example of how to use change_network_security_group_compartment API.
|
2641
2766
|
"""
|
2642
2767
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2643
2768
|
required_arguments = ['networkSecurityGroupId']
|
@@ -2756,7 +2881,7 @@ class VirtualNetworkClient(object):
|
|
2756
2881
|
:rtype: :class:`~oci.response.Response`
|
2757
2882
|
|
2758
2883
|
:example:
|
2759
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2884
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_public_ip_compartment.py.html>`__ to see an example of how to use change_public_ip_compartment API.
|
2760
2885
|
"""
|
2761
2886
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2762
2887
|
required_arguments = ['publicIpId']
|
@@ -2872,7 +2997,7 @@ class VirtualNetworkClient(object):
|
|
2872
2997
|
:rtype: :class:`~oci.response.Response`
|
2873
2998
|
|
2874
2999
|
:example:
|
2875
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3000
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_public_ip_pool_compartment.py.html>`__ to see an example of how to use change_public_ip_pool_compartment API.
|
2876
3001
|
"""
|
2877
3002
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2878
3003
|
required_arguments = ['publicIpPoolId']
|
@@ -2988,7 +3113,7 @@ class VirtualNetworkClient(object):
|
|
2988
3113
|
:rtype: :class:`~oci.response.Response`
|
2989
3114
|
|
2990
3115
|
:example:
|
2991
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3116
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_remote_peering_connection_compartment.py.html>`__ to see an example of how to use change_remote_peering_connection_compartment API.
|
2992
3117
|
"""
|
2993
3118
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2994
3119
|
required_arguments = ['remotePeeringConnectionId']
|
@@ -3106,7 +3231,7 @@ class VirtualNetworkClient(object):
|
|
3106
3231
|
:rtype: :class:`~oci.response.Response`
|
3107
3232
|
|
3108
3233
|
:example:
|
3109
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3234
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_route_table_compartment.py.html>`__ to see an example of how to use change_route_table_compartment API.
|
3110
3235
|
"""
|
3111
3236
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3112
3237
|
required_arguments = ['rtId']
|
@@ -3222,7 +3347,7 @@ class VirtualNetworkClient(object):
|
|
3222
3347
|
:rtype: :class:`~oci.response.Response`
|
3223
3348
|
|
3224
3349
|
:example:
|
3225
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3350
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_security_list_compartment.py.html>`__ to see an example of how to use change_security_list_compartment API.
|
3226
3351
|
"""
|
3227
3352
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3228
3353
|
required_arguments = ['securityListId']
|
@@ -3338,7 +3463,7 @@ class VirtualNetworkClient(object):
|
|
3338
3463
|
:rtype: :class:`~oci.response.Response`
|
3339
3464
|
|
3340
3465
|
:example:
|
3341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_service_gateway_compartment.py.html>`__ to see an example of how to use change_service_gateway_compartment API.
|
3342
3467
|
"""
|
3343
3468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3344
3469
|
required_arguments = ['serviceGatewayId']
|
@@ -3454,7 +3579,7 @@ class VirtualNetworkClient(object):
|
|
3454
3579
|
:rtype: :class:`~oci.response.Response`
|
3455
3580
|
|
3456
3581
|
:example:
|
3457
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3582
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_subnet_compartment.py.html>`__ to see an example of how to use change_subnet_compartment API.
|
3458
3583
|
"""
|
3459
3584
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3460
3585
|
required_arguments = ['subnetId']
|
@@ -3570,7 +3695,7 @@ class VirtualNetworkClient(object):
|
|
3570
3695
|
:rtype: :class:`~oci.response.Response`
|
3571
3696
|
|
3572
3697
|
:example:
|
3573
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3698
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_vcn_compartment.py.html>`__ to see an example of how to use change_vcn_compartment API.
|
3574
3699
|
"""
|
3575
3700
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3576
3701
|
required_arguments = ['vcnId']
|
@@ -3686,7 +3811,7 @@ class VirtualNetworkClient(object):
|
|
3686
3811
|
:rtype: :class:`~oci.response.Response`
|
3687
3812
|
|
3688
3813
|
:example:
|
3689
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3814
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_virtual_circuit_compartment.py.html>`__ to see an example of how to use change_virtual_circuit_compartment API.
|
3690
3815
|
"""
|
3691
3816
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3692
3817
|
required_arguments = ['virtualCircuitId']
|
@@ -3809,7 +3934,7 @@ class VirtualNetworkClient(object):
|
|
3809
3934
|
:rtype: :class:`~oci.response.Response`
|
3810
3935
|
|
3811
3936
|
:example:
|
3812
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3937
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_vlan_compartment.py.html>`__ to see an example of how to use change_vlan_compartment API.
|
3813
3938
|
"""
|
3814
3939
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3815
3940
|
required_arguments = ['vlanId']
|
@@ -3932,7 +4057,7 @@ class VirtualNetworkClient(object):
|
|
3932
4057
|
:rtype: :class:`~oci.response.Response`
|
3933
4058
|
|
3934
4059
|
:example:
|
3935
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4060
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/change_vtap_compartment.py.html>`__ to see an example of how to use change_vtap_compartment API.
|
3936
4061
|
"""
|
3937
4062
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3938
4063
|
required_arguments = ['vtapId']
|
@@ -4044,7 +4169,7 @@ class VirtualNetworkClient(object):
|
|
4044
4169
|
:rtype: :class:`~oci.response.Response`
|
4045
4170
|
|
4046
4171
|
:example:
|
4047
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/connect_local_peering_gateways.py.html>`__ to see an example of how to use connect_local_peering_gateways API.
|
4048
4173
|
"""
|
4049
4174
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4050
4175
|
required_arguments = ['localPeeringGatewayId']
|
@@ -4144,7 +4269,7 @@ class VirtualNetworkClient(object):
|
|
4144
4269
|
:rtype: :class:`~oci.response.Response`
|
4145
4270
|
|
4146
4271
|
:example:
|
4147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4272
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/connect_remote_peering_connections.py.html>`__ to see an example of how to use connect_remote_peering_connections API.
|
4148
4273
|
"""
|
4149
4274
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4150
4275
|
required_arguments = ['remotePeeringConnectionId']
|
@@ -4208,6 +4333,105 @@ class VirtualNetworkClient(object):
|
|
4208
4333
|
api_reference_link=api_reference_link,
|
4209
4334
|
required_arguments=required_arguments)
|
4210
4335
|
|
4336
|
+
def create_byoasn(self, create_byoasn_details, **kwargs):
|
4337
|
+
"""
|
4338
|
+
Creates a BYOASN Resource
|
4339
|
+
|
4340
|
+
|
4341
|
+
:param oci.core.models.CreateByoasnDetails create_byoasn_details: (required)
|
4342
|
+
Details needed to create a BYOASN Resource.
|
4343
|
+
|
4344
|
+
:param str opc_request_id: (optional)
|
4345
|
+
Unique identifier for the request.
|
4346
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
4347
|
+
|
4348
|
+
:param str opc_retry_token: (optional)
|
4349
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4350
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
4351
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
4352
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
4353
|
+
may be rejected).
|
4354
|
+
|
4355
|
+
:param obj retry_strategy: (optional)
|
4356
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4357
|
+
|
4358
|
+
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.
|
4359
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4360
|
+
|
4361
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4362
|
+
|
4363
|
+
:param bool allow_control_chars: (optional)
|
4364
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4365
|
+
By default, the response will not allow control characters in strings
|
4366
|
+
|
4367
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Byoasn`
|
4368
|
+
:rtype: :class:`~oci.response.Response`
|
4369
|
+
|
4370
|
+
:example:
|
4371
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_byoasn.py.html>`__ to see an example of how to use create_byoasn API.
|
4372
|
+
"""
|
4373
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4374
|
+
required_arguments = []
|
4375
|
+
resource_path = "/byoasns"
|
4376
|
+
method = "POST"
|
4377
|
+
operation_name = "create_byoasn"
|
4378
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/CreateByoasn"
|
4379
|
+
|
4380
|
+
# Don't accept unknown kwargs
|
4381
|
+
expected_kwargs = [
|
4382
|
+
"allow_control_chars",
|
4383
|
+
"retry_strategy",
|
4384
|
+
"opc_request_id",
|
4385
|
+
"opc_retry_token"
|
4386
|
+
]
|
4387
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4388
|
+
if extra_kwargs:
|
4389
|
+
raise ValueError(
|
4390
|
+
f"create_byoasn got unknown kwargs: {extra_kwargs!r}")
|
4391
|
+
|
4392
|
+
header_params = {
|
4393
|
+
"accept": "application/json",
|
4394
|
+
"content-type": "application/json",
|
4395
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
4396
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
4397
|
+
}
|
4398
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4399
|
+
|
4400
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
4401
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4402
|
+
client_retry_strategy=self.retry_strategy
|
4403
|
+
)
|
4404
|
+
if retry_strategy is None:
|
4405
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4406
|
+
|
4407
|
+
if retry_strategy:
|
4408
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4409
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4410
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
4411
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4412
|
+
return retry_strategy.make_retrying_call(
|
4413
|
+
self.base_client.call_api,
|
4414
|
+
resource_path=resource_path,
|
4415
|
+
method=method,
|
4416
|
+
header_params=header_params,
|
4417
|
+
body=create_byoasn_details,
|
4418
|
+
response_type="Byoasn",
|
4419
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4420
|
+
operation_name=operation_name,
|
4421
|
+
api_reference_link=api_reference_link,
|
4422
|
+
required_arguments=required_arguments)
|
4423
|
+
else:
|
4424
|
+
return self.base_client.call_api(
|
4425
|
+
resource_path=resource_path,
|
4426
|
+
method=method,
|
4427
|
+
header_params=header_params,
|
4428
|
+
body=create_byoasn_details,
|
4429
|
+
response_type="Byoasn",
|
4430
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4431
|
+
operation_name=operation_name,
|
4432
|
+
api_reference_link=api_reference_link,
|
4433
|
+
required_arguments=required_arguments)
|
4434
|
+
|
4211
4435
|
def create_byoip_range(self, create_byoip_range_details, **kwargs):
|
4212
4436
|
"""
|
4213
4437
|
Creates a subrange of the BYOIP CIDR block.
|
@@ -4243,7 +4467,7 @@ class VirtualNetworkClient(object):
|
|
4243
4467
|
:rtype: :class:`~oci.response.Response`
|
4244
4468
|
|
4245
4469
|
:example:
|
4246
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4470
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_byoip_range.py.html>`__ to see an example of how to use create_byoip_range API.
|
4247
4471
|
"""
|
4248
4472
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4249
4473
|
required_arguments = []
|
@@ -4352,7 +4576,7 @@ class VirtualNetworkClient(object):
|
|
4352
4576
|
:rtype: :class:`~oci.response.Response`
|
4353
4577
|
|
4354
4578
|
:example:
|
4355
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4579
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_capture_filter.py.html>`__ to see an example of how to use create_capture_filter API.
|
4356
4580
|
"""
|
4357
4581
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4358
4582
|
required_arguments = []
|
@@ -4465,7 +4689,7 @@ class VirtualNetworkClient(object):
|
|
4465
4689
|
:rtype: :class:`~oci.response.Response`
|
4466
4690
|
|
4467
4691
|
:example:
|
4468
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4692
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_cpe.py.html>`__ to see an example of how to use create_cpe API.
|
4469
4693
|
"""
|
4470
4694
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4471
4695
|
required_arguments = []
|
@@ -4581,7 +4805,7 @@ class VirtualNetworkClient(object):
|
|
4581
4805
|
:rtype: :class:`~oci.response.Response`
|
4582
4806
|
|
4583
4807
|
:example:
|
4584
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4808
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_cross_connect.py.html>`__ to see an example of how to use create_cross_connect API.
|
4585
4809
|
"""
|
4586
4810
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4587
4811
|
required_arguments = []
|
@@ -4693,7 +4917,7 @@ class VirtualNetworkClient(object):
|
|
4693
4917
|
:rtype: :class:`~oci.response.Response`
|
4694
4918
|
|
4695
4919
|
:example:
|
4696
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4920
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_cross_connect_group.py.html>`__ to see an example of how to use create_cross_connect_group API.
|
4697
4921
|
"""
|
4698
4922
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4699
4923
|
required_arguments = []
|
@@ -4801,7 +5025,7 @@ class VirtualNetworkClient(object):
|
|
4801
5025
|
:rtype: :class:`~oci.response.Response`
|
4802
5026
|
|
4803
5027
|
:example:
|
4804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5028
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_dhcp_options.py.html>`__ to see an example of how to use create_dhcp_options API.
|
4805
5029
|
"""
|
4806
5030
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4807
5031
|
required_arguments = []
|
@@ -4908,7 +5132,7 @@ class VirtualNetworkClient(object):
|
|
4908
5132
|
:rtype: :class:`~oci.response.Response`
|
4909
5133
|
|
4910
5134
|
:example:
|
4911
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5135
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_drg.py.html>`__ to see an example of how to use create_drg API.
|
4912
5136
|
"""
|
4913
5137
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4914
5138
|
required_arguments = []
|
@@ -5013,7 +5237,7 @@ class VirtualNetworkClient(object):
|
|
5013
5237
|
:rtype: :class:`~oci.response.Response`
|
5014
5238
|
|
5015
5239
|
:example:
|
5016
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5240
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_drg_attachment.py.html>`__ to see an example of how to use create_drg_attachment API.
|
5017
5241
|
"""
|
5018
5242
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5019
5243
|
required_arguments = []
|
@@ -5107,7 +5331,7 @@ class VirtualNetworkClient(object):
|
|
5107
5331
|
:rtype: :class:`~oci.response.Response`
|
5108
5332
|
|
5109
5333
|
:example:
|
5110
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5334
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_drg_route_distribution.py.html>`__ to see an example of how to use create_drg_route_distribution API.
|
5111
5335
|
"""
|
5112
5336
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5113
5337
|
required_arguments = []
|
@@ -5199,7 +5423,7 @@ class VirtualNetworkClient(object):
|
|
5199
5423
|
:rtype: :class:`~oci.response.Response`
|
5200
5424
|
|
5201
5425
|
:example:
|
5202
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5426
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_drg_route_table.py.html>`__ to see an example of how to use create_drg_route_table API.
|
5203
5427
|
"""
|
5204
5428
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5205
5429
|
required_arguments = []
|
@@ -5313,7 +5537,7 @@ class VirtualNetworkClient(object):
|
|
5313
5537
|
:rtype: :class:`~oci.response.Response`
|
5314
5538
|
|
5315
5539
|
:example:
|
5316
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_internet_gateway.py.html>`__ to see an example of how to use create_internet_gateway API.
|
5317
5541
|
"""
|
5318
5542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5319
5543
|
required_arguments = []
|
@@ -5436,7 +5660,7 @@ class VirtualNetworkClient(object):
|
|
5436
5660
|
:rtype: :class:`~oci.response.Response`
|
5437
5661
|
|
5438
5662
|
:example:
|
5439
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_ip_sec_connection.py.html>`__ to see an example of how to use create_ip_sec_connection API.
|
5440
5664
|
"""
|
5441
5665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5442
5666
|
required_arguments = []
|
@@ -5533,7 +5757,7 @@ class VirtualNetworkClient(object):
|
|
5533
5757
|
:rtype: :class:`~oci.response.Response`
|
5534
5758
|
|
5535
5759
|
:example:
|
5536
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5760
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_ipv6.py.html>`__ to see an example of how to use create_ipv6 API.
|
5537
5761
|
"""
|
5538
5762
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5539
5763
|
required_arguments = []
|
@@ -5626,7 +5850,7 @@ class VirtualNetworkClient(object):
|
|
5626
5850
|
:rtype: :class:`~oci.response.Response`
|
5627
5851
|
|
5628
5852
|
:example:
|
5629
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5853
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_local_peering_gateway.py.html>`__ to see an example of how to use create_local_peering_gateway API.
|
5630
5854
|
"""
|
5631
5855
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5632
5856
|
required_arguments = []
|
@@ -5718,7 +5942,7 @@ class VirtualNetworkClient(object):
|
|
5718
5942
|
:rtype: :class:`~oci.response.Response`
|
5719
5943
|
|
5720
5944
|
:example:
|
5721
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5945
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_nat_gateway.py.html>`__ to see an example of how to use create_nat_gateway API.
|
5722
5946
|
"""
|
5723
5947
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5724
5948
|
required_arguments = []
|
@@ -5809,7 +6033,7 @@ class VirtualNetworkClient(object):
|
|
5809
6033
|
:rtype: :class:`~oci.response.Response`
|
5810
6034
|
|
5811
6035
|
:example:
|
5812
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6036
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_network_security_group.py.html>`__ to see an example of how to use create_network_security_group API.
|
5813
6037
|
"""
|
5814
6038
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5815
6039
|
required_arguments = []
|
@@ -5904,7 +6128,7 @@ class VirtualNetworkClient(object):
|
|
5904
6128
|
:rtype: :class:`~oci.response.Response`
|
5905
6129
|
|
5906
6130
|
:example:
|
5907
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6131
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_private_ip.py.html>`__ to see an example of how to use create_private_ip API.
|
5908
6132
|
"""
|
5909
6133
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5910
6134
|
required_arguments = []
|
@@ -6018,7 +6242,7 @@ class VirtualNetworkClient(object):
|
|
6018
6242
|
:rtype: :class:`~oci.response.Response`
|
6019
6243
|
|
6020
6244
|
:example:
|
6021
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6245
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_public_ip.py.html>`__ to see an example of how to use create_public_ip API.
|
6022
6246
|
"""
|
6023
6247
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6024
6248
|
required_arguments = []
|
@@ -6113,7 +6337,7 @@ class VirtualNetworkClient(object):
|
|
6113
6337
|
:rtype: :class:`~oci.response.Response`
|
6114
6338
|
|
6115
6339
|
:example:
|
6116
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6340
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_public_ip_pool.py.html>`__ to see an example of how to use create_public_ip_pool API.
|
6117
6341
|
"""
|
6118
6342
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6119
6343
|
required_arguments = []
|
@@ -6206,7 +6430,7 @@ class VirtualNetworkClient(object):
|
|
6206
6430
|
:rtype: :class:`~oci.response.Response`
|
6207
6431
|
|
6208
6432
|
:example:
|
6209
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6433
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_remote_peering_connection.py.html>`__ to see an example of how to use create_remote_peering_connection API.
|
6210
6434
|
"""
|
6211
6435
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6212
6436
|
required_arguments = []
|
@@ -6319,7 +6543,7 @@ class VirtualNetworkClient(object):
|
|
6319
6543
|
:rtype: :class:`~oci.response.Response`
|
6320
6544
|
|
6321
6545
|
:example:
|
6322
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6546
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_route_table.py.html>`__ to see an example of how to use create_route_table API.
|
6323
6547
|
"""
|
6324
6548
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6325
6549
|
required_arguments = []
|
@@ -6429,7 +6653,7 @@ class VirtualNetworkClient(object):
|
|
6429
6653
|
:rtype: :class:`~oci.response.Response`
|
6430
6654
|
|
6431
6655
|
:example:
|
6432
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6656
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_security_list.py.html>`__ to see an example of how to use create_security_list API.
|
6433
6657
|
"""
|
6434
6658
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6435
6659
|
required_arguments = []
|
@@ -6535,7 +6759,7 @@ class VirtualNetworkClient(object):
|
|
6535
6759
|
:rtype: :class:`~oci.response.Response`
|
6536
6760
|
|
6537
6761
|
:example:
|
6538
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6762
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_service_gateway.py.html>`__ to see an example of how to use create_service_gateway API.
|
6539
6763
|
"""
|
6540
6764
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6541
6765
|
required_arguments = []
|
@@ -6666,7 +6890,7 @@ class VirtualNetworkClient(object):
|
|
6666
6890
|
:rtype: :class:`~oci.response.Response`
|
6667
6891
|
|
6668
6892
|
:example:
|
6669
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6893
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_subnet.py.html>`__ to see an example of how to use create_subnet API.
|
6670
6894
|
"""
|
6671
6895
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6672
6896
|
required_arguments = []
|
@@ -6798,7 +7022,7 @@ class VirtualNetworkClient(object):
|
|
6798
7022
|
:rtype: :class:`~oci.response.Response`
|
6799
7023
|
|
6800
7024
|
:example:
|
6801
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7025
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_vcn.py.html>`__ to see an example of how to use create_vcn API.
|
6802
7026
|
"""
|
6803
7027
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6804
7028
|
required_arguments = []
|
@@ -6915,7 +7139,7 @@ class VirtualNetworkClient(object):
|
|
6915
7139
|
:rtype: :class:`~oci.response.Response`
|
6916
7140
|
|
6917
7141
|
:example:
|
6918
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7142
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_virtual_circuit.py.html>`__ to see an example of how to use create_virtual_circuit API.
|
6919
7143
|
"""
|
6920
7144
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6921
7145
|
required_arguments = []
|
@@ -7012,7 +7236,7 @@ class VirtualNetworkClient(object):
|
|
7012
7236
|
:rtype: :class:`~oci.response.Response`
|
7013
7237
|
|
7014
7238
|
:example:
|
7015
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7239
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_vlan.py.html>`__ to see an example of how to use create_vlan API.
|
7016
7240
|
"""
|
7017
7241
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7018
7242
|
required_arguments = []
|
@@ -7121,7 +7345,7 @@ class VirtualNetworkClient(object):
|
|
7121
7345
|
:rtype: :class:`~oci.response.Response`
|
7122
7346
|
|
7123
7347
|
:example:
|
7124
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7348
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/create_vtap.py.html>`__ to see an example of how to use create_vtap API.
|
7125
7349
|
"""
|
7126
7350
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7127
7351
|
required_arguments = []
|
@@ -7183,19 +7407,18 @@ class VirtualNetworkClient(object):
|
|
7183
7407
|
api_reference_link=api_reference_link,
|
7184
7408
|
required_arguments=required_arguments)
|
7185
7409
|
|
7186
|
-
def
|
7410
|
+
def delete_byoasn(self, byoasn_id, **kwargs):
|
7187
7411
|
"""
|
7188
|
-
Deletes the specified `
|
7189
|
-
The resource must be in one of the following states: CREATING,
|
7190
|
-
It must not
|
7412
|
+
Deletes the specified `Byoasn` resource.
|
7413
|
+
The resource must be in one of the following states: CREATING, ACTIVE or FAILED.
|
7414
|
+
It must not be in use by any of the byoipRanges or deletion will fail.
|
7191
7415
|
You must specify the `OCID`__.
|
7192
|
-
If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted.
|
7193
7416
|
|
7194
7417
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
7195
7418
|
|
7196
7419
|
|
7197
|
-
:param str
|
7198
|
-
The `OCID`__ of the `
|
7420
|
+
:param str byoasn_id: (required)
|
7421
|
+
The `OCID`__ of the `Byoasn` resource.
|
7199
7422
|
|
7200
7423
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
7201
7424
|
|
@@ -7224,14 +7447,14 @@ class VirtualNetworkClient(object):
|
|
7224
7447
|
:rtype: :class:`~oci.response.Response`
|
7225
7448
|
|
7226
7449
|
:example:
|
7227
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7450
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_byoasn.py.html>`__ to see an example of how to use delete_byoasn API.
|
7228
7451
|
"""
|
7229
7452
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7230
|
-
required_arguments = ['
|
7231
|
-
resource_path = "/
|
7453
|
+
required_arguments = ['byoasnId']
|
7454
|
+
resource_path = "/byoasns/{byoasnId}"
|
7232
7455
|
method = "DELETE"
|
7233
|
-
operation_name = "
|
7234
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
7456
|
+
operation_name = "delete_byoasn"
|
7457
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/DeleteByoasn"
|
7235
7458
|
|
7236
7459
|
# Don't accept unknown kwargs
|
7237
7460
|
expected_kwargs = [
|
@@ -7243,10 +7466,10 @@ class VirtualNetworkClient(object):
|
|
7243
7466
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
7244
7467
|
if extra_kwargs:
|
7245
7468
|
raise ValueError(
|
7246
|
-
f"
|
7469
|
+
f"delete_byoasn got unknown kwargs: {extra_kwargs!r}")
|
7247
7470
|
|
7248
7471
|
path_params = {
|
7249
|
-
"
|
7472
|
+
"byoasnId": byoasn_id
|
7250
7473
|
}
|
7251
7474
|
|
7252
7475
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -7293,26 +7516,31 @@ class VirtualNetworkClient(object):
|
|
7293
7516
|
api_reference_link=api_reference_link,
|
7294
7517
|
required_arguments=required_arguments)
|
7295
7518
|
|
7296
|
-
def
|
7519
|
+
def delete_byoip_range(self, byoip_range_id, **kwargs):
|
7297
7520
|
"""
|
7298
|
-
Deletes the specified
|
7299
|
-
|
7521
|
+
Deletes the specified `ByoipRange` resource.
|
7522
|
+
The resource must be in one of the following states: CREATING, PROVISIONED, ACTIVE, or FAILED.
|
7523
|
+
It must not have any subranges currently allocated to a PublicIpPool object or the deletion will fail.
|
7524
|
+
You must specify the `OCID`__.
|
7525
|
+
If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted.
|
7300
7526
|
|
7527
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
7301
7528
|
|
7302
|
-
|
7303
|
-
|
7529
|
+
|
7530
|
+
:param str byoip_range_id: (required)
|
7531
|
+
The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
|
7304
7532
|
|
7305
7533
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
7306
7534
|
|
7535
|
+
:param str opc_request_id: (optional)
|
7536
|
+
Unique identifier for the request.
|
7537
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
7538
|
+
|
7307
7539
|
:param str if_match: (optional)
|
7308
7540
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
7309
7541
|
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
7310
7542
|
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
7311
7543
|
|
7312
|
-
:param str opc_request_id: (optional)
|
7313
|
-
Unique identifier for the request.
|
7314
|
-
If you need to contact Oracle about a particular request, please provide the request ID.
|
7315
|
-
|
7316
7544
|
:param obj retry_strategy: (optional)
|
7317
7545
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
7318
7546
|
|
@@ -7329,29 +7557,29 @@ class VirtualNetworkClient(object):
|
|
7329
7557
|
:rtype: :class:`~oci.response.Response`
|
7330
7558
|
|
7331
7559
|
:example:
|
7332
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7560
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_byoip_range.py.html>`__ to see an example of how to use delete_byoip_range API.
|
7333
7561
|
"""
|
7334
7562
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7335
|
-
required_arguments = ['
|
7336
|
-
resource_path = "/
|
7563
|
+
required_arguments = ['byoipRangeId']
|
7564
|
+
resource_path = "/byoipRanges/{byoipRangeId}"
|
7337
7565
|
method = "DELETE"
|
7338
|
-
operation_name = "
|
7339
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
7566
|
+
operation_name = "delete_byoip_range"
|
7567
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/DeleteByoipRange"
|
7340
7568
|
|
7341
7569
|
# Don't accept unknown kwargs
|
7342
7570
|
expected_kwargs = [
|
7343
7571
|
"allow_control_chars",
|
7344
7572
|
"retry_strategy",
|
7345
|
-
"
|
7346
|
-
"
|
7573
|
+
"opc_request_id",
|
7574
|
+
"if_match"
|
7347
7575
|
]
|
7348
7576
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
7349
7577
|
if extra_kwargs:
|
7350
7578
|
raise ValueError(
|
7351
|
-
f"
|
7579
|
+
f"delete_byoip_range got unknown kwargs: {extra_kwargs!r}")
|
7352
7580
|
|
7353
7581
|
path_params = {
|
7354
|
-
"
|
7582
|
+
"byoipRangeId": byoip_range_id
|
7355
7583
|
}
|
7356
7584
|
|
7357
7585
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -7363,8 +7591,8 @@ class VirtualNetworkClient(object):
|
|
7363
7591
|
header_params = {
|
7364
7592
|
"accept": "application/json",
|
7365
7593
|
"content-type": "application/json",
|
7366
|
-
"
|
7367
|
-
"
|
7594
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
7595
|
+
"if-match": kwargs.get("if_match", missing)
|
7368
7596
|
}
|
7369
7597
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
7370
7598
|
|
@@ -7398,10 +7626,115 @@ class VirtualNetworkClient(object):
|
|
7398
7626
|
api_reference_link=api_reference_link,
|
7399
7627
|
required_arguments=required_arguments)
|
7400
7628
|
|
7401
|
-
def
|
7629
|
+
def delete_capture_filter(self, capture_filter_id, **kwargs):
|
7402
7630
|
"""
|
7403
|
-
Deletes the specified
|
7404
|
-
|
7631
|
+
Deletes the specified VTAP capture filter. This is an asynchronous operation. The VTAP capture filter's `lifecycleState` will
|
7632
|
+
change to TERMINATING temporarily until the VTAP capture filter is completely removed.
|
7633
|
+
|
7634
|
+
|
7635
|
+
:param str capture_filter_id: (required)
|
7636
|
+
The `OCID`__ of the capture filter.
|
7637
|
+
|
7638
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
7639
|
+
|
7640
|
+
:param str if_match: (optional)
|
7641
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
7642
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
7643
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
7644
|
+
|
7645
|
+
:param str opc_request_id: (optional)
|
7646
|
+
Unique identifier for the request.
|
7647
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
7648
|
+
|
7649
|
+
:param obj retry_strategy: (optional)
|
7650
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
7651
|
+
|
7652
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
7653
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
7654
|
+
|
7655
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
7656
|
+
|
7657
|
+
:param bool allow_control_chars: (optional)
|
7658
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
7659
|
+
By default, the response will not allow control characters in strings
|
7660
|
+
|
7661
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
7662
|
+
:rtype: :class:`~oci.response.Response`
|
7663
|
+
|
7664
|
+
:example:
|
7665
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_capture_filter.py.html>`__ to see an example of how to use delete_capture_filter API.
|
7666
|
+
"""
|
7667
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7668
|
+
required_arguments = ['captureFilterId']
|
7669
|
+
resource_path = "/captureFilters/{captureFilterId}"
|
7670
|
+
method = "DELETE"
|
7671
|
+
operation_name = "delete_capture_filter"
|
7672
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/DeleteCaptureFilter"
|
7673
|
+
|
7674
|
+
# Don't accept unknown kwargs
|
7675
|
+
expected_kwargs = [
|
7676
|
+
"allow_control_chars",
|
7677
|
+
"retry_strategy",
|
7678
|
+
"if_match",
|
7679
|
+
"opc_request_id"
|
7680
|
+
]
|
7681
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
7682
|
+
if extra_kwargs:
|
7683
|
+
raise ValueError(
|
7684
|
+
f"delete_capture_filter got unknown kwargs: {extra_kwargs!r}")
|
7685
|
+
|
7686
|
+
path_params = {
|
7687
|
+
"captureFilterId": capture_filter_id
|
7688
|
+
}
|
7689
|
+
|
7690
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
7691
|
+
|
7692
|
+
for (k, v) in six.iteritems(path_params):
|
7693
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
7694
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
7695
|
+
|
7696
|
+
header_params = {
|
7697
|
+
"accept": "application/json",
|
7698
|
+
"content-type": "application/json",
|
7699
|
+
"if-match": kwargs.get("if_match", missing),
|
7700
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
7701
|
+
}
|
7702
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
7703
|
+
|
7704
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
7705
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
7706
|
+
client_retry_strategy=self.retry_strategy
|
7707
|
+
)
|
7708
|
+
|
7709
|
+
if retry_strategy:
|
7710
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
7711
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
7712
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
7713
|
+
return retry_strategy.make_retrying_call(
|
7714
|
+
self.base_client.call_api,
|
7715
|
+
resource_path=resource_path,
|
7716
|
+
method=method,
|
7717
|
+
path_params=path_params,
|
7718
|
+
header_params=header_params,
|
7719
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
7720
|
+
operation_name=operation_name,
|
7721
|
+
api_reference_link=api_reference_link,
|
7722
|
+
required_arguments=required_arguments)
|
7723
|
+
else:
|
7724
|
+
return self.base_client.call_api(
|
7725
|
+
resource_path=resource_path,
|
7726
|
+
method=method,
|
7727
|
+
path_params=path_params,
|
7728
|
+
header_params=header_params,
|
7729
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
7730
|
+
operation_name=operation_name,
|
7731
|
+
api_reference_link=api_reference_link,
|
7732
|
+
required_arguments=required_arguments)
|
7733
|
+
|
7734
|
+
def delete_cpe(self, cpe_id, **kwargs):
|
7735
|
+
"""
|
7736
|
+
Deletes the specified CPE object. The CPE must not be connected to a DRG. This is an asynchronous
|
7737
|
+
operation. The CPE's `lifecycleState` will change to TERMINATING temporarily until the CPE is completely
|
7405
7738
|
removed.
|
7406
7739
|
|
7407
7740
|
|
@@ -7431,7 +7764,7 @@ class VirtualNetworkClient(object):
|
|
7431
7764
|
:rtype: :class:`~oci.response.Response`
|
7432
7765
|
|
7433
7766
|
:example:
|
7434
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7767
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_cpe.py.html>`__ to see an example of how to use delete_cpe API.
|
7435
7768
|
"""
|
7436
7769
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7437
7770
|
required_arguments = ['cpeId']
|
@@ -7532,7 +7865,7 @@ class VirtualNetworkClient(object):
|
|
7532
7865
|
:rtype: :class:`~oci.response.Response`
|
7533
7866
|
|
7534
7867
|
:example:
|
7535
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7868
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_cross_connect.py.html>`__ to see an example of how to use delete_cross_connect API.
|
7536
7869
|
"""
|
7537
7870
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7538
7871
|
required_arguments = ['crossConnectId']
|
@@ -7634,7 +7967,7 @@ class VirtualNetworkClient(object):
|
|
7634
7967
|
:rtype: :class:`~oci.response.Response`
|
7635
7968
|
|
7636
7969
|
:example:
|
7637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7970
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_cross_connect_group.py.html>`__ to see an example of how to use delete_cross_connect_group API.
|
7638
7971
|
"""
|
7639
7972
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7640
7973
|
required_arguments = ['crossConnectGroupId']
|
@@ -7738,7 +8071,7 @@ class VirtualNetworkClient(object):
|
|
7738
8071
|
:rtype: :class:`~oci.response.Response`
|
7739
8072
|
|
7740
8073
|
:example:
|
7741
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8074
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_dhcp_options.py.html>`__ to see an example of how to use delete_dhcp_options API.
|
7742
8075
|
"""
|
7743
8076
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7744
8077
|
required_arguments = ['dhcpId']
|
@@ -7839,7 +8172,7 @@ class VirtualNetworkClient(object):
|
|
7839
8172
|
:rtype: :class:`~oci.response.Response`
|
7840
8173
|
|
7841
8174
|
:example:
|
7842
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8175
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_drg.py.html>`__ to see an example of how to use delete_drg API.
|
7843
8176
|
"""
|
7844
8177
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7845
8178
|
required_arguments = ['drgId']
|
@@ -7939,7 +8272,7 @@ class VirtualNetworkClient(object):
|
|
7939
8272
|
:rtype: :class:`~oci.response.Response`
|
7940
8273
|
|
7941
8274
|
:example:
|
7942
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_drg_attachment.py.html>`__ to see an example of how to use delete_drg_attachment API.
|
7943
8276
|
"""
|
7944
8277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7945
8278
|
required_arguments = ['drgAttachmentId']
|
@@ -8039,7 +8372,7 @@ class VirtualNetworkClient(object):
|
|
8039
8372
|
:rtype: :class:`~oci.response.Response`
|
8040
8373
|
|
8041
8374
|
:example:
|
8042
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8375
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_drg_route_distribution.py.html>`__ to see an example of how to use delete_drg_route_distribution API.
|
8043
8376
|
"""
|
8044
8377
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8045
8378
|
required_arguments = ['drgRouteDistributionId']
|
@@ -8137,7 +8470,7 @@ class VirtualNetworkClient(object):
|
|
8137
8470
|
:rtype: :class:`~oci.response.Response`
|
8138
8471
|
|
8139
8472
|
:example:
|
8140
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8473
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_drg_route_table.py.html>`__ to see an example of how to use delete_drg_route_table API.
|
8141
8474
|
"""
|
8142
8475
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8143
8476
|
required_arguments = ['drgRouteTableId']
|
@@ -8239,7 +8572,7 @@ class VirtualNetworkClient(object):
|
|
8239
8572
|
:rtype: :class:`~oci.response.Response`
|
8240
8573
|
|
8241
8574
|
:example:
|
8242
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8575
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_internet_gateway.py.html>`__ to see an example of how to use delete_internet_gateway API.
|
8243
8576
|
"""
|
8244
8577
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8245
8578
|
required_arguments = ['igId']
|
@@ -8344,7 +8677,7 @@ class VirtualNetworkClient(object):
|
|
8344
8677
|
:rtype: :class:`~oci.response.Response`
|
8345
8678
|
|
8346
8679
|
:example:
|
8347
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8680
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_ip_sec_connection.py.html>`__ to see an example of how to use delete_ip_sec_connection API.
|
8348
8681
|
"""
|
8349
8682
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8350
8683
|
required_arguments = ['ipscId']
|
@@ -8451,7 +8784,7 @@ class VirtualNetworkClient(object):
|
|
8451
8784
|
:rtype: :class:`~oci.response.Response`
|
8452
8785
|
|
8453
8786
|
:example:
|
8454
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8787
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_ipv6.py.html>`__ to see an example of how to use delete_ipv6 API.
|
8455
8788
|
"""
|
8456
8789
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8457
8790
|
required_arguments = ['ipv6Id']
|
@@ -8554,7 +8887,7 @@ class VirtualNetworkClient(object):
|
|
8554
8887
|
:rtype: :class:`~oci.response.Response`
|
8555
8888
|
|
8556
8889
|
:example:
|
8557
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8890
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_local_peering_gateway.py.html>`__ to see an example of how to use delete_local_peering_gateway API.
|
8558
8891
|
"""
|
8559
8892
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8560
8893
|
required_arguments = ['localPeeringGatewayId']
|
@@ -8656,7 +8989,7 @@ class VirtualNetworkClient(object):
|
|
8656
8989
|
:rtype: :class:`~oci.response.Response`
|
8657
8990
|
|
8658
8991
|
:example:
|
8659
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_nat_gateway.py.html>`__ to see an example of how to use delete_nat_gateway API.
|
8660
8993
|
"""
|
8661
8994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8662
8995
|
required_arguments = ['natGatewayId']
|
@@ -8763,7 +9096,7 @@ class VirtualNetworkClient(object):
|
|
8763
9096
|
:rtype: :class:`~oci.response.Response`
|
8764
9097
|
|
8765
9098
|
:example:
|
8766
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9099
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_network_security_group.py.html>`__ to see an example of how to use delete_network_security_group API.
|
8767
9100
|
"""
|
8768
9101
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8769
9102
|
required_arguments = ['networkSecurityGroupId']
|
@@ -8874,7 +9207,7 @@ class VirtualNetworkClient(object):
|
|
8874
9207
|
:rtype: :class:`~oci.response.Response`
|
8875
9208
|
|
8876
9209
|
:example:
|
8877
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9210
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_private_ip.py.html>`__ to see an example of how to use delete_private_ip API.
|
8878
9211
|
"""
|
8879
9212
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8880
9213
|
required_arguments = ['privateIpId']
|
@@ -8988,7 +9321,7 @@ class VirtualNetworkClient(object):
|
|
8988
9321
|
:rtype: :class:`~oci.response.Response`
|
8989
9322
|
|
8990
9323
|
:example:
|
8991
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9324
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_public_ip.py.html>`__ to see an example of how to use delete_public_ip API.
|
8992
9325
|
"""
|
8993
9326
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8994
9327
|
required_arguments = ['publicIpId']
|
@@ -9094,7 +9427,7 @@ class VirtualNetworkClient(object):
|
|
9094
9427
|
:rtype: :class:`~oci.response.Response`
|
9095
9428
|
|
9096
9429
|
:example:
|
9097
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9430
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_public_ip_pool.py.html>`__ to see an example of how to use delete_public_ip_pool API.
|
9098
9431
|
"""
|
9099
9432
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9100
9433
|
required_arguments = ['publicIpPoolId']
|
@@ -9197,7 +9530,7 @@ class VirtualNetworkClient(object):
|
|
9197
9530
|
:rtype: :class:`~oci.response.Response`
|
9198
9531
|
|
9199
9532
|
:example:
|
9200
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9533
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_remote_peering_connection.py.html>`__ to see an example of how to use delete_remote_peering_connection API.
|
9201
9534
|
"""
|
9202
9535
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9203
9536
|
required_arguments = ['remotePeeringConnectionId']
|
@@ -9301,7 +9634,7 @@ class VirtualNetworkClient(object):
|
|
9301
9634
|
:rtype: :class:`~oci.response.Response`
|
9302
9635
|
|
9303
9636
|
:example:
|
9304
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_route_table.py.html>`__ to see an example of how to use delete_route_table API.
|
9305
9638
|
"""
|
9306
9639
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9307
9640
|
required_arguments = ['rtId']
|
@@ -9403,7 +9736,7 @@ class VirtualNetworkClient(object):
|
|
9403
9736
|
:rtype: :class:`~oci.response.Response`
|
9404
9737
|
|
9405
9738
|
:example:
|
9406
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9739
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_security_list.py.html>`__ to see an example of how to use delete_security_list API.
|
9407
9740
|
"""
|
9408
9741
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9409
9742
|
required_arguments = ['securityListId']
|
@@ -9502,7 +9835,7 @@ class VirtualNetworkClient(object):
|
|
9502
9835
|
:rtype: :class:`~oci.response.Response`
|
9503
9836
|
|
9504
9837
|
:example:
|
9505
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_service_gateway.py.html>`__ to see an example of how to use delete_service_gateway API.
|
9506
9839
|
"""
|
9507
9840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9508
9841
|
required_arguments = ['serviceGatewayId']
|
@@ -9602,7 +9935,7 @@ class VirtualNetworkClient(object):
|
|
9602
9935
|
:rtype: :class:`~oci.response.Response`
|
9603
9936
|
|
9604
9937
|
:example:
|
9605
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9938
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_subnet.py.html>`__ to see an example of how to use delete_subnet API.
|
9606
9939
|
"""
|
9607
9940
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9608
9941
|
required_arguments = ['subnetId']
|
@@ -9705,7 +10038,7 @@ class VirtualNetworkClient(object):
|
|
9705
10038
|
:rtype: :class:`~oci.response.Response`
|
9706
10039
|
|
9707
10040
|
:example:
|
9708
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10041
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_vcn.py.html>`__ to see an example of how to use delete_vcn API.
|
9709
10042
|
"""
|
9710
10043
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9711
10044
|
required_arguments = ['vcnId']
|
@@ -9807,7 +10140,7 @@ class VirtualNetworkClient(object):
|
|
9807
10140
|
:rtype: :class:`~oci.response.Response`
|
9808
10141
|
|
9809
10142
|
:example:
|
9810
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10143
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_virtual_circuit.py.html>`__ to see an example of how to use delete_virtual_circuit API.
|
9811
10144
|
"""
|
9812
10145
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9813
10146
|
required_arguments = ['virtualCircuitId']
|
@@ -9911,7 +10244,7 @@ class VirtualNetworkClient(object):
|
|
9911
10244
|
:rtype: :class:`~oci.response.Response`
|
9912
10245
|
|
9913
10246
|
:example:
|
9914
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10247
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_vlan.py.html>`__ to see an example of how to use delete_vlan API.
|
9915
10248
|
"""
|
9916
10249
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9917
10250
|
required_arguments = ['vlanId']
|
@@ -10016,7 +10349,7 @@ class VirtualNetworkClient(object):
|
|
10016
10349
|
:rtype: :class:`~oci.response.Response`
|
10017
10350
|
|
10018
10351
|
:example:
|
10019
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10352
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/delete_vtap.py.html>`__ to see an example of how to use delete_vtap API.
|
10020
10353
|
"""
|
10021
10354
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10022
10355
|
required_arguments = ['vtapId']
|
@@ -10130,7 +10463,7 @@ class VirtualNetworkClient(object):
|
|
10130
10463
|
:rtype: :class:`~oci.response.Response`
|
10131
10464
|
|
10132
10465
|
:example:
|
10133
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/detach_service_id.py.html>`__ to see an example of how to use detach_service_id API.
|
10134
10467
|
"""
|
10135
10468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10136
10469
|
required_arguments = ['serviceGatewayId']
|
@@ -10255,7 +10588,7 @@ class VirtualNetworkClient(object):
|
|
10255
10588
|
:rtype: :class:`~oci.response.Response`
|
10256
10589
|
|
10257
10590
|
:example:
|
10258
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_all_drg_attachments.py.html>`__ to see an example of how to use get_all_drg_attachments API.
|
10259
10592
|
"""
|
10260
10593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10261
10594
|
required_arguments = ['drgId']
|
@@ -10370,7 +10703,7 @@ class VirtualNetworkClient(object):
|
|
10370
10703
|
:rtype: :class:`~oci.response.Response`
|
10371
10704
|
|
10372
10705
|
:example:
|
10373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10706
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_allowed_ike_ip_sec_parameters.py.html>`__ to see an example of how to use get_allowed_ike_ip_sec_parameters API.
|
10374
10707
|
"""
|
10375
10708
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10376
10709
|
required_arguments = []
|
@@ -10429,6 +10762,109 @@ class VirtualNetworkClient(object):
|
|
10429
10762
|
api_reference_link=api_reference_link,
|
10430
10763
|
required_arguments=required_arguments)
|
10431
10764
|
|
10765
|
+
def get_byoasn(self, byoasn_id, **kwargs):
|
10766
|
+
"""
|
10767
|
+
Gets the `Byoasn` resource. You must specify the `OCID`__.
|
10768
|
+
|
10769
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10770
|
+
|
10771
|
+
|
10772
|
+
:param str byoasn_id: (required)
|
10773
|
+
The `OCID`__ of the `Byoasn` resource.
|
10774
|
+
|
10775
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10776
|
+
|
10777
|
+
:param str opc_request_id: (optional)
|
10778
|
+
Unique identifier for the request.
|
10779
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
10780
|
+
|
10781
|
+
:param obj retry_strategy: (optional)
|
10782
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10783
|
+
|
10784
|
+
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.
|
10785
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10786
|
+
|
10787
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10788
|
+
|
10789
|
+
:param bool allow_control_chars: (optional)
|
10790
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10791
|
+
By default, the response will not allow control characters in strings
|
10792
|
+
|
10793
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Byoasn`
|
10794
|
+
:rtype: :class:`~oci.response.Response`
|
10795
|
+
|
10796
|
+
:example:
|
10797
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_byoasn.py.html>`__ to see an example of how to use get_byoasn API.
|
10798
|
+
"""
|
10799
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10800
|
+
required_arguments = ['byoasnId']
|
10801
|
+
resource_path = "/byoasns/{byoasnId}"
|
10802
|
+
method = "GET"
|
10803
|
+
operation_name = "get_byoasn"
|
10804
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/GetByoasn"
|
10805
|
+
|
10806
|
+
# Don't accept unknown kwargs
|
10807
|
+
expected_kwargs = [
|
10808
|
+
"allow_control_chars",
|
10809
|
+
"retry_strategy",
|
10810
|
+
"opc_request_id"
|
10811
|
+
]
|
10812
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10813
|
+
if extra_kwargs:
|
10814
|
+
raise ValueError(
|
10815
|
+
f"get_byoasn got unknown kwargs: {extra_kwargs!r}")
|
10816
|
+
|
10817
|
+
path_params = {
|
10818
|
+
"byoasnId": byoasn_id
|
10819
|
+
}
|
10820
|
+
|
10821
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
10822
|
+
|
10823
|
+
for (k, v) in six.iteritems(path_params):
|
10824
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
10825
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
10826
|
+
|
10827
|
+
header_params = {
|
10828
|
+
"accept": "application/json",
|
10829
|
+
"content-type": "application/json",
|
10830
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10831
|
+
}
|
10832
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10833
|
+
|
10834
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10835
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10836
|
+
client_retry_strategy=self.retry_strategy
|
10837
|
+
)
|
10838
|
+
if retry_strategy is None:
|
10839
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10840
|
+
|
10841
|
+
if retry_strategy:
|
10842
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10843
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10844
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10845
|
+
return retry_strategy.make_retrying_call(
|
10846
|
+
self.base_client.call_api,
|
10847
|
+
resource_path=resource_path,
|
10848
|
+
method=method,
|
10849
|
+
path_params=path_params,
|
10850
|
+
header_params=header_params,
|
10851
|
+
response_type="Byoasn",
|
10852
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10853
|
+
operation_name=operation_name,
|
10854
|
+
api_reference_link=api_reference_link,
|
10855
|
+
required_arguments=required_arguments)
|
10856
|
+
else:
|
10857
|
+
return self.base_client.call_api(
|
10858
|
+
resource_path=resource_path,
|
10859
|
+
method=method,
|
10860
|
+
path_params=path_params,
|
10861
|
+
header_params=header_params,
|
10862
|
+
response_type="Byoasn",
|
10863
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10864
|
+
operation_name=operation_name,
|
10865
|
+
api_reference_link=api_reference_link,
|
10866
|
+
required_arguments=required_arguments)
|
10867
|
+
|
10432
10868
|
def get_byoip_range(self, byoip_range_id, **kwargs):
|
10433
10869
|
"""
|
10434
10870
|
Gets the `ByoipRange` resource. You must specify the `OCID`__.
|
@@ -10461,7 +10897,7 @@ class VirtualNetworkClient(object):
|
|
10461
10897
|
:rtype: :class:`~oci.response.Response`
|
10462
10898
|
|
10463
10899
|
:example:
|
10464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_byoip_range.py.html>`__ to see an example of how to use get_byoip_range API.
|
10465
10901
|
"""
|
10466
10902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10467
10903
|
required_arguments = ['byoipRangeId']
|
@@ -10560,7 +10996,7 @@ class VirtualNetworkClient(object):
|
|
10560
10996
|
:rtype: :class:`~oci.response.Response`
|
10561
10997
|
|
10562
10998
|
:example:
|
10563
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10999
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_capture_filter.py.html>`__ to see an example of how to use get_capture_filter API.
|
10564
11000
|
"""
|
10565
11001
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10566
11002
|
required_arguments = ['captureFilterId']
|
@@ -10655,7 +11091,7 @@ class VirtualNetworkClient(object):
|
|
10655
11091
|
:rtype: :class:`~oci.response.Response`
|
10656
11092
|
|
10657
11093
|
:example:
|
10658
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11094
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cpe.py.html>`__ to see an example of how to use get_cpe API.
|
10659
11095
|
"""
|
10660
11096
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10661
11097
|
required_arguments = ['cpeId']
|
@@ -10766,7 +11202,7 @@ class VirtualNetworkClient(object):
|
|
10766
11202
|
:rtype: :class:`~oci.response.Response`
|
10767
11203
|
|
10768
11204
|
:example:
|
10769
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11205
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cpe_device_config_content.py.html>`__ to see an example of how to use get_cpe_device_config_content API.
|
10770
11206
|
"""
|
10771
11207
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10772
11208
|
required_arguments = ['cpeId']
|
@@ -10875,7 +11311,7 @@ class VirtualNetworkClient(object):
|
|
10875
11311
|
:rtype: :class:`~oci.response.Response`
|
10876
11312
|
|
10877
11313
|
:example:
|
10878
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11314
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cpe_device_shape.py.html>`__ to see an example of how to use get_cpe_device_shape API.
|
10879
11315
|
"""
|
10880
11316
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10881
11317
|
required_arguments = ['cpeDeviceShapeId']
|
@@ -10972,7 +11408,7 @@ class VirtualNetworkClient(object):
|
|
10972
11408
|
:rtype: :class:`~oci.response.Response`
|
10973
11409
|
|
10974
11410
|
:example:
|
10975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11411
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cross_connect.py.html>`__ to see an example of how to use get_cross_connect API.
|
10976
11412
|
"""
|
10977
11413
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10978
11414
|
required_arguments = ['crossConnectId']
|
@@ -11062,7 +11498,7 @@ class VirtualNetworkClient(object):
|
|
11062
11498
|
:rtype: :class:`~oci.response.Response`
|
11063
11499
|
|
11064
11500
|
:example:
|
11065
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11501
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cross_connect_group.py.html>`__ to see an example of how to use get_cross_connect_group API.
|
11066
11502
|
"""
|
11067
11503
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11068
11504
|
required_arguments = ['crossConnectGroupId']
|
@@ -11152,7 +11588,7 @@ class VirtualNetworkClient(object):
|
|
11152
11588
|
:rtype: :class:`~oci.response.Response`
|
11153
11589
|
|
11154
11590
|
:example:
|
11155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cross_connect_letter_of_authority.py.html>`__ to see an example of how to use get_cross_connect_letter_of_authority API.
|
11156
11592
|
"""
|
11157
11593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11158
11594
|
required_arguments = ['crossConnectId']
|
@@ -11242,7 +11678,7 @@ class VirtualNetworkClient(object):
|
|
11242
11678
|
:rtype: :class:`~oci.response.Response`
|
11243
11679
|
|
11244
11680
|
:example:
|
11245
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11681
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_cross_connect_status.py.html>`__ to see an example of how to use get_cross_connect_status API.
|
11246
11682
|
"""
|
11247
11683
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11248
11684
|
required_arguments = ['crossConnectId']
|
@@ -11332,7 +11768,7 @@ class VirtualNetworkClient(object):
|
|
11332
11768
|
:rtype: :class:`~oci.response.Response`
|
11333
11769
|
|
11334
11770
|
:example:
|
11335
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11771
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_dhcp_options.py.html>`__ to see an example of how to use get_dhcp_options API.
|
11336
11772
|
"""
|
11337
11773
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11338
11774
|
required_arguments = ['dhcpId']
|
@@ -11420,7 +11856,7 @@ class VirtualNetworkClient(object):
|
|
11420
11856
|
:rtype: :class:`~oci.response.Response`
|
11421
11857
|
|
11422
11858
|
:example:
|
11423
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11859
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_drg.py.html>`__ to see an example of how to use get_drg API.
|
11424
11860
|
"""
|
11425
11861
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11426
11862
|
required_arguments = ['drgId']
|
@@ -11508,7 +11944,7 @@ class VirtualNetworkClient(object):
|
|
11508
11944
|
:rtype: :class:`~oci.response.Response`
|
11509
11945
|
|
11510
11946
|
:example:
|
11511
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11947
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_drg_attachment.py.html>`__ to see an example of how to use get_drg_attachment API.
|
11512
11948
|
"""
|
11513
11949
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11514
11950
|
required_arguments = ['drgAttachmentId']
|
@@ -11603,7 +12039,7 @@ class VirtualNetworkClient(object):
|
|
11603
12039
|
:rtype: :class:`~oci.response.Response`
|
11604
12040
|
|
11605
12041
|
:example:
|
11606
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12042
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_drg_redundancy_status.py.html>`__ to see an example of how to use get_drg_redundancy_status API.
|
11607
12043
|
"""
|
11608
12044
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11609
12045
|
required_arguments = ['drgId']
|
@@ -11700,7 +12136,7 @@ class VirtualNetworkClient(object):
|
|
11700
12136
|
:rtype: :class:`~oci.response.Response`
|
11701
12137
|
|
11702
12138
|
:example:
|
11703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12139
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_drg_route_distribution.py.html>`__ to see an example of how to use get_drg_route_distribution API.
|
11704
12140
|
"""
|
11705
12141
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11706
12142
|
required_arguments = ['drgRouteDistributionId']
|
@@ -11788,7 +12224,7 @@ class VirtualNetworkClient(object):
|
|
11788
12224
|
:rtype: :class:`~oci.response.Response`
|
11789
12225
|
|
11790
12226
|
:example:
|
11791
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12227
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_drg_route_table.py.html>`__ to see an example of how to use get_drg_route_table API.
|
11792
12228
|
"""
|
11793
12229
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11794
12230
|
required_arguments = ['drgRouteTableId']
|
@@ -11879,7 +12315,7 @@ class VirtualNetworkClient(object):
|
|
11879
12315
|
:rtype: :class:`~oci.response.Response`
|
11880
12316
|
|
11881
12317
|
:example:
|
11882
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12318
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_fast_connect_provider_service.py.html>`__ to see an example of how to use get_fast_connect_provider_service API.
|
11883
12319
|
"""
|
11884
12320
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11885
12321
|
required_arguments = ['providerServiceId']
|
@@ -11976,7 +12412,7 @@ class VirtualNetworkClient(object):
|
|
11976
12412
|
:rtype: :class:`~oci.response.Response`
|
11977
12413
|
|
11978
12414
|
:example:
|
11979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12415
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_fast_connect_provider_service_key.py.html>`__ to see an example of how to use get_fast_connect_provider_service_key API.
|
11980
12416
|
"""
|
11981
12417
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11982
12418
|
required_arguments = ['providerServiceId', 'providerServiceKeyName']
|
@@ -12067,7 +12503,7 @@ class VirtualNetworkClient(object):
|
|
12067
12503
|
:rtype: :class:`~oci.response.Response`
|
12068
12504
|
|
12069
12505
|
:example:
|
12070
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12506
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_internet_gateway.py.html>`__ to see an example of how to use get_internet_gateway API.
|
12071
12507
|
"""
|
12072
12508
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12073
12509
|
required_arguments = ['igId']
|
@@ -12157,7 +12593,7 @@ class VirtualNetworkClient(object):
|
|
12157
12593
|
:rtype: :class:`~oci.response.Response`
|
12158
12594
|
|
12159
12595
|
:example:
|
12160
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12596
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection.py.html>`__ to see an example of how to use get_ip_sec_connection API.
|
12161
12597
|
"""
|
12162
12598
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12163
12599
|
required_arguments = ['ipscId']
|
@@ -12250,7 +12686,7 @@ class VirtualNetworkClient(object):
|
|
12250
12686
|
:rtype: :class:`~oci.response.Response`
|
12251
12687
|
|
12252
12688
|
:example:
|
12253
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12689
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection_device_config.py.html>`__ to see an example of how to use get_ip_sec_connection_device_config API.
|
12254
12690
|
"""
|
12255
12691
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12256
12692
|
required_arguments = ['ipscId']
|
@@ -12341,7 +12777,7 @@ class VirtualNetworkClient(object):
|
|
12341
12777
|
:rtype: :class:`~oci.response.Response`
|
12342
12778
|
|
12343
12779
|
:example:
|
12344
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12780
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection_device_status.py.html>`__ to see an example of how to use get_ip_sec_connection_device_status API.
|
12345
12781
|
"""
|
12346
12782
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12347
12783
|
required_arguments = ['ipscId']
|
@@ -12438,7 +12874,7 @@ class VirtualNetworkClient(object):
|
|
12438
12874
|
:rtype: :class:`~oci.response.Response`
|
12439
12875
|
|
12440
12876
|
:example:
|
12441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12877
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection_tunnel.py.html>`__ to see an example of how to use get_ip_sec_connection_tunnel API.
|
12442
12878
|
"""
|
12443
12879
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12444
12880
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -12534,7 +12970,7 @@ class VirtualNetworkClient(object):
|
|
12534
12970
|
:rtype: :class:`~oci.response.Response`
|
12535
12971
|
|
12536
12972
|
:example:
|
12537
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12973
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection_tunnel_error.py.html>`__ to see an example of how to use get_ip_sec_connection_tunnel_error API.
|
12538
12974
|
"""
|
12539
12975
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12540
12976
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -12631,7 +13067,7 @@ class VirtualNetworkClient(object):
|
|
12631
13067
|
:rtype: :class:`~oci.response.Response`
|
12632
13068
|
|
12633
13069
|
:example:
|
12634
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13070
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ip_sec_connection_tunnel_shared_secret.py.html>`__ to see an example of how to use get_ip_sec_connection_tunnel_shared_secret API.
|
12635
13071
|
"""
|
12636
13072
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12637
13073
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -12744,7 +13180,7 @@ class VirtualNetworkClient(object):
|
|
12744
13180
|
:rtype: :class:`~oci.response.Response`
|
12745
13181
|
|
12746
13182
|
:example:
|
12747
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13183
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ipsec_cpe_device_config_content.py.html>`__ to see an example of how to use get_ipsec_cpe_device_config_content API.
|
12748
13184
|
"""
|
12749
13185
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12750
13186
|
required_arguments = ['ipscId']
|
@@ -12851,7 +13287,7 @@ class VirtualNetworkClient(object):
|
|
12851
13287
|
:rtype: :class:`~oci.response.Response`
|
12852
13288
|
|
12853
13289
|
:example:
|
12854
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13290
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_ipv6.py.html>`__ to see an example of how to use get_ipv6 API.
|
12855
13291
|
"""
|
12856
13292
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12857
13293
|
required_arguments = ['ipv6Id']
|
@@ -12946,7 +13382,7 @@ class VirtualNetworkClient(object):
|
|
12946
13382
|
:rtype: :class:`~oci.response.Response`
|
12947
13383
|
|
12948
13384
|
:example:
|
12949
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13385
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_local_peering_gateway.py.html>`__ to see an example of how to use get_local_peering_gateway API.
|
12950
13386
|
"""
|
12951
13387
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12952
13388
|
required_arguments = ['localPeeringGatewayId']
|
@@ -13034,7 +13470,7 @@ class VirtualNetworkClient(object):
|
|
13034
13470
|
:rtype: :class:`~oci.response.Response`
|
13035
13471
|
|
13036
13472
|
:example:
|
13037
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13473
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_nat_gateway.py.html>`__ to see an example of how to use get_nat_gateway API.
|
13038
13474
|
"""
|
13039
13475
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13040
13476
|
required_arguments = ['natGatewayId']
|
@@ -13128,7 +13564,7 @@ class VirtualNetworkClient(object):
|
|
13128
13564
|
:rtype: :class:`~oci.response.Response`
|
13129
13565
|
|
13130
13566
|
:example:
|
13131
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13567
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_network_security_group.py.html>`__ to see an example of how to use get_network_security_group API.
|
13132
13568
|
"""
|
13133
13569
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13134
13570
|
required_arguments = ['networkSecurityGroupId']
|
@@ -13248,7 +13684,7 @@ class VirtualNetworkClient(object):
|
|
13248
13684
|
:rtype: :class:`~oci.response.Response`
|
13249
13685
|
|
13250
13686
|
:example:
|
13251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13687
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_networking_topology.py.html>`__ to see an example of how to use get_networking_topology API.
|
13252
13688
|
"""
|
13253
13689
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13254
13690
|
required_arguments = ['compartmentId']
|
@@ -13359,7 +13795,7 @@ class VirtualNetworkClient(object):
|
|
13359
13795
|
:rtype: :class:`~oci.response.Response`
|
13360
13796
|
|
13361
13797
|
:example:
|
13362
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13798
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_private_ip.py.html>`__ to see an example of how to use get_private_ip API.
|
13363
13799
|
"""
|
13364
13800
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13365
13801
|
required_arguments = ['privateIpId']
|
@@ -13461,7 +13897,7 @@ class VirtualNetworkClient(object):
|
|
13461
13897
|
:rtype: :class:`~oci.response.Response`
|
13462
13898
|
|
13463
13899
|
:example:
|
13464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_public_ip.py.html>`__ to see an example of how to use get_public_ip API.
|
13465
13901
|
"""
|
13466
13902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13467
13903
|
required_arguments = ['publicIpId']
|
@@ -13553,7 +13989,7 @@ class VirtualNetworkClient(object):
|
|
13553
13989
|
:rtype: :class:`~oci.response.Response`
|
13554
13990
|
|
13555
13991
|
:example:
|
13556
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_public_ip_by_ip_address.py.html>`__ to see an example of how to use get_public_ip_by_ip_address API.
|
13557
13993
|
"""
|
13558
13994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13559
13995
|
required_arguments = []
|
@@ -13643,7 +14079,7 @@ class VirtualNetworkClient(object):
|
|
13643
14079
|
:rtype: :class:`~oci.response.Response`
|
13644
14080
|
|
13645
14081
|
:example:
|
13646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14082
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_public_ip_by_private_ip_id.py.html>`__ to see an example of how to use get_public_ip_by_private_ip_id API.
|
13647
14083
|
"""
|
13648
14084
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13649
14085
|
required_arguments = []
|
@@ -13727,7 +14163,7 @@ class VirtualNetworkClient(object):
|
|
13727
14163
|
:rtype: :class:`~oci.response.Response`
|
13728
14164
|
|
13729
14165
|
:example:
|
13730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_public_ip_pool.py.html>`__ to see an example of how to use get_public_ip_pool API.
|
13731
14167
|
"""
|
13732
14168
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13733
14169
|
required_arguments = ['publicIpPoolId']
|
@@ -13822,7 +14258,7 @@ class VirtualNetworkClient(object):
|
|
13822
14258
|
:rtype: :class:`~oci.response.Response`
|
13823
14259
|
|
13824
14260
|
:example:
|
13825
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_remote_peering_connection.py.html>`__ to see an example of how to use get_remote_peering_connection API.
|
13826
14262
|
"""
|
13827
14263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13828
14264
|
required_arguments = ['remotePeeringConnectionId']
|
@@ -13914,7 +14350,7 @@ class VirtualNetworkClient(object):
|
|
13914
14350
|
:rtype: :class:`~oci.response.Response`
|
13915
14351
|
|
13916
14352
|
:example:
|
13917
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14353
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_resource_ip_inventory.py.html>`__ to see an example of how to use get_resource_ip_inventory API.
|
13918
14354
|
"""
|
13919
14355
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13920
14356
|
required_arguments = ['dataRequestId']
|
@@ -14009,7 +14445,7 @@ class VirtualNetworkClient(object):
|
|
14009
14445
|
:rtype: :class:`~oci.response.Response`
|
14010
14446
|
|
14011
14447
|
:example:
|
14012
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_route_table.py.html>`__ to see an example of how to use get_route_table API.
|
14013
14449
|
"""
|
14014
14450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14015
14451
|
required_arguments = ['rtId']
|
@@ -14097,7 +14533,7 @@ class VirtualNetworkClient(object):
|
|
14097
14533
|
:rtype: :class:`~oci.response.Response`
|
14098
14534
|
|
14099
14535
|
:example:
|
14100
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14536
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_security_list.py.html>`__ to see an example of how to use get_security_list API.
|
14101
14537
|
"""
|
14102
14538
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14103
14539
|
required_arguments = ['securityListId']
|
@@ -14185,7 +14621,7 @@ class VirtualNetworkClient(object):
|
|
14185
14621
|
:rtype: :class:`~oci.response.Response`
|
14186
14622
|
|
14187
14623
|
:example:
|
14188
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14624
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_service.py.html>`__ to see an example of how to use get_service API.
|
14189
14625
|
"""
|
14190
14626
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14191
14627
|
required_arguments = ['serviceId']
|
@@ -14273,7 +14709,7 @@ class VirtualNetworkClient(object):
|
|
14273
14709
|
:rtype: :class:`~oci.response.Response`
|
14274
14710
|
|
14275
14711
|
:example:
|
14276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14712
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_service_gateway.py.html>`__ to see an example of how to use get_service_gateway API.
|
14277
14713
|
"""
|
14278
14714
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14279
14715
|
required_arguments = ['serviceGatewayId']
|
@@ -14361,7 +14797,7 @@ class VirtualNetworkClient(object):
|
|
14361
14797
|
:rtype: :class:`~oci.response.Response`
|
14362
14798
|
|
14363
14799
|
:example:
|
14364
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14800
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_subnet.py.html>`__ to see an example of how to use get_subnet API.
|
14365
14801
|
"""
|
14366
14802
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14367
14803
|
required_arguments = ['subnetId']
|
@@ -14455,7 +14891,7 @@ class VirtualNetworkClient(object):
|
|
14455
14891
|
:rtype: :class:`~oci.response.Response`
|
14456
14892
|
|
14457
14893
|
:example:
|
14458
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_subnet_cidr_utilization.py.html>`__ to see an example of how to use get_subnet_cidr_utilization API.
|
14459
14895
|
"""
|
14460
14896
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14461
14897
|
required_arguments = ['subnetId']
|
@@ -14556,7 +14992,7 @@ class VirtualNetworkClient(object):
|
|
14556
14992
|
:rtype: :class:`~oci.response.Response`
|
14557
14993
|
|
14558
14994
|
:example:
|
14559
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_subnet_ip_inventory.py.html>`__ to see an example of how to use get_subnet_ip_inventory API.
|
14560
14996
|
"""
|
14561
14997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14562
14998
|
required_arguments = ['subnetId']
|
@@ -14688,7 +15124,7 @@ class VirtualNetworkClient(object):
|
|
14688
15124
|
:rtype: :class:`~oci.response.Response`
|
14689
15125
|
|
14690
15126
|
:example:
|
14691
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15127
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_subnet_topology.py.html>`__ to see an example of how to use get_subnet_topology API.
|
14692
15128
|
"""
|
14693
15129
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14694
15130
|
required_arguments = ['compartmentId', 'subnetId']
|
@@ -14807,7 +15243,7 @@ class VirtualNetworkClient(object):
|
|
14807
15243
|
:rtype: :class:`~oci.response.Response`
|
14808
15244
|
|
14809
15245
|
:example:
|
14810
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_tunnel_cpe_device_config.py.html>`__ to see an example of how to use get_tunnel_cpe_device_config API.
|
14811
15247
|
"""
|
14812
15248
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14813
15249
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -14931,7 +15367,7 @@ class VirtualNetworkClient(object):
|
|
14931
15367
|
:rtype: :class:`~oci.response.Response`
|
14932
15368
|
|
14933
15369
|
:example:
|
14934
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15370
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_tunnel_cpe_device_config_content.py.html>`__ to see an example of how to use get_tunnel_cpe_device_config_content API.
|
14935
15371
|
"""
|
14936
15372
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14937
15373
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -15033,7 +15469,7 @@ class VirtualNetworkClient(object):
|
|
15033
15469
|
:rtype: :class:`~oci.response.Response`
|
15034
15470
|
|
15035
15471
|
:example:
|
15036
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15472
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_upgrade_status.py.html>`__ to see an example of how to use get_upgrade_status API.
|
15037
15473
|
"""
|
15038
15474
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15039
15475
|
required_arguments = ['drgId']
|
@@ -15128,7 +15564,7 @@ class VirtualNetworkClient(object):
|
|
15128
15564
|
:rtype: :class:`~oci.response.Response`
|
15129
15565
|
|
15130
15566
|
:example:
|
15131
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15567
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vcn.py.html>`__ to see an example of how to use get_vcn API.
|
15132
15568
|
"""
|
15133
15569
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15134
15570
|
required_arguments = ['vcnId']
|
@@ -15220,7 +15656,7 @@ class VirtualNetworkClient(object):
|
|
15220
15656
|
:rtype: :class:`~oci.response.Response`
|
15221
15657
|
|
15222
15658
|
:example:
|
15223
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15659
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vcn_dns_resolver_association.py.html>`__ to see an example of how to use get_vcn_dns_resolver_association API.
|
15224
15660
|
"""
|
15225
15661
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15226
15662
|
required_arguments = ['vcnId']
|
@@ -15331,7 +15767,7 @@ class VirtualNetworkClient(object):
|
|
15331
15767
|
:rtype: :class:`~oci.response.Response`
|
15332
15768
|
|
15333
15769
|
:example:
|
15334
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15770
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vcn_overlap.py.html>`__ to see an example of how to use get_vcn_overlap API.
|
15335
15771
|
"""
|
15336
15772
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15337
15773
|
required_arguments = ['vcnId']
|
@@ -15468,7 +15904,7 @@ class VirtualNetworkClient(object):
|
|
15468
15904
|
:rtype: :class:`~oci.response.Response`
|
15469
15905
|
|
15470
15906
|
:example:
|
15471
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15907
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vcn_topology.py.html>`__ to see an example of how to use get_vcn_topology API.
|
15472
15908
|
"""
|
15473
15909
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15474
15910
|
required_arguments = ['compartmentId', 'vcnId']
|
@@ -15574,7 +16010,7 @@ class VirtualNetworkClient(object):
|
|
15574
16010
|
:rtype: :class:`~oci.response.Response`
|
15575
16011
|
|
15576
16012
|
:example:
|
15577
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16013
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_virtual_circuit.py.html>`__ to see an example of how to use get_virtual_circuit API.
|
15578
16014
|
"""
|
15579
16015
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15580
16016
|
required_arguments = ['virtualCircuitId']
|
@@ -15668,7 +16104,7 @@ class VirtualNetworkClient(object):
|
|
15668
16104
|
:rtype: :class:`~oci.response.Response`
|
15669
16105
|
|
15670
16106
|
:example:
|
15671
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16107
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vlan.py.html>`__ to see an example of how to use get_vlan API.
|
15672
16108
|
"""
|
15673
16109
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15674
16110
|
required_arguments = ['vlanId']
|
@@ -15768,7 +16204,7 @@ class VirtualNetworkClient(object):
|
|
15768
16204
|
:rtype: :class:`~oci.response.Response`
|
15769
16205
|
|
15770
16206
|
:example:
|
15771
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16207
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vnic.py.html>`__ to see an example of how to use get_vnic API.
|
15772
16208
|
"""
|
15773
16209
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15774
16210
|
required_arguments = ['vnicId']
|
@@ -15860,7 +16296,7 @@ class VirtualNetworkClient(object):
|
|
15860
16296
|
:rtype: :class:`~oci.response.Response`
|
15861
16297
|
|
15862
16298
|
:example:
|
15863
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16299
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/get_vtap.py.html>`__ to see an example of how to use get_vtap API.
|
15864
16300
|
"""
|
15865
16301
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15866
16302
|
required_arguments = ['vtapId']
|
@@ -15953,7 +16389,7 @@ class VirtualNetworkClient(object):
|
|
15953
16389
|
:rtype: :class:`~oci.response.Response`
|
15954
16390
|
|
15955
16391
|
:example:
|
15956
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16392
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_allowed_peer_regions_for_remote_peering.py.html>`__ to see an example of how to use list_allowed_peer_regions_for_remote_peering API.
|
15957
16393
|
"""
|
15958
16394
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15959
16395
|
required_arguments = []
|
@@ -16005,14 +16441,14 @@ class VirtualNetworkClient(object):
|
|
16005
16441
|
api_reference_link=api_reference_link,
|
16006
16442
|
required_arguments=required_arguments)
|
16007
16443
|
|
16008
|
-
def
|
16444
|
+
def list_byoasns(self, compartment_id, **kwargs):
|
16009
16445
|
"""
|
16010
|
-
Lists the
|
16011
|
-
|
16446
|
+
Lists the `Byoasn` resources in the specified compartment.
|
16447
|
+
You can filter the list using query parameters.
|
16012
16448
|
|
16013
16449
|
|
16014
|
-
:param str
|
16015
|
-
The `OCID`__ of the
|
16450
|
+
:param str compartment_id: (required)
|
16451
|
+
The `OCID`__ of the compartment.
|
16016
16452
|
|
16017
16453
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
16018
16454
|
|
@@ -16036,10 +16472,27 @@ class VirtualNetworkClient(object):
|
|
16036
16472
|
|
16037
16473
|
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
16038
16474
|
|
16475
|
+
:param str display_name: (optional)
|
16476
|
+
A filter to return only resources that match the given display name exactly.
|
16477
|
+
|
16478
|
+
:param str lifecycle_state: (optional)
|
16479
|
+
A filter to return only resources that match the given lifecycle state name exactly.
|
16480
|
+
|
16481
|
+
:param str sort_by: (optional)
|
16482
|
+
The field to sort by, for byoasn List operation.
|
16483
|
+
|
16484
|
+
Allowed values are: "TIMECREATED", "DISPLAYNAME"
|
16485
|
+
|
16486
|
+
:param str sort_order: (optional)
|
16487
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
16488
|
+
is case sensitive.
|
16489
|
+
|
16490
|
+
Allowed values are: "ASC", "DESC"
|
16491
|
+
|
16039
16492
|
:param obj retry_strategy: (optional)
|
16040
16493
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
16041
16494
|
|
16042
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
16495
|
+
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.
|
16043
16496
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
16044
16497
|
|
16045
16498
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -16048,18 +16501,18 @@ class VirtualNetworkClient(object):
|
|
16048
16501
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16049
16502
|
By default, the response will not allow control characters in strings
|
16050
16503
|
|
16051
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.
|
16504
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ByoasnCollection`
|
16052
16505
|
:rtype: :class:`~oci.response.Response`
|
16053
16506
|
|
16054
16507
|
:example:
|
16055
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16508
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_byoasns.py.html>`__ to see an example of how to use list_byoasns API.
|
16056
16509
|
"""
|
16057
16510
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16058
|
-
required_arguments = ['
|
16059
|
-
resource_path = "/
|
16511
|
+
required_arguments = ['compartmentId']
|
16512
|
+
resource_path = "/byoasns"
|
16060
16513
|
method = "GET"
|
16061
|
-
operation_name = "
|
16062
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
16514
|
+
operation_name = "list_byoasns"
|
16515
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ListByoasns"
|
16063
16516
|
|
16064
16517
|
# Don't accept unknown kwargs
|
16065
16518
|
expected_kwargs = [
|
@@ -16067,27 +16520,166 @@ class VirtualNetworkClient(object):
|
|
16067
16520
|
"retry_strategy",
|
16068
16521
|
"opc_request_id",
|
16069
16522
|
"limit",
|
16070
|
-
"page"
|
16523
|
+
"page",
|
16524
|
+
"display_name",
|
16525
|
+
"lifecycle_state",
|
16526
|
+
"sort_by",
|
16527
|
+
"sort_order"
|
16071
16528
|
]
|
16072
16529
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16073
16530
|
if extra_kwargs:
|
16074
16531
|
raise ValueError(
|
16075
|
-
f"
|
16076
|
-
|
16077
|
-
path_params = {
|
16078
|
-
"byoipRangeId": byoip_range_id
|
16079
|
-
}
|
16532
|
+
f"list_byoasns got unknown kwargs: {extra_kwargs!r}")
|
16080
16533
|
|
16081
|
-
|
16534
|
+
if 'sort_by' in kwargs:
|
16535
|
+
sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
|
16536
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
16537
|
+
raise ValueError(
|
16538
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
16539
|
+
)
|
16082
16540
|
|
16083
|
-
|
16084
|
-
|
16085
|
-
|
16541
|
+
if 'sort_order' in kwargs:
|
16542
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
16543
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
16544
|
+
raise ValueError(
|
16545
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
16546
|
+
)
|
16086
16547
|
|
16087
16548
|
query_params = {
|
16088
16549
|
"limit": kwargs.get("limit", missing),
|
16089
|
-
"page": kwargs.get("page", missing)
|
16090
|
-
|
16550
|
+
"page": kwargs.get("page", missing),
|
16551
|
+
"displayName": kwargs.get("display_name", missing),
|
16552
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
16553
|
+
"sortBy": kwargs.get("sort_by", missing),
|
16554
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
16555
|
+
"compartmentId": compartment_id
|
16556
|
+
}
|
16557
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
16558
|
+
|
16559
|
+
header_params = {
|
16560
|
+
"accept": "application/json",
|
16561
|
+
"content-type": "application/json",
|
16562
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
16563
|
+
}
|
16564
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16565
|
+
|
16566
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
16567
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
16568
|
+
client_retry_strategy=self.retry_strategy
|
16569
|
+
)
|
16570
|
+
if retry_strategy is None:
|
16571
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
16572
|
+
|
16573
|
+
if retry_strategy:
|
16574
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
16575
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
16576
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
16577
|
+
return retry_strategy.make_retrying_call(
|
16578
|
+
self.base_client.call_api,
|
16579
|
+
resource_path=resource_path,
|
16580
|
+
method=method,
|
16581
|
+
query_params=query_params,
|
16582
|
+
header_params=header_params,
|
16583
|
+
response_type="ByoasnCollection",
|
16584
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16585
|
+
operation_name=operation_name,
|
16586
|
+
api_reference_link=api_reference_link,
|
16587
|
+
required_arguments=required_arguments)
|
16588
|
+
else:
|
16589
|
+
return self.base_client.call_api(
|
16590
|
+
resource_path=resource_path,
|
16591
|
+
method=method,
|
16592
|
+
query_params=query_params,
|
16593
|
+
header_params=header_params,
|
16594
|
+
response_type="ByoasnCollection",
|
16595
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16596
|
+
operation_name=operation_name,
|
16597
|
+
api_reference_link=api_reference_link,
|
16598
|
+
required_arguments=required_arguments)
|
16599
|
+
|
16600
|
+
def list_byoip_allocated_ranges(self, byoip_range_id, **kwargs):
|
16601
|
+
"""
|
16602
|
+
Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool.
|
16603
|
+
Each `ByoipAllocatedRange` object also lists the IP pool where it is allocated.
|
16604
|
+
|
16605
|
+
|
16606
|
+
:param str byoip_range_id: (required)
|
16607
|
+
The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
|
16608
|
+
|
16609
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
16610
|
+
|
16611
|
+
:param str opc_request_id: (optional)
|
16612
|
+
Unique identifier for the request.
|
16613
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
16614
|
+
|
16615
|
+
:param int limit: (optional)
|
16616
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated
|
16617
|
+
\"List\" call. For important details about how pagination works, see
|
16618
|
+
`List Pagination`__.
|
16619
|
+
|
16620
|
+
Example: `50`
|
16621
|
+
|
16622
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
16623
|
+
|
16624
|
+
:param str page: (optional)
|
16625
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
16626
|
+
call. For important details about how pagination works, see
|
16627
|
+
`List Pagination`__.
|
16628
|
+
|
16629
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
16630
|
+
|
16631
|
+
:param obj retry_strategy: (optional)
|
16632
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
16633
|
+
|
16634
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
16635
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
16636
|
+
|
16637
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
16638
|
+
|
16639
|
+
:param bool allow_control_chars: (optional)
|
16640
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16641
|
+
By default, the response will not allow control characters in strings
|
16642
|
+
|
16643
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ByoipAllocatedRangeCollection`
|
16644
|
+
:rtype: :class:`~oci.response.Response`
|
16645
|
+
|
16646
|
+
:example:
|
16647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_byoip_allocated_ranges.py.html>`__ to see an example of how to use list_byoip_allocated_ranges API.
|
16648
|
+
"""
|
16649
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16650
|
+
required_arguments = ['byoipRangeId']
|
16651
|
+
resource_path = "/byoipRanges/{byoipRangeId}/byoipAllocatedRanges"
|
16652
|
+
method = "GET"
|
16653
|
+
operation_name = "list_byoip_allocated_ranges"
|
16654
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipAllocatedRangeSummary/ListByoipAllocatedRanges"
|
16655
|
+
|
16656
|
+
# Don't accept unknown kwargs
|
16657
|
+
expected_kwargs = [
|
16658
|
+
"allow_control_chars",
|
16659
|
+
"retry_strategy",
|
16660
|
+
"opc_request_id",
|
16661
|
+
"limit",
|
16662
|
+
"page"
|
16663
|
+
]
|
16664
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16665
|
+
if extra_kwargs:
|
16666
|
+
raise ValueError(
|
16667
|
+
f"list_byoip_allocated_ranges got unknown kwargs: {extra_kwargs!r}")
|
16668
|
+
|
16669
|
+
path_params = {
|
16670
|
+
"byoipRangeId": byoip_range_id
|
16671
|
+
}
|
16672
|
+
|
16673
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
16674
|
+
|
16675
|
+
for (k, v) in six.iteritems(path_params):
|
16676
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
16677
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
16678
|
+
|
16679
|
+
query_params = {
|
16680
|
+
"limit": kwargs.get("limit", missing),
|
16681
|
+
"page": kwargs.get("page", missing)
|
16682
|
+
}
|
16091
16683
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
16092
16684
|
|
16093
16685
|
header_params = {
|
@@ -16202,7 +16794,7 @@ class VirtualNetworkClient(object):
|
|
16202
16794
|
:rtype: :class:`~oci.response.Response`
|
16203
16795
|
|
16204
16796
|
:example:
|
16205
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16797
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_byoip_ranges.py.html>`__ to see an example of how to use list_byoip_ranges API.
|
16206
16798
|
"""
|
16207
16799
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16208
16800
|
required_arguments = ['compartmentId']
|
@@ -16370,7 +16962,7 @@ class VirtualNetworkClient(object):
|
|
16370
16962
|
:rtype: :class:`~oci.response.Response`
|
16371
16963
|
|
16372
16964
|
:example:
|
16373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16965
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_capture_filters.py.html>`__ to see an example of how to use list_capture_filters API.
|
16374
16966
|
"""
|
16375
16967
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16376
16968
|
required_arguments = ['compartmentId']
|
@@ -16531,7 +17123,7 @@ class VirtualNetworkClient(object):
|
|
16531
17123
|
:rtype: :class:`~oci.response.Response`
|
16532
17124
|
|
16533
17125
|
:example:
|
16534
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17126
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cpe_device_shapes.py.html>`__ to see an example of how to use list_cpe_device_shapes API.
|
16535
17127
|
"""
|
16536
17128
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16537
17129
|
required_arguments = []
|
@@ -16642,7 +17234,7 @@ class VirtualNetworkClient(object):
|
|
16642
17234
|
:rtype: :class:`~oci.response.Response`
|
16643
17235
|
|
16644
17236
|
:example:
|
16645
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17237
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cpes.py.html>`__ to see an example of how to use list_cpes API.
|
16646
17238
|
"""
|
16647
17239
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16648
17240
|
required_arguments = ['compartmentId']
|
@@ -16778,7 +17370,7 @@ class VirtualNetworkClient(object):
|
|
16778
17370
|
:rtype: :class:`~oci.response.Response`
|
16779
17371
|
|
16780
17372
|
:example:
|
16781
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cross_connect_groups.py.html>`__ to see an example of how to use list_cross_connect_groups API.
|
16782
17374
|
"""
|
16783
17375
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16784
17376
|
required_arguments = ['compartmentId']
|
@@ -16917,7 +17509,7 @@ class VirtualNetworkClient(object):
|
|
16917
17509
|
:rtype: :class:`~oci.response.Response`
|
16918
17510
|
|
16919
17511
|
:example:
|
16920
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17512
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cross_connect_locations.py.html>`__ to see an example of how to use list_cross_connect_locations API.
|
16921
17513
|
"""
|
16922
17514
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16923
17515
|
required_arguments = ['compartmentId']
|
@@ -17015,7 +17607,7 @@ class VirtualNetworkClient(object):
|
|
17015
17607
|
:rtype: :class:`~oci.response.Response`
|
17016
17608
|
|
17017
17609
|
:example:
|
17018
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17610
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cross_connect_mappings.py.html>`__ to see an example of how to use list_cross_connect_mappings API.
|
17019
17611
|
"""
|
17020
17612
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17021
17613
|
required_arguments = ['virtualCircuitId']
|
@@ -17163,7 +17755,7 @@ class VirtualNetworkClient(object):
|
|
17163
17755
|
:rtype: :class:`~oci.response.Response`
|
17164
17756
|
|
17165
17757
|
:example:
|
17166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17758
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_cross_connects.py.html>`__ to see an example of how to use list_cross_connects API.
|
17167
17759
|
"""
|
17168
17760
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17169
17761
|
required_arguments = ['compartmentId']
|
@@ -17305,7 +17897,7 @@ class VirtualNetworkClient(object):
|
|
17305
17897
|
:rtype: :class:`~oci.response.Response`
|
17306
17898
|
|
17307
17899
|
:example:
|
17308
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_crossconnect_port_speed_shapes.py.html>`__ to see an example of how to use list_crossconnect_port_speed_shapes API.
|
17309
17901
|
"""
|
17310
17902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17311
17903
|
required_arguments = ['compartmentId']
|
@@ -17449,7 +18041,7 @@ class VirtualNetworkClient(object):
|
|
17449
18041
|
:rtype: :class:`~oci.response.Response`
|
17450
18042
|
|
17451
18043
|
:example:
|
17452
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18044
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_dhcp_options.py.html>`__ to see an example of how to use list_dhcp_options API.
|
17453
18045
|
"""
|
17454
18046
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17455
18047
|
required_arguments = ['compartmentId']
|
@@ -17644,7 +18236,7 @@ class VirtualNetworkClient(object):
|
|
17644
18236
|
:rtype: :class:`~oci.response.Response`
|
17645
18237
|
|
17646
18238
|
:example:
|
17647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18239
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drg_attachments.py.html>`__ to see an example of how to use list_drg_attachments API.
|
17648
18240
|
"""
|
17649
18241
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17650
18242
|
required_arguments = ['compartmentId']
|
@@ -17808,7 +18400,7 @@ class VirtualNetworkClient(object):
|
|
17808
18400
|
:rtype: :class:`~oci.response.Response`
|
17809
18401
|
|
17810
18402
|
:example:
|
17811
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drg_route_distribution_statements.py.html>`__ to see an example of how to use list_drg_route_distribution_statements API.
|
17812
18404
|
"""
|
17813
18405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17814
18406
|
required_arguments = ['drgRouteDistributionId']
|
@@ -17974,7 +18566,7 @@ class VirtualNetworkClient(object):
|
|
17974
18566
|
:rtype: :class:`~oci.response.Response`
|
17975
18567
|
|
17976
18568
|
:example:
|
17977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18569
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drg_route_distributions.py.html>`__ to see an example of how to use list_drg_route_distributions API.
|
17978
18570
|
"""
|
17979
18571
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17980
18572
|
required_arguments = ['drgId']
|
@@ -18116,7 +18708,7 @@ class VirtualNetworkClient(object):
|
|
18116
18708
|
:rtype: :class:`~oci.response.Response`
|
18117
18709
|
|
18118
18710
|
:example:
|
18119
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18711
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drg_route_rules.py.html>`__ to see an example of how to use list_drg_route_rules API.
|
18120
18712
|
"""
|
18121
18713
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18122
18714
|
required_arguments = ['drgRouteTableId']
|
@@ -18277,7 +18869,7 @@ class VirtualNetworkClient(object):
|
|
18277
18869
|
:rtype: :class:`~oci.response.Response`
|
18278
18870
|
|
18279
18871
|
:example:
|
18280
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18872
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drg_route_tables.py.html>`__ to see an example of how to use list_drg_route_tables API.
|
18281
18873
|
"""
|
18282
18874
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18283
18875
|
required_arguments = ['drgId']
|
@@ -18415,7 +19007,7 @@ class VirtualNetworkClient(object):
|
|
18415
19007
|
:rtype: :class:`~oci.response.Response`
|
18416
19008
|
|
18417
19009
|
:example:
|
18418
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19010
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_drgs.py.html>`__ to see an example of how to use list_drgs API.
|
18419
19011
|
"""
|
18420
19012
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18421
19013
|
required_arguments = ['compartmentId']
|
@@ -18531,7 +19123,7 @@ class VirtualNetworkClient(object):
|
|
18531
19123
|
:rtype: :class:`~oci.response.Response`
|
18532
19124
|
|
18533
19125
|
:example:
|
18534
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19126
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_fast_connect_provider_services.py.html>`__ to see an example of how to use list_fast_connect_provider_services API.
|
18535
19127
|
"""
|
18536
19128
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18537
19129
|
required_arguments = ['compartmentId']
|
@@ -18645,7 +19237,7 @@ class VirtualNetworkClient(object):
|
|
18645
19237
|
:rtype: :class:`~oci.response.Response`
|
18646
19238
|
|
18647
19239
|
:example:
|
18648
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19240
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes.py.html>`__ to see an example of how to use list_fast_connect_provider_virtual_circuit_bandwidth_shapes API.
|
18649
19241
|
"""
|
18650
19242
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18651
19243
|
required_arguments = ['providerServiceId']
|
@@ -18798,7 +19390,7 @@ class VirtualNetworkClient(object):
|
|
18798
19390
|
:rtype: :class:`~oci.response.Response`
|
18799
19391
|
|
18800
19392
|
:example:
|
18801
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19393
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_internet_gateways.py.html>`__ to see an example of how to use list_internet_gateways API.
|
18802
19394
|
"""
|
18803
19395
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18804
19396
|
required_arguments = ['compartmentId']
|
@@ -18922,7 +19514,7 @@ class VirtualNetworkClient(object):
|
|
18922
19514
|
:rtype: :class:`~oci.response.Response`
|
18923
19515
|
|
18924
19516
|
:example:
|
18925
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19517
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ip_inventory.py.html>`__ to see an example of how to use list_ip_inventory API.
|
18926
19518
|
"""
|
18927
19519
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18928
19520
|
required_arguments = []
|
@@ -19035,7 +19627,7 @@ class VirtualNetworkClient(object):
|
|
19035
19627
|
:rtype: :class:`~oci.response.Response`
|
19036
19628
|
|
19037
19629
|
:example:
|
19038
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19630
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ip_sec_connection_tunnel_routes.py.html>`__ to see an example of how to use list_ip_sec_connection_tunnel_routes API.
|
19039
19631
|
"""
|
19040
19632
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19041
19633
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -19170,7 +19762,7 @@ class VirtualNetworkClient(object):
|
|
19170
19762
|
:rtype: :class:`~oci.response.Response`
|
19171
19763
|
|
19172
19764
|
:example:
|
19173
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19765
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ip_sec_connection_tunnel_security_associations.py.html>`__ to see an example of how to use list_ip_sec_connection_tunnel_security_associations API.
|
19174
19766
|
"""
|
19175
19767
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19176
19768
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -19291,7 +19883,7 @@ class VirtualNetworkClient(object):
|
|
19291
19883
|
:rtype: :class:`~oci.response.Response`
|
19292
19884
|
|
19293
19885
|
:example:
|
19294
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19886
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ip_sec_connection_tunnels.py.html>`__ to see an example of how to use list_ip_sec_connection_tunnels API.
|
19295
19887
|
"""
|
19296
19888
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19297
19889
|
required_arguments = ['ipscId']
|
@@ -19422,7 +20014,7 @@ class VirtualNetworkClient(object):
|
|
19422
20014
|
:rtype: :class:`~oci.response.Response`
|
19423
20015
|
|
19424
20016
|
:example:
|
19425
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20017
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ip_sec_connections.py.html>`__ to see an example of how to use list_ip_sec_connections API.
|
19426
20018
|
"""
|
19427
20019
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19428
20020
|
required_arguments = ['compartmentId']
|
@@ -19558,7 +20150,7 @@ class VirtualNetworkClient(object):
|
|
19558
20150
|
:rtype: :class:`~oci.response.Response`
|
19559
20151
|
|
19560
20152
|
:example:
|
19561
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_ipv6s.py.html>`__ to see an example of how to use list_ipv6s API.
|
19562
20154
|
"""
|
19563
20155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19564
20156
|
required_arguments = []
|
@@ -19679,7 +20271,7 @@ class VirtualNetworkClient(object):
|
|
19679
20271
|
:rtype: :class:`~oci.response.Response`
|
19680
20272
|
|
19681
20273
|
:example:
|
19682
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20274
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_local_peering_gateways.py.html>`__ to see an example of how to use list_local_peering_gateways API.
|
19683
20275
|
"""
|
19684
20276
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19685
20277
|
required_arguments = ['compartmentId']
|
@@ -19821,7 +20413,7 @@ class VirtualNetworkClient(object):
|
|
19821
20413
|
:rtype: :class:`~oci.response.Response`
|
19822
20414
|
|
19823
20415
|
:example:
|
19824
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20416
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_nat_gateways.py.html>`__ to see an example of how to use list_nat_gateways API.
|
19825
20417
|
"""
|
19826
20418
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19827
20419
|
required_arguments = ['compartmentId']
|
@@ -19976,7 +20568,7 @@ class VirtualNetworkClient(object):
|
|
19976
20568
|
:rtype: :class:`~oci.response.Response`
|
19977
20569
|
|
19978
20570
|
:example:
|
19979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20571
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_network_security_group_security_rules.py.html>`__ to see an example of how to use list_network_security_group_security_rules API.
|
19980
20572
|
"""
|
19981
20573
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19982
20574
|
required_arguments = ['networkSecurityGroupId']
|
@@ -20132,7 +20724,7 @@ class VirtualNetworkClient(object):
|
|
20132
20724
|
:rtype: :class:`~oci.response.Response`
|
20133
20725
|
|
20134
20726
|
:example:
|
20135
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20727
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_network_security_group_vnics.py.html>`__ to see an example of how to use list_network_security_group_vnics API.
|
20136
20728
|
"""
|
20137
20729
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20138
20730
|
required_arguments = ['networkSecurityGroupId']
|
@@ -20306,7 +20898,7 @@ class VirtualNetworkClient(object):
|
|
20306
20898
|
:rtype: :class:`~oci.response.Response`
|
20307
20899
|
|
20308
20900
|
:example:
|
20309
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20901
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_network_security_groups.py.html>`__ to see an example of how to use list_network_security_groups API.
|
20310
20902
|
"""
|
20311
20903
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20312
20904
|
required_arguments = []
|
@@ -20480,7 +21072,7 @@ class VirtualNetworkClient(object):
|
|
20480
21072
|
:rtype: :class:`~oci.response.Response`
|
20481
21073
|
|
20482
21074
|
:example:
|
20483
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21075
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_private_ips.py.html>`__ to see an example of how to use list_private_ips API.
|
20484
21076
|
"""
|
20485
21077
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20486
21078
|
required_arguments = []
|
@@ -20623,7 +21215,7 @@ class VirtualNetworkClient(object):
|
|
20623
21215
|
:rtype: :class:`~oci.response.Response`
|
20624
21216
|
|
20625
21217
|
:example:
|
20626
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21218
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_public_ip_pools.py.html>`__ to see an example of how to use list_public_ip_pools API.
|
20627
21219
|
"""
|
20628
21220
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20629
21221
|
required_arguments = ['compartmentId']
|
@@ -20801,7 +21393,7 @@ class VirtualNetworkClient(object):
|
|
20801
21393
|
:rtype: :class:`~oci.response.Response`
|
20802
21394
|
|
20803
21395
|
:example:
|
20804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21396
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_public_ips.py.html>`__ to see an example of how to use list_public_ips API.
|
20805
21397
|
"""
|
20806
21398
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20807
21399
|
required_arguments = ['scope', 'compartmentId']
|
@@ -20934,7 +21526,7 @@ class VirtualNetworkClient(object):
|
|
20934
21526
|
:rtype: :class:`~oci.response.Response`
|
20935
21527
|
|
20936
21528
|
:example:
|
20937
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21529
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_remote_peering_connections.py.html>`__ to see an example of how to use list_remote_peering_connections API.
|
20938
21530
|
"""
|
20939
21531
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
20940
21532
|
required_arguments = ['compartmentId']
|
@@ -21080,7 +21672,7 @@ class VirtualNetworkClient(object):
|
|
21080
21672
|
:rtype: :class:`~oci.response.Response`
|
21081
21673
|
|
21082
21674
|
:example:
|
21083
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21675
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_route_tables.py.html>`__ to see an example of how to use list_route_tables API.
|
21084
21676
|
"""
|
21085
21677
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21086
21678
|
required_arguments = ['compartmentId']
|
@@ -21251,7 +21843,7 @@ class VirtualNetworkClient(object):
|
|
21251
21843
|
:rtype: :class:`~oci.response.Response`
|
21252
21844
|
|
21253
21845
|
:example:
|
21254
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
21846
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_security_lists.py.html>`__ to see an example of how to use list_security_lists API.
|
21255
21847
|
"""
|
21256
21848
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21257
21849
|
required_arguments = ['compartmentId']
|
@@ -21419,7 +22011,7 @@ class VirtualNetworkClient(object):
|
|
21419
22011
|
:rtype: :class:`~oci.response.Response`
|
21420
22012
|
|
21421
22013
|
:example:
|
21422
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22014
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_service_gateways.py.html>`__ to see an example of how to use list_service_gateways API.
|
21423
22015
|
"""
|
21424
22016
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21425
22017
|
required_arguments = ['compartmentId']
|
@@ -21551,7 +22143,7 @@ class VirtualNetworkClient(object):
|
|
21551
22143
|
:rtype: :class:`~oci.response.Response`
|
21552
22144
|
|
21553
22145
|
:example:
|
21554
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_services.py.html>`__ to see an example of how to use list_services API.
|
21555
22147
|
"""
|
21556
22148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21557
22149
|
required_arguments = []
|
@@ -21690,7 +22282,7 @@ class VirtualNetworkClient(object):
|
|
21690
22282
|
:rtype: :class:`~oci.response.Response`
|
21691
22283
|
|
21692
22284
|
:example:
|
21693
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_subnets.py.html>`__ to see an example of how to use list_subnets API.
|
21694
22286
|
"""
|
21695
22287
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21696
22288
|
required_arguments = ['compartmentId']
|
@@ -21855,7 +22447,7 @@ class VirtualNetworkClient(object):
|
|
21855
22447
|
:rtype: :class:`~oci.response.Response`
|
21856
22448
|
|
21857
22449
|
:example:
|
21858
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22450
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_vcns.py.html>`__ to see an example of how to use list_vcns API.
|
21859
22451
|
"""
|
21860
22452
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21861
22453
|
required_arguments = ['compartmentId']
|
@@ -21991,7 +22583,7 @@ class VirtualNetworkClient(object):
|
|
21991
22583
|
:rtype: :class:`~oci.response.Response`
|
21992
22584
|
|
21993
22585
|
:example:
|
21994
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22586
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_virtual_circuit_associated_tunnels.py.html>`__ to see an example of how to use list_virtual_circuit_associated_tunnels API.
|
21995
22587
|
"""
|
21996
22588
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
21997
22589
|
required_arguments = ['virtualCircuitId']
|
@@ -22113,7 +22705,7 @@ class VirtualNetworkClient(object):
|
|
22113
22705
|
:rtype: :class:`~oci.response.Response`
|
22114
22706
|
|
22115
22707
|
:example:
|
22116
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22708
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_virtual_circuit_bandwidth_shapes.py.html>`__ to see an example of how to use list_virtual_circuit_bandwidth_shapes API.
|
22117
22709
|
"""
|
22118
22710
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22119
22711
|
required_arguments = ['compartmentId']
|
@@ -22215,7 +22807,7 @@ class VirtualNetworkClient(object):
|
|
22215
22807
|
:rtype: :class:`~oci.response.Response`
|
22216
22808
|
|
22217
22809
|
:example:
|
22218
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22810
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_virtual_circuit_public_prefixes.py.html>`__ to see an example of how to use list_virtual_circuit_public_prefixes API.
|
22219
22811
|
"""
|
22220
22812
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22221
22813
|
required_arguments = ['virtualCircuitId']
|
@@ -22367,7 +22959,7 @@ class VirtualNetworkClient(object):
|
|
22367
22959
|
:rtype: :class:`~oci.response.Response`
|
22368
22960
|
|
22369
22961
|
:example:
|
22370
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
22962
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_virtual_circuits.py.html>`__ to see an example of how to use list_virtual_circuits API.
|
22371
22963
|
"""
|
22372
22964
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22373
22965
|
required_arguments = ['compartmentId']
|
@@ -22541,7 +23133,7 @@ class VirtualNetworkClient(object):
|
|
22541
23133
|
:rtype: :class:`~oci.response.Response`
|
22542
23134
|
|
22543
23135
|
:example:
|
22544
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23136
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_vlans.py.html>`__ to see an example of how to use list_vlans API.
|
22545
23137
|
"""
|
22546
23138
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22547
23139
|
required_arguments = ['compartmentId']
|
@@ -22737,7 +23329,7 @@ class VirtualNetworkClient(object):
|
|
22737
23329
|
:rtype: :class:`~oci.response.Response`
|
22738
23330
|
|
22739
23331
|
:example:
|
22740
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23332
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/list_vtaps.py.html>`__ to see an example of how to use list_vtaps API.
|
22741
23333
|
"""
|
22742
23334
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22743
23335
|
required_arguments = ['compartmentId']
|
@@ -22897,7 +23489,7 @@ class VirtualNetworkClient(object):
|
|
22897
23489
|
:rtype: :class:`~oci.response.Response`
|
22898
23490
|
|
22899
23491
|
:example:
|
22900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23492
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/modify_vcn_cidr.py.html>`__ to see an example of how to use modify_vcn_cidr API.
|
22901
23493
|
"""
|
22902
23494
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
22903
23495
|
required_arguments = ['vcnId']
|
@@ -23000,7 +23592,7 @@ class VirtualNetworkClient(object):
|
|
23000
23592
|
:rtype: :class:`~oci.response.Response`
|
23001
23593
|
|
23002
23594
|
:example:
|
23003
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23595
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_drg_route_distribution_statements.py.html>`__ to see an example of how to use remove_drg_route_distribution_statements API.
|
23004
23596
|
"""
|
23005
23597
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23006
23598
|
required_arguments = ['drgRouteDistributionId']
|
@@ -23091,7 +23683,7 @@ class VirtualNetworkClient(object):
|
|
23091
23683
|
:rtype: :class:`~oci.response.Response`
|
23092
23684
|
|
23093
23685
|
:example:
|
23094
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23686
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_drg_route_rules.py.html>`__ to see an example of how to use remove_drg_route_rules API.
|
23095
23687
|
"""
|
23096
23688
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23097
23689
|
required_arguments = ['drgRouteTableId']
|
@@ -23188,7 +23780,7 @@ class VirtualNetworkClient(object):
|
|
23188
23780
|
:rtype: :class:`~oci.response.Response`
|
23189
23781
|
|
23190
23782
|
:example:
|
23191
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23783
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_export_drg_route_distribution.py.html>`__ to see an example of how to use remove_export_drg_route_distribution API.
|
23192
23784
|
"""
|
23193
23785
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23194
23786
|
required_arguments = ['drgAttachmentId']
|
@@ -23295,7 +23887,7 @@ class VirtualNetworkClient(object):
|
|
23295
23887
|
:rtype: :class:`~oci.response.Response`
|
23296
23888
|
|
23297
23889
|
:example:
|
23298
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
23890
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_import_drg_route_distribution.py.html>`__ to see an example of how to use remove_import_drg_route_distribution API.
|
23299
23891
|
"""
|
23300
23892
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23301
23893
|
required_arguments = ['drgRouteTableId']
|
@@ -23411,7 +24003,7 @@ class VirtualNetworkClient(object):
|
|
23411
24003
|
:rtype: :class:`~oci.response.Response`
|
23412
24004
|
|
23413
24005
|
:example:
|
23414
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24006
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_ipv6_subnet_cidr.py.html>`__ to see an example of how to use remove_ipv6_subnet_cidr API.
|
23415
24007
|
"""
|
23416
24008
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23417
24009
|
required_arguments = ['subnetId']
|
@@ -23530,7 +24122,7 @@ class VirtualNetworkClient(object):
|
|
23530
24122
|
:rtype: :class:`~oci.response.Response`
|
23531
24123
|
|
23532
24124
|
:example:
|
23533
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24125
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_ipv6_vcn_cidr.py.html>`__ to see an example of how to use remove_ipv6_vcn_cidr API.
|
23534
24126
|
"""
|
23535
24127
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23536
24128
|
required_arguments = ['vcnId']
|
@@ -23635,7 +24227,7 @@ class VirtualNetworkClient(object):
|
|
23635
24227
|
:rtype: :class:`~oci.response.Response`
|
23636
24228
|
|
23637
24229
|
:example:
|
23638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24230
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_network_security_group_security_rules.py.html>`__ to see an example of how to use remove_network_security_group_security_rules API.
|
23639
24231
|
"""
|
23640
24232
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23641
24233
|
required_arguments = ['networkSecurityGroupId']
|
@@ -23737,7 +24329,7 @@ class VirtualNetworkClient(object):
|
|
23737
24329
|
:rtype: :class:`~oci.response.Response`
|
23738
24330
|
|
23739
24331
|
:example:
|
23740
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24332
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_public_ip_pool_capacity.py.html>`__ to see an example of how to use remove_public_ip_pool_capacity API.
|
23741
24333
|
"""
|
23742
24334
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23743
24335
|
required_arguments = ['publicIpPoolId']
|
@@ -23860,7 +24452,7 @@ class VirtualNetworkClient(object):
|
|
23860
24452
|
:rtype: :class:`~oci.response.Response`
|
23861
24453
|
|
23862
24454
|
:example:
|
23863
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24455
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/remove_vcn_cidr.py.html>`__ to see an example of how to use remove_vcn_cidr API.
|
23864
24456
|
"""
|
23865
24457
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23866
24458
|
required_arguments = ['vcnId']
|
@@ -23934,9 +24526,9 @@ class VirtualNetworkClient(object):
|
|
23934
24526
|
api_reference_link=api_reference_link,
|
23935
24527
|
required_arguments=required_arguments)
|
23936
24528
|
|
23937
|
-
def
|
24529
|
+
def set_origin_asn(self, byoip_range_id, set_origin_asn_details, **kwargs):
|
23938
24530
|
"""
|
23939
|
-
|
24531
|
+
Update BYOIP's origin ASN to byoasn.
|
23940
24532
|
|
23941
24533
|
|
23942
24534
|
:param str byoip_range_id: (required)
|
@@ -23944,13 +24536,20 @@ class VirtualNetworkClient(object):
|
|
23944
24536
|
|
23945
24537
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
23946
24538
|
|
23947
|
-
:param oci.core.models.
|
23948
|
-
|
24539
|
+
:param oci.core.models.SetOriginAsnDetails set_origin_asn_details: (required)
|
24540
|
+
ASN details
|
23949
24541
|
|
23950
24542
|
:param str opc_request_id: (optional)
|
23951
24543
|
Unique identifier for the request.
|
23952
24544
|
If you need to contact Oracle about a particular request, please provide the request ID.
|
23953
24545
|
|
24546
|
+
:param str opc_retry_token: (optional)
|
24547
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
24548
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
24549
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
24550
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
24551
|
+
may be rejected).
|
24552
|
+
|
23954
24553
|
:param str if_match: (optional)
|
23955
24554
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
23956
24555
|
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
@@ -23959,7 +24558,7 @@ class VirtualNetworkClient(object):
|
|
23959
24558
|
:param obj retry_strategy: (optional)
|
23960
24559
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
23961
24560
|
|
23962
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
24561
|
+
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.
|
23963
24562
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
23964
24563
|
|
23965
24564
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -23968,30 +24567,31 @@ class VirtualNetworkClient(object):
|
|
23968
24567
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
23969
24568
|
By default, the response will not allow control characters in strings
|
23970
24569
|
|
23971
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
24570
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
23972
24571
|
:rtype: :class:`~oci.response.Response`
|
23973
24572
|
|
23974
24573
|
:example:
|
23975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24574
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/set_origin_asn.py.html>`__ to see an example of how to use set_origin_asn API.
|
23976
24575
|
"""
|
23977
24576
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
23978
24577
|
required_arguments = ['byoipRangeId']
|
23979
|
-
resource_path = "/byoipRanges/{byoipRangeId}"
|
23980
|
-
method = "
|
23981
|
-
operation_name = "
|
23982
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/
|
24578
|
+
resource_path = "/byoipRanges/{byoipRangeId}/actions/setOrigin/byoasn"
|
24579
|
+
method = "POST"
|
24580
|
+
operation_name = "set_origin_asn"
|
24581
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/SetOriginAsn"
|
23983
24582
|
|
23984
24583
|
# Don't accept unknown kwargs
|
23985
24584
|
expected_kwargs = [
|
23986
24585
|
"allow_control_chars",
|
23987
24586
|
"retry_strategy",
|
23988
24587
|
"opc_request_id",
|
24588
|
+
"opc_retry_token",
|
23989
24589
|
"if_match"
|
23990
24590
|
]
|
23991
24591
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
23992
24592
|
if extra_kwargs:
|
23993
24593
|
raise ValueError(
|
23994
|
-
f"
|
24594
|
+
f"set_origin_asn got unknown kwargs: {extra_kwargs!r}")
|
23995
24595
|
|
23996
24596
|
path_params = {
|
23997
24597
|
"byoipRangeId": byoip_range_id
|
@@ -24007,6 +24607,7 @@ class VirtualNetworkClient(object):
|
|
24007
24607
|
"accept": "application/json",
|
24008
24608
|
"content-type": "application/json",
|
24009
24609
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
24610
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
24010
24611
|
"if-match": kwargs.get("if_match", missing)
|
24011
24612
|
}
|
24012
24613
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -24015,9 +24616,12 @@ class VirtualNetworkClient(object):
|
|
24015
24616
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
24016
24617
|
client_retry_strategy=self.retry_strategy
|
24017
24618
|
)
|
24619
|
+
if retry_strategy is None:
|
24620
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
24018
24621
|
|
24019
24622
|
if retry_strategy:
|
24020
24623
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
24624
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
24021
24625
|
self.base_client.add_opc_client_retries_header(header_params)
|
24022
24626
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
24023
24627
|
return retry_strategy.make_retrying_call(
|
@@ -24026,8 +24630,7 @@ class VirtualNetworkClient(object):
|
|
24026
24630
|
method=method,
|
24027
24631
|
path_params=path_params,
|
24028
24632
|
header_params=header_params,
|
24029
|
-
body=
|
24030
|
-
response_type="ByoipRange",
|
24633
|
+
body=set_origin_asn_details,
|
24031
24634
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24032
24635
|
operation_name=operation_name,
|
24033
24636
|
api_reference_link=api_reference_link,
|
@@ -24038,35 +24641,31 @@ class VirtualNetworkClient(object):
|
|
24038
24641
|
method=method,
|
24039
24642
|
path_params=path_params,
|
24040
24643
|
header_params=header_params,
|
24041
|
-
body=
|
24042
|
-
response_type="ByoipRange",
|
24644
|
+
body=set_origin_asn_details,
|
24043
24645
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24044
24646
|
operation_name=operation_name,
|
24045
24647
|
api_reference_link=api_reference_link,
|
24046
24648
|
required_arguments=required_arguments)
|
24047
24649
|
|
24048
|
-
def
|
24650
|
+
def set_origin_asn_to_oracle(self, byoip_range_id, **kwargs):
|
24049
24651
|
"""
|
24050
|
-
|
24652
|
+
Update prefix's origin ASN to OCI
|
24051
24653
|
|
24052
24654
|
|
24053
|
-
:param str
|
24054
|
-
The `OCID`__ of the
|
24655
|
+
:param str byoip_range_id: (required)
|
24656
|
+
The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
|
24055
24657
|
|
24056
24658
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
24057
24659
|
|
24058
|
-
:param
|
24059
|
-
|
24660
|
+
:param str opc_request_id: (optional)
|
24661
|
+
Unique identifier for the request.
|
24662
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
24060
24663
|
|
24061
24664
|
:param str if_match: (optional)
|
24062
24665
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
24063
24666
|
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
24064
24667
|
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
24065
24668
|
|
24066
|
-
:param str opc_request_id: (optional)
|
24067
|
-
Unique identifier for the request.
|
24068
|
-
If you need to contact Oracle about a particular request, please provide the request ID.
|
24069
|
-
|
24070
24669
|
:param obj retry_strategy: (optional)
|
24071
24670
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
24072
24671
|
|
@@ -24079,33 +24678,33 @@ class VirtualNetworkClient(object):
|
|
24079
24678
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
24080
24679
|
By default, the response will not allow control characters in strings
|
24081
24680
|
|
24082
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
24681
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
24083
24682
|
:rtype: :class:`~oci.response.Response`
|
24084
24683
|
|
24085
24684
|
:example:
|
24086
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24685
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/set_origin_asn_to_oracle.py.html>`__ to see an example of how to use set_origin_asn_to_oracle API.
|
24087
24686
|
"""
|
24088
24687
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24089
|
-
required_arguments = ['
|
24090
|
-
resource_path = "/
|
24091
|
-
method = "
|
24092
|
-
operation_name = "
|
24093
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
24688
|
+
required_arguments = ['byoipRangeId']
|
24689
|
+
resource_path = "/byoipRanges/{byoipRangeId}/actions/setOrigin/oracleAsn"
|
24690
|
+
method = "POST"
|
24691
|
+
operation_name = "set_origin_asn_to_oracle"
|
24692
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/SetOriginAsnToOracle"
|
24094
24693
|
|
24095
24694
|
# Don't accept unknown kwargs
|
24096
24695
|
expected_kwargs = [
|
24097
24696
|
"allow_control_chars",
|
24098
24697
|
"retry_strategy",
|
24099
|
-
"
|
24100
|
-
"
|
24698
|
+
"opc_request_id",
|
24699
|
+
"if_match"
|
24101
24700
|
]
|
24102
24701
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
24103
24702
|
if extra_kwargs:
|
24104
24703
|
raise ValueError(
|
24105
|
-
f"
|
24704
|
+
f"set_origin_asn_to_oracle got unknown kwargs: {extra_kwargs!r}")
|
24106
24705
|
|
24107
24706
|
path_params = {
|
24108
|
-
"
|
24707
|
+
"byoipRangeId": byoip_range_id
|
24109
24708
|
}
|
24110
24709
|
|
24111
24710
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -24117,8 +24716,8 @@ class VirtualNetworkClient(object):
|
|
24117
24716
|
header_params = {
|
24118
24717
|
"accept": "application/json",
|
24119
24718
|
"content-type": "application/json",
|
24120
|
-
"
|
24121
|
-
"
|
24719
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
24720
|
+
"if-match": kwargs.get("if_match", missing)
|
24122
24721
|
}
|
24123
24722
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
24124
24723
|
|
@@ -24137,8 +24736,6 @@ class VirtualNetworkClient(object):
|
|
24137
24736
|
method=method,
|
24138
24737
|
path_params=path_params,
|
24139
24738
|
header_params=header_params,
|
24140
|
-
body=update_capture_filter_details,
|
24141
|
-
response_type="CaptureFilter",
|
24142
24739
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24143
24740
|
operation_name=operation_name,
|
24144
24741
|
api_reference_link=api_reference_link,
|
@@ -24149,26 +24746,27 @@ class VirtualNetworkClient(object):
|
|
24149
24746
|
method=method,
|
24150
24747
|
path_params=path_params,
|
24151
24748
|
header_params=header_params,
|
24152
|
-
body=update_capture_filter_details,
|
24153
|
-
response_type="CaptureFilter",
|
24154
24749
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24155
24750
|
operation_name=operation_name,
|
24156
24751
|
api_reference_link=api_reference_link,
|
24157
24752
|
required_arguments=required_arguments)
|
24158
24753
|
|
24159
|
-
def
|
24754
|
+
def update_byoasn(self, byoasn_id, update_byoasn_details, **kwargs):
|
24160
24755
|
"""
|
24161
|
-
Updates the
|
24162
|
-
Avoid entering confidential information.
|
24756
|
+
Updates the tags or display name associated with the specified BYOASN Resource.
|
24163
24757
|
|
24164
24758
|
|
24165
|
-
:param str
|
24166
|
-
The `OCID`__ of the
|
24759
|
+
:param str byoasn_id: (required)
|
24760
|
+
The `OCID`__ of the `Byoasn` resource.
|
24167
24761
|
|
24168
24762
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
24169
24763
|
|
24170
|
-
:param oci.core.models.
|
24171
|
-
|
24764
|
+
:param oci.core.models.UpdateByoasnDetails update_byoasn_details: (required)
|
24765
|
+
Byoasn Range details.
|
24766
|
+
|
24767
|
+
:param str opc_request_id: (optional)
|
24768
|
+
Unique identifier for the request.
|
24769
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
24172
24770
|
|
24173
24771
|
:param str if_match: (optional)
|
24174
24772
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
@@ -24178,7 +24776,7 @@ class VirtualNetworkClient(object):
|
|
24178
24776
|
:param obj retry_strategy: (optional)
|
24179
24777
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
24180
24778
|
|
24181
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
24779
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
24182
24780
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
24183
24781
|
|
24184
24782
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -24187,32 +24785,33 @@ class VirtualNetworkClient(object):
|
|
24187
24785
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
24188
24786
|
By default, the response will not allow control characters in strings
|
24189
24787
|
|
24190
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.
|
24788
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Byoasn`
|
24191
24789
|
:rtype: :class:`~oci.response.Response`
|
24192
24790
|
|
24193
24791
|
:example:
|
24194
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24792
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_byoasn.py.html>`__ to see an example of how to use update_byoasn API.
|
24195
24793
|
"""
|
24196
24794
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24197
|
-
required_arguments = ['
|
24198
|
-
resource_path = "/
|
24795
|
+
required_arguments = ['byoasnId']
|
24796
|
+
resource_path = "/byoasns/{byoasnId}"
|
24199
24797
|
method = "PUT"
|
24200
|
-
operation_name = "
|
24201
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
24798
|
+
operation_name = "update_byoasn"
|
24799
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/UpdateByoasn"
|
24202
24800
|
|
24203
24801
|
# Don't accept unknown kwargs
|
24204
24802
|
expected_kwargs = [
|
24205
24803
|
"allow_control_chars",
|
24206
24804
|
"retry_strategy",
|
24805
|
+
"opc_request_id",
|
24207
24806
|
"if_match"
|
24208
24807
|
]
|
24209
24808
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
24210
24809
|
if extra_kwargs:
|
24211
24810
|
raise ValueError(
|
24212
|
-
f"
|
24811
|
+
f"update_byoasn got unknown kwargs: {extra_kwargs!r}")
|
24213
24812
|
|
24214
24813
|
path_params = {
|
24215
|
-
"
|
24814
|
+
"byoasnId": byoasn_id
|
24216
24815
|
}
|
24217
24816
|
|
24218
24817
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -24224,6 +24823,7 @@ class VirtualNetworkClient(object):
|
|
24224
24823
|
header_params = {
|
24225
24824
|
"accept": "application/json",
|
24226
24825
|
"content-type": "application/json",
|
24826
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
24227
24827
|
"if-match": kwargs.get("if_match", missing)
|
24228
24828
|
}
|
24229
24829
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -24232,8 +24832,6 @@ class VirtualNetworkClient(object):
|
|
24232
24832
|
operation_retry_strategy=kwargs.get('retry_strategy'),
|
24233
24833
|
client_retry_strategy=self.retry_strategy
|
24234
24834
|
)
|
24235
|
-
if retry_strategy is None:
|
24236
|
-
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
24237
24835
|
|
24238
24836
|
if retry_strategy:
|
24239
24837
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
@@ -24245,8 +24843,8 @@ class VirtualNetworkClient(object):
|
|
24245
24843
|
method=method,
|
24246
24844
|
path_params=path_params,
|
24247
24845
|
header_params=header_params,
|
24248
|
-
body=
|
24249
|
-
response_type="
|
24846
|
+
body=update_byoasn_details,
|
24847
|
+
response_type="Byoasn",
|
24250
24848
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24251
24849
|
operation_name=operation_name,
|
24252
24850
|
api_reference_link=api_reference_link,
|
@@ -24257,25 +24855,29 @@ class VirtualNetworkClient(object):
|
|
24257
24855
|
method=method,
|
24258
24856
|
path_params=path_params,
|
24259
24857
|
header_params=header_params,
|
24260
|
-
body=
|
24261
|
-
response_type="
|
24858
|
+
body=update_byoasn_details,
|
24859
|
+
response_type="Byoasn",
|
24262
24860
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
24263
24861
|
operation_name=operation_name,
|
24264
24862
|
api_reference_link=api_reference_link,
|
24265
24863
|
required_arguments=required_arguments)
|
24266
24864
|
|
24267
|
-
def
|
24865
|
+
def update_byoip_range(self, byoip_range_id, update_byoip_range_details, **kwargs):
|
24268
24866
|
"""
|
24269
|
-
Updates the specified
|
24867
|
+
Updates the tags or display name associated to the specified BYOIP CIDR block.
|
24270
24868
|
|
24271
24869
|
|
24272
|
-
:param str
|
24273
|
-
The `OCID`__ of the
|
24870
|
+
:param str byoip_range_id: (required)
|
24871
|
+
The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
|
24274
24872
|
|
24275
24873
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
24276
24874
|
|
24277
|
-
:param oci.core.models.
|
24278
|
-
|
24875
|
+
:param oci.core.models.UpdateByoipRangeDetails update_byoip_range_details: (required)
|
24876
|
+
Byoip Range details.
|
24877
|
+
|
24878
|
+
:param str opc_request_id: (optional)
|
24879
|
+
Unique identifier for the request.
|
24880
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
24279
24881
|
|
24280
24882
|
:param str if_match: (optional)
|
24281
24883
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
@@ -24285,7 +24887,7 @@ class VirtualNetworkClient(object):
|
|
24285
24887
|
:param obj retry_strategy: (optional)
|
24286
24888
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
24287
24889
|
|
24288
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation
|
24890
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
24289
24891
|
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
24290
24892
|
|
24291
24893
|
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
@@ -24294,18 +24896,344 @@ class VirtualNetworkClient(object):
|
|
24294
24896
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
24295
24897
|
By default, the response will not allow control characters in strings
|
24296
24898
|
|
24297
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.
|
24899
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ByoipRange`
|
24298
24900
|
:rtype: :class:`~oci.response.Response`
|
24299
24901
|
|
24300
24902
|
:example:
|
24301
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
24903
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_byoip_range.py.html>`__ to see an example of how to use update_byoip_range API.
|
24302
24904
|
"""
|
24303
24905
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24304
|
-
required_arguments = ['
|
24305
|
-
resource_path = "/
|
24906
|
+
required_arguments = ['byoipRangeId']
|
24907
|
+
resource_path = "/byoipRanges/{byoipRangeId}"
|
24306
24908
|
method = "PUT"
|
24307
|
-
operation_name = "
|
24308
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
24909
|
+
operation_name = "update_byoip_range"
|
24910
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/UpdateByoipRange"
|
24911
|
+
|
24912
|
+
# Don't accept unknown kwargs
|
24913
|
+
expected_kwargs = [
|
24914
|
+
"allow_control_chars",
|
24915
|
+
"retry_strategy",
|
24916
|
+
"opc_request_id",
|
24917
|
+
"if_match"
|
24918
|
+
]
|
24919
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
24920
|
+
if extra_kwargs:
|
24921
|
+
raise ValueError(
|
24922
|
+
f"update_byoip_range got unknown kwargs: {extra_kwargs!r}")
|
24923
|
+
|
24924
|
+
path_params = {
|
24925
|
+
"byoipRangeId": byoip_range_id
|
24926
|
+
}
|
24927
|
+
|
24928
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
24929
|
+
|
24930
|
+
for (k, v) in six.iteritems(path_params):
|
24931
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
24932
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
24933
|
+
|
24934
|
+
header_params = {
|
24935
|
+
"accept": "application/json",
|
24936
|
+
"content-type": "application/json",
|
24937
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
24938
|
+
"if-match": kwargs.get("if_match", missing)
|
24939
|
+
}
|
24940
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
24941
|
+
|
24942
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
24943
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
24944
|
+
client_retry_strategy=self.retry_strategy
|
24945
|
+
)
|
24946
|
+
|
24947
|
+
if retry_strategy:
|
24948
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
24949
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
24950
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
24951
|
+
return retry_strategy.make_retrying_call(
|
24952
|
+
self.base_client.call_api,
|
24953
|
+
resource_path=resource_path,
|
24954
|
+
method=method,
|
24955
|
+
path_params=path_params,
|
24956
|
+
header_params=header_params,
|
24957
|
+
body=update_byoip_range_details,
|
24958
|
+
response_type="ByoipRange",
|
24959
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
24960
|
+
operation_name=operation_name,
|
24961
|
+
api_reference_link=api_reference_link,
|
24962
|
+
required_arguments=required_arguments)
|
24963
|
+
else:
|
24964
|
+
return self.base_client.call_api(
|
24965
|
+
resource_path=resource_path,
|
24966
|
+
method=method,
|
24967
|
+
path_params=path_params,
|
24968
|
+
header_params=header_params,
|
24969
|
+
body=update_byoip_range_details,
|
24970
|
+
response_type="ByoipRange",
|
24971
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
24972
|
+
operation_name=operation_name,
|
24973
|
+
api_reference_link=api_reference_link,
|
24974
|
+
required_arguments=required_arguments)
|
24975
|
+
|
24976
|
+
def update_capture_filter(self, capture_filter_id, update_capture_filter_details, **kwargs):
|
24977
|
+
"""
|
24978
|
+
Updates the specified VTAP capture filter's display name or tags.
|
24979
|
+
|
24980
|
+
|
24981
|
+
:param str capture_filter_id: (required)
|
24982
|
+
The `OCID`__ of the capture filter.
|
24983
|
+
|
24984
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
24985
|
+
|
24986
|
+
:param oci.core.models.UpdateCaptureFilterDetails update_capture_filter_details: (required)
|
24987
|
+
Details object for updating a VTAP.
|
24988
|
+
|
24989
|
+
:param str if_match: (optional)
|
24990
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
24991
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
24992
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
24993
|
+
|
24994
|
+
:param str opc_request_id: (optional)
|
24995
|
+
Unique identifier for the request.
|
24996
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
24997
|
+
|
24998
|
+
:param obj retry_strategy: (optional)
|
24999
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
25000
|
+
|
25001
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
25002
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
25003
|
+
|
25004
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
25005
|
+
|
25006
|
+
:param bool allow_control_chars: (optional)
|
25007
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
25008
|
+
By default, the response will not allow control characters in strings
|
25009
|
+
|
25010
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.CaptureFilter`
|
25011
|
+
:rtype: :class:`~oci.response.Response`
|
25012
|
+
|
25013
|
+
:example:
|
25014
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_capture_filter.py.html>`__ to see an example of how to use update_capture_filter API.
|
25015
|
+
"""
|
25016
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25017
|
+
required_arguments = ['captureFilterId']
|
25018
|
+
resource_path = "/captureFilters/{captureFilterId}"
|
25019
|
+
method = "PUT"
|
25020
|
+
operation_name = "update_capture_filter"
|
25021
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/UpdateCaptureFilter"
|
25022
|
+
|
25023
|
+
# Don't accept unknown kwargs
|
25024
|
+
expected_kwargs = [
|
25025
|
+
"allow_control_chars",
|
25026
|
+
"retry_strategy",
|
25027
|
+
"if_match",
|
25028
|
+
"opc_request_id"
|
25029
|
+
]
|
25030
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
25031
|
+
if extra_kwargs:
|
25032
|
+
raise ValueError(
|
25033
|
+
f"update_capture_filter got unknown kwargs: {extra_kwargs!r}")
|
25034
|
+
|
25035
|
+
path_params = {
|
25036
|
+
"captureFilterId": capture_filter_id
|
25037
|
+
}
|
25038
|
+
|
25039
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
25040
|
+
|
25041
|
+
for (k, v) in six.iteritems(path_params):
|
25042
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
25043
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
25044
|
+
|
25045
|
+
header_params = {
|
25046
|
+
"accept": "application/json",
|
25047
|
+
"content-type": "application/json",
|
25048
|
+
"if-match": kwargs.get("if_match", missing),
|
25049
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
25050
|
+
}
|
25051
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
25052
|
+
|
25053
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
25054
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
25055
|
+
client_retry_strategy=self.retry_strategy
|
25056
|
+
)
|
25057
|
+
|
25058
|
+
if retry_strategy:
|
25059
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
25060
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
25061
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
25062
|
+
return retry_strategy.make_retrying_call(
|
25063
|
+
self.base_client.call_api,
|
25064
|
+
resource_path=resource_path,
|
25065
|
+
method=method,
|
25066
|
+
path_params=path_params,
|
25067
|
+
header_params=header_params,
|
25068
|
+
body=update_capture_filter_details,
|
25069
|
+
response_type="CaptureFilter",
|
25070
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
25071
|
+
operation_name=operation_name,
|
25072
|
+
api_reference_link=api_reference_link,
|
25073
|
+
required_arguments=required_arguments)
|
25074
|
+
else:
|
25075
|
+
return self.base_client.call_api(
|
25076
|
+
resource_path=resource_path,
|
25077
|
+
method=method,
|
25078
|
+
path_params=path_params,
|
25079
|
+
header_params=header_params,
|
25080
|
+
body=update_capture_filter_details,
|
25081
|
+
response_type="CaptureFilter",
|
25082
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
25083
|
+
operation_name=operation_name,
|
25084
|
+
api_reference_link=api_reference_link,
|
25085
|
+
required_arguments=required_arguments)
|
25086
|
+
|
25087
|
+
def update_cpe(self, cpe_id, update_cpe_details, **kwargs):
|
25088
|
+
"""
|
25089
|
+
Updates the specified CPE's display name or tags.
|
25090
|
+
Avoid entering confidential information.
|
25091
|
+
|
25092
|
+
|
25093
|
+
:param str cpe_id: (required)
|
25094
|
+
The `OCID`__ of the CPE.
|
25095
|
+
|
25096
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
25097
|
+
|
25098
|
+
:param oci.core.models.UpdateCpeDetails update_cpe_details: (required)
|
25099
|
+
Details object for updating a CPE.
|
25100
|
+
|
25101
|
+
:param str if_match: (optional)
|
25102
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
25103
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
25104
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
25105
|
+
|
25106
|
+
:param obj retry_strategy: (optional)
|
25107
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
25108
|
+
|
25109
|
+
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.
|
25110
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
25111
|
+
|
25112
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
25113
|
+
|
25114
|
+
:param bool allow_control_chars: (optional)
|
25115
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
25116
|
+
By default, the response will not allow control characters in strings
|
25117
|
+
|
25118
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Cpe`
|
25119
|
+
:rtype: :class:`~oci.response.Response`
|
25120
|
+
|
25121
|
+
:example:
|
25122
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_cpe.py.html>`__ to see an example of how to use update_cpe API.
|
25123
|
+
"""
|
25124
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25125
|
+
required_arguments = ['cpeId']
|
25126
|
+
resource_path = "/cpes/{cpeId}"
|
25127
|
+
method = "PUT"
|
25128
|
+
operation_name = "update_cpe"
|
25129
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/UpdateCpe"
|
25130
|
+
|
25131
|
+
# Don't accept unknown kwargs
|
25132
|
+
expected_kwargs = [
|
25133
|
+
"allow_control_chars",
|
25134
|
+
"retry_strategy",
|
25135
|
+
"if_match"
|
25136
|
+
]
|
25137
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
25138
|
+
if extra_kwargs:
|
25139
|
+
raise ValueError(
|
25140
|
+
f"update_cpe got unknown kwargs: {extra_kwargs!r}")
|
25141
|
+
|
25142
|
+
path_params = {
|
25143
|
+
"cpeId": cpe_id
|
25144
|
+
}
|
25145
|
+
|
25146
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
25147
|
+
|
25148
|
+
for (k, v) in six.iteritems(path_params):
|
25149
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
25150
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
25151
|
+
|
25152
|
+
header_params = {
|
25153
|
+
"accept": "application/json",
|
25154
|
+
"content-type": "application/json",
|
25155
|
+
"if-match": kwargs.get("if_match", missing)
|
25156
|
+
}
|
25157
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
25158
|
+
|
25159
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
25160
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
25161
|
+
client_retry_strategy=self.retry_strategy
|
25162
|
+
)
|
25163
|
+
if retry_strategy is None:
|
25164
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
25165
|
+
|
25166
|
+
if retry_strategy:
|
25167
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
25168
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
25169
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
25170
|
+
return retry_strategy.make_retrying_call(
|
25171
|
+
self.base_client.call_api,
|
25172
|
+
resource_path=resource_path,
|
25173
|
+
method=method,
|
25174
|
+
path_params=path_params,
|
25175
|
+
header_params=header_params,
|
25176
|
+
body=update_cpe_details,
|
25177
|
+
response_type="Cpe",
|
25178
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
25179
|
+
operation_name=operation_name,
|
25180
|
+
api_reference_link=api_reference_link,
|
25181
|
+
required_arguments=required_arguments)
|
25182
|
+
else:
|
25183
|
+
return self.base_client.call_api(
|
25184
|
+
resource_path=resource_path,
|
25185
|
+
method=method,
|
25186
|
+
path_params=path_params,
|
25187
|
+
header_params=header_params,
|
25188
|
+
body=update_cpe_details,
|
25189
|
+
response_type="Cpe",
|
25190
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
25191
|
+
operation_name=operation_name,
|
25192
|
+
api_reference_link=api_reference_link,
|
25193
|
+
required_arguments=required_arguments)
|
25194
|
+
|
25195
|
+
def update_cross_connect(self, cross_connect_id, update_cross_connect_details, **kwargs):
|
25196
|
+
"""
|
25197
|
+
Updates the specified cross-connect.
|
25198
|
+
|
25199
|
+
|
25200
|
+
:param str cross_connect_id: (required)
|
25201
|
+
The `OCID`__ of the cross-connect.
|
25202
|
+
|
25203
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
25204
|
+
|
25205
|
+
:param oci.core.models.UpdateCrossConnectDetails update_cross_connect_details: (required)
|
25206
|
+
Update CrossConnect fields.
|
25207
|
+
|
25208
|
+
:param str if_match: (optional)
|
25209
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
25210
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
25211
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
25212
|
+
|
25213
|
+
:param obj retry_strategy: (optional)
|
25214
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
25215
|
+
|
25216
|
+
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.
|
25217
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
25218
|
+
|
25219
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
25220
|
+
|
25221
|
+
:param bool allow_control_chars: (optional)
|
25222
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
25223
|
+
By default, the response will not allow control characters in strings
|
25224
|
+
|
25225
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.CrossConnect`
|
25226
|
+
:rtype: :class:`~oci.response.Response`
|
25227
|
+
|
25228
|
+
:example:
|
25229
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_cross_connect.py.html>`__ to see an example of how to use update_cross_connect API.
|
25230
|
+
"""
|
25231
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25232
|
+
required_arguments = ['crossConnectId']
|
25233
|
+
resource_path = "/crossConnects/{crossConnectId}"
|
25234
|
+
method = "PUT"
|
25235
|
+
operation_name = "update_cross_connect"
|
25236
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/UpdateCrossConnect"
|
24309
25237
|
|
24310
25238
|
# Don't accept unknown kwargs
|
24311
25239
|
expected_kwargs = [
|
@@ -24406,7 +25334,7 @@ class VirtualNetworkClient(object):
|
|
24406
25334
|
:rtype: :class:`~oci.response.Response`
|
24407
25335
|
|
24408
25336
|
:example:
|
24409
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25337
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_cross_connect_group.py.html>`__ to see an example of how to use update_cross_connect_group API.
|
24410
25338
|
"""
|
24411
25339
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24412
25340
|
required_arguments = ['crossConnectGroupId']
|
@@ -24516,7 +25444,7 @@ class VirtualNetworkClient(object):
|
|
24516
25444
|
:rtype: :class:`~oci.response.Response`
|
24517
25445
|
|
24518
25446
|
:example:
|
24519
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25447
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_dhcp_options.py.html>`__ to see an example of how to use update_dhcp_options API.
|
24520
25448
|
"""
|
24521
25449
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24522
25450
|
required_arguments = ['dhcpId']
|
@@ -24621,7 +25549,7 @@ class VirtualNetworkClient(object):
|
|
24621
25549
|
:rtype: :class:`~oci.response.Response`
|
24622
25550
|
|
24623
25551
|
:example:
|
24624
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25552
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg.py.html>`__ to see an example of how to use update_drg API.
|
24625
25553
|
"""
|
24626
25554
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24627
25555
|
required_arguments = ['drgId']
|
@@ -24727,7 +25655,7 @@ class VirtualNetworkClient(object):
|
|
24727
25655
|
:rtype: :class:`~oci.response.Response`
|
24728
25656
|
|
24729
25657
|
:example:
|
24730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25658
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg_attachment.py.html>`__ to see an example of how to use update_drg_attachment API.
|
24731
25659
|
"""
|
24732
25660
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24733
25661
|
required_arguments = ['drgAttachmentId']
|
@@ -24832,7 +25760,7 @@ class VirtualNetworkClient(object):
|
|
24832
25760
|
:rtype: :class:`~oci.response.Response`
|
24833
25761
|
|
24834
25762
|
:example:
|
24835
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg_route_distribution.py.html>`__ to see an example of how to use update_drg_route_distribution API.
|
24836
25764
|
"""
|
24837
25765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24838
25766
|
required_arguments = ['drgRouteDistributionId']
|
@@ -24932,7 +25860,7 @@ class VirtualNetworkClient(object):
|
|
24932
25860
|
:rtype: :class:`~oci.response.Response`
|
24933
25861
|
|
24934
25862
|
:example:
|
24935
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25863
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg_route_distribution_statements.py.html>`__ to see an example of how to use update_drg_route_distribution_statements API.
|
24936
25864
|
"""
|
24937
25865
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
24938
25866
|
required_arguments = ['drgRouteDistributionId']
|
@@ -25025,7 +25953,7 @@ class VirtualNetworkClient(object):
|
|
25025
25953
|
:rtype: :class:`~oci.response.Response`
|
25026
25954
|
|
25027
25955
|
:example:
|
25028
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
25956
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg_route_rules.py.html>`__ to see an example of how to use update_drg_route_rules API.
|
25029
25957
|
"""
|
25030
25958
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25031
25959
|
required_arguments = ['drgRouteTableId']
|
@@ -25123,7 +26051,7 @@ class VirtualNetworkClient(object):
|
|
25123
26051
|
:rtype: :class:`~oci.response.Response`
|
25124
26052
|
|
25125
26053
|
:example:
|
25126
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26054
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_drg_route_table.py.html>`__ to see an example of how to use update_drg_route_table API.
|
25127
26055
|
"""
|
25128
26056
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25129
26057
|
required_arguments = ['drgRouteTableId']
|
@@ -25232,7 +26160,7 @@ class VirtualNetworkClient(object):
|
|
25232
26160
|
:rtype: :class:`~oci.response.Response`
|
25233
26161
|
|
25234
26162
|
:example:
|
25235
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_internet_gateway.py.html>`__ to see an example of how to use update_internet_gateway API.
|
25236
26164
|
"""
|
25237
26165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25238
26166
|
required_arguments = ['igId']
|
@@ -25340,7 +26268,7 @@ class VirtualNetworkClient(object):
|
|
25340
26268
|
:rtype: :class:`~oci.response.Response`
|
25341
26269
|
|
25342
26270
|
:example:
|
25343
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26271
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_ip_sec_connection.py.html>`__ to see an example of how to use update_ip_sec_connection API.
|
25344
26272
|
"""
|
25345
26273
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25346
26274
|
required_arguments = ['ipscId']
|
@@ -25467,7 +26395,7 @@ class VirtualNetworkClient(object):
|
|
25467
26395
|
:rtype: :class:`~oci.response.Response`
|
25468
26396
|
|
25469
26397
|
:example:
|
25470
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26398
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_ip_sec_connection_tunnel.py.html>`__ to see an example of how to use update_ip_sec_connection_tunnel API.
|
25471
26399
|
"""
|
25472
26400
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25473
26401
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -25584,7 +26512,7 @@ class VirtualNetworkClient(object):
|
|
25584
26512
|
:rtype: :class:`~oci.response.Response`
|
25585
26513
|
|
25586
26514
|
:example:
|
25587
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26515
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_ip_sec_connection_tunnel_shared_secret.py.html>`__ to see an example of how to use update_ip_sec_connection_tunnel_shared_secret API.
|
25588
26516
|
"""
|
25589
26517
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25590
26518
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -25704,7 +26632,7 @@ class VirtualNetworkClient(object):
|
|
25704
26632
|
:rtype: :class:`~oci.response.Response`
|
25705
26633
|
|
25706
26634
|
:example:
|
25707
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26635
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_ipv6.py.html>`__ to see an example of how to use update_ipv6 API.
|
25708
26636
|
"""
|
25709
26637
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25710
26638
|
required_arguments = ['ipv6Id']
|
@@ -25811,7 +26739,7 @@ class VirtualNetworkClient(object):
|
|
25811
26739
|
:rtype: :class:`~oci.response.Response`
|
25812
26740
|
|
25813
26741
|
:example:
|
25814
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26742
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_local_peering_gateway.py.html>`__ to see an example of how to use update_local_peering_gateway API.
|
25815
26743
|
"""
|
25816
26744
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25817
26745
|
required_arguments = ['localPeeringGatewayId']
|
@@ -25916,7 +26844,7 @@ class VirtualNetworkClient(object):
|
|
25916
26844
|
:rtype: :class:`~oci.response.Response`
|
25917
26845
|
|
25918
26846
|
:example:
|
25919
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26847
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_nat_gateway.py.html>`__ to see an example of how to use update_nat_gateway API.
|
25920
26848
|
"""
|
25921
26849
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
25922
26850
|
required_arguments = ['natGatewayId']
|
@@ -26037,7 +26965,7 @@ class VirtualNetworkClient(object):
|
|
26037
26965
|
:rtype: :class:`~oci.response.Response`
|
26038
26966
|
|
26039
26967
|
:example:
|
26040
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
26968
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_network_security_group.py.html>`__ to see an example of how to use update_network_security_group API.
|
26041
26969
|
"""
|
26042
26970
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26043
26971
|
required_arguments = ['networkSecurityGroupId']
|
@@ -26138,7 +27066,7 @@ class VirtualNetworkClient(object):
|
|
26138
27066
|
:rtype: :class:`~oci.response.Response`
|
26139
27067
|
|
26140
27068
|
:example:
|
26141
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27069
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_network_security_group_security_rules.py.html>`__ to see an example of how to use update_network_security_group_security_rules API.
|
26142
27070
|
"""
|
26143
27071
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26144
27072
|
required_arguments = ['networkSecurityGroupId']
|
@@ -26247,7 +27175,7 @@ class VirtualNetworkClient(object):
|
|
26247
27175
|
:rtype: :class:`~oci.response.Response`
|
26248
27176
|
|
26249
27177
|
:example:
|
26250
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27178
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_private_ip.py.html>`__ to see an example of how to use update_private_ip API.
|
26251
27179
|
"""
|
26252
27180
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26253
27181
|
required_arguments = ['privateIpId']
|
@@ -26393,7 +27321,7 @@ class VirtualNetworkClient(object):
|
|
26393
27321
|
:rtype: :class:`~oci.response.Response`
|
26394
27322
|
|
26395
27323
|
:example:
|
26396
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27324
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_public_ip.py.html>`__ to see an example of how to use update_public_ip API.
|
26397
27325
|
"""
|
26398
27326
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26399
27327
|
required_arguments = ['publicIpId']
|
@@ -26502,7 +27430,7 @@ class VirtualNetworkClient(object):
|
|
26502
27430
|
:rtype: :class:`~oci.response.Response`
|
26503
27431
|
|
26504
27432
|
:example:
|
26505
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27433
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_public_ip_pool.py.html>`__ to see an example of how to use update_public_ip_pool API.
|
26506
27434
|
"""
|
26507
27435
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26508
27436
|
required_arguments = ['publicIpPoolId']
|
@@ -26609,7 +27537,7 @@ class VirtualNetworkClient(object):
|
|
26609
27537
|
:rtype: :class:`~oci.response.Response`
|
26610
27538
|
|
26611
27539
|
:example:
|
26612
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_remote_peering_connection.py.html>`__ to see an example of how to use update_remote_peering_connection API.
|
26613
27541
|
"""
|
26614
27542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26615
27543
|
required_arguments = ['remotePeeringConnectionId']
|
@@ -26719,7 +27647,7 @@ class VirtualNetworkClient(object):
|
|
26719
27647
|
:rtype: :class:`~oci.response.Response`
|
26720
27648
|
|
26721
27649
|
:example:
|
26722
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27650
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_route_table.py.html>`__ to see an example of how to use update_route_table API.
|
26723
27651
|
"""
|
26724
27652
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26725
27653
|
required_arguments = ['rtId']
|
@@ -26828,7 +27756,7 @@ class VirtualNetworkClient(object):
|
|
26828
27756
|
:rtype: :class:`~oci.response.Response`
|
26829
27757
|
|
26830
27758
|
:example:
|
26831
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27759
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_security_list.py.html>`__ to see an example of how to use update_security_list API.
|
26832
27760
|
"""
|
26833
27761
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26834
27762
|
required_arguments = ['securityListId']
|
@@ -26934,7 +27862,7 @@ class VirtualNetworkClient(object):
|
|
26934
27862
|
:rtype: :class:`~oci.response.Response`
|
26935
27863
|
|
26936
27864
|
:example:
|
26937
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27865
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_service_gateway.py.html>`__ to see an example of how to use update_service_gateway API.
|
26938
27866
|
"""
|
26939
27867
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
26940
27868
|
required_arguments = ['serviceGatewayId']
|
@@ -27039,7 +27967,7 @@ class VirtualNetworkClient(object):
|
|
27039
27967
|
:rtype: :class:`~oci.response.Response`
|
27040
27968
|
|
27041
27969
|
:example:
|
27042
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
27970
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_subnet.py.html>`__ to see an example of how to use update_subnet API.
|
27043
27971
|
"""
|
27044
27972
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27045
27973
|
required_arguments = ['subnetId']
|
@@ -27162,7 +28090,7 @@ class VirtualNetworkClient(object):
|
|
27162
28090
|
:rtype: :class:`~oci.response.Response`
|
27163
28091
|
|
27164
28092
|
:example:
|
27165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28093
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_tunnel_cpe_device_config.py.html>`__ to see an example of how to use update_tunnel_cpe_device_config API.
|
27166
28094
|
"""
|
27167
28095
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27168
28096
|
required_arguments = ['ipscId', 'tunnelId']
|
@@ -27275,7 +28203,7 @@ class VirtualNetworkClient(object):
|
|
27275
28203
|
:rtype: :class:`~oci.response.Response`
|
27276
28204
|
|
27277
28205
|
:example:
|
27278
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28206
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_vcn.py.html>`__ to see an example of how to use update_vcn API.
|
27279
28207
|
"""
|
27280
28208
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27281
28209
|
required_arguments = ['vcnId']
|
@@ -27405,7 +28333,7 @@ class VirtualNetworkClient(object):
|
|
27405
28333
|
:rtype: :class:`~oci.response.Response`
|
27406
28334
|
|
27407
28335
|
:example:
|
27408
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28336
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_virtual_circuit.py.html>`__ to see an example of how to use update_virtual_circuit API.
|
27409
28337
|
"""
|
27410
28338
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27411
28339
|
required_arguments = ['virtualCircuitId']
|
@@ -27517,7 +28445,7 @@ class VirtualNetworkClient(object):
|
|
27517
28445
|
:rtype: :class:`~oci.response.Response`
|
27518
28446
|
|
27519
28447
|
:example:
|
27520
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_vlan.py.html>`__ to see an example of how to use update_vlan API.
|
27521
28449
|
"""
|
27522
28450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27523
28451
|
required_arguments = ['vlanId']
|
@@ -27624,7 +28552,7 @@ class VirtualNetworkClient(object):
|
|
27624
28552
|
:rtype: :class:`~oci.response.Response`
|
27625
28553
|
|
27626
28554
|
:example:
|
27627
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28555
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_vnic.py.html>`__ to see an example of how to use update_vnic API.
|
27628
28556
|
"""
|
27629
28557
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27630
28558
|
required_arguments = ['vnicId']
|
@@ -27733,7 +28661,7 @@ class VirtualNetworkClient(object):
|
|
27733
28661
|
:rtype: :class:`~oci.response.Response`
|
27734
28662
|
|
27735
28663
|
:example:
|
27736
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28664
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/update_vtap.py.html>`__ to see an example of how to use update_vtap API.
|
27737
28665
|
"""
|
27738
28666
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27739
28667
|
required_arguments = ['vtapId']
|
@@ -27844,7 +28772,7 @@ class VirtualNetworkClient(object):
|
|
27844
28772
|
:rtype: :class:`~oci.response.Response`
|
27845
28773
|
|
27846
28774
|
:example:
|
27847
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28775
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/upgrade_drg.py.html>`__ to see an example of how to use upgrade_drg API.
|
27848
28776
|
"""
|
27849
28777
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27850
28778
|
required_arguments = ['drgId']
|
@@ -27914,6 +28842,125 @@ class VirtualNetworkClient(object):
|
|
27914
28842
|
api_reference_link=api_reference_link,
|
27915
28843
|
required_arguments=required_arguments)
|
27916
28844
|
|
28845
|
+
def validate_byoasn(self, byoasn_id, **kwargs):
|
28846
|
+
"""
|
28847
|
+
Submits the BYOASN for validation. Please do not submit to Oracle for validation if the information for the BYOASN is not already modified in the Regional Internet Registry.
|
28848
|
+
See `To import a BYOASN`__ for details.
|
28849
|
+
|
28850
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm
|
28851
|
+
|
28852
|
+
|
28853
|
+
:param str byoasn_id: (required)
|
28854
|
+
The `OCID`__ of the `Byoasn` resource.
|
28855
|
+
|
28856
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
28857
|
+
|
28858
|
+
:param str opc_request_id: (optional)
|
28859
|
+
Unique identifier for the request.
|
28860
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
28861
|
+
|
28862
|
+
:param str if_match: (optional)
|
28863
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
28864
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
28865
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
28866
|
+
|
28867
|
+
:param str opc_retry_token: (optional)
|
28868
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
28869
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
28870
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
28871
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
28872
|
+
may be rejected).
|
28873
|
+
|
28874
|
+
:param obj retry_strategy: (optional)
|
28875
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
28876
|
+
|
28877
|
+
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.
|
28878
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
28879
|
+
|
28880
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
28881
|
+
|
28882
|
+
:param bool allow_control_chars: (optional)
|
28883
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
28884
|
+
By default, the response will not allow control characters in strings
|
28885
|
+
|
28886
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
28887
|
+
:rtype: :class:`~oci.response.Response`
|
28888
|
+
|
28889
|
+
:example:
|
28890
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/validate_byoasn.py.html>`__ to see an example of how to use validate_byoasn API.
|
28891
|
+
"""
|
28892
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
28893
|
+
required_arguments = ['byoasnId']
|
28894
|
+
resource_path = "/byoasns/{byoasnId}/actions/validate"
|
28895
|
+
method = "POST"
|
28896
|
+
operation_name = "validate_byoasn"
|
28897
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ValidateByoasn"
|
28898
|
+
|
28899
|
+
# Don't accept unknown kwargs
|
28900
|
+
expected_kwargs = [
|
28901
|
+
"allow_control_chars",
|
28902
|
+
"retry_strategy",
|
28903
|
+
"opc_request_id",
|
28904
|
+
"if_match",
|
28905
|
+
"opc_retry_token"
|
28906
|
+
]
|
28907
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
28908
|
+
if extra_kwargs:
|
28909
|
+
raise ValueError(
|
28910
|
+
f"validate_byoasn got unknown kwargs: {extra_kwargs!r}")
|
28911
|
+
|
28912
|
+
path_params = {
|
28913
|
+
"byoasnId": byoasn_id
|
28914
|
+
}
|
28915
|
+
|
28916
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
28917
|
+
|
28918
|
+
for (k, v) in six.iteritems(path_params):
|
28919
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
28920
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
28921
|
+
|
28922
|
+
header_params = {
|
28923
|
+
"accept": "application/json",
|
28924
|
+
"content-type": "application/json",
|
28925
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
28926
|
+
"if-match": kwargs.get("if_match", missing),
|
28927
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
28928
|
+
}
|
28929
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
28930
|
+
|
28931
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
28932
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
28933
|
+
client_retry_strategy=self.retry_strategy
|
28934
|
+
)
|
28935
|
+
if retry_strategy is None:
|
28936
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
28937
|
+
|
28938
|
+
if retry_strategy:
|
28939
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
28940
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
28941
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
28942
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
28943
|
+
return retry_strategy.make_retrying_call(
|
28944
|
+
self.base_client.call_api,
|
28945
|
+
resource_path=resource_path,
|
28946
|
+
method=method,
|
28947
|
+
path_params=path_params,
|
28948
|
+
header_params=header_params,
|
28949
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
28950
|
+
operation_name=operation_name,
|
28951
|
+
api_reference_link=api_reference_link,
|
28952
|
+
required_arguments=required_arguments)
|
28953
|
+
else:
|
28954
|
+
return self.base_client.call_api(
|
28955
|
+
resource_path=resource_path,
|
28956
|
+
method=method,
|
28957
|
+
path_params=path_params,
|
28958
|
+
header_params=header_params,
|
28959
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
28960
|
+
operation_name=operation_name,
|
28961
|
+
api_reference_link=api_reference_link,
|
28962
|
+
required_arguments=required_arguments)
|
28963
|
+
|
27917
28964
|
def validate_byoip_range(self, byoip_range_id, **kwargs):
|
27918
28965
|
"""
|
27919
28966
|
Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already
|
@@ -27947,7 +28994,7 @@ class VirtualNetworkClient(object):
|
|
27947
28994
|
:rtype: :class:`~oci.response.Response`
|
27948
28995
|
|
27949
28996
|
:example:
|
27950
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
28997
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/validate_byoip_range.py.html>`__ to see an example of how to use validate_byoip_range API.
|
27951
28998
|
"""
|
27952
28999
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
27953
29000
|
required_arguments = ['byoipRangeId']
|
@@ -28044,7 +29091,7 @@ class VirtualNetworkClient(object):
|
|
28044
29091
|
:rtype: :class:`~oci.response.Response`
|
28045
29092
|
|
28046
29093
|
:example:
|
28047
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
29094
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/core/withdraw_byoip_range.py.html>`__ to see an example of how to use withdraw_byoip_range API.
|
28048
29095
|
"""
|
28049
29096
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
28050
29097
|
required_arguments = ['byoipRangeId']
|