上一主题: 版本 URI下一主题: 服务器记录


检索 CA AppLogic® 版本信息

可以在 BFC 中检索当前可用的 CA AppLogic® 版本集的相关信息。 可以使用处于 resource_running_state 状态的版本创建 CA AppLogic® 网格。

在 BFC 中检索有关 CA AppLogic 版本记录集的信息:

GET BFC/versions
参数

结果

如果成功,HTTP 返回代码 200 和显示为网格记录列表的有效负载。 如果出错,则返回 HTTP 错误代码及相关故障信息。

说明

检索系统中有关当前 AppLogic 版本集的信息,以版本记录列表的形式显示

示例 JSON 有效负载

[{'version': {
'comp_id': 1385, 
'imported_esx_version': {
	'esx_version': {
		'version': '4.0', 'update': '2',
		'build': '261974'}}, 
'name': '3.0.8', 'supported_esx_versions': [{
	'esx_version': {
		'version': '4.0',
		'update': '2', 'build': '261974'}}], 
'required_bfc_version': '3.0.0', 'state': 'resource_running_state',
'hotfixes': [{
	'hotfix': {
		'comp_id': 1412, 'state': 'reource_running_state', 
		'version_name': '3.0.8', 'name':'lp3561'}}, {
	'hotfix': {
		'comp_id': 1408, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'lp2668'}}, {
	'hotfix': {
		'comp_id': 1404, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'lp1248'}}, {
	'hotfix': {
		'comp_id': 1401, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'lp3388'}}, {
	'hotfix': {
		'comp_id': 1397, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'lp3553'}}, {
	'hotfix': {
		'comp_id': 1393, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'hf3561'}}, {
	'hotfix': {
		'comp_id': 1382, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'hf2668'}}, {
	'hotfix': {
		'comp_id': 1379, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'hf1248'}}, {
	'hotfix': {
		'comp_id': 1377, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'hf3388'}}, {
	'hotfix': {
		'comp_id': 1374, 'state': 'resource_running_state', 
		'version_name': '3.0.8', 'name':'hf3553'}}], 
	'esx_enabled': True}}, {
	'version': {
		'comp_id': 1351, 'imported_esx_version': None, 
		'name':'3.1.14', 'supported_esx_versions': [{
		  'esx_version': {'version': '4.0', 'update': '2', 
		    'build': '261974'}}],
'required_bfc_version': '3.0.0', 'state': 'resource_running_state', 'hotfixes': [{
	'hotfix': {
		'comp_id': 1366, 'state': 'resource_running_state', 
		'version_name': '3.1.14', 'name': 'lp3388'}}, {
	'hotfix': {
		'comp_id': 1362, 'state': 'resource_running_state', 
		'version_name': '3.1.14', 'name': 'lp2668'}},{
	'hotfix': {
		'comp_id': 1359, 'state': 'resource_running_state', 
		'version_name': '3.1.14', 'name':'lp1248'}}, {
	'hotfix': {
		'comp_id': 1348, 'state': 'resource_running_state',
		'version_name': '3.1.14','name': 'hf3388'}}, {
	'hotfix': {
		'comp_id': 1347, 'state': 'resource_running_state',
		'version_name':'3.1.14', 'name': 'hf2668'}}, {
	'hotfix': {
		'comp_id': 1343, 'state': 'resource_running_state',
		'version_name': '3.1.14', 'name': 'hf1248'}}], 
	'esx_enabled': False}}, {
		'version': {
		'comp_id': 1333, 'imported_esx_version': None, 
		'name': '3.5.3', 'supported_esx_versions': [{
		'esx_version': {'version':'4.0', 'update': '2', 'build': '261974'}}], 'required_bfc_version': '3.0.0', 'state':'resource_running_state', 
'hotfixes': [{
	'hotfix': {
		'comp_id': 1331, 'state': 'resource_running_state',
		'version_name': '3.5.3', 'name': 'lp1248'}}, {
	'hotfix': {
		'comp_id': 1330, 'state': 'resource_running_state',
		'version_name': '3.5.3', 'name': 'hf1248'}}], 
'esx_enabled': False}}, {
	'version': {
		'comp_id': 1315, 'imported_esx_version': None,
		'name': '3.5.4','supported_esx_versions':[{
		'esx_version': {
		  'version': '4.0', 'update': '2', 'build': '261974'}}], 
'required_bfc_version': '3.0.0', 'state': 'resource_running_state', 
'hotfixes': [{
	'hotfix': {
		'comp_id': 1323, 'state': 'resource_running_state', 
		'version_name': '3.5.4','name': 'lp1248'}}, {
	'hotfix': {
		'comp_id': 1321, 'state': 'resource_running_state',
		'version_name': '3.5.4', 'name': 'hf1248'}}], 
'esx_enabled':False}}]