The heat.engine.resources.volume Module

class heat.engine.resources.volume.Volume(name, json_snippet, stack)[source]

Bases: heat.engine.resource.Resource

handle_create()[source]
handle_delete()[source]
handle_update(json_snippet)[source]
properties_schema = {'SnapshotId': {'Type': 'String'}, 'Tags': {'Type': 'List'}, 'AvailabilityZone': {'Required': True, 'Type': 'String'}, 'Size': {'Type': 'Number'}}
class heat.engine.resources.volume.VolumeAttachment(name, json_snippet, stack)[source]

Bases: heat.engine.resource.Resource

handle_create()[source]
handle_delete()[source]
handle_update(json_snippet)[source]
properties_schema = {'InstanceId': {'Required': True, 'Type': 'String'}, 'Device': {'AllowedPattern': '/dev/vd[b-z]', 'Required': True, 'Type': 'String'}, 'VolumeId': {'Required': True, 'Type': 'String'}}
heat.engine.resources.volume.resource_mapping()[source]

This Page