Skip to content

Commit 8123295

Browse files
dealing with attributes
1 parent b27a623 commit 8123295

33 files changed

Lines changed: 449 additions & 25 deletions

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ node_types:
7575
id:
7676
type: string
7777
description: The ID of the account.
78-
user-id:
78+
role-type:
7979
type: string
80-
description: The ID of the account's user.
80+
description: The type of the role assigned to the account.
81+
metadata:
82+
api-response-attribute: roletype
83+
role-name:
84+
type: string
85+
description: The name of the role assigned to the account.
86+
metadata:
87+
api-response-attribute: rolename
88+
domain-path:
89+
type: string
90+
description: The path of the domain associated with the account.
91+
metadata:
92+
api-response-attribute: domainpath

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,13 @@ node_types:
5858
id:
5959
type: string
6060
description: The ID of the affinity group.
61+
domain-path:
62+
type: string
63+
description: The domain path of the affinity group's owner.
64+
metadata:
65+
api-response-attribute: domainpath
66+
project-name:
67+
type: string
68+
description: The name of the project associated with the affinity group.
69+
metadata:
70+
api-response-attribute: project

engine/schema/src/main/resources/nimble/resource-types/auto-scaling-policy.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,18 @@ node_types:
5858
id:
5959
type: string
6060
description: ID of the auto scaling policy.
61+
domain-path:
62+
type: string
63+
description: The domain path of the owner of the auto scaling policy.
64+
metadata:
65+
api-response-attribute: domainpath
66+
project-name:
67+
type: string
68+
description: The name of the project associated with the auto scaling policy.
69+
metadata:
70+
api-response-attribute: project
71+
account-name:
72+
type: string
73+
description: The name of the account associated with the auto scaling policy.
74+
metadata:
75+
api-response-attribute: account

engine/schema/src/main/resources/nimble/resource-types/auto-scaling-vm-group.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,38 @@ node_types:
7777
id:
7878
type: string
7979
description: ID of the auto scaling VM group.
80+
network-name:
81+
type: string
82+
description: The name of the network that is associated with the auto scaling VM group's load balancer.
83+
metadata:
84+
api-response-attribute: associatednetworkname
85+
network-id:
86+
type: string
87+
description: The ID of the network that is associated with the auto scaling VM group's load balancer.
88+
metadata:
89+
api-response-attribute: associatednetworkid
90+
public-ip-address:
91+
type: string
92+
description: The public IP address of the auto scaling VM group's load balancer.
93+
metadata:
94+
api-response-attribute: publicip
95+
public-ip-address-id:
96+
type: string
97+
description: The ID of the public IP address of the auto scaling VM group's load balancer.
98+
metadata:
99+
api-response-attribute: publicipid
100+
domain-path:
101+
type: string
102+
description: The domain path of the owner of the auto scaling VM group.
103+
metadata:
104+
api-response-attribute: domainpath
105+
project-name:
106+
type: string
107+
description: The name of the project associated with the auto scaling VM group.
108+
metadata:
109+
api-response-attribute: project
110+
account-name:
111+
type: string
112+
description: The name of the account associated with the auto scaling VM group.
113+
metadata:
114+
api-response-attribute: account

engine/schema/src/main/resources/nimble/resource-types/auto-scaling-vm-profile.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,13 @@ node_types:
123123
id:
124124
type: string
125125
description: The ID of the auto scaling VM profile.
126+
domain-path:
127+
type: string
128+
description: The domain path of the auto scaling VM profile's owner.
129+
metadata:
130+
api-response-attribute: domainpath
131+
project-name:
132+
type: string
133+
description: The name of the project associated with the auto scaling VM profile.
134+
metadata:
135+
api-response-attribute: project

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,3 +270,13 @@ node_types:
270270
id:
271271
type: string
272272
description: The ID of the compute offering.
273+
zone-name:
274+
type: string
275+
description: The name of the zone the compute offering belongs to.
276+
metadata:
277+
api-response-attribute: zone
278+
domain-name:
279+
type: string
280+
description: The domain name associated with the compute offering.
281+
metadata:
282+
api-response-attribute: domain

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,13 @@ node_types:
190190
id:
191191
type: string
192192
description: The ID of the disk offering.
193+
zone-name:
194+
type: string
195+
description: The name of the zone the disk offering belongs to.
196+
metadata:
197+
api-response-attribute: zone
198+
domain-name:
199+
type: string
200+
description: The domain name associated with the disk offering.
201+
metadata:
202+
api-response-attribute: domain

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ node_types:
4242
path:
4343
type: string
4444
description: The path of the domain.
45+
parent-domain-name:
46+
type: string
47+
description: The name of the parent domain.
48+
metadata:
49+
api-response-attribute: parentdomainname

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,8 @@ node_types:
7272
id:
7373
type: string
7474
description: The ID of the firewall rule.
75+
ip-address:
76+
type: string
77+
description: The IP address associated with the firewall rule.
78+
metadata:
79+
api-response-attribute: ipaddress

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,13 @@ node_types:
4949
id:
5050
type: string
5151
description: The ID of the instance group.
52+
domain-path:
53+
type: string
54+
description: The domain path instance group's owner.
55+
metadata:
56+
api-response-attribute: domainpath
57+
project-name:
58+
type: string
59+
description: The name of the project associated with the instance group.
60+
metadata:
61+
api-response-attribute: project

0 commit comments

Comments
 (0)