oci 2.137.1__py3-none-any.whl → 2.138.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/auth_utils.py +9 -6
- oci/auth/federation_client.py +59 -5
- oci/auth/rpt_path_providers.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +5 -12
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +69 -245
- oci/cims/models/__init__.py +6 -0
- oci/cims/models/activity_item.py +37 -6
- oci/cims/models/create_account_item_details.py +3 -0
- oci/cims/models/create_incident.py +22 -2
- oci/cims/models/create_limit_item_details.py +10 -3
- oci/cims/models/create_tech_support_item_details.py +3 -0
- oci/cims/models/create_user_details.py +22 -2
- oci/cims/models/incident.py +22 -2
- oci/cims/models/incident_resource_type.py +46 -15
- oci/cims/models/incident_summary.py +22 -2
- oci/cims/models/item.py +1 -1
- oci/cims/models/limit_item.py +40 -5
- oci/cims/models/service_categories.py +34 -34
- oci/cims/models/service_category.py +31 -0
- oci/cims/models/sub_categories.py +165 -0
- oci/cims/models/sub_components.py +103 -0
- oci/cims/models/subscription_info.py +103 -0
- oci/cims/models/ticket.py +4 -4
- oci/cims/models/update_incident.py +22 -2
- oci/cims/models/user.py +22 -2
- oci/circuit_breaker/__init__.py +24 -2
- oci/circuit_breaker/circuit_breaker.py +11 -1
- 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 +22 -22
- 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/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +270 -44
- oci/data_flow/data_flow_client_composite_operations.py +78 -0
- oci/data_flow/models/sql_endpoint.py +7 -3
- oci/data_flow/models/sql_endpoint_summary.py +7 -3
- oci/data_flow/models/update_sql_endpoint_details.py +344 -3
- 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 +396 -396
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- 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 +69 -69
- 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 +874 -333
- oci/identity_domains/models/__init__.py +20 -0
- oci/identity_domains/models/condition.py +31 -2
- oci/identity_domains/models/condition_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consent.py +1041 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consent_consent_signed_by.py +260 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consent_modified_resource.py +223 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consent_policy_resource.py +148 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consent_search_request.py +364 -0
- oci/identity_domains/models/oci_console_sign_on_policy_consents.py +196 -0
- oci/identity_domains/models/policy.py +31 -2
- oci/identity_domains/models/policy_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
- oci/identity_domains/models/policy_policy_type.py +2 -2
- oci/identity_domains/models/restore_oci_console_policy.py +722 -0
- oci/identity_domains/models/rule.py +31 -2
- oci/identity_domains/models/rule_condition_group.py +2 -2
- oci/identity_domains/models/rule_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
- 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/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +180 -180
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +15 -4
- 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/retry/__init__.py +20 -0
- 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/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/METADATA +1 -1
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/RECORD +306 -293
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/WHEEL +0 -0
- {oci-2.137.1.dist-info → oci-2.138.0.dist-info}/top_level.txt +0 -0
oci/cims/incident_client.py
CHANGED
@@ -123,7 +123,10 @@ class IncidentClient(object):
|
|
123
123
|
|
124
124
|
def create_incident(self, create_incident_details, **kwargs):
|
125
125
|
"""
|
126
|
-
|
126
|
+
Creates a support ticket in the specified tenancy.
|
127
|
+
For more information, see `Creating Support Requests`__.
|
128
|
+
|
129
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm
|
127
130
|
|
128
131
|
|
129
132
|
:param oci.cims.models.CreateIncident create_incident_details: (required)
|
@@ -134,6 +137,7 @@ class IncidentClient(object):
|
|
134
137
|
|
135
138
|
:param str ocid: (optional)
|
136
139
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
140
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
137
141
|
|
138
142
|
:param str homeregion: (optional)
|
139
143
|
The region of the tenancy.
|
@@ -149,6 +153,7 @@ class IncidentClient(object):
|
|
149
153
|
|
150
154
|
:param str domainid: (optional)
|
151
155
|
The OCID of identity domain.
|
156
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
152
157
|
|
153
158
|
:param obj retry_strategy: (optional)
|
154
159
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -166,7 +171,7 @@ class IncidentClient(object):
|
|
166
171
|
:rtype: :class:`~oci.response.Response`
|
167
172
|
|
168
173
|
:example:
|
169
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
174
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cims/create_incident.py.html>`__ to see an example of how to use create_incident API.
|
170
175
|
"""
|
171
176
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
172
177
|
required_arguments = []
|
@@ -237,154 +242,34 @@ class IncidentClient(object):
|
|
237
242
|
api_reference_link=api_reference_link,
|
238
243
|
required_arguments=required_arguments)
|
239
244
|
|
240
|
-
def
|
245
|
+
def get_incident(self, incident_key, compartment_id, **kwargs):
|
241
246
|
"""
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
:param str tenant_id: (required)
|
246
|
-
Tenancy Ocid in oracle cloud Infrastructure
|
247
|
-
|
248
|
-
:param str region: (required)
|
249
|
-
Home region of the customer which is part of oracle cloud infrastructure regions
|
250
|
-
|
251
|
-
:param str opc_request_id: (optional)
|
252
|
-
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
253
|
-
|
254
|
-
:param str ocid: (optional)
|
255
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
256
|
-
|
257
|
-
:param str homeregion: (optional)
|
258
|
-
The region of the tenancy.
|
247
|
+
Gets the specified support ticket.
|
248
|
+
For more information, see `Getting Details for a Support Request`__.
|
259
249
|
|
260
|
-
|
261
|
-
Token type that determine which cloud provider the request come from.
|
262
|
-
|
263
|
-
:param str bearertoken: (optional)
|
264
|
-
Token that provided by multi cloud provider, which help to validate the email.
|
265
|
-
|
266
|
-
:param str idtoken: (optional)
|
267
|
-
IdToken that provided by multi cloud provider, which help to validate the email.
|
268
|
-
|
269
|
-
:param str domainid: (optional)
|
270
|
-
The OCID of identity domain.
|
271
|
-
|
272
|
-
:param obj retry_strategy: (optional)
|
273
|
-
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
274
|
-
|
275
|
-
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.
|
276
|
-
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
277
|
-
|
278
|
-
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
279
|
-
|
280
|
-
:param bool allow_control_chars: (optional)
|
281
|
-
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
282
|
-
By default, the response will not allow control characters in strings
|
283
|
-
|
284
|
-
:return: A :class:`~oci.response.Response` object with data of type str
|
285
|
-
:rtype: :class:`~oci.response.Response`
|
286
|
-
|
287
|
-
:example:
|
288
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.1/cims/get_csi_number.py.html>`__ to see an example of how to use get_csi_number API.
|
289
|
-
"""
|
290
|
-
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
291
|
-
required_arguments = ['tenantId', 'region']
|
292
|
-
resource_path = "/v2/incidents/getCsiNumber"
|
293
|
-
method = "GET"
|
294
|
-
operation_name = "get_csi_number"
|
295
|
-
api_reference_link = ""
|
296
|
-
|
297
|
-
# Don't accept unknown kwargs
|
298
|
-
expected_kwargs = [
|
299
|
-
"allow_control_chars",
|
300
|
-
"retry_strategy",
|
301
|
-
"opc_request_id",
|
302
|
-
"ocid",
|
303
|
-
"homeregion",
|
304
|
-
"bearertokentype",
|
305
|
-
"bearertoken",
|
306
|
-
"idtoken",
|
307
|
-
"domainid"
|
308
|
-
]
|
309
|
-
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
310
|
-
if extra_kwargs:
|
311
|
-
raise ValueError(
|
312
|
-
f"get_csi_number got unknown kwargs: {extra_kwargs!r}")
|
313
|
-
|
314
|
-
query_params = {
|
315
|
-
"tenantId": tenant_id,
|
316
|
-
"region": region
|
317
|
-
}
|
318
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
319
|
-
|
320
|
-
header_params = {
|
321
|
-
"accept": "application/json",
|
322
|
-
"content-type": "application/json",
|
323
|
-
"opc-request-id": kwargs.get("opc_request_id", missing),
|
324
|
-
"ocid": kwargs.get("ocid", missing),
|
325
|
-
"homeregion": kwargs.get("homeregion", missing),
|
326
|
-
"bearertokentype": kwargs.get("bearertokentype", missing),
|
327
|
-
"bearertoken": kwargs.get("bearertoken", missing),
|
328
|
-
"idtoken": kwargs.get("idtoken", missing),
|
329
|
-
"domainid": kwargs.get("domainid", missing)
|
330
|
-
}
|
331
|
-
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
332
|
-
|
333
|
-
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
334
|
-
operation_retry_strategy=kwargs.get('retry_strategy'),
|
335
|
-
client_retry_strategy=self.retry_strategy
|
336
|
-
)
|
337
|
-
|
338
|
-
if retry_strategy:
|
339
|
-
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
340
|
-
self.base_client.add_opc_client_retries_header(header_params)
|
341
|
-
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
342
|
-
return retry_strategy.make_retrying_call(
|
343
|
-
self.base_client.call_api,
|
344
|
-
resource_path=resource_path,
|
345
|
-
method=method,
|
346
|
-
query_params=query_params,
|
347
|
-
header_params=header_params,
|
348
|
-
response_type="str",
|
349
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
350
|
-
operation_name=operation_name,
|
351
|
-
api_reference_link=api_reference_link,
|
352
|
-
required_arguments=required_arguments)
|
353
|
-
else:
|
354
|
-
return self.base_client.call_api(
|
355
|
-
resource_path=resource_path,
|
356
|
-
method=method,
|
357
|
-
query_params=query_params,
|
358
|
-
header_params=header_params,
|
359
|
-
response_type="str",
|
360
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
361
|
-
operation_name=operation_name,
|
362
|
-
api_reference_link=api_reference_link,
|
363
|
-
required_arguments=required_arguments)
|
364
|
-
|
365
|
-
def get_incident(self, incident_key, **kwargs):
|
366
|
-
"""
|
367
|
-
Gets details about the specified support ticket.
|
250
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm
|
368
251
|
|
369
252
|
|
370
253
|
:param str incident_key: (required)
|
371
254
|
Unique identifier for the support ticket.
|
372
255
|
|
256
|
+
:param str compartment_id: (required)
|
257
|
+
The OCID of the tenancy.
|
258
|
+
|
373
259
|
:param str opc_request_id: (optional)
|
374
260
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
375
261
|
|
376
262
|
:param str csi: (optional)
|
377
|
-
The Customer Support Identifier (CSI) associated with the support account.
|
263
|
+
The Customer Support Identifier (CSI) number associated with the support account.
|
264
|
+
The CSI is required for technical support tickets and optional for limits and billing tickets.
|
378
265
|
|
379
266
|
:param str ocid: (optional)
|
380
267
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
268
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
381
269
|
|
382
270
|
:param str homeregion: (optional)
|
383
271
|
The region of the tenancy.
|
384
272
|
|
385
|
-
:param str compartment_id: (optional)
|
386
|
-
The OCID of the tenancy.
|
387
|
-
|
388
273
|
:param str problemtype: (optional)
|
389
274
|
The kind of support request.
|
390
275
|
|
@@ -399,6 +284,7 @@ class IncidentClient(object):
|
|
399
284
|
|
400
285
|
:param str domainid: (optional)
|
401
286
|
The OCID of identity domain.
|
287
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
402
288
|
|
403
289
|
:param obj retry_strategy: (optional)
|
404
290
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -416,10 +302,10 @@ class IncidentClient(object):
|
|
416
302
|
:rtype: :class:`~oci.response.Response`
|
417
303
|
|
418
304
|
:example:
|
419
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
305
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cims/get_incident.py.html>`__ to see an example of how to use get_incident API.
|
420
306
|
"""
|
421
307
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
422
|
-
required_arguments = ['incidentKey']
|
308
|
+
required_arguments = ['incidentKey', 'compartmentId']
|
423
309
|
resource_path = "/v2/incidents/{incidentKey}"
|
424
310
|
method = "GET"
|
425
311
|
operation_name = "get_incident"
|
@@ -433,7 +319,6 @@ class IncidentClient(object):
|
|
433
319
|
"csi",
|
434
320
|
"ocid",
|
435
321
|
"homeregion",
|
436
|
-
"compartment_id",
|
437
322
|
"problemtype",
|
438
323
|
"bearertokentype",
|
439
324
|
"bearertoken",
|
@@ -456,7 +341,7 @@ class IncidentClient(object):
|
|
456
341
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
457
342
|
|
458
343
|
query_params = {
|
459
|
-
"compartmentId":
|
344
|
+
"compartmentId": compartment_id
|
460
345
|
}
|
461
346
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
462
347
|
|
@@ -509,100 +394,19 @@ class IncidentClient(object):
|
|
509
394
|
api_reference_link=api_reference_link,
|
510
395
|
required_arguments=required_arguments)
|
511
396
|
|
512
|
-
def get_status(self, **kwargs):
|
513
|
-
"""
|
514
|
-
Gets the status of the service.
|
515
|
-
|
516
|
-
|
517
|
-
:param str opc_request_id: (optional)
|
518
|
-
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
519
|
-
|
520
|
-
:param str ocid: (optional)
|
521
|
-
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
522
|
-
|
523
|
-
:param str homeregion: (optional)
|
524
|
-
The region of the tenancy.
|
525
|
-
|
526
|
-
:param obj retry_strategy: (optional)
|
527
|
-
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
528
|
-
|
529
|
-
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.
|
530
|
-
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
531
|
-
|
532
|
-
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
533
|
-
|
534
|
-
:param bool allow_control_chars: (optional)
|
535
|
-
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
536
|
-
By default, the response will not allow control characters in strings
|
537
|
-
|
538
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cims.models.Status`
|
539
|
-
:rtype: :class:`~oci.response.Response`
|
540
|
-
|
541
|
-
:example:
|
542
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.1/cims/get_status.py.html>`__ to see an example of how to use get_status API.
|
543
|
-
"""
|
544
|
-
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
545
|
-
required_arguments = []
|
546
|
-
resource_path = "/v2/incidents/status"
|
547
|
-
method = "GET"
|
548
|
-
operation_name = "get_status"
|
549
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus"
|
550
|
-
|
551
|
-
# Don't accept unknown kwargs
|
552
|
-
expected_kwargs = [
|
553
|
-
"allow_control_chars",
|
554
|
-
"retry_strategy",
|
555
|
-
"opc_request_id",
|
556
|
-
"ocid",
|
557
|
-
"homeregion"
|
558
|
-
]
|
559
|
-
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
560
|
-
if extra_kwargs:
|
561
|
-
raise ValueError(
|
562
|
-
f"get_status got unknown kwargs: {extra_kwargs!r}")
|
563
|
-
|
564
|
-
header_params = {
|
565
|
-
"accept": "application/json",
|
566
|
-
"content-type": "application/json",
|
567
|
-
"opc-request-id": kwargs.get("opc_request_id", missing),
|
568
|
-
"ocid": kwargs.get("ocid", missing),
|
569
|
-
"homeregion": kwargs.get("homeregion", missing)
|
570
|
-
}
|
571
|
-
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
572
|
-
|
573
|
-
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
574
|
-
operation_retry_strategy=kwargs.get('retry_strategy'),
|
575
|
-
client_retry_strategy=self.retry_strategy
|
576
|
-
)
|
577
|
-
|
578
|
-
if retry_strategy:
|
579
|
-
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
580
|
-
self.base_client.add_opc_client_retries_header(header_params)
|
581
|
-
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
582
|
-
return retry_strategy.make_retrying_call(
|
583
|
-
self.base_client.call_api,
|
584
|
-
resource_path=resource_path,
|
585
|
-
method=method,
|
586
|
-
header_params=header_params,
|
587
|
-
response_type="Status",
|
588
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
589
|
-
operation_name=operation_name,
|
590
|
-
api_reference_link=api_reference_link,
|
591
|
-
required_arguments=required_arguments)
|
592
|
-
else:
|
593
|
-
return self.base_client.call_api(
|
594
|
-
resource_path=resource_path,
|
595
|
-
method=method,
|
596
|
-
header_params=header_params,
|
597
|
-
response_type="Status",
|
598
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
599
|
-
operation_name=operation_name,
|
600
|
-
api_reference_link=api_reference_link,
|
601
|
-
required_arguments=required_arguments)
|
602
|
-
|
603
397
|
def list_incident_resource_types(self, problem_type, compartment_id, **kwargs):
|
604
398
|
"""
|
605
|
-
|
399
|
+
Depending on the selected `productType`, either
|
400
|
+
lists available products (service groups, services, service categories, and subcategories) for technical support tickets or
|
401
|
+
lists limits and current usage for limit increase tickets.
|
402
|
+
This operation is called during creation of technical support and limit increase tickets.
|
403
|
+
For more information about listing products, see
|
404
|
+
`Listing Products for Support Requests`__.
|
405
|
+
For more information about listing limits, see
|
406
|
+
`Listing Limits for Service Limit Increase Requests`__.
|
407
|
+
|
408
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm
|
409
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm
|
606
410
|
|
607
411
|
|
608
412
|
:param str problem_type: (required)
|
@@ -638,16 +442,19 @@ class IncidentClient(object):
|
|
638
442
|
The user-friendly name of the support ticket type.
|
639
443
|
|
640
444
|
:param str csi: (optional)
|
641
|
-
The Customer Support Identifier (CSI) associated with the support account.
|
445
|
+
The Customer Support Identifier (CSI) number associated with the support account.
|
446
|
+
The CSI is required for technical support tickets and optional for limits and billing tickets.
|
642
447
|
|
643
448
|
:param str ocid: (optional)
|
644
449
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
450
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
645
451
|
|
646
452
|
:param str homeregion: (optional)
|
647
453
|
The region of the tenancy.
|
648
454
|
|
649
455
|
:param str domainid: (optional)
|
650
456
|
The OCID of identity domain.
|
457
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
651
458
|
|
652
459
|
:param obj retry_strategy: (optional)
|
653
460
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -665,7 +472,7 @@ class IncidentClient(object):
|
|
665
472
|
:rtype: :class:`~oci.response.Response`
|
666
473
|
|
667
474
|
:example:
|
668
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
475
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cims/list_incident_resource_types.py.html>`__ to see an example of how to use list_incident_resource_types API.
|
669
476
|
"""
|
670
477
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
671
478
|
required_arguments = ['problemType', 'compartmentId']
|
@@ -764,14 +571,18 @@ class IncidentClient(object):
|
|
764
571
|
|
765
572
|
def list_incidents(self, compartment_id, **kwargs):
|
766
573
|
"""
|
767
|
-
|
574
|
+
Lists support tickets for the specified tenancy.
|
575
|
+
For more information, see `Listing Support Requests`__.
|
576
|
+
|
577
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm
|
768
578
|
|
769
579
|
|
770
580
|
:param str compartment_id: (required)
|
771
581
|
The OCID of the tenancy.
|
772
582
|
|
773
583
|
:param str csi: (optional)
|
774
|
-
The Customer Support Identifier (CSI) associated with the support account.
|
584
|
+
The Customer Support Identifier (CSI) number associated with the support account.
|
585
|
+
The CSI is required for technical support tickets and optional for limits and billing tickets.
|
775
586
|
|
776
587
|
:param int limit: (optional)
|
777
588
|
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`__.
|
@@ -803,6 +614,7 @@ class IncidentClient(object):
|
|
803
614
|
|
804
615
|
:param str ocid: (optional)
|
805
616
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
617
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
806
618
|
|
807
619
|
:param str homeregion: (optional)
|
808
620
|
The region of the tenancy.
|
@@ -821,6 +633,7 @@ class IncidentClient(object):
|
|
821
633
|
|
822
634
|
:param str domainid: (optional)
|
823
635
|
The OCID of identity domain.
|
636
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
824
637
|
|
825
638
|
:param obj retry_strategy: (optional)
|
826
639
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -838,7 +651,7 @@ class IncidentClient(object):
|
|
838
651
|
:rtype: :class:`~oci.response.Response`
|
839
652
|
|
840
653
|
:example:
|
841
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
654
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cims/list_incidents.py.html>`__ to see an example of how to use list_incidents API.
|
842
655
|
"""
|
843
656
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
844
657
|
required_arguments = ['compartmentId']
|
@@ -949,9 +762,12 @@ class IncidentClient(object):
|
|
949
762
|
api_reference_link=api_reference_link,
|
950
763
|
required_arguments=required_arguments)
|
951
764
|
|
952
|
-
def update_incident(self, incident_key, update_incident_details, **kwargs):
|
765
|
+
def update_incident(self, incident_key, update_incident_details, compartment_id, **kwargs):
|
953
766
|
"""
|
954
|
-
Updates the specified support ticket
|
767
|
+
Updates the specified support ticket.
|
768
|
+
For more information, see `Updating Support Requests`__.
|
769
|
+
|
770
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm
|
955
771
|
|
956
772
|
|
957
773
|
:param str incident_key: (required)
|
@@ -960,20 +776,22 @@ class IncidentClient(object):
|
|
960
776
|
:param oci.cims.models.UpdateIncident update_incident_details: (required)
|
961
777
|
Details about the support ticket being updated.
|
962
778
|
|
779
|
+
:param str compartment_id: (required)
|
780
|
+
The OCID of the tenancy.
|
781
|
+
|
963
782
|
:param str csi: (optional)
|
964
|
-
The Customer Support Identifier (CSI) associated with the support account.
|
783
|
+
The Customer Support Identifier (CSI) number associated with the support account.
|
784
|
+
The CSI is required for technical support tickets and optional for limits and billing tickets.
|
965
785
|
|
966
786
|
:param str opc_request_id: (optional)
|
967
787
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
968
788
|
|
969
|
-
:param str compartment_id: (optional)
|
970
|
-
The OCID of the tenancy.
|
971
|
-
|
972
789
|
:param str if_match: (optional)
|
973
790
|
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.
|
974
791
|
|
975
792
|
:param str ocid: (optional)
|
976
793
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
794
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
977
795
|
|
978
796
|
:param str homeregion: (optional)
|
979
797
|
The region of the tenancy.
|
@@ -989,6 +807,7 @@ class IncidentClient(object):
|
|
989
807
|
|
990
808
|
:param str domainid: (optional)
|
991
809
|
The OCID of identity domain.
|
810
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
992
811
|
|
993
812
|
:param obj retry_strategy: (optional)
|
994
813
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -1006,10 +825,10 @@ class IncidentClient(object):
|
|
1006
825
|
:rtype: :class:`~oci.response.Response`
|
1007
826
|
|
1008
827
|
:example:
|
1009
|
-
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.138.0/cims/update_incident.py.html>`__ to see an example of how to use update_incident API.
|
1010
829
|
"""
|
1011
830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1012
|
-
required_arguments = ['incidentKey']
|
831
|
+
required_arguments = ['incidentKey', 'compartmentId']
|
1013
832
|
resource_path = "/v2/incidents/{incidentKey}"
|
1014
833
|
method = "PUT"
|
1015
834
|
operation_name = "update_incident"
|
@@ -1021,7 +840,6 @@ class IncidentClient(object):
|
|
1021
840
|
"retry_strategy",
|
1022
841
|
"csi",
|
1023
842
|
"opc_request_id",
|
1024
|
-
"compartment_id",
|
1025
843
|
"if_match",
|
1026
844
|
"ocid",
|
1027
845
|
"homeregion",
|
@@ -1046,7 +864,7 @@ class IncidentClient(object):
|
|
1046
864
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1047
865
|
|
1048
866
|
query_params = {
|
1049
|
-
"compartmentId":
|
867
|
+
"compartmentId": compartment_id
|
1050
868
|
}
|
1051
869
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1052
870
|
|
@@ -1104,10 +922,14 @@ class IncidentClient(object):
|
|
1104
922
|
def validate_user(self, **kwargs):
|
1105
923
|
"""
|
1106
924
|
Checks whether the requested user is valid.
|
925
|
+
For more information, see `Validating a User`__.
|
926
|
+
|
927
|
+
__ https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm
|
1107
928
|
|
1108
929
|
|
1109
930
|
:param str csi: (optional)
|
1110
|
-
The Customer Support Identifier (CSI) associated with the support account.
|
931
|
+
The Customer Support Identifier (CSI) number associated with the support account.
|
932
|
+
The CSI is required for technical support tickets and optional for limits and billing tickets.
|
1111
933
|
|
1112
934
|
:param str opc_request_id: (optional)
|
1113
935
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1119,6 +941,7 @@ class IncidentClient(object):
|
|
1119
941
|
|
1120
942
|
:param str ocid: (optional)
|
1121
943
|
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
|
944
|
+
User OCID is mandatory for OCI Users and optional for Multicloud users.
|
1122
945
|
|
1123
946
|
:param str homeregion: (optional)
|
1124
947
|
The region of the tenancy.
|
@@ -1134,6 +957,7 @@ class IncidentClient(object):
|
|
1134
957
|
|
1135
958
|
:param str domainid: (optional)
|
1136
959
|
The OCID of identity domain.
|
960
|
+
DomainID is mandatory if the user is part of Non Default Identity domain.
|
1137
961
|
|
1138
962
|
:param obj retry_strategy: (optional)
|
1139
963
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -1151,7 +975,7 @@ class IncidentClient(object):
|
|
1151
975
|
:rtype: :class:`~oci.response.Response`
|
1152
976
|
|
1153
977
|
:example:
|
1154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
978
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.138.0/cims/validate_user.py.html>`__ to see an example of how to use validate_user API.
|
1155
979
|
"""
|
1156
980
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1157
981
|
required_arguments = []
|
oci/cims/models/__init__.py
CHANGED
@@ -35,7 +35,10 @@ from .resource import Resource
|
|
35
35
|
from .service_categories import ServiceCategories
|
36
36
|
from .service_category import ServiceCategory
|
37
37
|
from .status import Status
|
38
|
+
from .sub_categories import SubCategories
|
38
39
|
from .sub_category import SubCategory
|
40
|
+
from .sub_components import SubComponents
|
41
|
+
from .subscription_info import SubscriptionInfo
|
39
42
|
from .tech_support_item import TechSupportItem
|
40
43
|
from .tenancy_information import TenancyInformation
|
41
44
|
from .ticket import Ticket
|
@@ -78,7 +81,10 @@ cims_type_mapping = {
|
|
78
81
|
"ServiceCategories": ServiceCategories,
|
79
82
|
"ServiceCategory": ServiceCategory,
|
80
83
|
"Status": Status,
|
84
|
+
"SubCategories": SubCategories,
|
81
85
|
"SubCategory": SubCategory,
|
86
|
+
"SubComponents": SubComponents,
|
87
|
+
"SubscriptionInfo": SubscriptionInfo,
|
82
88
|
"TechSupportItem": TechSupportItem,
|
83
89
|
"TenancyInformation": TenancyInformation,
|
84
90
|
"Ticket": Ticket,
|
oci/cims/models/activity_item.py
CHANGED
@@ -133,6 +133,10 @@ class ActivityItem(Item):
|
|
133
133
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
134
134
|
:type item_status: str
|
135
135
|
|
136
|
+
:param attachment_id:
|
137
|
+
The value to assign to the attachment_id property of this ActivityItem.
|
138
|
+
:type attachment_id: str
|
139
|
+
|
136
140
|
"""
|
137
141
|
self.swagger_types = {
|
138
142
|
'item_key': 'str',
|
@@ -147,7 +151,8 @@ class ActivityItem(Item):
|
|
147
151
|
'activity_type': 'str',
|
148
152
|
'activity_author': 'str',
|
149
153
|
'item_type': 'str',
|
150
|
-
'item_status': 'str'
|
154
|
+
'item_status': 'str',
|
155
|
+
'attachment_id': 'str'
|
151
156
|
}
|
152
157
|
|
153
158
|
self.attribute_map = {
|
@@ -163,7 +168,8 @@ class ActivityItem(Item):
|
|
163
168
|
'activity_type': 'activityType',
|
164
169
|
'activity_author': 'activityAuthor',
|
165
170
|
'item_type': 'itemType',
|
166
|
-
'item_status': 'itemStatus'
|
171
|
+
'item_status': 'itemStatus',
|
172
|
+
'attachment_id': 'attachmentID'
|
167
173
|
}
|
168
174
|
|
169
175
|
self._item_key = None
|
@@ -179,6 +185,7 @@ class ActivityItem(Item):
|
|
179
185
|
self._activity_author = None
|
180
186
|
self._item_type = None
|
181
187
|
self._item_status = None
|
188
|
+
self._attachment_id = None
|
182
189
|
self._type = 'activity'
|
183
190
|
|
184
191
|
@property
|
@@ -209,7 +216,7 @@ class ActivityItem(Item):
|
|
209
216
|
def time_created(self):
|
210
217
|
"""
|
211
218
|
**[Required]** Gets the time_created of this ActivityItem.
|
212
|
-
The time when the activity was created, in
|
219
|
+
The time when the activity was created, in seconds since epoch time.
|
213
220
|
|
214
221
|
|
215
222
|
:return: The time_created of this ActivityItem.
|
@@ -221,7 +228,7 @@ class ActivityItem(Item):
|
|
221
228
|
def time_created(self, time_created):
|
222
229
|
"""
|
223
230
|
Sets the time_created of this ActivityItem.
|
224
|
-
The time when the activity was created, in
|
231
|
+
The time when the activity was created, in seconds since epoch time.
|
225
232
|
|
226
233
|
|
227
234
|
:param time_created: The time_created of this ActivityItem.
|
@@ -233,7 +240,7 @@ class ActivityItem(Item):
|
|
233
240
|
def time_updated(self):
|
234
241
|
"""
|
235
242
|
**[Required]** Gets the time_updated of this ActivityItem.
|
236
|
-
The time when the activity was updated, in
|
243
|
+
The time when the activity was updated, in seconds since epoch time.
|
237
244
|
|
238
245
|
|
239
246
|
:return: The time_updated of this ActivityItem.
|
@@ -245,7 +252,7 @@ class ActivityItem(Item):
|
|
245
252
|
def time_updated(self, time_updated):
|
246
253
|
"""
|
247
254
|
Sets the time_updated of this ActivityItem.
|
248
|
-
The time when the activity was updated, in
|
255
|
+
The time when the activity was updated, in seconds since epoch time.
|
249
256
|
|
250
257
|
|
251
258
|
:param time_updated: The time_updated of this ActivityItem.
|
@@ -365,6 +372,30 @@ class ActivityItem(Item):
|
|
365
372
|
item_status = 'UNKNOWN_ENUM_VALUE'
|
366
373
|
self._item_status = item_status
|
367
374
|
|
375
|
+
@property
|
376
|
+
def attachment_id(self):
|
377
|
+
"""
|
378
|
+
Gets the attachment_id of this ActivityItem.
|
379
|
+
attachmentID for the ItemType Attachments only for Alloy realm.
|
380
|
+
|
381
|
+
|
382
|
+
:return: The attachment_id of this ActivityItem.
|
383
|
+
:rtype: str
|
384
|
+
"""
|
385
|
+
return self._attachment_id
|
386
|
+
|
387
|
+
@attachment_id.setter
|
388
|
+
def attachment_id(self, attachment_id):
|
389
|
+
"""
|
390
|
+
Sets the attachment_id of this ActivityItem.
|
391
|
+
attachmentID for the ItemType Attachments only for Alloy realm.
|
392
|
+
|
393
|
+
|
394
|
+
:param attachment_id: The attachment_id of this ActivityItem.
|
395
|
+
:type: str
|
396
|
+
"""
|
397
|
+
self._attachment_id = attachment_id
|
398
|
+
|
368
399
|
def __repr__(self):
|
369
400
|
return formatted_flat_dict(self)
|
370
401
|
|