Modifying Static Information About a Microservice
Function
After you create static information about a microservice, you can update some fields of the microservice. However, you must transfer the struct of extended attributes for each update.
URI
PUT /v4/{project_id}/registry/microservices/{serviceId}/properties
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Fixed value: default. |
serviceId |
String |
Yes |
Microservice ID, which must be unique. The value must be 1 to 64 characters long. Regular expression: ^.*$ |
Request
Request parameters
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
properties |
Map<String, String> |
No |
Extended attribute. You can customize a key and value. |
Response
Response parameters
None
Example
Example request
{ "properties": { "attr1": "value1" } }
Example response
None
Status Code
See Status Codes.
Error Code
See CSE 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