11/**
22 Juju Action version 7.
3- This facade is available on:
4- Models
3+
54
65 NOTE: This file was generated using the Juju schema
7- from Juju 3.3 at the git SHA 65fa4c1ee5 .
6+ from Juju 4.0.10 at the git SHA b08ad63 .
87 Do not manually edit this file.
98*/
109
@@ -116,7 +115,6 @@ export interface RunParams {
116115 parallel ?: boolean ;
117116 timeout : number ;
118117 units ?: string [ ] ;
119- "workload-context" ?: boolean ;
120118}
121119
122120export interface StringsWatchResult {
@@ -133,9 +131,6 @@ export interface AdditionalProperties {
133131 [ key : string ] : any ;
134132}
135133
136- /**
137- APIv7 provides the Action API facade for version 7.
138- */
139134class ActionV7 implements Facade {
140135 static NAME = "Action" ;
141136 static VERSION = 7 ;
@@ -153,10 +148,7 @@ class ActionV7 implements Facade {
153148 // Automatically bind all methods to instances.
154149 autoBind ( this ) ;
155150 }
156- /**
157- Actions takes a list of ActionTags, and returns the full Action for
158- each ID.
159- */
151+
160152 actions ( params : Entities ) : Promise < ActionResults > {
161153 return new Promise ( ( resolve , reject ) => {
162154 const req : JujuRequest = {
@@ -170,10 +162,6 @@ class ActionV7 implements Facade {
170162 } ) ;
171163 }
172164
173- /**
174- ApplicationsCharmsActions returns a slice of charm Actions for a slice of
175- services.
176- */
177165 applicationsCharmsActions (
178166 params : Entities
179167 ) : Promise < ApplicationsCharmActionsResults > {
@@ -189,9 +177,6 @@ class ActionV7 implements Facade {
189177 } ) ;
190178 }
191179
192- /**
193- Cancel attempts to cancel enqueued Actions from running.
194- */
195180 cancel ( params : Entities ) : Promise < ActionResults > {
196181 return new Promise ( ( resolve , reject ) => {
197182 const req : JujuRequest = {
@@ -205,11 +190,6 @@ class ActionV7 implements Facade {
205190 } ) ;
206191 }
207192
208- /**
209- EnqueueOperation takes a list of Actions and queues them up to be executed as
210- an operation, each action running as a task on the designated ActionReceiver.
211- We return the ID of the overall operation and each individual task.
212- */
213193 enqueueOperation ( params : Actions ) : Promise < EnqueuedActions > {
214194 return new Promise ( ( resolve , reject ) => {
215195 const req : JujuRequest = {
@@ -223,9 +203,6 @@ class ActionV7 implements Facade {
223203 } ) ;
224204 }
225205
226- /**
227- ListOperations fetches the called actions for specified apps/units.
228- */
229206 listOperations ( params : OperationQueryArgs ) : Promise < OperationResults > {
230207 return new Promise ( ( resolve , reject ) => {
231208 const req : JujuRequest = {
@@ -239,9 +216,6 @@ class ActionV7 implements Facade {
239216 } ) ;
240217 }
241218
242- /**
243- Operations fetches the specified operation ids.
244- */
245219 operations ( params : Entities ) : Promise < OperationResults > {
246220 return new Promise ( ( resolve , reject ) => {
247221 const req : JujuRequest = {
@@ -255,10 +229,6 @@ class ActionV7 implements Facade {
255229 } ) ;
256230 }
257231
258- /**
259- Run the commands specified on the machines identified through the
260- list of machines, units and services.
261- */
262232 run ( params : RunParams ) : Promise < EnqueuedActions > {
263233 return new Promise ( ( resolve , reject ) => {
264234 const req : JujuRequest = {
@@ -272,9 +242,6 @@ class ActionV7 implements Facade {
272242 } ) ;
273243 }
274244
275- /**
276- RunOnAllMachines attempts to run the specified command on all the machines.
277- */
278245 runOnAllMachines ( params : RunParams ) : Promise < EnqueuedActions > {
279246 return new Promise ( ( resolve , reject ) => {
280247 const req : JujuRequest = {
@@ -288,9 +255,6 @@ class ActionV7 implements Facade {
288255 } ) ;
289256 }
290257
291- /**
292- WatchActionsProgress creates a watcher that reports on action log messages.
293- */
294258 watchActionsProgress ( params : Entities ) : Promise < StringsWatchResults > {
295259 return new Promise ( ( resolve , reject ) => {
296260 const req : JujuRequest = {
0 commit comments