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.
GetCharmURL returns the charm URL 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.
Set implements the server side of Application.Set. It does not unset values that are set to an empty string. Unset should be used for that.
SetApplicationsConfig implements the server side of Application.SetApplicationsConfig. It does not unset values that are set to an empty string. Unset should be used for that.
SetCharm sets the charm for a given for the application.
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.
Unset implements the server side of Client.Unset.
UnsetApplicationsConfig implements the server side of Application.UnsetApplicationsConfig.
Update updates the application attributes, including charm URL, minimum number of units, charm config and constraints. All parameters in params.ApplicationUpdate except the application name are optional.
UpdateApplicationSeries updates the application series. Series for subordinates updated too.
Generated using TypeDoc
APIv12 provides the Application API facade for version 12. It adds the UnitsInfo method.