Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyc
�
��Xc@sFddlmZddlmZmZmZdefd��YZdS(i����(t
EC2Request(tArgtFiltertGenericTagFiltertDescribeInstancescPBs�eZdZeddddddd�gZeddd	�ed
dd�eddd
�eddd�eddd�ed�eddd�eddd�eddd�eddd�eddd�eddd�eddd �ed!dd"�ed#dd$�ed%dd&�ed'dd(�ed)dd*�ed+dd"�ed,dd$�ed-�ed.dd/�ed0d1edd2�ed3dd4�ed5�ed6dd7�ed8dd9�ed:dd;�ed<dd=�ed>dd?�ed@ddA�edBddC�edDddE�edFddG�edHddI�edJd1eddK�edLddM�edNddO�edPddQ�edRddS�edTddU�edVddW�edXddY�edZdd[�ed\dd]�ed^dd_�ed`dda�edbddc�edddde�edfddg�edhddi�edjddk�edlddm�ednddo�edpddq�edrdds�edt�eduddv�edw�edx�edy�edzdd{�ed|dd}�ed~dd�ed�dd��ed�dd��ed�dd��ed�dd��ed��ed�dd��ed�dd��ed�dd��ed�dd��ed�dd��ed�dd��ed��ed�dd��gMZd�d�d�d�d�d�d�d�gZ	d��Z
RS(�s Show information about instancest
InstanceIdtmetavartINSTANCEtnargst*thelps#limit results to specific instancestarchitecturesCPU architecturesassociation.allocation-ids`[VPC only] allocation ID bound to a network
                      interface's elastic IP addresssassociation.association-ids�[VPC only]
                      association ID returned when an elastic IP was associated
                      with a network interfacesassociation.ip-owner-idsn[VPC only] ID of the owner of the elastic IP
                      address associated with a network interfacesassociation.public-ips_[VPC only] address of
                      the elastic IP address bound to a network interfacesavailability-zones block-device-mapping.attach-timesvolume attachment times*block-device-mapping.delete-on-terminationsKwhether a volume is deleted upon instance
                      terminations block-device-mapping.device-names"volume device name (e.g. /dev/sdf)sblock-device-mapping.statuss
volume statussblock-device-mapping.volume-ids	volume IDsclient-tokens/idempotency token provided at instance run timesdns-namespublic DNS namesgroup-idssecurity group IDs
group-namessecurity group namet
hypervisorshypervisor typesiam-instance-profile.arns&ARN of the instance's instance profilesimage-idsmachine image IDsinstance.group-idsinstance.group-namesinstance-idsinstance-lifecycleswhether this is a spot instancesinstance-state-codettypes'numeric code identifying instance statesinstance-state-namesinstance states
instance-types
ip-addressspublic IP addresss	kernel-idskernel image IDskey-names.key pair name provided at instance launch timeslaunch-indexs!launch index within a reservationslaunch-timesinstance launch timesmonitoring-states*monitoring state ("enabled" or "disabled")s3network-interface.addresses.association.ip-owner-idsn[VPC only] ID of the owner of the private IP
                      address associated with a network interfaces1network-interface.addresses.association.public-ipsh[VPC only] ID of the association of an elastic IP
                      address with a network interfaces#network-interface.addresses.primarys�[VPC only] whether the IP address of the VPC
                      network interface is the primary private IP address
                      ("true" or "false")s.network-interface.addresses.private-ip-addresssG[VPC only] network interface's private IP
                      addresss)network-interface.attachment.device-indexsV[VPC only] device index to which a network
                      interface is attacheds(network-interface.attachment.attach-timesU[VPC only] time a network interface was attached
                      to an instances*network-interface.attachment.attachment-idsG[VPC only] ID of a network interface's
                      attachments2network-interface.attachment.delete-on-terminations�[VPC only] whether a network interface attachment
                      is deleted when an instance is terminated ("true" or
                      "false")s.network-interface.attachment.instance-owner-ids\[VPC only] ID of the instance to which a network
                      interface is attacheds#network-interface.attachment.statuss0[VPC only] network interface's attachment statuss#network-interface.availability-zones0[VPC only] network interface's availability zonesnetwork-interface.descriptions-[VPC only] description of a network interfacesnetwork-interface.group-ids0[VPC only] network interface's security group IDsnetwork-interface.group-namesH[VPC only]
                      network interface's security group namesnetwork-interface.mac-addresss/[VPC only] network interface's hardware addresss&network-interface.network-interface.ids$[VPC only] ID of a network interfacesnetwork-interface.owner-ids,[VPC only] ID of a network interface's owners"network-interface.private-dns-names/[VPC only] network interface's private DNS namesnetwork-interface.requester-ids+[VPC only] network interface's requester IDs#network-interface.requester-managedsX[VPC only] whether the network interface is
                      managed by the services*network-interface.source-destination-checks{[VPC only] whether source/destination checking is
                      enabled for a network interface ("true" or "false")snetwork-interface.statuss%[VPC only] network interface's statussnetwork-interface.subnet-ids-[VPC only] ID of a network interface's subnetsnetwork-interface.vpc-ids*[VPC only] ID of a network interface's VPCsowner-idsinstance owner's account IDsplacement-group-nametplatforms"windows" for Windows instancessprivate-dns-namesprivate-ip-addresssproduct-codesproduct-code.types0type of product code ("devpay" or "marketplace")s
ramdisk-idsramdisk image IDtreasons'reason for the instance's current statesrequester-ids*ID of the entity that launched an instancesreservation-ids ID of the instance's reservationsroot-device-names!root device name (e.g. /dev/sda1)sroot-device-types,root device type ("ebs" or "instance-store")sspot-instance-request-idsstate-reason-codes,reason code for the most recent state changesstate-reason-messages/message describing the most recent state changes	subnet-ids.[VPC only] ID of the subnet the instance is instag-keys(name of any tag assigned to the instances	tag-values)value of any tag assigned to the instancestag:KEYs"specific tag key/value combinationsvirtualization-typesvpc-ids+[VPC only] ID of the VPC the instance is intreservationSettinstancesSettgroupSetttagSettblockDeviceMappingtproductCodestnetworkInterfaceSettprivateIpAddressesSetcCs+x$|jd�D]}|j|�qWdS(NR(tgettprint_reservation(tselftresulttreservation((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pytprint_result�s(t__name__t
__module__tDESCRIPTIONRtARGSRtintRtFILTERSt	LIST_TAGSR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyRs																																																												N(teuca2ools.commands.ec2RtrequestbuilderRRRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeinstances.pyt<module>s