juju/client/_client7.py
async def CheckCredentialsModels(self, credentials=None):
        '''
        CheckCredentialsModels validates supplied cloud credentials' content against
        models that currently use these credentials.
        If there are any models that are using a credential and these models or their
        cloud instances are not going to be accessible with corresponding credential,
        there will be detailed validation errors per model.
        There's no Juju API client which uses this, but JAAS does,

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Cloud',
                   request='CheckCredentialsModels',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        reply = await self.rpc(msg)
        return reply

        CheckCredentialsModels validates supplied cloud credentials' content against
        models that currently use these credentials.
        If there are any models that are using a credential and these models or their
        cloud instances are not going to be accessible with corresponding credential,
        there will be detailed validation errors per model.
        There's no Juju API client which uses this, but JAAS does,

        credentials : typing.Sequence[~TaggedCredential]
        Returns -> UpdateCredentialResults
        
CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials.
If there are any models that are using a credential and these models or their
cloud instances are not going to be accessible with corresponding credential,
there will be detailed validation errors per model.
There's no Juju API client which uses this, but JAAS does.


CheckCredentialsModels validates supplied cloud credentials ' content against models that currently use these credentials . If there are any models that are using a credential and these models or their cloud instances are not going to be accessible with corresponding credential there will be detailed validation errors per model . There ' s no Juju API client which uses this but JAAS does .
async def CheckCredentialsModels(self, credentials=None):
        if credentials is not None and not isinstance(credentials, (bytes, str, list)):
            raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
        _params = dict()
        msg = dict(type='Cloud',
                   request='CheckCredentialsModels',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        reply = await self.rpc(msg)
        return reply
async def CheckCredentialsModels ( self , credentials = None ) : if credentials is not None and not isinstance ( credentials , ( bytes , str , list ) ) : raise Exception ( "Expected credentials to be a Sequence, received: {}" . format ( type ( credentials ) ) ) _params = dict ( ) msg = dict ( type = 'Cloud' , request = 'CheckCredentialsModels' , version = 7 , params = _params ) _params [ 'credentials' ] = credentials reply = await self . rpc ( msg ) return reply
CheckCredentialsModels validates supplied cloud credentials' content against
models that currently use these credentials.
CheckCredentialsModels validates supplied cloud credentials ' content against models that currently use these credentials .
'''
        CheckCredentialsModels validates supplied cloud credentials' content against
        models that currently use these credentials.
        If there are any models that are using a credential and these models or their
        cloud instances are not going to be accessible with corresponding credential,
        there will be detailed validation errors per model.
        There's no Juju API client which uses this, but JAAS does,

        credentials : typing.Sequence[~TaggedCredential]
        Returns -> UpdateCredentialResults
        ''' # map input types to rpc msg
self
credentials