Public APIs
It is recommended that you start with juju.model or juju.controller.
- juju.action
- juju.annotation
- juju.application
ApplicationApplication.add_relation()Application.add_unit()Application.add_units()Application.attach_resource()Application.charm_nameApplication.charm_urlApplication.constraintsApplication.destroy()Application.destroy_relation()Application.destroy_unit()Application.destroy_units()Application.expose()Application.exposedApplication.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.lifeApplication.local_refresh()Application.min_unitsApplication.nameApplication.on_unit_add()Application.on_unit_remove()Application.owner_tagApplication.refresh()Application.relate()Application.related_applications()Application.relationsApplication.remove()Application.remove_relation()Application.reset_config()Application.run()Application.scale()Application.set_annotations()Application.set_config()Application.set_constraints()Application.set_trusted()Application.statusApplication.status_messageApplication.subordinateApplication.subordinate_unitsApplication.supports_granular_expose_parameters()Application.tagApplication.unexpose()Application.unitsApplication.upgrade_charm()Application.workload_version
ExposedEndpoint
- juju.constraints
ConstraintsDictConstraintsDict.allocate_public_ipConstraintsDict.archConstraintsDict.containerConstraintsDict.coresConstraintsDict.cpu_coresConstraintsDict.cpu_powerConstraintsDict.instance_roleConstraintsDict.instance_typeConstraintsDict.memConstraintsDict.root_diskConstraintsDict.root_dist_sourceConstraintsDict.spacesConstraintsDict.tagsConstraintsDict.virt_typeConstraintsDict.zones
DeviceConstraintDictStorageConstraintDictnormalize_key()normalize_list_value()normalize_value()parse()parse_device_constraint()parse_storage_constraint()parse_storage_constraints()
- juju.controller
ConnectedControllerControllerController.add_cloud()Controller.add_credential()Controller.add_model()Controller.add_secret_backends()Controller.add_user()Controller.api_endpointsController.change_user_password()Controller.cloud()Controller.clouds()Controller.connect()Controller.connect_controller()Controller.connect_current()Controller.connection()Controller.controller_nameController.controller_uuidController.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
AbstractMethodErrorJujuAPIErrorJujuAgentErrorJujuAppErrorJujuApplicationConfigErrorJujuAuthErrorJujuBackupErrorJujuConfigErrorJujuConnectionErrorJujuControllerNotFoundErrorJujuEntityNotFoundErrorJujuErrorJujuMachineErrorJujuModelConfigErrorJujuModelErrorJujuNotSupportedErrorJujuNotValidJujuPermissionErrorJujuRedirectExceptionJujuUnitErrorJujuUnknownVersionPylibjujuErrorPylibjujuProgrammingError
- juju.exceptions
- juju.juju
- juju.machine
MachineMachine.addressesMachine.agent_statusMachine.agent_status_sinceMachine.agent_versionMachine.destroy()Machine.dns_nameMachine.get_annotations()Machine.hostnameMachine.remove()Machine.scp_from()Machine.scp_to()Machine.seriesMachine.set_annotations()Machine.ssh()Machine.statusMachine.status_messageMachine.status_sinceMachine.tag
- juju.model
CharmArchiveGeneratorCharmhubDeployTypeDeployTypeResultLocalDeployTypeModelModel.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_offersModel.applicationsModel.block_until()Model.charmhubModel.connect()Model.connect_current()Model.connect_model()Model.connect_to()Model.connection()Model.connectorModel.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.infoModel.integrate()Model.is_connected()Model.list_offers()Model.list_secrets()Model.list_storage()Model.list_storage_pools()Model.machinesModel.nameModel.new_wait_for_idle()Model.relate()Model.relationsModel.remote_applicationsModel.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.stateModel.strict_modeModel.subordinate_unitsModel.tagModel.unitsModel.update_secret()Model.update_storage_pool()Model.wait_for_action()Model.wait_for_idle()
ModelEntityModelEntity.aliveModelEntity.connectedModelEntity.connectionModelEntity.currentModelEntity.dataModelEntity.deadModelEntity.entity_idModelEntity.entity_typeModelEntity.latest()ModelEntity.modelModelEntity.next()ModelEntity.on_change()ModelEntity.on_remove()ModelEntity.previous()ModelEntity.safe_data
ModelInfoModelObserverModelStateuse_new_wait_for_idle()
- juju.placement
- juju.relation
- juju.tag
- juju.unit
UnitUnit.add_storage()Unit.agent_statusUnit.agent_status_messageUnit.agent_status_sinceUnit.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_subordinateUnit.machineUnit.nameUnit.principal_unitUnit.public_addressUnit.remove()Unit.resolved()Unit.run()Unit.run_action()Unit.scp_from()Unit.scp_to()Unit.set_annotations()Unit.ssh()Unit.tagUnit.workload_statusUnit.workload_status_messageUnit.workload_status_since
- juju.user
UserUser.accessUser.created_byUser.date_createdUser.disable()User.disabledUser.display_nameUser.enable()User.enabledUser.grant()User.grant_or_revoke()User.last_connectionUser.modify_controller_access()User.modify_model_access()User.modify_offer_access()User.revoke()User.secret_keyUser.set_password()User.tagUser.username
- juju.utils
AddrsIdQueueRegistrationInfobase_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()
Python Library for Juju.