[英]How do I list only Watson IoT Platform services using 'bx service' or similar operations
I'm trying to list out all the services of Watson IoT Platform, as deployed against a given Organisation and Space. 我试图列出针对特定组织和空间部署的Watson IoT Platform的所有服务。
Say, for example, I have 3 different Watson IoT Platform services deployed and now, when I use "bx service list" It lists all services, including Watson IoT Platform services. 举例来说,我部署了3种不同的Watson IoT Platform服务,现在,当我使用“ bx服务列表”时,它列出了所有服务,包括Watson IoT Platform服务。 Now, if I know the name of my Watson IoT Platform service, then I can type in "bx service show iotf-service"
现在,如果我知道我的Watson IoT Platform服务的名称,那么我可以输入“ bx service show iotf-service”
Are you aware of BX SERVICE command or an equivalent REST API that I can leverage, to obtain the needed output? 您是否知道我可以利用BX SERVICE命令或等效的REST API来获取所需的输出?
there isn't a bx service command to show you only the desired services, but (assuming that you are on windows) you can use: 没有bx service命令仅向您显示所需的服务,但是(假设您在Windows上)可以使用:
bx service list | bx服务列表| find "iotf-service"
找到“ iotf服务”
this will grab only the "iotf-service" 这将仅获取“ iotf服务”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.