本文整理汇总了Python中boto.ec2.ec2object.TaggedEC2Object.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python TaggedEC2Object.__init__方法的具体用法?Python TaggedEC2Object.__init__怎么用?Python TaggedEC2Object.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类boto.ec2.ec2object.TaggedEC2Object
的用法示例。
在下文中一共展示了TaggedEC2Object.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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
示例3: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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
示例4: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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
示例5: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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()
示例7: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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
示例8: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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()
示例9: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
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.key_name = None
self.instance_type = None
self.launch_time = None
self.image_id = None
self.kernel = None
self.ramdisk = None
self.product_codes = ProductCodes()
self.ami_launch_index = None
self.monitored = False
self.monitoring_state = 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
self.client_token = None
self.eventsSet = None
self.groups = []
self.platform = None
self.interfaces = []
self.hypervisor = None
self.virtualization_type = None
self.architecture = None
self.instance_profile = None
self._previous_state = None
self._state = InstanceState()
self._placement = InstancePlacement()
self.image_description = None
self.description = None
self.high_availability = None
self.remote_console = None
示例15: __init__
# 需要导入模块: from boto.ec2.ec2object import TaggedEC2Object [as 别名]
# 或者: from boto.ec2.ec2object.TaggedEC2Object import __init__ [as 别名]
def __init__(self, connection=None):
"""
Represents a VPC.
:ivar id: The unique ID of the VPC.
:ivar dhcp_options_id: The ID of the set of DHCP options you've associated with the VPC
(or default if the default options are associated with the VPC).
:ivar state: The current state of the VPC.
:ivar cidr_block: The CIDR block for the VPC.
:ivar is_default: Indicates whether the VPC is the default VPC.
:ivar instance_tenancy: The allowed tenancy of instances launched into the VPC.
"""
TaggedEC2Object.__init__(self, connection)
self.id = None
self.dhcp_options_id = None
self.state = None
self.cidr_block = None
self.is_default = None
self.instance_tenancy = None