File: //usr/lib/python3/dist-packages/uaclient/clouds/__pycache__/__init__.cpython-312.pyc
�
�ϴf� � �H � d dl Z d dlmZmZ G d� de j �� Zy)� N)�Any�Dictc �
� e Zd Zeej
deeef fd�� � Z eej
defd�� � Z
eej
defd�� � Zej
defd�� Z
ej
dedefd�� Zy) �AutoAttachCloudInstance�returnc � � y)z=Return the identity document representing this cloud instanceN� ��selfs �:/usr/lib/python3/dist-packages/uaclient/clouds/__init__.py�identity_docz$AutoAttachCloudInstance.identity_doc � � �
� c � � y)z=Return a string of the cloud type on which this instance runsNr r
s r �
cloud_typez"AutoAttachCloudInstance.cloud_type r r c � � y)z?Return True if the machine is a viable AutoAttachCloudInstance.Nr r
s r � is_viablez!AutoAttachCloudInstance.is_viable r r c � � y)zw
Cloud-specific checks for whether the daemon should continously poll
for Ubuntu Pro licenses.
Nr r
s r �should_poll_for_pro_licensez3AutoAttachCloudInstance.should_poll_for_pro_license s � �
r �wait_for_changec � � y)z1
Check for an Ubuntu Pro license
Nr )r r s r �is_pro_license_presentz.AutoAttachCloudInstance.is_pro_license_present s � �
r N)�__name__�
__module__�__qualname__�property�abc�abstractmethodr �strr r
r �boolr r r r r r r r s� � �
����
�d�3��8�n�
� � �
� ����
�C�
� � �
� ����
�4�
� � �
� ���
�T�
� �
� ���
��
�$�
� �
r r )� metaclass)r �typingr r �ABCMetar r r r �<module>r$ s ��
� �
����
r