Querying a Mesh Upgrade Task
Function
This API is used to query a mesh upgrade task.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
URI
GET /v1/{project_id}/mesh-job/{job_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID |
| job_id | Yes | String | Mesh upgrade task ID |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| kind | String | API type. Fixed value: Job |
| apiVersion | String | API version. Fixed value: v3 |
| metadata | MeshJobMetadata object | Basic information about a mesh job. Metadata is a collection of attributes. |
| spec | MeshJobSpec object | Attributes of a mesh job |
| status | MeshJobStatus object | Mesh job status |
| Parameter | Type | Description |
|---|---|---|
| type | String | Job type |
| subjobs | Array of MeshJob objects | Sub-job information of a mesh job |
| Parameter | Type | Description |
|---|---|---|
| kind | String | API type. Fixed value: Job |
| apiVersion | String | API version. Fixed value: v3 |
| metadata | MeshJobMetadata object | Basic information about a mesh job. Metadata is a collection of attributes. |
| spec | MeshJobSpec object | Attributes of a mesh job |
| status | MeshJobStatus object | Mesh job status |
| Parameter | Type | Description |
|---|---|---|
| uid | String | ID of a mesh job, which is unique. The value is automatically generated after the job is created. A custom value will not take effect. |
| creationTimestamp | String | Time when a mesh job is created |
| updateTimestamp | String | Time when a mesh job is updated |
Example Requests
None
Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | Details about a mesh task |
| 404 | The upgrade task was not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank 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