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


Python ec2object.EC2Object类代码示例

本文整理汇总了Python中boto.ec2.ec2object.EC2Object的典型用法代码示例。如果您正苦于以下问题:Python EC2Object类的具体用法?Python EC2Object怎么用?Python EC2Object使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了EC2Object类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.state = None
     self.cidr_block = None
     self.available_ip_address_count = 0
     self.availability_zone = None
开发者ID:Biggytv,项目名称:titanium_build,代码行数:7,代码来源:subnet.py

示例2: __init__

 def __init__(self, connection=None):
     EC2Object.__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.block_device_mapping = None
开发者ID:Biggytv,项目名称:titanium_build,代码行数:32,代码来源:instance.py

示例3: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.price = 0.0
     self.instance_type = None
     self.product_description = None
     self.timestamp = None
     self.availability_zone = None
开发者ID:RacoonBattle,项目名称:sparrow,代码行数:7,代码来源:spotpricehistory.py

示例4: __init__

 def __init__(self, connection=None, owner_id=None,
              name=None, description=None):
     EC2Object.__init__(self, connection)
     self.owner_id = owner_id
     self.name = name
     self.description = description
     self.rules = []
开发者ID:Biggytv,项目名称:titanium_build,代码行数:7,代码来源:securitygroup.py

示例5: __init__

 def __init__(self, connection=None, name=None, cores=None, memory=None, disk=None):
     EC2Object.__init__(self, connection)
     self.connection = connection
     self.name = name
     self.cores = cores
     self.memory = memory
     self.disk = disk
开发者ID:50onRed,项目名称:boto,代码行数:7,代码来源:vmtype.py

示例6: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.progress = None
     self.start_time = None
     self.volume_id = None
     self.status = None
开发者ID:Noirad,项目名称:Amazon-VOD.bundle,代码行数:7,代码来源:snapshot.py

示例7: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.type = None
     self.state = None
     self.availability_zone = None
     self.attachments = []
开发者ID:Biggytv,项目名称:titanium_build,代码行数:7,代码来源:vpngateway.py

示例8: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.type = None
     self.state = None
     self.ip_address = None
     self.bgp_asn = None
开发者ID:Biggytv,项目名称:titanium_build,代码行数:7,代码来源:customergateway.py

示例9: __init__

 def __init__(self, connection=None):
     EC2Object.__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
开发者ID:2uinc,项目名称:boto,代码行数:8,代码来源:vpnconnection.py

示例10: __init__

 def __init__(self, connection=None, owner_id=None,
              bucket=None, prefix=None, state=None,fault=None):
     EC2Object.__init__(self, connection)
     self.owner_id = owner_id
     self.bucket = bucket
     self.prefix = prefix
     self.state = state
     self.fault = fault
开发者ID:0t3dWCE,项目名称:boto,代码行数:8,代码来源:spotdatafeedsubscription.py

示例11: __init__

 def __init__(self, connection=None, public_ip=None, instance_id=None):
     EC2Object.__init__(self, connection)
     self.connection = connection
     self.public_ip = public_ip
     self.instance_id = instance_id
     self.domain = None
     self.allocation_id = None
     self.association_id = None
开发者ID:2uinc,项目名称:boto,代码行数:8,代码来源:address.py

示例12: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.create_time = None
     self.status = None
     self.size = None
     self.snapshot_id = None
     self.attach_data = None
开发者ID:faridani,项目名称:Mturk-Tracker,代码行数:8,代码来源:volume.py

示例13: __init__

 def __init__(self, connection=None):
     EC2Object.__init__(self, connection)
     self.id = None
     self.group_name = None
     self.state = None
     self.availability_zone = None
     self.private_ip_address = None
     self.ip_address = None
     self.public_dns_name = None
开发者ID:0t3dWCE,项目名称:boto,代码行数:9,代码来源:private_ip.py

示例14: __init__

 def __init__(self, connection=None, id=None, instance_type=None,
              availability_zone=None, duration=None, fixed_price=None,
              usage_price=None, description=None):
     EC2Object.__init__(self, connection)
     self.id = id
     self.instance_type = instance_type
     self.availability_zone = availability_zone
     self.duration = duration
     self.fixed_price = fixed_price
     self.usage_price = usage_price
     self.description = description
开发者ID:2uinc,项目名称:boto,代码行数:11,代码来源:reservedinstance.py

示例15: __init__

 def __init__(self, connection=None, public_ip=None, instance_id=None):
     EC2Object.__init__(self, connection)
     self.connection = connection
     self.public_ip = public_ip
     self.instance_id = instance_id
     self.domain = None
     self.allocation_id = None
     self.association_id = None
     self.network_interface_id = None
     self.network_interface_owner_id = None
     self.private_ip_address = None
开发者ID:2mind,项目名称:boto,代码行数:11,代码来源:address.py


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