mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-24 17:39:06 +00:00
feat: 支持添加nutanix云账号
This commit is contained in:
parent
be176ad408
commit
ee6a3c6d68
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script type="text/jsx">
|
<script type="text/jsx">
|
||||||
import GenericListTable from '@/layout/components/GenericListTable'
|
import GenericListTable from '@/layout/components/GenericListTable'
|
||||||
import { ACCOUNT_PROVIDER_ATTRS_MAP, aliyun, aws_china, aws_international, huaweicloud, qcloud, azure, azure_international, vmware } from '../const'
|
import { ACCOUNT_PROVIDER_ATTRS_MAP, aliyun, aws_china, aws_international, huaweicloud, qcloud, azure, azure_international, vmware, nutanix } from '../const'
|
||||||
import { BooleanFormatter, DetailFormatter } from '@/components/ListTable/formatters'
|
import { BooleanFormatter, DetailFormatter } from '@/components/ListTable/formatters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -109,6 +109,10 @@ export default {
|
|||||||
{
|
{
|
||||||
name: vmware,
|
name: vmware,
|
||||||
title: ACCOUNT_PROVIDER_ATTRS_MAP[vmware].title
|
title: ACCOUNT_PROVIDER_ATTRS_MAP[vmware].title
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: nutanix,
|
||||||
|
title: ACCOUNT_PROVIDER_ATTRS_MAP[nutanix].title
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ export const qcloud = 'qcloud'
|
|||||||
export const azure = 'azure'
|
export const azure = 'azure'
|
||||||
export const azure_international = 'azure_international'
|
export const azure_international = 'azure_international'
|
||||||
export const vmware = 'vmware'
|
export const vmware = 'vmware'
|
||||||
|
export const nutanix = 'nutanix'
|
||||||
|
|
||||||
export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
||||||
[aliyun]: {
|
[aliyun]: {
|
||||||
@ -49,5 +50,10 @@ export const ACCOUNT_PROVIDER_ATTRS_MAP = {
|
|||||||
name: vmware,
|
name: vmware,
|
||||||
title: 'VMware',
|
title: 'VMware',
|
||||||
attrs: ['host', 'port', 'username', 'password']
|
attrs: ['host', 'port', 'username', 'password']
|
||||||
|
},
|
||||||
|
[nutanix]: {
|
||||||
|
name: nutanix,
|
||||||
|
title: 'Nutanix',
|
||||||
|
attrs: ['access_key_id', 'access_key_secret', 'api_endpoint']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user