MicroServiceInstance
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
instanceId |
String |
No |
Instance ID, which must be unique. The instance ID is generated by the service center. |
serviceId |
String |
No |
Microservice ID, which must be unique. The microservice ID in the URL will be used. |
version |
String |
No |
Microservice version. |
hostName |
String |
Yes |
PC name, which can be a domain name or IP address. |
endpoints |
Array of strings |
Yes |
Example: rest:127.0.0.1:8080. |
status |
String |
Yes |
Instance status. Options:
|
properties |
Map<String, String> |
No |
Extended attribute. You can customize a key and value. |
healthCheck |
No |
Health check mode. Value: push or pull. interval indicates the pull interval (unit: s), and times indicates the maximum request attempts. When in the pull mode, you need to define port to ensure that the registration center actively connects to the port. The default value of healthCheck is push, that of interval is 30, and that of times is 3. |
|
timestamp |
String |
No |
Time when an instance is created, which is automatically generated. |
modTimestamp |
String |
No |
Update time. |
dataCenterInfo |
No |
Time zone. |
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