Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyc |
�
��Xc @ sJ d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����( t Arg( t ec2_block_device_mapping( t
EC2Requestt CreateImagec B s� e Z d Z e d d d d d �e d d d d d
e d d �e d d
d d d d d d �e d d d d d d d d d �e d d d d d d d d d e d g d d �g Z d � Z RS(! s: Create an EBS image from a running or stopped EBS instancet
InstanceIdt metavart INSTANCEt helps2 instance from which to create the image (required)s -ns --namet destt Namet requireds! name for the new image (required)s -ds
--descriptiont Descriptiont DESCs description for the new images --no-reboott NoReboott actiont store_constt constt truesi do not shut down the instance before
creating the image. Image integrity may be affected.s -bs --block-device-mappings
DEVICE=MAPPEDt BlockDeviceMappingt appendt typet defaults� define a block device mapping for the image, in the
form DEVICE=MAPPED, where "MAPPED" is "none", "ephemeral(0-3)",
or
"[SNAP_ID]:[GiB]:[true|false]:[standard|VOLTYPE[:IOPS]]"c C s! | j d | j d � f � GHd S( Nt IMAGEt imageId( t tabifyt get( t selft result( ( sF /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyt print_result3 s ( t __name__t
__module__t DESCRIPTIONR t TrueR t ARGSR ( ( ( sF /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyR s N( t requestbuilderR t euca2ools.commands.argtypesR t euca2ools.commands.ec2R R ( ( ( sF /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyt <module> s