Static
NAMEStatic
VERSIONAPIHostPorts returns the API host/port addresses stored in state.
AddCharmWithAuthorization adds the given charm URL (which must include revision) to the model, if it does not exist yet. Local charms are not supported, only charm store URLs. See also AddLocalCharm().
The authorization macaroon, args.CharmStoreMacaroon, may be omitted, in which case this call is equivalent to AddCharm.
NOTE: AddCharmWithAuthorization 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
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. This call is 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.
ResolveCharm 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.
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.