Static
NAMEStatic
VERSIONAPIHostPorts returns the API host/port addresses stored in state.
Method was deprecated as of juju 2.9 and removed in juju 3.0. Please use the client/charms facade instead.
AddMachines adds new machines with the supplied parameters.
AddMachinesV2 adds new machines with the supplied parameters.
AgentVersion returns the current version that the API server is running.
CACert returns the certificate used to validate the state connection.
DestroyMachines removes a given set of machines.
FindTools returns a List containing all tools matching the given parameters.
FullStatus gives the information needed for juju status over the api
GetBundleChanges returns the list of changes required to deploy the given bundle data. The changes are sorted by requirements, so that they can be applied in order. Deprecated: clients should use the GetChanges endpoint on the Bundle facade. Note: any new feature in the future like devices will never be supported here.
GetModelConstraints returns the constraints for the model.
InjectMachines injects a machine into state with provisioned status.
ModelGet implements the server-side part of the model-config CLI command.
ModelUnset implements the server-side part of the set-model-config CLI command.
ModelUserInfo returns information on all users in the model.
PrivateAddress implements the server side of Client.PrivateAddress.
ProvisioningScript returns a shell script that, when run, provisions a machine agent on the machine executing the script.
PublicAddress implements the server side of Client.PublicAddress.
ResolveCharms resolves the best available charm URLs with series, for charm locations without a series specified.
NOTE: ResolveCharms is deprecated as of juju 2.9 and charms facade version 3. Please discontinue use and move to the charms facade version.
TODO: remove in juju 3.0
RetryProvisioning marks a provisioning error as transient on the machines.
SLALevel returns the current sla level for the model.
Sequences returns the model's sequence names and next values.
SetModelAgentVersion sets the model agent version.
SetModelConstraints sets the constraints for the model.
StatusHistory returns a slice of past statuses for several entities.
WatchAll initiates a watcher for entities in the connected model.
Generated using TypeDoc
Client serves client-specific API methods.