o
    ϴf                     @   s0   d dl Z d dlmZmZ G dd de jdZdS )    N)AnyDictc                   @   s   e Zd Zeejdeeef fddZ	eejdefddZ
eejdefddZejdefdd	Zejd
edefddZdS )AutoAttachCloudInstancereturnc                 C      dS )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    