Skip to content

Commit 09a761a

Browse files
fix node types
1 parent 7ddfda1 commit 09a761a

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

engine/schema/src/main/resources/nimble/resource-types/project.yaml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,38 @@ node_types:
2929
type: string
3030
description: Name of the project.
3131
required: true
32-
account:
32+
display-text:
3333
type: string
34-
description: "The account name associated with the project. It must be used with the 'domain-id' property."
34+
description: Display text of the project.
3535
required: false
36+
account-id:
37+
type: string
38+
description: The ID of the account owning the project.
39+
required: false
40+
metadata:
41+
api-parameter: accountid
3642
domain-id:
3743
type: string
38-
description: The domain ID associated with the project.
44+
description: The domain ID of the account owning the project.
3945
required: false
4046
metadata:
4147
api-parameter: domainid
48+
admin-account-name:
49+
type: string
50+
description: >
51+
"The name of the account to be assigned as the administrator of the project.
52+
It must be used with the 'domain-id' property."
53+
required: false
54+
metadata:
55+
api-parameter: account
56+
admin-user-id:
57+
type: string
58+
description: >
59+
"The ID of the user to be assigned as the administrator of the project.
60+
It must be used with the 'domain-id' and 'account-id' properties."
61+
required: false
62+
metadata:
63+
api-parameter: userid
4264
attributes:
4365
id:
4466
type: string

engine/schema/src/main/resources/nimble/resource-types/virtual-machine.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,14 @@ node_types:
252252
required: false
253253
metadata:
254254
api-parameter: snapshotid
255+
details:
256+
type: map
257+
entry_schema:
258+
type: string
259+
description: >
260+
The details of the VM. Most frequently used details are 'cpunumber', 'cpuspeed' and 'memory'
261+
to specify, respectively, the number of vCPUs, the CPU speed and the amount of memory.
262+
required: false
255263
attributes:
256264
id:
257265
type: string

0 commit comments

Comments
 (0)