命令:curl -v -X DELETE http://192.168.7.225:8761/eureka/apps/BWT-VMS-USER/bwt-vms-user:8002
解释:
BWT-VMS-USER: name(实例名称)
bwt-vms-user:8002: instanceId(实例id)
<application> <name>BWT-VMS-USER</name> <instance> <instanceId>bwt-vms-user:8002</instanceId> <hostName>172.17.0.8</hostName> <app>BWT-VMS-USER</app> <ipAddr>172.17.0.8</ipAddr> <status>UP</status> <overriddenstatus>UNKNOWN</overriddenstatus> <port enabled="true">8002</port> <securePort enabled="false">443</securePort> <countryId>1</countryId> <dataCenterInfo class="com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo"> <name>MyOwn</name> </dataCenterInfo> <leaseInfo> <renewalIntervalInSecs>10</renewalIntervalInSecs> <durationInSecs>30</durationInSecs> <registrationTimestamp>1588747143552</registrationTimestamp> <lastRenewalTimestamp>1588747193559</lastRenewalTimestamp> <evictionTimestamp>0</evictionTimestamp> <serviceUpTimestamp>1588747143041</serviceUpTimestamp> </leaseInfo> <metadata> <management.port>8002</management.port> </metadata> <homePageUrl>http://172.17.0.8:8002/</homePageUrl> <statusPageUrl>http://172.17.0.8:8002/actuator/info</statusPageUrl> <healthCheckUrl>http://172.17.0.8:8002/actuator/health</healthCheckUrl> <vipAddress>bwt-vms-user</vipAddress> <secureVipAddress>bwt-vms-user</secureVipAddress> <isCoordinatingDiscoveryServer>false</isCoordinatingDiscoveryServer> <lastUpdatedTimestamp>1588747143552</lastUpdatedTimestamp> <lastDirtyTimestamp>1588747143037</lastDirtyTimestamp> <actionType>ADDED</actionType> </instance> </application> |