检测CloudFoundry / Bluemix的版本 [英] Detect the version of CloudFoundry/Bluemix

查看:61
本文介绍了检测CloudFoundry / Bluemix的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试检测Bluemix / Cloud Foundry的版本。有没有我可以使用的命令?

I am trying to detect the version of Bluemix/Cloud Foundry. Is there a command I can use to do this?

cf -version告诉您命令行界面的版本,而不是您推送的服务器的版本

cf -version tells you the version of the commandline interface, but not the version of the server you are "push"ing to.

谢谢

安东尼

推荐答案

您可以通过CloudFoundry信息端点获取运行Bluemix的CloudFoundry版本。

You can get the version of CloudFoundry that Bluemix is running on via the CloudFoundry info endpoint.

US South Datacenter- https://api.ng.bluemix.net/info (截至本文发布时为226)

US South Datacenter - https://api.ng.bluemix.net/info (currently 226 as of this posting)

欧盟英国数据中心- https:// api .eu-gb.bluemix.net / info (当前截至发稿时为226)

EU UK Datacenter - https://api.eu-gb.bluemix.net/info (currently 226 as of this posting)

AP数据中心- https://api.au-syd.bluemix.net/info (目前为226个)

AP Datacenter - https://api.au-syd.bluemix.net/info (currently 226 as of this posting)

AP数据中心- https://api.eu-de.bluemix.net/info (当前为226)

AP Datacenter - https://api.eu-de.bluemix.net/info (currently 226 as of this posting)

The

{
"name": "Bluemix",
"build": "226004",
"support": "http://ibm.com",
"version": 2,
"description": "IBM Bluemix",
"authorization_endpoint": "https://login.ng.bluemix.net/UAALoginServerWAR",
"token_endpoint": "https://uaa.ng.bluemix.net",
"allow_debug": true
}

这篇关于检测CloudFoundry / Bluemix的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆