oci 2.110.2__py3-none-any.whl → 2.112.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +18 -18
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_synthetics/models/__init__.py +2 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +3 -3
- oci/apm_synthetics/models/client_certificate.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +9 -3
- oci/apm_synthetics/models/link.py +2 -2
- oci/apm_synthetics/models/monitor.py +9 -3
- oci/apm_synthetics/models/monitor_configuration.py +11 -3
- oci/apm_synthetics/models/monitor_summary.py +9 -3
- oci/apm_synthetics/models/network_monitor_configuration.py +92 -0
- oci/apm_synthetics/models/private_key.py +1 -1
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +3 -3
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/update_monitor_details.py +2 -0
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/auth_utils.py +16 -0
- oci/auth/rpt_path_providers.py +54 -4
- oci/auth/security_token_container.py +4 -0
- oci/auth/signers/__init__.py +3 -1
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +31 -1
- oci/auth/signers/nested_resource_principals_signer.py +200 -0
- oci/auth/signers/oke_workload_identity_resource_principal_signer.py +154 -0
- oci/auth/signers/resource_principals_federation_signer.py +1 -1
- oci/auth/signers/resource_principals_signer.py +149 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +3 -1
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +47 -47
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/__init__.py +1 -3
- oci/cims/incident_client.py +356 -93
- oci/cims/models/__init__.py +6 -0
- oci/cims/models/account_item.py +85 -0
- oci/cims/models/activity_item.py +112 -14
- oci/cims/models/category.py +5 -5
- oci/cims/models/contact.py +32 -1
- oci/cims/models/contextual_data.py +9 -9
- oci/cims/models/create_account_item_details.py +78 -0
- oci/cims/models/create_category_details.py +2 -4
- oci/cims/models/create_incident.py +13 -9
- oci/cims/models/create_issue_type_details.py +0 -2
- oci/cims/models/create_item_details.py +9 -7
- oci/cims/models/create_limit_item_details.py +3 -3
- oci/cims/models/create_resource_details.py +2 -289
- oci/cims/models/create_sub_category_details.py +3 -5
- oci/cims/models/create_tech_support_item_details.py +1 -3
- oci/cims/models/create_ticket_details.py +11 -13
- oci/cims/models/create_user_details.py +65 -36
- oci/cims/models/incident.py +10 -6
- oci/cims/models/incident_resource_type.py +66 -4
- oci/cims/models/incident_summary.py +9 -5
- oci/cims/models/incident_type.py +1 -1
- oci/cims/models/issue_type.py +33 -2
- oci/cims/models/item.py +8 -4
- oci/cims/models/limit_item.py +7 -7
- oci/cims/models/resource.py +2 -285
- oci/cims/models/service_categories.py +134 -0
- oci/cims/models/service_category.py +1 -1
- oci/cims/models/sub_category.py +5 -5
- oci/cims/models/tenancy_information.py +3 -3
- oci/cims/models/ticket.py +7 -3
- oci/cims/models/update_activity_item_details.py +8 -6
- oci/cims/models/update_incident.py +62 -2
- oci/cims/models/update_item_details.py +3 -5
- oci/cims/models/update_resource_details.py +0 -2
- oci/cims/models/update_ticket_details.py +0 -2
- oci/cims/models/user.py +79 -19
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +129 -24
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +90 -90
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +20 -0
- oci/core/models/amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_gpu_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_milan_bm_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_gpu_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/amd_rome_bm_platform_config.py +34 -3
- oci/core/models/amd_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/amd_vm_platform_config.py +1 -1
- oci/core/models/capture_filter.py +5 -2
- oci/core/models/change_capture_filter_compartment_details.py +1 -1
- oci/core/models/cluster_network_placement_configuration_details.py +32 -5
- oci/core/models/cpe.py +33 -2
- oci/core/models/create_capture_filter_details.py +1 -1
- oci/core/models/create_cpe_details.py +33 -2
- oci/core/models/create_instance_pool_placement_configuration_details.py +32 -5
- oci/core/models/create_ip_sec_connection_tunnel_details.py +105 -0
- oci/core/models/create_macsec_properties.py +33 -2
- oci/core/models/create_virtual_circuit_details.py +31 -0
- oci/core/models/create_vnic_details.py +76 -0
- oci/core/models/drg_attachment_network_create_details.py +1 -1
- oci/core/models/drg_attachment_network_details.py +5 -1
- oci/core/models/generic_bm_launch_instance_platform_config.py +349 -0
- oci/core/models/generic_bm_platform_config.py +349 -0
- oci/core/models/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_milan_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_rome_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_amd_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/instance_configuration_create_vnic_details.py +76 -0
- oci/core/models/instance_configuration_generic_bm_launch_instance_platform_config.py +349 -0
- oci/core/models/instance_configuration_intel_icelake_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/instance_configuration_intel_skylake_bm_launch_instance_platform_config.py +199 -3
- oci/core/models/instance_configuration_intel_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.py +103 -0
- oci/core/models/instance_configuration_launch_instance_platform_config.py +11 -3
- oci/core/models/instance_pool_placement_configuration.py +32 -3
- oci/core/models/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.py +72 -0
- oci/core/models/instance_pool_placement_primary_subnet.py +152 -0
- oci/core/models/instance_pool_placement_secondary_vnic_subnet.py +76 -0
- oci/core/models/instance_pool_placement_subnet_details.py +152 -0
- oci/core/models/intel_icelake_bm_launch_instance_platform_config.py +34 -3
- oci/core/models/intel_icelake_bm_platform_config.py +34 -3
- oci/core/models/intel_skylake_bm_launch_instance_platform_config.py +199 -3
- oci/core/models/intel_skylake_bm_platform_config.py +199 -3
- oci/core/models/intel_vm_launch_instance_platform_config.py +1 -1
- oci/core/models/intel_vm_platform_config.py +1 -1
- oci/core/models/ip_sec_connection.py +49 -2
- oci/core/models/ip_sec_connection_tunnel.py +37 -2
- oci/core/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
- oci/core/models/ipv6_address_ipv6_subnet_cidr_pair_details.py +109 -0
- oci/core/models/launch_instance_platform_config.py +11 -3
- oci/core/models/loop_back_drg_attachment_network_details.py +93 -0
- oci/core/models/macsec_properties.py +33 -2
- oci/core/models/platform_config.py +11 -3
- oci/core/models/shape_platform_config_options.py +7 -3
- oci/core/models/update_capture_filter_details.py +1 -1
- oci/core/models/update_instance_pool_placement_configuration_details.py +34 -7
- oci/core/models/update_macsec_properties.py +33 -2
- oci/core/models/update_virtual_circuit_details.py +31 -0
- oci/core/models/virtual_circuit.py +31 -0
- oci/core/models/virtual_circuit_associated_tunnel_details.py +154 -0
- oci/core/models/virtual_circuit_drg_attachment_network_details.py +37 -2
- oci/core/models/vnic.py +37 -2
- oci/core/virtual_network_client.py +361 -241
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +424 -154
- oci/data_catalog/models/__init__.py +22 -0
- oci/data_catalog/models/asynchronous_export_glossary_details.py +68 -0
- oci/data_catalog/models/asynchronous_export_glossary_result.py +196 -0
- oci/data_catalog/models/asynchronous_export_request_details.py +68 -0
- oci/data_catalog/models/asynchronous_export_result.py +196 -0
- oci/data_catalog/models/attribute.py +33 -0
- oci/data_catalog/models/attribute_summary.py +33 -0
- oci/data_catalog/models/create_job_definition_details.py +42 -3
- oci/data_catalog/models/create_job_details.py +2 -0
- oci/data_catalog/models/create_job_execution_details.py +11 -3
- oci/data_catalog/models/data_asset.py +33 -0
- oci/data_catalog/models/data_asset_summary.py +35 -2
- oci/data_catalog/models/entity.py +33 -0
- oci/data_catalog/models/entity_lineage.py +222 -0
- oci/data_catalog/models/entity_summary.py +33 -0
- oci/data_catalog/models/faceted_search_date_filter_request.py +2 -2
- oci/data_catalog/models/faceted_search_string_filter_request.py +8 -2
- oci/data_catalog/models/fetch_entity_lineage_details.py +190 -0
- oci/data_catalog/models/folder.py +33 -0
- oci/data_catalog/models/folder_summary.py +35 -2
- oci/data_catalog/models/job.py +44 -3
- oci/data_catalog/models/job_definition.py +42 -3
- oci/data_catalog/models/job_definition_summary.py +44 -5
- oci/data_catalog/models/job_execution.py +11 -3
- oci/data_catalog/models/job_execution_summary.py +11 -3
- oci/data_catalog/models/job_summary.py +44 -3
- oci/data_catalog/models/lineage_object.py +400 -0
- oci/data_catalog/models/lineage_relationship.py +134 -0
- oci/data_catalog/models/object_lineage.py +223 -0
- oci/data_catalog/models/object_lineage_request_details.py +190 -0
- oci/data_catalog/models/object_storage_object_reference.py +134 -0
- oci/data_catalog/models/update_job_definition_details.py +31 -0
- oci/data_catalog/models/update_job_details.py +2 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +214 -214
- oci/data_science/data_science_client.py +85 -85
- oci/database/database_client.py +626 -308
- oci/database/models/__init__.py +10 -0
- oci/database/models/acd_avm_resource_stats.py +241 -0
- oci/database/models/autonomous_container_database.py +107 -38
- oci/database/models/autonomous_container_database_resource_usage.py +437 -0
- oci/database/models/autonomous_container_database_summary.py +107 -38
- oci/database/models/autonomous_database.py +2 -6
- oci/database/models/autonomous_database_connection_strings.py +1 -1
- oci/database/models/autonomous_database_summary.py +2 -6
- oci/database/models/autonomous_vm_cluster.py +6 -18
- oci/database/models/autonomous_vm_cluster_summary.py +6 -18
- oci/database/models/autonomous_vm_resource_usage.py +299 -0
- oci/database/models/avm_acd_resource_stats.py +272 -0
- oci/database/models/cloud_autonomous_vm_cluster.py +287 -20
- oci/database/models/cloud_autonomous_vm_cluster_resource_usage.py +673 -0
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +287 -20
- oci/database/models/create_autonomous_vm_cluster_details.py +4 -12
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +4 -12
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/models/__init__.py +10 -0
- oci/database_migration/models/connection.py +27 -0
- oci/database_migration/models/create_connection_details.py +27 -0
- oci/database_migration/models/create_golden_gate_hub.py +4 -4
- oci/database_migration/models/create_golden_gate_service_details.py +149 -0
- oci/database_migration/models/create_migration_details.py +27 -0
- oci/database_migration/models/database_credentials.py +103 -0
- oci/database_migration/models/ggs_deployment.py +103 -0
- oci/database_migration/models/golden_gate_service_details.py +95 -0
- oci/database_migration/models/migration.py +38 -3
- oci/database_migration/models/migration_job_progress_resource.py +11 -3
- oci/database_migration/models/migration_job_progress_summary.py +11 -3
- oci/database_migration/models/migration_phase_summary.py +11 -3
- oci/database_migration/models/phase_status.py +11 -3
- oci/database_migration/models/resume_job_details.py +11 -3
- oci/database_migration/models/start_migration_details.py +11 -3
- oci/database_migration/models/update_connection_details.py +27 -0
- oci/database_migration/models/update_golden_gate_service_details.py +149 -0
- oci/database_migration/models/update_migration_details.py +27 -0
- oci/database_tools/database_tools_client.py +19 -19
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +57 -57
- 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 +190 -190
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +56 -56
- oci/key_management/kms_crypto_client.py +6 -6
- 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 +22 -22
- oci/log_analytics/log_analytics_client.py +192 -192
- 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 +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +25 -25
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +273 -1328
- oci/mysql/db_system_client_composite_operations.py +0 -294
- oci/mysql/models/__init__.py +0 -16
- oci/mysql/models/db_system.py +0 -60
- oci/mysql/models/db_system_summary.py +0 -60
- oci/mysql/models/shape_summary.py +3 -7
- oci/mysql/models/work_request.py +3 -31
- oci/mysql/models/work_request_summary.py +3 -31
- oci/mysql/mysqlaas_client.py +9 -9
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/esxi_host_client.py +6 -6
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- 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 +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +159 -159
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- 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/queue/models/__init__.py +4 -0
- oci/queue/models/channel_collection.py +72 -0
- oci/queue/models/create_queue_details.py +50 -11
- oci/queue/models/delete_messages_details_entry.py +2 -2
- oci/queue/models/get_message.py +55 -12
- oci/queue/models/message_metadata.py +103 -0
- oci/queue/models/purge_queue_details.py +43 -8
- oci/queue/models/put_message.py +44 -5
- oci/queue/models/put_messages.py +3 -3
- oci/queue/models/put_messages_details_entry.py +29 -2
- oci/queue/models/queue.py +76 -21
- oci/queue/models/queue_stats.py +34 -3
- oci/queue/models/queue_summary.py +37 -17
- oci/queue/models/stats.py +2 -2
- oci/queue/models/update_messages_details.py +1 -1
- oci/queue/models/update_messages_details_entry.py +2 -2
- oci/queue/models/update_messages_result.py +2 -2
- oci/queue/models/update_messages_result_entry.py +12 -4
- oci/queue/models/update_queue_details.py +47 -8
- oci/queue/models/updated_message.py +12 -4
- oci/queue/models/work_request.py +6 -2
- oci/queue/models/work_request_error.py +6 -2
- oci/queue/models/work_request_log_entry.py +6 -2
- oci/queue/models/work_request_summary.py +8 -4
- oci/queue/queue_admin_client.py +67 -46
- oci/queue/queue_admin_client_composite_operations.py +4 -4
- oci/queue/queue_client.py +209 -36
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- 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/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +22 -22
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +19 -19
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/models/__init__.py +4 -0
- oci/vn_monitoring/models/cpe.py +33 -2
- oci/vn_monitoring/models/create_cpe_details.py +33 -2
- oci/vn_monitoring/models/create_ip_sec_connection_details.py +35 -2
- oci/vn_monitoring/models/create_ip_sec_connection_tunnel_details.py +105 -0
- oci/vn_monitoring/models/create_virtual_circuit_details.py +31 -0
- oci/vn_monitoring/models/drg_attachment_network_create_details.py +1 -1
- oci/vn_monitoring/models/drg_attachment_network_details.py +5 -1
- oci/vn_monitoring/models/ip_sec_connection.py +50 -2
- oci/vn_monitoring/models/ip_sec_connection_tunnel.py +37 -2
- oci/vn_monitoring/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
- oci/vn_monitoring/models/loop_back_drg_attachment_network_details.py +93 -0
- oci/vn_monitoring/models/update_virtual_circuit_details.py +31 -0
- oci/vn_monitoring/models/virtual_circuit.py +31 -0
- oci/vn_monitoring/models/virtual_circuit_associated_tunnel_details.py +155 -0
- oci/vn_monitoring/models/virtual_circuit_drg_attachment_network_details.py +37 -2
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/METADATA +1 -1
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/RECORD +475 -434
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/WHEEL +0 -0
- {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/top_level.txt +0 -0
oci/cims/incident_client.py
CHANGED
@@ -20,7 +20,12 @@ missing = Sentinel("Missing")
|
|
20
20
|
|
21
21
|
class IncidentClient(object):
|
22
22
|
"""
|
23
|
-
Use the Support Management API to manage support requests.
|
23
|
+
Use the Support Management API to manage support requests.
|
24
|
+
For more information, see [Getting Help and Contacting Support](/iaas/Content/GSG/Tasks/contactingsupport.htm).
|
25
|
+
|
26
|
+
**Note**: Before you can create service requests with this API,
|
27
|
+
you need to have an Oracle Single Sign On (SSO) account,
|
28
|
+
and you need to register your Customer Support Identifier (CSI) with My Oracle Support.
|
24
29
|
"""
|
25
30
|
|
26
31
|
def __init__(self, config, **kwargs):
|
@@ -95,7 +100,7 @@ class IncidentClient(object):
|
|
95
100
|
'regional_client': True,
|
96
101
|
'service_endpoint': kwargs.get('service_endpoint'),
|
97
102
|
'base_path': '/20181231',
|
98
|
-
'service_endpoint_template': 'https://incidentmanagement.{region}.{secondLevelDomain}',
|
103
|
+
'service_endpoint_template': 'https://incidentmanagement.{region}.oci.{secondLevelDomain}',
|
99
104
|
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
100
105
|
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
101
106
|
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
@@ -111,23 +116,35 @@ class IncidentClient(object):
|
|
111
116
|
self.retry_strategy = kwargs.get('retry_strategy')
|
112
117
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
113
118
|
|
114
|
-
def create_incident(self, create_incident_details,
|
119
|
+
def create_incident(self, create_incident_details, **kwargs):
|
115
120
|
"""
|
116
|
-
|
121
|
+
Operation to create a support ticket.
|
117
122
|
|
118
123
|
|
119
124
|
:param oci.cims.models.CreateIncident create_incident_details: (required)
|
120
125
|
Incident information
|
121
126
|
|
122
|
-
:param str ocid: (required)
|
123
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
124
|
-
|
125
127
|
:param str opc_request_id: (optional)
|
126
128
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
127
129
|
|
130
|
+
:param str ocid: (optional)
|
131
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
132
|
+
|
128
133
|
:param str homeregion: (optional)
|
129
134
|
The region of the tenancy.
|
130
135
|
|
136
|
+
:param str bearertokentype: (optional)
|
137
|
+
Token type that determine which cloud provider the request come from.
|
138
|
+
|
139
|
+
:param str bearertoken: (optional)
|
140
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
141
|
+
|
142
|
+
:param str idtoken: (optional)
|
143
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
144
|
+
|
145
|
+
:param str domainid: (optional)
|
146
|
+
The OCID of identity domain.
|
147
|
+
|
131
148
|
:param obj retry_strategy: (optional)
|
132
149
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
133
150
|
|
@@ -144,7 +161,7 @@ class IncidentClient(object):
|
|
144
161
|
:rtype: :class:`~oci.response.Response`
|
145
162
|
|
146
163
|
:example:
|
147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/create_incident.py.html>`__ to see an example of how to use create_incident API.
|
148
165
|
"""
|
149
166
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
167
|
required_arguments = []
|
@@ -158,7 +175,12 @@ class IncidentClient(object):
|
|
158
175
|
"allow_control_chars",
|
159
176
|
"retry_strategy",
|
160
177
|
"opc_request_id",
|
161
|
-
"
|
178
|
+
"ocid",
|
179
|
+
"homeregion",
|
180
|
+
"bearertokentype",
|
181
|
+
"bearertoken",
|
182
|
+
"idtoken",
|
183
|
+
"domainid"
|
162
184
|
]
|
163
185
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
164
186
|
if extra_kwargs:
|
@@ -169,8 +191,12 @@ class IncidentClient(object):
|
|
169
191
|
"accept": "application/json",
|
170
192
|
"content-type": "application/json",
|
171
193
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
172
|
-
"ocid": ocid,
|
173
|
-
"homeregion": kwargs.get("homeregion", missing)
|
194
|
+
"ocid": kwargs.get("ocid", missing),
|
195
|
+
"homeregion": kwargs.get("homeregion", missing),
|
196
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
197
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
198
|
+
"idtoken": kwargs.get("idtoken", missing),
|
199
|
+
"domainid": kwargs.get("domainid", missing)
|
174
200
|
}
|
175
201
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
176
202
|
|
@@ -206,29 +232,169 @@ class IncidentClient(object):
|
|
206
232
|
api_reference_link=api_reference_link,
|
207
233
|
required_arguments=required_arguments)
|
208
234
|
|
209
|
-
def
|
235
|
+
def get_csi_number(self, tenant_id, region, **kwargs):
|
210
236
|
"""
|
211
|
-
|
237
|
+
Fetches csi number of the user.
|
212
238
|
|
213
239
|
|
214
|
-
:param str
|
215
|
-
|
240
|
+
:param str tenant_id: (required)
|
241
|
+
Tenancy Ocid in oracle cloud Infrastructure
|
242
|
+
|
243
|
+
:param str region: (required)
|
244
|
+
Home region of the customer which is part of oracle cloud infrastructure regions
|
216
245
|
|
217
|
-
:param str
|
218
|
-
|
246
|
+
:param str opc_request_id: (optional)
|
247
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
219
248
|
|
220
|
-
:param str ocid: (
|
249
|
+
:param str ocid: (optional)
|
221
250
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
222
251
|
|
252
|
+
:param str homeregion: (optional)
|
253
|
+
The region of the tenancy.
|
254
|
+
|
255
|
+
:param str bearertokentype: (optional)
|
256
|
+
Token type that determine which cloud provider the request come from.
|
257
|
+
|
258
|
+
:param str bearertoken: (optional)
|
259
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
260
|
+
|
261
|
+
:param str idtoken: (optional)
|
262
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
263
|
+
|
264
|
+
:param str domainid: (optional)
|
265
|
+
The OCID of identity domain.
|
266
|
+
|
267
|
+
:param obj retry_strategy: (optional)
|
268
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
269
|
+
|
270
|
+
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.
|
271
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
272
|
+
|
273
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
274
|
+
|
275
|
+
:param bool allow_control_chars: (optional)
|
276
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
277
|
+
By default, the response will not allow control characters in strings
|
278
|
+
|
279
|
+
:return: A :class:`~oci.response.Response` object with data of type str
|
280
|
+
:rtype: :class:`~oci.response.Response`
|
281
|
+
|
282
|
+
:example:
|
283
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/get_csi_number.py.html>`__ to see an example of how to use get_csi_number API.
|
284
|
+
"""
|
285
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
286
|
+
required_arguments = ['tenantId', 'region']
|
287
|
+
resource_path = "/v2/incidents/getCsiNumber"
|
288
|
+
method = "GET"
|
289
|
+
operation_name = "get_csi_number"
|
290
|
+
api_reference_link = ""
|
291
|
+
|
292
|
+
# Don't accept unknown kwargs
|
293
|
+
expected_kwargs = [
|
294
|
+
"allow_control_chars",
|
295
|
+
"retry_strategy",
|
296
|
+
"opc_request_id",
|
297
|
+
"ocid",
|
298
|
+
"homeregion",
|
299
|
+
"bearertokentype",
|
300
|
+
"bearertoken",
|
301
|
+
"idtoken",
|
302
|
+
"domainid"
|
303
|
+
]
|
304
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
305
|
+
if extra_kwargs:
|
306
|
+
raise ValueError(
|
307
|
+
"get_csi_number got unknown kwargs: {!r}".format(extra_kwargs))
|
308
|
+
|
309
|
+
query_params = {
|
310
|
+
"tenantId": tenant_id,
|
311
|
+
"region": region
|
312
|
+
}
|
313
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
314
|
+
|
315
|
+
header_params = {
|
316
|
+
"accept": "application/json",
|
317
|
+
"content-type": "application/json",
|
318
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
319
|
+
"ocid": kwargs.get("ocid", missing),
|
320
|
+
"homeregion": kwargs.get("homeregion", missing),
|
321
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
322
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
323
|
+
"idtoken": kwargs.get("idtoken", missing),
|
324
|
+
"domainid": kwargs.get("domainid", missing)
|
325
|
+
}
|
326
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
327
|
+
|
328
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
329
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
330
|
+
client_retry_strategy=self.retry_strategy
|
331
|
+
)
|
332
|
+
|
333
|
+
if retry_strategy:
|
334
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
335
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
336
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
337
|
+
return retry_strategy.make_retrying_call(
|
338
|
+
self.base_client.call_api,
|
339
|
+
resource_path=resource_path,
|
340
|
+
method=method,
|
341
|
+
query_params=query_params,
|
342
|
+
header_params=header_params,
|
343
|
+
response_type="str",
|
344
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
345
|
+
operation_name=operation_name,
|
346
|
+
api_reference_link=api_reference_link,
|
347
|
+
required_arguments=required_arguments)
|
348
|
+
else:
|
349
|
+
return self.base_client.call_api(
|
350
|
+
resource_path=resource_path,
|
351
|
+
method=method,
|
352
|
+
query_params=query_params,
|
353
|
+
header_params=header_params,
|
354
|
+
response_type="str",
|
355
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
356
|
+
operation_name=operation_name,
|
357
|
+
api_reference_link=api_reference_link,
|
358
|
+
required_arguments=required_arguments)
|
359
|
+
|
360
|
+
def get_incident(self, incident_key, **kwargs):
|
361
|
+
"""
|
362
|
+
Gets details about the specified support ticket.
|
363
|
+
|
364
|
+
|
365
|
+
:param str incident_key: (required)
|
366
|
+
Unique identifier for the support ticket.
|
367
|
+
|
223
368
|
:param str opc_request_id: (optional)
|
224
369
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
225
370
|
|
371
|
+
:param str csi: (optional)
|
372
|
+
The Customer Support Identifier (CSI) associated with the support account.
|
373
|
+
|
374
|
+
:param str ocid: (optional)
|
375
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
376
|
+
|
226
377
|
:param str homeregion: (optional)
|
227
378
|
The region of the tenancy.
|
228
379
|
|
229
|
-
:param str
|
380
|
+
:param str compartment_id: (optional)
|
381
|
+
The OCID of the tenancy.
|
382
|
+
|
383
|
+
:param str problemtype: (optional)
|
230
384
|
The kind of support request.
|
231
385
|
|
386
|
+
:param str bearertokentype: (optional)
|
387
|
+
Token type that determine which cloud provider the request come from.
|
388
|
+
|
389
|
+
:param str bearertoken: (optional)
|
390
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
391
|
+
|
392
|
+
:param str idtoken: (optional)
|
393
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
394
|
+
|
395
|
+
:param str domainid: (optional)
|
396
|
+
The OCID of identity domain.
|
397
|
+
|
232
398
|
:param obj retry_strategy: (optional)
|
233
399
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
234
400
|
|
@@ -245,7 +411,7 @@ class IncidentClient(object):
|
|
245
411
|
:rtype: :class:`~oci.response.Response`
|
246
412
|
|
247
413
|
:example:
|
248
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
414
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/get_incident.py.html>`__ to see an example of how to use get_incident API.
|
249
415
|
"""
|
250
416
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
251
417
|
required_arguments = ['incidentKey']
|
@@ -259,8 +425,15 @@ class IncidentClient(object):
|
|
259
425
|
"allow_control_chars",
|
260
426
|
"retry_strategy",
|
261
427
|
"opc_request_id",
|
428
|
+
"csi",
|
429
|
+
"ocid",
|
262
430
|
"homeregion",
|
263
|
-
"
|
431
|
+
"compartment_id",
|
432
|
+
"problemtype",
|
433
|
+
"bearertokentype",
|
434
|
+
"bearertoken",
|
435
|
+
"idtoken",
|
436
|
+
"domainid"
|
264
437
|
]
|
265
438
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
266
439
|
if extra_kwargs:
|
@@ -277,14 +450,23 @@ class IncidentClient(object):
|
|
277
450
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
278
451
|
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
279
452
|
|
453
|
+
query_params = {
|
454
|
+
"compartmentId": kwargs.get("compartment_id", missing)
|
455
|
+
}
|
456
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
457
|
+
|
280
458
|
header_params = {
|
281
459
|
"accept": "application/json",
|
282
460
|
"content-type": "application/json",
|
283
461
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
284
|
-
"csi": csi,
|
285
|
-
"ocid": ocid,
|
462
|
+
"csi": kwargs.get("csi", missing),
|
463
|
+
"ocid": kwargs.get("ocid", missing),
|
286
464
|
"homeregion": kwargs.get("homeregion", missing),
|
287
|
-
"
|
465
|
+
"problemtype": kwargs.get("problemtype", missing),
|
466
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
467
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
468
|
+
"idtoken": kwargs.get("idtoken", missing),
|
469
|
+
"domainid": kwargs.get("domainid", missing)
|
288
470
|
}
|
289
471
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
290
472
|
|
@@ -302,6 +484,7 @@ class IncidentClient(object):
|
|
302
484
|
resource_path=resource_path,
|
303
485
|
method=method,
|
304
486
|
path_params=path_params,
|
487
|
+
query_params=query_params,
|
305
488
|
header_params=header_params,
|
306
489
|
response_type="Incident",
|
307
490
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -313,6 +496,7 @@ class IncidentClient(object):
|
|
313
496
|
resource_path=resource_path,
|
314
497
|
method=method,
|
315
498
|
path_params=path_params,
|
499
|
+
query_params=query_params,
|
316
500
|
header_params=header_params,
|
317
501
|
response_type="Incident",
|
318
502
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -320,20 +504,17 @@ class IncidentClient(object):
|
|
320
504
|
api_reference_link=api_reference_link,
|
321
505
|
required_arguments=required_arguments)
|
322
506
|
|
323
|
-
def get_status(self,
|
507
|
+
def get_status(self, **kwargs):
|
324
508
|
"""
|
325
509
|
Gets the status of the service.
|
326
510
|
|
327
511
|
|
328
|
-
:param str source: (required)
|
329
|
-
The system that generated the support ticket, such as My Oracle Support.
|
330
|
-
|
331
|
-
:param str ocid: (required)
|
332
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
333
|
-
|
334
512
|
:param str opc_request_id: (optional)
|
335
513
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
336
514
|
|
515
|
+
:param str ocid: (optional)
|
516
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
517
|
+
|
337
518
|
:param str homeregion: (optional)
|
338
519
|
The region of the tenancy.
|
339
520
|
|
@@ -353,11 +534,11 @@ class IncidentClient(object):
|
|
353
534
|
:rtype: :class:`~oci.response.Response`
|
354
535
|
|
355
536
|
:example:
|
356
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
537
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/get_status.py.html>`__ to see an example of how to use get_status API.
|
357
538
|
"""
|
358
539
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
359
|
-
required_arguments = [
|
360
|
-
resource_path = "/v2/incidents/status
|
540
|
+
required_arguments = []
|
541
|
+
resource_path = "/v2/incidents/status"
|
361
542
|
method = "GET"
|
362
543
|
operation_name = "get_status"
|
363
544
|
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus"
|
@@ -367,6 +548,7 @@ class IncidentClient(object):
|
|
367
548
|
"allow_control_chars",
|
368
549
|
"retry_strategy",
|
369
550
|
"opc_request_id",
|
551
|
+
"ocid",
|
370
552
|
"homeregion"
|
371
553
|
]
|
372
554
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
@@ -374,21 +556,11 @@ class IncidentClient(object):
|
|
374
556
|
raise ValueError(
|
375
557
|
"get_status got unknown kwargs: {!r}".format(extra_kwargs))
|
376
558
|
|
377
|
-
path_params = {
|
378
|
-
"source": source
|
379
|
-
}
|
380
|
-
|
381
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
382
|
-
|
383
|
-
for (k, v) in six.iteritems(path_params):
|
384
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
385
|
-
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
386
|
-
|
387
559
|
header_params = {
|
388
560
|
"accept": "application/json",
|
389
561
|
"content-type": "application/json",
|
390
562
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
391
|
-
"ocid": ocid,
|
563
|
+
"ocid": kwargs.get("ocid", missing),
|
392
564
|
"homeregion": kwargs.get("homeregion", missing)
|
393
565
|
}
|
394
566
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -406,7 +578,6 @@ class IncidentClient(object):
|
|
406
578
|
self.base_client.call_api,
|
407
579
|
resource_path=resource_path,
|
408
580
|
method=method,
|
409
|
-
path_params=path_params,
|
410
581
|
header_params=header_params,
|
411
582
|
response_type="Status",
|
412
583
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -417,7 +588,6 @@ class IncidentClient(object):
|
|
417
588
|
return self.base_client.call_api(
|
418
589
|
resource_path=resource_path,
|
419
590
|
method=method,
|
420
|
-
path_params=path_params,
|
421
591
|
header_params=header_params,
|
422
592
|
response_type="Status",
|
423
593
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -425,7 +595,7 @@ class IncidentClient(object):
|
|
425
595
|
api_reference_link=api_reference_link,
|
426
596
|
required_arguments=required_arguments)
|
427
597
|
|
428
|
-
def list_incident_resource_types(self, problem_type, compartment_id,
|
598
|
+
def list_incident_resource_types(self, problem_type, compartment_id, **kwargs):
|
429
599
|
"""
|
430
600
|
During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports.
|
431
601
|
|
@@ -436,12 +606,6 @@ class IncidentClient(object):
|
|
436
606
|
:param str compartment_id: (required)
|
437
607
|
The OCID of the tenancy.
|
438
608
|
|
439
|
-
:param str csi: (required)
|
440
|
-
The Customer Support Identifier associated with the support account.
|
441
|
-
|
442
|
-
:param str ocid: (required)
|
443
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
444
|
-
|
445
609
|
:param str opc_request_id: (optional)
|
446
610
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
447
611
|
|
@@ -466,11 +630,20 @@ class IncidentClient(object):
|
|
466
630
|
Allowed values are: "ASC", "DESC"
|
467
631
|
|
468
632
|
:param str name: (optional)
|
469
|
-
The user-friendly name of the
|
633
|
+
The user-friendly name of the support ticket type.
|
634
|
+
|
635
|
+
:param str csi: (optional)
|
636
|
+
The Customer Support Identifier (CSI) associated with the support account.
|
637
|
+
|
638
|
+
:param str ocid: (optional)
|
639
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
470
640
|
|
471
641
|
:param str homeregion: (optional)
|
472
642
|
The region of the tenancy.
|
473
643
|
|
644
|
+
:param str domainid: (optional)
|
645
|
+
The OCID of identity domain.
|
646
|
+
|
474
647
|
:param obj retry_strategy: (optional)
|
475
648
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
476
649
|
|
@@ -487,7 +660,7 @@ class IncidentClient(object):
|
|
487
660
|
:rtype: :class:`~oci.response.Response`
|
488
661
|
|
489
662
|
:example:
|
490
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/list_incident_resource_types.py.html>`__ to see an example of how to use list_incident_resource_types API.
|
491
664
|
"""
|
492
665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
493
666
|
required_arguments = ['problemType', 'compartmentId']
|
@@ -506,7 +679,10 @@ class IncidentClient(object):
|
|
506
679
|
"sort_by",
|
507
680
|
"sort_order",
|
508
681
|
"name",
|
509
|
-
"
|
682
|
+
"csi",
|
683
|
+
"ocid",
|
684
|
+
"homeregion",
|
685
|
+
"domainid"
|
510
686
|
]
|
511
687
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
512
688
|
if extra_kwargs:
|
@@ -542,9 +718,10 @@ class IncidentClient(object):
|
|
542
718
|
"accept": "application/json",
|
543
719
|
"content-type": "application/json",
|
544
720
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
545
|
-
"csi": csi,
|
546
|
-
"ocid": ocid,
|
547
|
-
"homeregion": kwargs.get("homeregion", missing)
|
721
|
+
"csi": kwargs.get("csi", missing),
|
722
|
+
"ocid": kwargs.get("ocid", missing),
|
723
|
+
"homeregion": kwargs.get("homeregion", missing),
|
724
|
+
"domainid": kwargs.get("domainid", missing)
|
548
725
|
}
|
549
726
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
550
727
|
|
@@ -580,19 +757,16 @@ class IncidentClient(object):
|
|
580
757
|
api_reference_link=api_reference_link,
|
581
758
|
required_arguments=required_arguments)
|
582
759
|
|
583
|
-
def list_incidents(self,
|
760
|
+
def list_incidents(self, compartment_id, **kwargs):
|
584
761
|
"""
|
585
762
|
Returns the list of support tickets raised by the tenancy.
|
586
763
|
|
587
764
|
|
588
|
-
:param str csi: (required)
|
589
|
-
The Customer Support Identifier associated with the support account.
|
590
|
-
|
591
765
|
:param str compartment_id: (required)
|
592
766
|
The OCID of the tenancy.
|
593
767
|
|
594
|
-
:param str
|
595
|
-
|
768
|
+
:param str csi: (optional)
|
769
|
+
The Customer Support Identifier (CSI) associated with the support account.
|
596
770
|
|
597
771
|
:param int limit: (optional)
|
598
772
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see `List Pagination`__.
|
@@ -622,12 +796,27 @@ class IncidentClient(object):
|
|
622
796
|
:param str opc_request_id: (optional)
|
623
797
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
624
798
|
|
799
|
+
:param str ocid: (optional)
|
800
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
801
|
+
|
625
802
|
:param str homeregion: (optional)
|
626
803
|
The region of the tenancy.
|
627
804
|
|
628
805
|
:param str problem_type: (optional)
|
629
806
|
The kind of support request.
|
630
807
|
|
808
|
+
:param str bearertokentype: (optional)
|
809
|
+
Token type that determine which cloud provider the request come from.
|
810
|
+
|
811
|
+
:param str bearertoken: (optional)
|
812
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
813
|
+
|
814
|
+
:param str idtoken: (optional)
|
815
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
816
|
+
|
817
|
+
:param str domainid: (optional)
|
818
|
+
The OCID of identity domain.
|
819
|
+
|
631
820
|
:param obj retry_strategy: (optional)
|
632
821
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
633
822
|
|
@@ -644,7 +833,7 @@ class IncidentClient(object):
|
|
644
833
|
:rtype: :class:`~oci.response.Response`
|
645
834
|
|
646
835
|
:example:
|
647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
836
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/list_incidents.py.html>`__ to see an example of how to use list_incidents API.
|
648
837
|
"""
|
649
838
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
650
839
|
required_arguments = ['compartmentId']
|
@@ -657,14 +846,20 @@ class IncidentClient(object):
|
|
657
846
|
expected_kwargs = [
|
658
847
|
"allow_control_chars",
|
659
848
|
"retry_strategy",
|
849
|
+
"csi",
|
660
850
|
"limit",
|
661
851
|
"sort_by",
|
662
852
|
"sort_order",
|
663
853
|
"lifecycle_state",
|
664
854
|
"page",
|
665
855
|
"opc_request_id",
|
856
|
+
"ocid",
|
666
857
|
"homeregion",
|
667
|
-
"problem_type"
|
858
|
+
"problem_type",
|
859
|
+
"bearertokentype",
|
860
|
+
"bearertoken",
|
861
|
+
"idtoken",
|
862
|
+
"domainid"
|
668
863
|
]
|
669
864
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
670
865
|
if extra_kwargs:
|
@@ -706,10 +901,14 @@ class IncidentClient(object):
|
|
706
901
|
header_params = {
|
707
902
|
"accept": "application/json",
|
708
903
|
"content-type": "application/json",
|
709
|
-
"csi": csi,
|
904
|
+
"csi": kwargs.get("csi", missing),
|
710
905
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
711
|
-
"ocid": ocid,
|
712
|
-
"homeregion": kwargs.get("homeregion", missing)
|
906
|
+
"ocid": kwargs.get("ocid", missing),
|
907
|
+
"homeregion": kwargs.get("homeregion", missing),
|
908
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
909
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
910
|
+
"idtoken": kwargs.get("idtoken", missing),
|
911
|
+
"domainid": kwargs.get("domainid", missing)
|
713
912
|
}
|
714
913
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
715
914
|
|
@@ -745,7 +944,7 @@ class IncidentClient(object):
|
|
745
944
|
api_reference_link=api_reference_link,
|
746
945
|
required_arguments=required_arguments)
|
747
946
|
|
748
|
-
def update_incident(self, incident_key,
|
947
|
+
def update_incident(self, incident_key, update_incident_details, **kwargs):
|
749
948
|
"""
|
750
949
|
Updates the specified support ticket's information.
|
751
950
|
|
@@ -753,24 +952,39 @@ class IncidentClient(object):
|
|
753
952
|
:param str incident_key: (required)
|
754
953
|
Unique identifier for the support ticket.
|
755
954
|
|
756
|
-
:param str csi: (required)
|
757
|
-
The Customer Support Identifier associated with the support account.
|
758
|
-
|
759
955
|
:param oci.cims.models.UpdateIncident update_incident_details: (required)
|
760
956
|
Details about the support ticket being updated.
|
761
957
|
|
762
|
-
:param str
|
763
|
-
|
958
|
+
:param str csi: (optional)
|
959
|
+
The Customer Support Identifier (CSI) associated with the support account.
|
764
960
|
|
765
961
|
:param str opc_request_id: (optional)
|
766
962
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
767
963
|
|
964
|
+
:param str compartment_id: (optional)
|
965
|
+
The OCID of the tenancy.
|
966
|
+
|
768
967
|
:param str if_match: (optional)
|
769
968
|
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
770
969
|
|
970
|
+
:param str ocid: (optional)
|
971
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
972
|
+
|
771
973
|
:param str homeregion: (optional)
|
772
974
|
The region of the tenancy.
|
773
975
|
|
976
|
+
:param str bearertokentype: (optional)
|
977
|
+
Token type that determine which cloud provider the request come from.
|
978
|
+
|
979
|
+
:param str bearertoken: (optional)
|
980
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
981
|
+
|
982
|
+
:param str idtoken: (optional)
|
983
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
984
|
+
|
985
|
+
:param str domainid: (optional)
|
986
|
+
The OCID of identity domain.
|
987
|
+
|
774
988
|
:param obj retry_strategy: (optional)
|
775
989
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
776
990
|
|
@@ -787,7 +1001,7 @@ class IncidentClient(object):
|
|
787
1001
|
:rtype: :class:`~oci.response.Response`
|
788
1002
|
|
789
1003
|
:example:
|
790
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1004
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/update_incident.py.html>`__ to see an example of how to use update_incident API.
|
791
1005
|
"""
|
792
1006
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
793
1007
|
required_arguments = ['incidentKey']
|
@@ -800,9 +1014,16 @@ class IncidentClient(object):
|
|
800
1014
|
expected_kwargs = [
|
801
1015
|
"allow_control_chars",
|
802
1016
|
"retry_strategy",
|
1017
|
+
"csi",
|
803
1018
|
"opc_request_id",
|
1019
|
+
"compartment_id",
|
804
1020
|
"if_match",
|
805
|
-
"
|
1021
|
+
"ocid",
|
1022
|
+
"homeregion",
|
1023
|
+
"bearertokentype",
|
1024
|
+
"bearertoken",
|
1025
|
+
"idtoken",
|
1026
|
+
"domainid"
|
806
1027
|
]
|
807
1028
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
808
1029
|
if extra_kwargs:
|
@@ -819,14 +1040,23 @@ class IncidentClient(object):
|
|
819
1040
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
820
1041
|
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
821
1042
|
|
1043
|
+
query_params = {
|
1044
|
+
"compartmentId": kwargs.get("compartment_id", missing)
|
1045
|
+
}
|
1046
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1047
|
+
|
822
1048
|
header_params = {
|
823
1049
|
"accept": "application/json",
|
824
1050
|
"content-type": "application/json",
|
825
|
-
"csi": csi,
|
1051
|
+
"csi": kwargs.get("csi", missing),
|
826
1052
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
827
1053
|
"if-match": kwargs.get("if_match", missing),
|
828
|
-
"ocid": ocid,
|
829
|
-
"homeregion": kwargs.get("homeregion", missing)
|
1054
|
+
"ocid": kwargs.get("ocid", missing),
|
1055
|
+
"homeregion": kwargs.get("homeregion", missing),
|
1056
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
1057
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
1058
|
+
"idtoken": kwargs.get("idtoken", missing),
|
1059
|
+
"domainid": kwargs.get("domainid", missing)
|
830
1060
|
}
|
831
1061
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
832
1062
|
|
@@ -844,6 +1074,7 @@ class IncidentClient(object):
|
|
844
1074
|
resource_path=resource_path,
|
845
1075
|
method=method,
|
846
1076
|
path_params=path_params,
|
1077
|
+
query_params=query_params,
|
847
1078
|
header_params=header_params,
|
848
1079
|
body=update_incident_details,
|
849
1080
|
response_type="Incident",
|
@@ -856,6 +1087,7 @@ class IncidentClient(object):
|
|
856
1087
|
resource_path=resource_path,
|
857
1088
|
method=method,
|
858
1089
|
path_params=path_params,
|
1090
|
+
query_params=query_params,
|
859
1091
|
header_params=header_params,
|
860
1092
|
body=update_incident_details,
|
861
1093
|
response_type="Incident",
|
@@ -864,16 +1096,13 @@ class IncidentClient(object):
|
|
864
1096
|
api_reference_link=api_reference_link,
|
865
1097
|
required_arguments=required_arguments)
|
866
1098
|
|
867
|
-
def validate_user(self,
|
1099
|
+
def validate_user(self, **kwargs):
|
868
1100
|
"""
|
869
1101
|
Checks whether the requested user is valid.
|
870
1102
|
|
871
1103
|
|
872
|
-
:param str csi: (
|
873
|
-
The Customer Support Identifier
|
874
|
-
|
875
|
-
:param str ocid: (required)
|
876
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
1104
|
+
:param str csi: (optional)
|
1105
|
+
The Customer Support Identifier (CSI) associated with the support account.
|
877
1106
|
|
878
1107
|
:param str opc_request_id: (optional)
|
879
1108
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -881,9 +1110,26 @@ class IncidentClient(object):
|
|
881
1110
|
:param str problem_type: (optional)
|
882
1111
|
The kind of support request.
|
883
1112
|
|
1113
|
+
Allowed values are: "LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"
|
1114
|
+
|
1115
|
+
:param str ocid: (optional)
|
1116
|
+
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
1117
|
+
|
884
1118
|
:param str homeregion: (optional)
|
885
1119
|
The region of the tenancy.
|
886
1120
|
|
1121
|
+
:param str bearertokentype: (optional)
|
1122
|
+
Token type that determine which cloud provider the request come from.
|
1123
|
+
|
1124
|
+
:param str bearertoken: (optional)
|
1125
|
+
Token that provided by multi cloud provider, which help to validate the email.
|
1126
|
+
|
1127
|
+
:param str idtoken: (optional)
|
1128
|
+
IdToken that provided by multi cloud provider, which help to validate the email.
|
1129
|
+
|
1130
|
+
:param str domainid: (optional)
|
1131
|
+
The OCID of identity domain.
|
1132
|
+
|
887
1133
|
:param obj retry_strategy: (optional)
|
888
1134
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
889
1135
|
|
@@ -900,7 +1146,7 @@ class IncidentClient(object):
|
|
900
1146
|
:rtype: :class:`~oci.response.Response`
|
901
1147
|
|
902
1148
|
:example:
|
903
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/cims/validate_user.py.html>`__ to see an example of how to use validate_user API.
|
904
1150
|
"""
|
905
1151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
906
1152
|
required_arguments = []
|
@@ -913,15 +1159,28 @@ class IncidentClient(object):
|
|
913
1159
|
expected_kwargs = [
|
914
1160
|
"allow_control_chars",
|
915
1161
|
"retry_strategy",
|
1162
|
+
"csi",
|
916
1163
|
"opc_request_id",
|
917
1164
|
"problem_type",
|
918
|
-
"
|
1165
|
+
"ocid",
|
1166
|
+
"homeregion",
|
1167
|
+
"bearertokentype",
|
1168
|
+
"bearertoken",
|
1169
|
+
"idtoken",
|
1170
|
+
"domainid"
|
919
1171
|
]
|
920
1172
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
921
1173
|
if extra_kwargs:
|
922
1174
|
raise ValueError(
|
923
1175
|
"validate_user got unknown kwargs: {!r}".format(extra_kwargs))
|
924
1176
|
|
1177
|
+
if 'problem_type' in kwargs:
|
1178
|
+
problem_type_allowed_values = ["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]
|
1179
|
+
if kwargs['problem_type'] not in problem_type_allowed_values:
|
1180
|
+
raise ValueError(
|
1181
|
+
"Invalid value for `problem_type`, must be one of {0}".format(problem_type_allowed_values)
|
1182
|
+
)
|
1183
|
+
|
925
1184
|
query_params = {
|
926
1185
|
"problemType": kwargs.get("problem_type", missing)
|
927
1186
|
}
|
@@ -930,10 +1189,14 @@ class IncidentClient(object):
|
|
930
1189
|
header_params = {
|
931
1190
|
"accept": "application/json",
|
932
1191
|
"content-type": "application/json",
|
933
|
-
"csi": csi,
|
1192
|
+
"csi": kwargs.get("csi", missing),
|
934
1193
|
"opc-request-id": kwargs.get("opc_request_id", missing),
|
935
|
-
"ocid": ocid,
|
936
|
-
"homeregion": kwargs.get("homeregion", missing)
|
1194
|
+
"ocid": kwargs.get("ocid", missing),
|
1195
|
+
"homeregion": kwargs.get("homeregion", missing),
|
1196
|
+
"bearertokentype": kwargs.get("bearertokentype", missing),
|
1197
|
+
"bearertoken": kwargs.get("bearertoken", missing),
|
1198
|
+
"idtoken": kwargs.get("idtoken", missing),
|
1199
|
+
"domainid": kwargs.get("domainid", missing)
|
937
1200
|
}
|
938
1201
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
939
1202
|
|