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.
Destroy destroys a given application, local or remote.
NOTE(axw) this exists only for backwards compatibility, for API facade versions 1-3; clients should prefer its successor, DestroyApplication, below. Until all consumers have been updated, or we bump a major version, we can't drop this.
TODO(axw) 2017-03-16 #1673323 Drop this in Juju 3.0.
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.
DestroyUnits removes a given set of application units.
NOTE(axw) this exists only for backwards compatibility, for API facade versions 1-3; clients should prefer its successor, DestroyUnit, below. Until all consumers have been updated, or we bump a major version, we can't drop this.
TODO(axw) 2017-03-16 #1673323 Drop this in Juju 3.0.
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.
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.
UnsetApplicationsConfig implements the server side of Application.UnsetApplicationsConfig.
UpdateApplicationSeries updates the application series. Series for subordinates updated too.
Generated using TypeDoc
APIv13 provides the Application API facade for version 13.