juju/client/_client3.py
async def ProvisioningScript(self, data_dir=None, disable_package_commands=None, machine_id=None, nonce=None):
        '''
        ProvisioningScript returns a shell script that, when run,
        provisions a machine agent on the machine executing the script.

        data_dir : str
        disable_package_commands : bool
        machine_id : str
        nonce : str
        Returns -> ProvisioningScriptResult
        '''
        if data_dir is not None and not isinstance(data_dir, (bytes, str)):
            raise Exception("Expected data_dir to be a str, received: {}".format(type(data_dir)))

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

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

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Client',
                   request='ProvisioningScript',
                   version=3,
                   params=_params)
        _params['data-dir'] = data_dir
        _params['disable-package-commands'] = disable_package_commands
        _params['machine-id'] = machine_id
        _params['nonce'] = nonce
        reply = await self.rpc(msg)
        return reply

        ProvisioningScript returns a shell script that, when run,
        provisions a machine agent on the machine executing the script.

        data_dir : str
        disable_package_commands : bool
        machine_id : str
        nonce : str
        Returns -> ProvisioningScriptResult
        
ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script.


ProvisioningScript returns a shell script that when run provisions a machine agent on the machine executing the script .
async def ProvisioningScript(self, data_dir=None, disable_package_commands=None, machine_id=None, nonce=None):
        if data_dir is not None and not isinstance(data_dir, (bytes, str)):
            raise Exception("Expected data_dir to be a str, received: {}".format(type(data_dir)))
        if disable_package_commands is not None and not isinstance(disable_package_commands, bool):
            raise Exception("Expected disable_package_commands to be a bool, received: {}".format(type(disable_package_commands)))
        if machine_id is not None and not isinstance(machine_id, (bytes, str)):
            raise Exception("Expected machine_id to be a str, received: {}".format(type(machine_id)))
        if nonce is not None and not isinstance(nonce, (bytes, str)):
            raise Exception("Expected nonce to be a str, received: {}".format(type(nonce)))
        _params = dict()
        msg = dict(type='Client',
                   request='ProvisioningScript',
                   version=3,
                   params=_params)
        _params['data-dir'] = data_dir
        _params['disable-package-commands'] = disable_package_commands
        _params['machine-id'] = machine_id
        _params['nonce'] = nonce
        reply = await self.rpc(msg)
        return reply
async def ProvisioningScript ( self , data_dir = None , disable_package_commands = None , machine_id = None , nonce = None ) : if data_dir is not None and not isinstance ( data_dir , ( bytes , str ) ) : raise Exception ( "Expected data_dir to be a str, received: {}" . format ( type ( data_dir ) ) ) if disable_package_commands is not None and not isinstance ( disable_package_commands , bool ) : raise Exception ( "Expected disable_package_commands to be a bool, received: {}" . format ( type ( disable_package_commands ) ) ) if machine_id is not None and not isinstance ( machine_id , ( bytes , str ) ) : raise Exception ( "Expected machine_id to be a str, received: {}" . format ( type ( machine_id ) ) ) if nonce is not None and not isinstance ( nonce , ( bytes , str ) ) : raise Exception ( "Expected nonce to be a str, received: {}" . format ( type ( nonce ) ) ) _params = dict ( ) msg = dict ( type = 'Client' , request = 'ProvisioningScript' , version = 3 , params = _params ) _params [ 'data-dir' ] = data_dir _params [ 'disable-package-commands' ] = disable_package_commands _params [ 'machine-id' ] = machine_id _params [ 'nonce' ] = nonce reply = await self . rpc ( msg ) return reply
ProvisioningScript returns a shell script that, when run,
provisions a machine agent on the machine executing the script.
ProvisioningScript returns a shell script that when run provisions a machine agent on the machine executing the script .
'''
        ProvisioningScript returns a shell script that, when run,
        provisions a machine agent on the machine executing the script.

        data_dir : str
        disable_package_commands : bool
        machine_id : str
        nonce : str
        Returns -> ProvisioningScriptResult
        ''' # map input types to rpc msg
self
data_dir
disable_package_commands
machine_id
nonce