Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/uaclient/clouds/__pycache__/ |
Upload File : |
o �u�b� � @ s0 d dl Z d dlmZmZ G dd� de jd�ZdS )� N)�Any�Dictc @ s� e Zd Zeejdeeef fdd���Z eejdefdd���Z eejdefdd���Zejdefdd ��Z ejd edefdd��Zd S )�AutoAttachCloudInstance�returnc C � dS )z=Return the identity document representing this cloud instanceN� ��selfr r �:/usr/lib/python3/dist-packages/uaclient/clouds/__init__.py�identity_doc � z$AutoAttachCloudInstance.identity_docc C r )z=Return a string of the cloud type on which this instance runsNr r r r r � cloud_type r z"AutoAttachCloudInstance.cloud_typec C r )z?Return True if the machine is a viable AutoAttachCloudInstance.Nr r r r r � is_viable r z!AutoAttachCloudInstance.is_viablec C r )zw Cloud-specific checks for whether the daemon should continously poll for Ubuntu Pro licenses. Nr r r r r �should_poll_for_pro_license s z3AutoAttachCloudInstance.should_poll_for_pro_license�wait_for_changec C r )z1 Check for an Ubuntu Pro license Nr )r r r r r �is_pro_license_present s z.AutoAttachCloudInstance.is_pro_license_presentN)�__name__� __module__�__qualname__�property�abc�abstractmethodr �strr r r �boolr r r r r r r r s r )� metaclass)r �typingr r �ABCMetar r r r r �<module> s