08324bd29cc187a1801af86c3283c32be93d6ddd
2 def add_relation(self
):
3 """Add a relation to another service.
9 """Add one or more units to this service.
16 """Allocate budget to this service.
22 """Upload a file as a resource for this service.
27 def collect_metrics(self
):
28 """Collect metrics on this service.
33 def destroy_relation(self
):
34 """Remove a relation to another service.
38 remove_relation
= destroy_relation
41 """Remove this service from the model.
48 """Make this service publicly available over the network.
54 """Return the configuration settings for this service.
59 def get_constraints(self
):
60 """Return the machine constraints for this service.
65 def get_actions(self
):
66 """Get actions defined for this service.
71 def get_resources(self
):
72 """Return resources for this service.
78 """Run command on all units for this service.
84 """Set configuration options for this service.
89 def set_constraints(self
):
90 """Set machine constraints for this service.
95 def set_meter_status(self
):
96 """Set the meter status on this status.
102 """Set the plan for this service, effective immediately.
108 """Remove public availability over the network for this service.
113 def update_allocation(self
):
114 """Update existing allocation for this service.
119 def upgrade_charm(self
):
120 """Upgrade the charm for this service.