应用管理与运维平台 SERVICESTAGE-获取组件实例:响应示例

时间:2024-10-11 16:54:16

响应示例

{
	"instances": [
		{
			"id": "11eddb33-140b-4e51-b1e2-6ec265373ca3",
			"application_id": "4d92833a-fa05-4fc0-a761-e67620022310",
			"application_name": "test-app",
			"component_id": "1cfdda6f-84cd-4ead-8e09-628fabf662e2",
			"component_name": "test-com",
			"name": "test-micro-test-env-7iafjk",
			"environment_id": "61b81021-21d5-42f3-b80e-0b6bd10dbf7d",
			"environment_name": "test-env",
			"platform_type": "cce",
			"version": "1.0.0",
			"artifacts": {
				"test-micro": {
					"storage": "obs",
					"type": "package",
                                        "url": "obs://myapp/demo.jar",
	                                "properties": {
				            "bucket": "myapp",
				            "key": "demo.jar",
				            "endpoint": "https://obs.region_id.external_domain_name.com"
			                 },
					"auth": "iam",
					"version": "1.0.0",					
				}
			},
			"create_time": 1610331819996,
			"update_time": 1610331830398,
			"creator": "test_user",
			"status_detail": {
				"status": "RUNNING",
				"replica": 1,
				"available_replica": 1,
				"fail_detail": null,
				"last_job_id": "JOB7bc0366c-dc43-41f9-b65f-8d6078038488",
				"last_job_status": "SUCCEEDED",
				"enterprise_project_id": "0"
			}
		}
	],
	"count": 1
}
support.huaweicloud.com/api-servicestage/servicestage_06_0046.html