解决了

服务的主机名/ IP?

  • 2021年6月10日
  • 2回复
  • 52意见

  • 航行员
  • 2回复

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

我假设通过查询应用程序对象/ apps / {uuid}的API,我会得到服务列表,从而获取VM的UUID。但我似乎可以找到VM UUID.any的想法吗?

图标

最好的答案josenutanix.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 status.resources.deployment_list

  • .sub strate_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