Skip to content

Commit 6cdffdf

Browse files
authored
feat(baremetal): define if an organization is allowed to install the OS (#640)
1 parent bb7b226 commit 6cdffdf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/clients/src/api/baremetal/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ export const unmarshalOS = (data: unknown) => {
218218
}
219219

220220
return {
221+
allowed: data.allowed,
221222
enabled: data.enabled,
222223
id: data.id,
223224
licenseRequired: data.license_required,

packages/clients/src/api/baremetal/v1/types.gen.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,12 @@ export interface OS {
240240
serviceUser?: OSOSField
241241
/** Object defining the password requirements to install the service. */
242242
servicePassword?: OSOSField
243-
/** State of OS. */
243+
/** Defines if the operating system is enabled or not. */
244244
enabled: boolean
245245
/** License required (check server options for pricing details). */
246246
licenseRequired: boolean
247+
/** Defines if a specific Organization is allowed to install this OS type. */
248+
allowed: boolean
247249
}
248250

249251
export interface OSOSField {

0 commit comments

Comments
 (0)