vFW and vDNS support added to azure-plugin
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / examples / hello-world / hello-world.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 node_types:
4
5   WebServer:
6     derived_from: tosca:Root
7     capabilities:
8       host:
9         type: tosca:Container
10
11   WebApp:
12     derived_from: tosca:WebApplication
13     properties:
14       port:
15         type: integer
16
17 topology_template:
18
19   node_templates:
20     web_server:
21       type: WebServer
22
23     web_app:
24       type: WebApp
25       properties:
26         port: 9090
27       requirements:
28         - host: web_server
29       interfaces:
30         Standard:
31           configure: scripts/configure.sh
32           start: scripts/start.sh
33           stop: scripts/stop.sh
34
35   outputs:
36     port:
37       type: integer
38       value: { get_property: [ web_app, port ] }