Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- ...
- node_templates:
- ...
- ...
- my_webserver_host:
- derived_from: cloudify.azure.nodes.Server
- properties:
- cloudify_agent:
- default:
- user: { get_input: ssh_username }
- vm_prefix:
- default: { get_input: vm_prefix }
- image_reference_offer:
- default: { get_input: image_reference_offer}
- image_reference_publisher:
- default: { get_input: image_reference_publisher}
- image_reference_sku:
- default: { get_input: image_reference_sku}
- vm_size:
- default: { get_input: vm_size}
- key_data:
- default: { get_input: key_data}
- subscription_id:
- default: { get_input: subscription_id}
- location:
- default: { get_input: location }
- client_id:
- default: { get_input: client_id}
- tenant_id:
- default: { get_input: tenant_id}
- ssh_username:
- default: { get_input: ssh_username}
- aad_password:
- default: { get_input: aad_password}
- install_agent:
- default: true
- my_webserver:
- type: cloudify.nodes.WebServer
- properties:
- port: 8000
- interfaces:
- cloudify.interfaces.lifecycle:
- start: scripts/startMyWebServer.sh
- stop: scripts/stopMyWebServer.sh
- relationships:
- target: my_webserver_host
- type: cloudify.relationships.contained_in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement