import { DesktopOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: 'resource',
        name: 'resource',
        component: 'RouteViewLayout',
        meta: {
            icon: DesktopOutlined,
            title: 'GPU资源管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'resourceAdmin',
                name: 'resourceAdmin',
                component: 'resource/resourceAdmin/index.vue',
                meta: {
                    title: '主机资源列表 ',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'resourceCard',
                name: 'resourceCard',
                component: 'resource/resourceCard/index.vue',
                meta: {
                    title: '计算卡列表 ',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'resourceInstance',
                name: 'resourceInstance',
                component: 'resource/resourceInstance/index.vue',
                meta: {
                    title: '实例卡列表 ',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },

            {
                path: 'resourceStatistics',
                name: 'resourceStatistics',
                component: 'resource/resourceStatistics/index.vue',
                meta: {
                    title: '资源池统计信息',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    }
]
