MicroServiceInstance
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instanceId |
No |
String |
Instance ID, which must be unique. The instance ID is generated by the service center. |
serviceId |
No |
String |
Microservice ID, which must be unique. The microservice ID in the URL will be used. |
version |
No |
String |
Microservice version. |
hostName |
Yes |
String |
PC name, which can be a domain name or IP address. |
endpoints |
No |
Array of strings |
Example: rest:127.0.0.1:8080. |
status |
Yes |
String |
Instance status.
|
properties |
No |
Map<String, String> |
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 |
No |
String |
Time when an instance is created, which is automatically generated. |
modTimestamp |
No |
String |
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