juju/client/_client9.py
async def ChangeModelCredential(self, model_credentials=None):
        '''
        ChangeModelCredential changes cloud credential reference for models.
        These new cloud credentials must already exist on the controller.

        model_credentials : typing.Sequence[~ChangeModelCredentialParams]
        Returns -> ErrorResults
        '''
        if model_credentials is not None and not isinstance(model_credentials, (bytes, str, list)):
            raise Exception("Expected model_credentials to be a Sequence, received: {}".format(type(model_credentials)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='ModelManager',
                   request='ChangeModelCredential',
                   version=9,
                   params=_params)
        _params['model-credentials'] = model_credentials
        reply = await self.rpc(msg)
        return reply

        ChangeModelCredential changes cloud credential reference for models.
        These new cloud credentials must already exist on the controller.

        model_credentials : typing.Sequence[~ChangeModelCredentialParams]
        Returns -> ErrorResults
        
ChangeModelCredential changes cloud credential reference for models.
These new cloud credentials must already exist on the controller.


ChangeModelCredential changes cloud credential reference for models . These new cloud credentials must already exist on the controller .
async def ChangeModelCredential(self, model_credentials=None):
        if model_credentials is not None and not isinstance(model_credentials, (bytes, str, list)):
            raise Exception("Expected model_credentials to be a Sequence, received: {}".format(type(model_credentials)))
        _params = dict()
        msg = dict(type='ModelManager',
                   request='ChangeModelCredential',
                   version=9,
                   params=_params)
        _params['model-credentials'] = model_credentials
        reply = await self.rpc(msg)
        return reply
async def ChangeModelCredential ( self , model_credentials = None ) : if model_credentials is not None and not isinstance ( model_credentials , ( bytes , str , list ) ) : raise Exception ( "Expected model_credentials to be a Sequence, received: {}" . format ( type ( model_credentials ) ) ) _params = dict ( ) msg = dict ( type = 'ModelManager' , request = 'ChangeModelCredential' , version = 9 , params = _params ) _params [ 'model-credentials' ] = model_credentials reply = await self . rpc ( msg ) return reply
ChangeModelCredential changes cloud credential reference for models.
ChangeModelCredential changes cloud credential reference for models .
'''
        ChangeModelCredential changes cloud credential reference for models.
        These new cloud credentials must already exist on the controller.

        model_credentials : typing.Sequence[~ChangeModelCredentialParams]
        Returns -> ErrorResults
        ''' # map input types to rpc msg
self
model_credentials