juju/client/_client6.py
async def RunOnAllMachines(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
        '''
        RunOnAllMachines attempts to run the specified command on all the machines.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        '''
        if applications is not None and not isinstance(applications, (bytes, str, list)):
            raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications)))

        if commands is not None and not isinstance(commands, (bytes, str)):
            raise Exception("Expected commands to be a str, received: {}".format(type(commands)))

        if machines is not None and not isinstance(machines, (bytes, str, list)):
            raise Exception("Expected machines to be a Sequence, received: {}".format(type(machines)))

        if timeout is not None and not isinstance(timeout, int):
            raise Exception("Expected timeout to be a int, received: {}".format(type(timeout)))

        if units is not None and not isinstance(units, (bytes, str, list)):
            raise Exception("Expected units to be a Sequence, received: {}".format(type(units)))

        if workload_context is not None and not isinstance(workload_context, bool):
            raise Exception("Expected workload_context to be a bool, received: {}".format(type(workload_context)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Action',
                   request='RunOnAllMachines',
                   version=6,
                   params=_params)
        _params['applications'] = applications
        _params['commands'] = commands
        _params['machines'] = machines
        _params['timeout'] = timeout
        _params['units'] = units
        _params['workload-context'] = workload_context
        reply = await self.rpc(msg)
        return reply

        RunOnAllMachines attempts to run the specified command on all the machines.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        
RunOnAllMachines attempts to run the specified command on all the machines.
RunOnAllMachines attempts to run the specified command on all the machines .
async def RunOnAllMachines(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
        if applications is not None and not isinstance(applications, (bytes, str, list)):
            raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications)))
        if commands is not None and not isinstance(commands, (bytes, str)):
            raise Exception("Expected commands to be a str, received: {}".format(type(commands)))
        if machines is not None and not isinstance(machines, (bytes, str, list)):
            raise Exception("Expected machines to be a Sequence, received: {}".format(type(machines)))
        if timeout is not None and not isinstance(timeout, int):
            raise Exception("Expected timeout to be a int, received: {}".format(type(timeout)))
        if units is not None and not isinstance(units, (bytes, str, list)):
            raise Exception("Expected units to be a Sequence, received: {}".format(type(units)))
        if workload_context is not None and not isinstance(workload_context, bool):
            raise Exception("Expected workload_context to be a bool, received: {}".format(type(workload_context)))
        _params = dict()
        msg = dict(type='Action',
                   request='RunOnAllMachines',
                   version=6,
                   params=_params)
        _params['applications'] = applications
        _params['commands'] = commands
        _params['machines'] = machines
        _params['timeout'] = timeout
        _params['units'] = units
        _params['workload-context'] = workload_context
        reply = await self.rpc(msg)
        return reply
async def RunOnAllMachines ( self , applications = None , commands = None , machines = None , timeout = None , units = None , workload_context = None ) : if applications is not None and not isinstance ( applications , ( bytes , str , list ) ) : raise Exception ( "Expected applications to be a Sequence, received: {}" . format ( type ( applications ) ) ) if commands is not None and not isinstance ( commands , ( bytes , str ) ) : raise Exception ( "Expected commands to be a str, received: {}" . format ( type ( commands ) ) ) if machines is not None and not isinstance ( machines , ( bytes , str , list ) ) : raise Exception ( "Expected machines to be a Sequence, received: {}" . format ( type ( machines ) ) ) if timeout is not None and not isinstance ( timeout , int ) : raise Exception ( "Expected timeout to be a int, received: {}" . format ( type ( timeout ) ) ) if units is not None and not isinstance ( units , ( bytes , str , list ) ) : raise Exception ( "Expected units to be a Sequence, received: {}" . format ( type ( units ) ) ) if workload_context is not None and not isinstance ( workload_context , bool ) : raise Exception ( "Expected workload_context to be a bool, received: {}" . format ( type ( workload_context ) ) ) _params = dict ( ) msg = dict ( type = 'Action' , request = 'RunOnAllMachines' , version = 6 , params = _params ) _params [ 'applications' ] = applications _params [ 'commands' ] = commands _params [ 'machines' ] = machines _params [ 'timeout' ] = timeout _params [ 'units' ] = units _params [ 'workload-context' ] = workload_context reply = await self . rpc ( msg ) return reply
RunOnAllMachines attempts to run the specified command on all the machines.
RunOnAllMachines attempts to run the specified command on all the machines .
'''
        RunOnAllMachines attempts to run the specified command on all the machines.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        ''' # map input types to rpc msg
self
applications
commands
machines
timeout
units
workload_context