Static
NAMEStatic
VERSIONAddCharm adds the given charm URL (which must include revision) to the environment, if it does not exist yet. Local charms are not supported, only charm store and charm hub URLs. See also AddLocalCharm().
CheckCharmPlacement checks if a charm is allowed to be placed with in a given application.
GetDownloadInfos attempts to get the bundle corresponding to the charm url and origin.
IsMetered returns whether or not the charm is metered. TODO (cderici) only used for metered charms in cmd MeteredDeployAPI, kept for client compatibility, remove in juju 4.0
List returns a list of charm URLs currently in the state. If supplied parameter contains any names, the result will be filtered to return only the charms with supplied names.
ListCharmResources returns a series of resources for a given charm.
ResolveCharms resolves the given charm URLs with an optionally specified preferred channel. Channel provided via CharmOrigin.
Generated using TypeDoc
APIv7 provides the Charms API facade for version 7. v7 guarantees SupportedBases will be provided in ResolveCharms