| Current Path : /usr/lib/python3/dist-packages/uaclient/clouds/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/uaclient/clouds/__pycache__/__init__.cpython-38.pyc |
U
8�-d� � @ s0 d dl Z d dlmZmZ G dd� de jd�ZdS )� N)�Any�Dictc @ s� e Zd Zeejeeef d�dd���Z eejed�dd���Z
eejed�dd���Zejed�dd ��Z
ejeed
�dd��Zd
S )�AutoAttachCloudInstance)�returnc C s dS )z=Return the identity document representing this cloud instanceN� ��selfr r �:/usr/lib/python3/dist-packages/uaclient/clouds/__init__.py�identity_doc s z$AutoAttachCloudInstance.identity_docc C s dS )z=Return a string of the cloud type on which this instance runsNr r r r r �
cloud_type s z"AutoAttachCloudInstance.cloud_typec C s dS )z?Return True if the machine is a viable AutoAttachCloudInstance.Nr r r r r � is_viable s z!AutoAttachCloudInstance.is_viablec C s dS )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_changer c C s dS )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