def show_instance(name, call=None):
    '''
    Show the details from the provider concerning an instance
    '''
    if call != 'action':
        raise SaltCloudSystemExit(
            'The show_instance action must be called with -a or --action.'
        )

    conn = get_conn()
    node = conn.show_instance(name).__dict__
    __utils__['cloud.cache_node'](node, __active_provider_name__, __opts__)
    return node
def show_instance ( name , call = None ) : if call != 'action' : raise SaltCloudSystemExit ( 'The show_instance action must be called with -a or --action.' ) conn = get_conn ( ) node = conn . show_instance ( name ) . __dict__ __utils__ [ 'cloud.cache_node' ] ( node , __active_provider_name__ , __opts__ ) return node
Show the details from the provider concerning an instance