Public APIs
It is recommended that you start with juju.model or juju.controller. If you need helpers to manage the asyncio loop, try juju.loop.
- juju.action
- juju.annotation
- juju.application
Application
Application.add_relation()
Application.add_unit()
Application.add_units()
Application.attach_resource()
Application.charm_name
Application.charm_url
Application.destroy()
Application.destroy_relation()
Application.destroy_unit()
Application.destroy_units()
Application.expose()
Application.get_actions()
Application.get_annotations()
Application.get_config()
Application.get_constraints()
Application.get_metrics()
Application.get_resources()
Application.get_series()
Application.get_status()
Application.get_trusted()
Application.local_refresh()
Application.on_unit_add()
Application.on_unit_remove()
Application.refresh()
Application.relate()
Application.related_applications()
Application.relations
Application.remove()
Application.remove_relation()
Application.reset_config()
Application.run()
Application.scale()
Application.set_annotations()
Application.set_config()
Application.set_constraints()
Application.set_trusted()
Application.status
Application.status_message
Application.subordinate_units
Application.supports_granular_expose_parameters()
Application.tag
Application.unexpose()
Application.units
Application.upgrade_charm()
ExposedEndpoint
- juju.constraints
- juju.controller
ConnectedController
Controller
Controller.add_cloud()
Controller.add_credential()
Controller.add_model()
Controller.add_secret_backends()
Controller.add_user()
Controller.api_endpoints
Controller.change_user_password()
Controller.cloud()
Controller.clouds()
Controller.connect()
Controller.connect_controller()
Controller.connect_current()
Controller.connection()
Controller.controller_name
Controller.controller_uuid
Controller.create_offer()
Controller.destroy()
Controller.destroy_model()
Controller.destroy_models()
Controller.disable_user()
Controller.disconnect()
Controller.enable_user()
Controller.get_cloud()
Controller.get_consume_details()
Controller.get_current_user()
Controller.get_current_username()
Controller.get_model()
Controller.get_model_info()
Controller.get_models()
Controller.get_user()
Controller.get_users()
Controller.grant()
Controller.grant_model()
Controller.info()
Controller.is_connected()
Controller.list_models()
Controller.list_offers()
Controller.list_secret_backends()
Controller.model_uuids()
Controller.remove_cloud()
Controller.remove_offer()
Controller.remove_secret_backends()
Controller.remove_user()
Controller.reset_user_password()
Controller.revoke()
Controller.revoke_model()
Controller.update_endpoints()
Controller.update_secret_backends()
Controller.watch_model_summaries()
RemoveError
- juju.delta
- juju.errors
AbstractMethodError
JujuAPIError
JujuAgentError
JujuAppError
JujuApplicationConfigError
JujuAuthError
JujuBackupError
JujuConfigError
JujuConnectionError
JujuControllerNotFoundError
JujuEntityNotFoundError
JujuError
JujuMachineError
JujuModelConfigError
JujuModelError
JujuNotSupportedError
JujuNotValid
JujuPermissionError
JujuRedirectException
JujuUnitError
JujuUnknownVersion
PylibjujuError
PylibjujuProgrammingError
- juju.exceptions
- juju.juju
- juju.loop
- juju.machine
Machine
Machine.addresses
Machine.agent_status
Machine.agent_status_since
Machine.agent_version
Machine.destroy()
Machine.dns_name
Machine.get_annotations()
Machine.hostname
Machine.remove()
Machine.scp_from()
Machine.scp_to()
Machine.series
Machine.set_annotations()
Machine.ssh()
Machine.status
Machine.status_message
Machine.status_since
Machine.tag
- juju.model
CharmArchiveGenerator
CharmhubDeployType
DeployTypeResult
LocalDeployType
Model
Model.add_local_charm()
Model.add_local_charm_dir()
Model.add_local_resources()
Model.add_machine()
Model.add_observer()
Model.add_relation()
Model.add_secret()
Model.add_space()
Model.add_ssh_key()
Model.add_ssh_keys()
Model.all_units_idle()
Model.application_offers
Model.applications
Model.block_until()
Model.charmhub
Model.connect()
Model.connect_current()
Model.connect_model()
Model.connect_to()
Model.connection()
Model.consume()
Model.create_backup()
Model.create_offer()
Model.create_storage_pool()
Model.debug_log()
Model.deploy()
Model.destroy_unit()
Model.destroy_units()
Model.disconnect()
Model.download_backup()
Model.export_bundle()
Model.get_action_output()
Model.get_action_status()
Model.get_annotations()
Model.get_backups()
Model.get_config()
Model.get_constraints()
Model.get_controller()
Model.get_machines()
Model.get_metrics()
Model.get_spaces()
Model.get_ssh_key()
Model.get_ssh_keys()
Model.get_status()
Model.grant_secret()
Model.info
Model.integrate()
Model.is_connected()
Model.list_offers()
Model.list_secrets()
Model.list_storage()
Model.list_storage_pools()
Model.machines
Model.name
Model.relate()
Model.relations
Model.remote_applications
Model.remove_application()
Model.remove_backup()
Model.remove_backups()
Model.remove_offer()
Model.remove_saas()
Model.remove_secret()
Model.remove_ssh_key()
Model.remove_ssh_keys()
Model.remove_storage()
Model.remove_storage_pool()
Model.reset()
Model.restore_backup()
Model.revoke_secret()
Model.set_annotations()
Model.set_config()
Model.set_constraints()
Model.show_storage_details()
Model.strict_mode
Model.subordinate_units
Model.tag
Model.units
Model.update_secret()
Model.update_storage_pool()
Model.wait_for_action()
Model.wait_for_idle()
ModelEntity
ModelInfo
ModelObserver
ModelState
- juju.placement
- juju.relation
- juju.tag
- juju.unit
Unit
Unit.add_storage()
Unit.agent_status
Unit.agent_status_message
Unit.agent_status_since
Unit.attach_storage()
Unit.destroy()
Unit.detach_storage()
Unit.get_annotations()
Unit.get_metrics()
Unit.get_public_address()
Unit.get_subordinates()
Unit.is_leader_from_status()
Unit.is_subordinate
Unit.machine
Unit.principal_unit
Unit.public_address
Unit.remove()
Unit.resolved()
Unit.run()
Unit.run_action()
Unit.scp_from()
Unit.scp_to()
Unit.set_annotations()
Unit.ssh()
Unit.tag
Unit.workload_status
Unit.workload_status_message
Unit.workload_status_since
- juju.utils
Addrs
IdQueue
RegistrationInfo
base_channel_from_series()
base_channel_to_series()
block_until()
block_until_with_coroutine()
execute_process()
generate_user_controller_access_token()
get_base_from_origin_or_channel()
get_local_charm_base()
get_local_charm_charmcraft_yaml()
get_local_charm_data()
get_local_charm_manifest()
get_local_charm_metadata()
get_os_from_series()
get_series_version()
get_version_series()
juju_config_dir()
juju_ssh_key_paths()
parse_base_arg()
read_ssh_key()
run_with_interrupt()
series_for_charm()
series_selector()
should_upgrade_resource()
user_requested()
wait_for_bundle()