func (c *Client) Unexpose(application string, endpoints []string) error {
	if c.BestAPIVersion() < 13 && len(endpoints) > 0 {
		return errors.NewNotSupported(nil, "controller does not support granular expose parameters; applying this change would unexpose the application")
	}

	args := params.ApplicationUnexpose{
		ApplicationName:  application,
		ExposedEndpoints: endpoints,
	}
	return c.facade.FacadeCall("Unexpose", args, nil)
}
// Unexpose changes the juju-managed firewall to unexpose any ports that
// were also explicitly marked by units as open.
Unexpose changes the juju-managed firewall to unexpose any ports that
were also explicitly marked by units as open.
// Unexpose changes the juju - managed firewall to unexpose any ports that // were also explicitly marked by units as open .
func (c *Client) Unexpose(application string, endpoints []string) error {
	if c.BestAPIVersion() < 13 && len(endpoints) > 0 {
		return errors.NewNotSupported(nil, "controller does not support granular expose parameters; applying this change would unexpose the application")
	}
	args := params.ApplicationUnexpose{
		ApplicationName:  application,
		ExposedEndpoints: endpoints,
	}
	return c.facade.FacadeCall("Unexpose", args, nil)
}
func ( c * Client ) Unexpose ( application string , endpoints [ ] string ) error { if c . BestAPIVersion ( ) < 13 && len ( endpoints ) > 0 { return errors . NewNotSupported ( nil , " " ) } args := params . ApplicationUnexpose { ApplicationName : application , ExposedEndpoints : endpoints , } return c . facade . FacadeCall ( " " , args , nil ) }
Unexpose changes the juju-managed firewall to unexpose any ports that
were also explicitly marked by units as open.
Unexpose changes the juju - managed firewall to unexpose any ports that were also explicitly marked by units as open .