Static
NAMEStatic
VERSIONAddRelation adds a relation between the specified endpoints and returns the relation info.
AddUnits adds a given number of units to an application.
ApplicationsInfo returns applications information.
CharmConfig returns charm config for the input list of applications and model generations.
CharmRelations implements the server side of Application.CharmRelations.
Consume adds remote applications to the model without creating any relations.
Deploy fetches the charms from the charm store and deploys them using the specified placement directives.
DeployFromRepository is a one-stop deployment method for repository charms. Only a charm name is required to deploy. If argument validation fails, a list of all errors found in validation will be returned. If a local resource is provided, details required for uploading the validated resource will be returned.
DestroyApplication removes a given set of applications.
DestroyConsumedApplications removes a given set of consumed (remote) applications.
DestroyRelation removes the relation between the specified endpoints or an id.
DestroyUnit removes a given set of application units.
Expose changes the juju-managed firewall to expose any ports that were also explicitly marked by units as open.
Get returns the charm configuration for an application.
GetCharmURLOrigin returns the charm URL and charm origin the given application is running at present.
GetConfig returns the charm config for each of the input applications.
GetConstraints returns the constraints for a given application.
Leader returns the unit name of the leader for the given application.
MergeBindings merges operator-defined bindings with the current bindings for one or more applications.
ResolveUnitErrors marks errors on the specified units as resolved.
ScaleApplications scales the specified application to the requested number of units.
SetCharm sets the charm for a given for the application.
SetConfigs implements the server side of Application.SetConfig. Both application and charm config are set. It does not unset values in Config map that are set to an empty string. Unset should be used for that.
SetConstraints sets the constraints for a given application.
SetMetricCredentials sets credentials on the application.
SetRelationsSuspended sets the suspended status of the specified relations.
Unexpose changes the juju-managed firewall to unexpose any ports that were also explicitly marked by units as open.
UnitsInfo returns unit information for the given entities (units or applications).
UnsetApplicationsConfig implements the server side of Application.UnsetApplicationsConfig.
UpdateApplicationBase updates the application base. Base for subordinates is updated too.
Generated using TypeDoc
APIv18 provides the Application API facade for version 18.