def storage_update(self, name, config, timeout=10):
        """
        Create or update a storage plugin configuration.

        :param name: The name of the storage plugin configuration to create or update.
        :param config: Overwrites the existing configuration if there is any, and therefore, must include all
        required attributes and definitions.
        :param timeout: int
        :return: pydrill.client.Result
        """
        result = Result(*self.perform_request(**{
            'method': 'POST',
            'url': '/storage/{0}.json'.format(name),
            'body': config,
            'params': {
                'request_timeout': timeout
            }
        }))
        return result
def storage_update ( self , name , config , timeout = 10 ) : result = Result ( * self . perform_request ( ** { 'method' : 'POST' , 'url' : '/storage/{0}.json' . format ( name ) , 'body' : config , 'params' : { 'request_timeout' : timeout } } ) ) return result
Create or update a storage plugin configuration.

        :param name: The name of the storage plugin configuration to create or update.
        :param config: Overwrites the existing configuration if there is any, and therefore, must include all
        required attributes and definitions.
        :param timeout: int
        :return: pydrill.client.Result