https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/boto/ec2/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/boto/ec2/__pycache__/address.cpython-310.pyc
o

ckF[��@s ddlmZGdd�de�ZdS)�)�	EC2ObjectcsTeZdZdZd�fdd�	Zdd�Zdd�Zdd
d�ZeZddd
�Z	ddd�Z
�ZS)�Addressa�
    Represents an EC2 Elastic IP Address

    :ivar public_ip: The Elastic IP address.
    :ivar instance_id: The instance the address is associated with (if any).
    :ivar domain: Indicates whether the address is a EC2 address or a VPC address (standard|vpc).
    :ivar allocation_id: The allocation ID for the address (VPC addresses only).
    :ivar association_id: The association ID for the address (VPC addresses only).
    :ivar network_interface_id: The network interface (if any) that the address is associated with (VPC addresses only).
    :ivar network_interface_owner_id: The owner IID (VPC addresses only).
    :ivar private_ip_address: The private IP address associated with the Elastic IP address (VPC addresses only).
    NcsJtt|��|�||_||_||_d|_d|_d|_d|_	d|_
d|_dS)N)�superr�__init__�
connection�	public_ip�instance_id�domain�
allocation_id�association_id�network_interface_id�network_interface_owner_id�private_ip_address)�selfrrr��	__class__��2/usr/lib/python3/dist-packages/boto/ec2/address.pyr(s
zAddress.__init__cCs
d|jS)Nz
Address:%s)r)rrrr�__repr__4s
zAddress.__repr__cCs�|dkr	||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr-||_dS|dkr6||_dS|dkr?||_dS|dkrH||_dSt|||�dS)	N�publicIp�
instanceIdr	�allocationId�
associationId�networkInterfaceId�networkInterfaceOwnerId�privateIpAddress)	rrr	r
rrr
r�setattr)r�name�valuerrrr�
endElement7s"







zAddress.endElementFcC�*|jr|jj|j|d�S|jj|j|d�S)zz
        Free up this Elastic IP address.
        :see: :meth:`boto.ec2.connection.EC2Connection.release_address`
        )r
�dry_run�rr!)r
r�release_addressr�rr!rrr�releaseKs��zAddress.releasec	Cs>|jr|jj||j|j||||d�S|jj||j||||d�S)z�
        Associate this Elastic IP address with a currently running instance.
        :see: :meth:`boto.ec2.connection.EC2Connection.associate_address`
        )rrr
rr�allow_reassociationr!)rrrrr&r!)r
r�associate_addressr)rrrrr&r!rrr�	associate\s$�	�zAddress.associatecCr )z�
        Disassociate this Elastic IP address from a currently running instance.
        :see: :meth:`boto.ec2.connection.EC2Connection.disassociate_address`
        )rr!r")rr�disassociate_addressrr$rrr�disassociatets��zAddress.disassociate)NNN)F)NNNFF)�__name__�
__module__�__qualname__�__doc__rrrr%�deleter(r*�
__classcell__rrrrrs


rN)�boto.ec2.ec2objectrrrrrr�<module>s

https://t.me/RX1948 - 2025