解决了

服务的主机名/IP?

  • 2021年6月10日
  • 2个答复
  • 52次观看

  • 旅行者
  • 2个答复

如何获得在应用程序中运行的服务的主机名/IP?

我假设通过查询API对App Object /Apps /{UUID}查询,我将获得服务列表,因此获得VM的UUID。但是我似乎可以找到VM UUID。

图标

最好的答案乔森纳克斯2021年6月10日,19:12

Hey @BCar<\/user-mention>\u00a0<\/p>

Look for the JSONPath\u00a0status.resources.deployment_list<\/p>

  • .substrate_configuration.element_list<\/li>\t
  • .instance_id<\/li><\/ul>","className":"post__content__best_answer"}">
查看原件

该主题已关闭以供评论

2个答复

UserLevel 4
徽章 +5

@bcar

查找JSONPATH状态。Resources.deployment_list

  • .substrate_configuration.element_list
  • .instance_id

谢谢

Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu