juju/client/_client9.py
async def DestroyController(self, destroy_models=None, destroy_storage=None):
        '''
        DestroyController destroys the controller.

        If the args specify the destruction of the models, this method will
        attempt to do so. Otherwise, if the controller has any non-empty,
        non-Dead hosted models, then an error with the code
        params.CodeHasHostedModels will be transmitted.

        destroy_models : bool
        destroy_storage : bool
        Returns -> None
        '''
        if destroy_models is not None and not isinstance(destroy_models, bool):
            raise Exception("Expected destroy_models to be a bool, received: {}".format(type(destroy_models)))

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Controller',
                   request='DestroyController',
                   version=9,
                   params=_params)
        _params['destroy-models'] = destroy_models
        _params['destroy-storage'] = destroy_storage
        reply = await self.rpc(msg)
        return reply

        DestroyController destroys the controller.

        If the args specify the destruction of the models, this method will
        attempt to do so. Otherwise, if the controller has any non-empty,
        non-Dead hosted models, then an error with the code
        params.CodeHasHostedModels will be transmitted.

        destroy_models : bool
        destroy_storage : bool
        Returns -> None
        
DestroyController destroys the controller.
If the args specify the destruction of the models, this method will
attempt to do so. Otherwise, if the controller has any non-empty,
non-Dead hosted models, then an error with the code
params.CodeHasHostedModels will be transmitted.

destroy_models : bool
destroy_storage : bool
Returns -> None
DestroyController destroys the controller . If the args specify the destruction of the models this method will attempt to do so . Otherwise if the controller has any non - empty non - Dead hosted models then an error with the code params . CodeHasHostedModels will be transmitted . destroy_models : bool destroy_storage : bool Returns - > None
async def DestroyController(self, destroy_models=None, destroy_storage=None):
        if destroy_models is not None and not isinstance(destroy_models, bool):
            raise Exception("Expected destroy_models to be a bool, received: {}".format(type(destroy_models)))
        if destroy_storage is not None and not isinstance(destroy_storage, bool):
            raise Exception("Expected destroy_storage to be a bool, received: {}".format(type(destroy_storage)))
        _params = dict()
        msg = dict(type='Controller',
                   request='DestroyController',
                   version=9,
                   params=_params)
        _params['destroy-models'] = destroy_models
        _params['destroy-storage'] = destroy_storage
        reply = await self.rpc(msg)
        return reply
async def DestroyController ( self , destroy_models = None , destroy_storage = None ) : if destroy_models is not None and not isinstance ( destroy_models , bool ) : raise Exception ( "Expected destroy_models to be a bool, received: {}" . format ( type ( destroy_models ) ) ) if destroy_storage is not None and not isinstance ( destroy_storage , bool ) : raise Exception ( "Expected destroy_storage to be a bool, received: {}" . format ( type ( destroy_storage ) ) ) _params = dict ( ) msg = dict ( type = 'Controller' , request = 'DestroyController' , version = 9 , params = _params ) _params [ 'destroy-models' ] = destroy_models _params [ 'destroy-storage' ] = destroy_storage reply = await self . rpc ( msg ) return reply
DestroyController destroys the controller.
DestroyController destroys the controller .
'''
        DestroyController destroys the controller.

        If the args specify the destruction of the models, this method will
        attempt to do so. Otherwise, if the controller has any non-empty,
        non-Dead hosted models, then an error with the code
        params.CodeHasHostedModels will be transmitted.

        destroy_models : bool
        destroy_storage : bool
        Returns -> None
        ''' # map input types to rpc msg
self
destroy_models
destroy_storage