服务计划的哪些领域提供有关服务的高级信息?
Which fields of service plan provide high level information about services?
我正在尝试使用 cf api:
列出服务计划
from cloudfoundry_client.client import CloudFoundryClient
target_endpoint = 'https://api.ng.bluemix.net'
client = CloudFoundryClient(target_endpoint, skip_verification=False)
client.init_with_user_credentials(
ibm_id,
ibm_id_password
)
import json
for sp in client.service_plans.list():
print(sp['entity']['name'],
sp['entity']['description'])
我希望看到 bluemix Web 控制台中列出的具有有意义的名称和描述的服务列表,但是,我收到的一些响应并没有多大意义,例如
(("100mb", "Basic"), ...)
我需要提取哪些最少的字段集才能列出服务?
文档中列出了 API 个端点,您感兴趣的是 List Service Plans and Service Plan Details。
您还可以通过点击 Catalog endpoint.
来获取有关 Service Broker 提供的所有内容的信息
我正在尝试使用 cf api:
列出服务计划from cloudfoundry_client.client import CloudFoundryClient
target_endpoint = 'https://api.ng.bluemix.net'
client = CloudFoundryClient(target_endpoint, skip_verification=False)
client.init_with_user_credentials(
ibm_id,
ibm_id_password
)
import json
for sp in client.service_plans.list():
print(sp['entity']['name'],
sp['entity']['description'])
我希望看到 bluemix Web 控制台中列出的具有有意义的名称和描述的服务列表,但是,我收到的一些响应并没有多大意义,例如
(("100mb", "Basic"), ...)
我需要提取哪些最少的字段集才能列出服务?
文档中列出了 API 个端点,您感兴趣的是 List Service Plans and Service Plan Details。
您还可以通过点击 Catalog endpoint.
来获取有关 Service Broker 提供的所有内容的信息