959b5694df
This is the last patch concerning api-ref docs for stack resources. The major changes are about stack-abandon, stack-adopt, template-show APIs. Change-Id: I2af6e5ba653ac2dfa6a81478a17367bf4f661944
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"action": "CREATE",
|
|
"environment": {},
|
|
"files": {},
|
|
"id": "16934ca3-40e0-4fb2-a289-a700662ec05a",
|
|
"name": "g",
|
|
"project_id": "369166a68a3a49b78b4e138531556e55",
|
|
"resources": {
|
|
"server": {
|
|
"status": "COMPLETE",
|
|
"name": "server",
|
|
"resource_data": {},
|
|
"resource_id": "39d5dad7-7d7a-4cc8-bd84-851e9e2ff4ea",
|
|
"action": "CREATE",
|
|
"type": "OS::Nova::Server",
|
|
"metadata": {}
|
|
}
|
|
},
|
|
"stack_user_project_id": "9bbd353467bc4f069a3692d223a48aac",
|
|
"status": "COMPLETE",
|
|
"tags": null,
|
|
"template": {
|
|
"outputs": {
|
|
"instance_ip": {
|
|
"value": {
|
|
"str_replace": {
|
|
"params": {
|
|
"username": "ec2-user",
|
|
"hostname": {
|
|
"get_attr": [
|
|
"server",
|
|
"first_address"
|
|
]
|
|
}
|
|
},
|
|
"template": "ssh username@hostname"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"heat_template_version": "2013-05-23",
|
|
"resources": {
|
|
"server": {
|
|
"type": "OS::Nova::Server",
|
|
"properties": {
|
|
"key_name": {
|
|
"get_param": "key_name"
|
|
},
|
|
"image": {
|
|
"get_param": "image"
|
|
},
|
|
"flavor": {
|
|
"get_param": "flavor"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": {
|
|
"key_name": {
|
|
"default": "heat_key",
|
|
"type": "string"
|
|
},
|
|
"image": {
|
|
"default": "fedora-amd64",
|
|
"type": "string"
|
|
},
|
|
"flavor": {
|
|
"default": "m1.small",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|