APIv19 provides the Application API facade for version 19.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "Application"
VERSION: number = 19
_transport: Transport
NAME: string = "Application"
VERSION: number = 19

Methods

  • 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.

    Parameters

    Returns Promise<DeployFromRepositoryResults>

  • DestroyRelation removes the relation between the specified endpoints or an id.

    Parameters

    Returns Promise<any>

  • Expose changes the juju-managed firewall to expose any ports that were also explicitly marked by units as open.

    Parameters

    Returns Promise<any>

  • Leader returns the unit name of the leader for the given application.

    Parameters

    Returns Promise<StringResult>

  • ResolveUnitErrors marks errors on the specified units as resolved.

    Parameters

    Returns Promise<ErrorResults>

  • SetCharm sets the charm for a given for the application.

    Parameters

    Returns Promise<any>

  • 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.

    Parameters

    Returns Promise<ErrorResults>

  • SetConstraints sets the constraints for a given application.

    Parameters

    Returns Promise<any>

  • Unexpose changes the juju-managed firewall to unexpose any ports that were also explicitly marked by units as open.

    Parameters

    Returns Promise<any>

  • UnitsInfo returns unit information for the given entities (units or applications).

    Parameters

    Returns Promise<UnitInfoResults>

Generated using TypeDoc