本文整理汇总了Python中boto.ec2.ec2object.TaggedEC2Object类的典型用法代码示例。如果您正苦于以下问题:Python TaggedEC2Object类的具体用法?Python TaggedEC2Object怎么用?Python TaggedEC2Object使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TaggedEC2Object类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.type = None
self.state = None
self.availability_zone = None
self.attachments = []
示例2: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.dns_name = None
self.public_dns_name = None
self.private_dns_name = None
self.state = None
self.state_code = None
self.key_name = None
self.shutdown_state = None
self.previous_state = None
self.instance_type = None
self.instance_class = None
self.launch_time = None
self.image_id = None
self.placement = None
self.kernel = None
self.ramdisk = None
self.product_codes = ProductCodes()
self.ami_launch_index = None
self.monitored = False
self.instance_class = None
self.spot_instance_request_id = None
self.subnet_id = None
self.vpc_id = None
self.private_ip_address = None
self.ip_address = None
self.requester_id = None
self._in_monitoring_element = False
self.persistent = False
self.root_device_name = None
self.root_device_type = None
self.block_device_mapping = None
self.state_reason = None
self.group_name = None
示例3: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.type = None
self.state = None
self.ip_address = None
self.bgp_asn = None
示例4: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.state = None
self.cidr_block = None
self.available_ip_address_count = 0
self.availability_zone = None
示例5: __init__
def __init__(self, connection=None, owner_id=None,
name=None, description=None, id=None):
TaggedEC2Object.__init__(self, connection)
self.id = id
self.owner_id = owner_id
self.name = name
self.description = description
self.rules = []
示例6: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.create_time = None
self.status = None
self.size = None
self.snapshot_id = None
self.attach_data = None
self.zone = None
示例7: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.vpc_id = None
self.state = None
self.cidr_block = None
self.available_ip_address_count = 0
self.availability_zone = None
self.rules = IPPermissionsList()
示例8: __init__
def __init__(self, connection=None, owner_id=None, name=None, description=None, id=None):
TaggedEC2Object.__init__(self, connection)
self.id = id
self.owner_id = owner_id
self.name = name
self.description = description
self.vpc_id = None
self.rules = IPPermissionsList()
self.rules_egress = IPPermissionsList()
示例9: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.volume_id = None
self.status = None
self.progress = None
self.start_time = None
self.owner_id = None
self.volume_size = None
self.description = None
示例10: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.state = None
self.customer_gateway_configuration = None
self.type = None
self.customer_gateway_id = None
self.vpn_gateway_id = None
self.tunnels = []
self.options = None
self.static_routes = []
示例11: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.create_time = None
self.status = None
self.size = None
self.snapshot_id = None
self.attach_data = None
self.zone = None
self.tier_type = None
self.tier_name = None
self.tier_replication = None
self.size_in_bytes = None
self.description = None
示例12: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.subnet_id = None
self.vpc_id = None
self.availability_zone = None
self.description = None
self.owner_id = None
self.requester_managed = False
self.status = None
self.mac_address = None
self.private_ip_address = None
self.source_dest_check = None
self.groups = []
self.attachment = None
示例13: __init__
def __init__(self, connection=None):
TaggedEC2Object.__init__(self, connection)
self.id = None
self.price = None
self.type = None
self.state = None
self.fault = None
self.valid_from = None
self.valid_until = None
self.launch_group = None
self.product_description = None
self.availability_zone_group = None
self.create_time = None
self.launch_specification = None
self.instance_id = None
示例14: startElement
def startElement(self, name, attrs, connection):
retval = TaggedEC2Object.startElement(self, name, attrs, connection)
if retval is not None:
return retval
if name == 'dhcpConfigurationSet':
self.options = DhcpConfigSet()
return self.options
示例15: startElement
def startElement(self, name, attrs, connection):
retval = TaggedEC2Object.startElement(self, name, attrs, connection)
if retval is not None:
return retval
if name == 'monitoring':
self._in_monitoring_element = True
elif name == 'blockDeviceMapping':
self.block_device_mapping = BlockDeviceMapping()
return self.block_device_mapping
elif name == 'productCodes':
return self.product_codes
elif name == 'stateReason':
self.state_reason = SubParse('stateReason')
return self.state_reason
elif name == 'groupSet':
self.groups = ResultSet([('item', Group)])
return self.groups
elif name == "eventsSet":
self.eventsSet = SubParse('eventsSet')
return self.eventsSet
elif name == 'networkInterfaceSet':
self.interfaces = ResultSet([('item', NetworkInterface)])
elif name == 'iamInstanceProfile':
self.instance_profile = SubParse('iamInstanceProfile')
return self.instance_profile
return None