Querying Creation Status of a BCS Service
Function
This API is used to query the creation status of a specified BCS service.
URI
GET /v2/{project_id}/blockchains/{blockchain_id}/status
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID obtained from IAM. Generally, a project ID contains 32 characters. |
blockchain_id |
Yes |
String |
blockchainID |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. Minimum: 1 Maximum: 32768 |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
bcs |
Detail object |
Creation status of the BCS service. |
eip |
Detail object |
Creation status of the EIP. |
sfs |
Detail object |
Creation status of the SFS file system. |
obs |
Detail object |
Creation status of OBS storage. |
kafka |
Detail object |
Creation status of the Kafka instance. |
cce |
ComCCE object |
Creation status of CCE resources. |
Parameter |
Type |
Description |
---|---|---|
cluster |
Detail object |
Creation status of the CCE cluster. |
network |
Detail object |
Creation status of the CCE network. |
security_group |
Detail object |
Creation status of the CCE security group. |
Parameter |
Type |
Description |
---|---|---|
start_time |
String |
Start time. |
end_time |
String |
End time. |
status |
String |
Status. Enumeration values:
|
detail |
String |
Details. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum: 8 Maximum: 36 |
error_msg |
String |
Error message. Minimum: 2 Maximum: 512 |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum: 8 Maximum: 36 |
error_msg |
String |
Error message. Minimum: 2 Maximum: 512 |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum: 8 Maximum: 36 |
error_msg |
String |
Error message. Minimum: 2 Maximum: 512 |
Status code: 404
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum: 8 Maximum: 36 |
error_msg |
String |
Error message. Minimum: 2 Maximum: 512 |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum: 8 Maximum: 36 |
error_msg |
String |
Error message. Minimum: 2 Maximum: 512 |
Example Requests
None
Example Responses
Status code: 200
Ok
{ "bcs" : { "start_time" : "2020-10-15T18:24:48.658236618+08:00", "end_time" : "2020-10-15T18:25:53.552512674+08:00", "status" : "finished", "detail" : "" }, "eip" : { "start_time" : "2020-10-15T18:24:31.957780831+08:00", "end_time" : "2020-10-15T18:24:33.810699517+08:00", "status" : "finished", "detail" : "" }, "sfs" : { "start_time" : "2020-10-15T18:24:31.957781285+08:00", "end_time" : "2020-10-15T18:24:48.611812564+08:00", "status" : "finished", "detail" : "" } }
Status code: 400
Bad Request
{ "error_code" : "BCS.4006005", "error_msg" : "keyType error, keyType: blok not supported" }
Status code: 401
Unauthorized
{ "error_code" : "BCS.4010401", "error_msg" : "Incorrect token or token resolution failed" }
Status code: 403
Forbidden
{ "error_code" : "BCS.4030403", "error_msg" : "No permissions to request this method" }
Status code: 404
Not Found
{ "error_code" : "BCS.4040404", "error_msg" : "Not Found:the url is not found" }
Status code: 500
InternalServerError
{ "error_code" : "BCS.5000500", "error_msg" : "Internal Server Error" }
Status Codes
Status Code |
Description |
---|---|
200 |
Ok |
400 |
Bad Request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
InternalServerError |
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