当前位置: 首页>>代码示例>>Python>>正文


Python ec2object.TaggedEC2Object类代码示例

本文整理汇总了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 = []
开发者ID:2mind,项目名称:boto,代码行数:7,代码来源:vpngateway.py

示例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
开发者ID:cng1985,项目名称:express-me,代码行数:35,代码来源:instance.py

示例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
开发者ID:Ink,项目名称:boto,代码行数:7,代码来源:customergateway.py

示例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
开发者ID:AlexeyMK,项目名称:boto,代码行数:7,代码来源:subnet.py

示例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 = []
开发者ID:AllenShi,项目名称:h-store,代码行数:8,代码来源:securitygroup.py

示例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
开发者ID:nekolyanich,项目名称:boto,代码行数:9,代码来源:volume.py

示例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()
开发者ID:NightBlues,项目名称:boto,代码行数:9,代码来源:subnet.py

示例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()
开发者ID:9seconds,项目名称:boto,代码行数:9,代码来源:securitygroup.py

示例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
开发者ID:AlexeyMK,项目名称:boto,代码行数:10,代码来源:snapshot.py

示例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 = []
开发者ID:2mind,项目名称:boto,代码行数:11,代码来源:vpnconnection.py

示例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
开发者ID:raorn,项目名称:boto,代码行数:14,代码来源:volume.py

示例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
开发者ID:2uinc,项目名称:boto,代码行数:15,代码来源:networkinterface.py

示例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
开发者ID:AlexeyMK,项目名称:boto,代码行数:15,代码来源:spotinstancerequest.py

示例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
开发者ID:0t3dWCE,项目名称:boto,代码行数:7,代码来源:dhcpoptions.py

示例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
开发者ID:2uinc,项目名称:boto,代码行数:26,代码来源:instance.py


注:本文中的boto.ec2.ec2object.TaggedEC2Object类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。