Using CTS to Audit Inference Service Operations
ModelArts can connect to CTS. With CTS, you can obtain operations associated with ModelArts for later query, audit, and backtrack operations.
Prerequisites
CTS has been enabled. For details, see Cloud Trace Service User Guide.
Key Inference Deployment (New Version) Operations Traced by CTS
| Operation | Resource Type | Trace |
|---|---|---|
| Creating an API key | apikeyV2 | CreateApiKeyV2 |
| Obtaining API keys | apikeyV2 | ListApiKeyV2 |
| Deleting an API key | apikeyV2 | DeleteApiKeyV2 |
| Binding an API key | apikeyV2 | BindApiKeyV2 |
| Unbinding an API key | apikeyV2 | UnbindApiKeyV2 |
| Batch binding API keys | apikeyV2 | BindApiKeyV2 |
| Batch unbinding API keys | apikeyV2 | UnbindApiKeyV2 |
| Creating a service deployment | serviceV2 | CreateDeployment |
| Updating a service deployment | serviceV2 | UpdateDeployment |
| Obtaining service deployment details | serviceV2 | GetDeployment |
| Starting a service deployment | serviceV2 | StartDeployment |
| Stopping a service deployment | serviceV2 | StopDeployment |
| Deleting a service deployment | serviceV2 | DeleteDeployment |
| Interrupting a service deployment | serviceV2 | InterruptDeployment |
| Obtaining service deployments | serviceV2 | ListDeployment |
| Scaling instances | serviceV2 | ScaleDeployment |
| Obtaining service instances | serviceV2 | ListServiceV2Instances |
| Obtaining service pods | serviceV2 | ListServiceV2Pods |
| Deleting a service instance | serviceV2 | DeleteServiceV2Instance |
| Deleting a pod | serviceV2 | DeleteServiceV2Pod |
| Obtaining pod events | serviceV2 | ListServiceV2PodEvents |
| Switching deployment versions | serviceV2 | SwitchDeploymentVersion |
| Obtaining details about a real-time service deployment version | serviceV2 | GetDeploymentVersion |
| Obtaining deployment versions | serviceV2 | ListDeploymentVersion |
| Deleting a real-time service deployment version | serviceV2 | DeleteDeploymentVersion |
| Creating an HPA policy | serviceV2 | CreateHpa |
| Viewing an HPA policy | serviceV2 | GetHpaV2 |
| Deleting an HPA policy | serviceV2 | DeleteHpa |
| Modifying an HPA policy | serviceV2 | UpdateHpa |
| Obtaining HPA events | serviceV2 | ListHpaEventV2 |
| Querying details about a managed cluster | Cluster | GetClusterV2 |
| Creating a service | serviceV2 | CreateServiceV2 |
| Starting a service | serviceV2 | StartServiceV2 |
| Updating a service | serviceV2 | UpdateServiceV2 |
| Obtaining service details | serviceV2 | GetServiceV2 |
| Stopping a service | serviceV2 | StopServiceV2 |
| Interrupting a service | serviceV2 | InterruptServiceV2 |
| Deleting a service | serviceV2 | DeleteServiceV2 |
| Obtaining services | serviceV2 | ListServiceV2 |
| Obtaining events of a specified service | serviceV2 | ListEventsV2 |
| Obtaining available flavors | ServiceFlavor | ListServiceFlavor |
| Batch creating resource tags | ServiceTag | CreateServiceTag |
| Batch deleting resource tags | ServiceTag | DeleteServiceTag |
| Obtaining resource tags | ServiceTag | ListResourceServiceTag |
| Obtaining tags of a project | ServiceTag | ListProjectServiceTag |
| Obtaining resource instances | ServiceTag | ListServiceTagResources |
| Obtaining the number of resource instances | ServiceTag | CountServiceTagInstance |
| Switching real-time service versions | serviceV2 | SwitchServiceV2Version |
| Obtaining details about real-time service versions | serviceV2 | GetServiceV2Version |
| Obtaining real-time service versions | serviceV2 | ListServiceV2Version |
| Deleting a real-time service version | serviceV2 | DeleteServiceV2Version |
| Creating a private network request | intranetConnection | CreateIntranetConnection |
| Operating a private network request | intranetConnection | OperateIntranetConnection |
| Obtaining private network access requests | intranetConnection | ListApprovalRequests |
| Obtaining private network access approvals | intranetConnection | ListApprovalReviews |
| Deleting a private network connection | intranetConnection | DeleteIntranetConnection |
| Modifying a request for adding a custom private network URL | intranetConnection | OperateIntranetConnection |
| Querying quotas | ProjectQuota | GetProjectQuota |
For details about how to view audit logs in CTS, see Querying Traces in CTS.
Viewing Traces
- Log in to the CTS console.
- Click
in the upper left corner and select the target region. - In the navigation pane on the left, choose Trace List.
Each time you log in to the CTS console, the new edition is displayed by default. Click Old Edition in the upper right corner to switch to the trace list of the old edition.
- Filter traces to view information about the target traces.
For details, see Querying Traces in CTS.
You can call the API to get traces in the trace list to view resource operation records. For details, see Querying a Trace List.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot