func (c *Client) ApplicationsInfo(applications []names.ApplicationTag) ([]params.ApplicationInfoResult, error) {
	if apiVersion := c.BestAPIVersion(); apiVersion < 9 {
		return nil, errors.NotSupportedf("ApplicationsInfo for Application facade v%v", apiVersion)
	}
	all := make([]params.Entity, len(applications))
	for i, one := range applications {
		all[i] = params.Entity{Tag: one.String()}
	}
	in := params.Entities{Entities: all}
	var out params.ApplicationInfoResults
	err := c.facade.FacadeCall("ApplicationsInfo", in, &out)
	if err != nil {
		return nil, errors.Trace(err)
	}
	if resultsLen := len(out.Results); resultsLen != len(applications) {
		return nil, errors.Errorf("expected %d results, got %d", len(applications), resultsLen)
	}
	return out.Results, nil
}
// ApplicationsInfo retrieves applications information.
ApplicationsInfo retrieves applications information.
// ApplicationsInfo retrieves applications information .
func (c *Client) ApplicationsInfo(applications []names.ApplicationTag) ([]params.ApplicationInfoResult, error) {
	if apiVersion := c.BestAPIVersion(); apiVersion < 9 {
		return nil, errors.NotSupportedf("ApplicationsInfo for Application facade v%v", apiVersion)
	}
	all := make([]params.Entity, len(applications))
	for i, one := range applications {
		all[i] = params.Entity{Tag: one.String()}
	}
	in := params.Entities{Entities: all}
	var out params.ApplicationInfoResults
	err := c.facade.FacadeCall("ApplicationsInfo", in, &out)
	if err != nil {
		return nil, errors.Trace(err)
	}
	if resultsLen := len(out.Results); resultsLen != len(applications) {
		return nil, errors.Errorf("expected %d results, got %d", len(applications), resultsLen)
	}
	return out.Results, nil
}
func ( c * Client ) ApplicationsInfo ( applications [ ] names . ApplicationTag ) ( [ ] params . ApplicationInfoResult , error ) { if apiVersion := c . BestAPIVersion ( ) ; apiVersion < 9 { return nil , errors . NotSupportedf ( " " , apiVersion ) } all := make ( [ ] params . Entity , len ( applications ) ) for i , one := range applications { all [ i ] = params . Entity { Tag : one . String ( ) } } in := params . Entities { Entities : all } var out params . ApplicationInfoResults err := c . facade . FacadeCall ( " " , in , & out ) if err != nil { return nil , errors . Trace ( err ) } if resultsLen := len ( out . Results ) ; resultsLen != len ( applications ) { return nil , errors . Errorf ( " " , len ( applications ) , resultsLen ) } return out . Results , nil }
ApplicationsInfo retrieves applications information.
ApplicationsInfo retrieves applications information .