feat: 🎸 Add new fields to host

Add new fields to host and refactor field address to use no more
fragment-host-attribute-model
This commit is contained in:
Carlos Alcaide Corvo committed 2022-02-09 08:55:10 -08:00
1 parent 6f8d424bed
commit f8c4eb470f
5 files changed
+73 -27

No files matched your search

+18
View File
@@ -44,9 +44,27 @@ export default class GeneratedHostModel extends BaseModel {
})
version;
@attr({
description: 'Attributes specific to the host type',
})
attributes;
@attr('string', {
description: 'The address (DNS or IP name) used to reach the host',
isNestedAttribute: true,
})
address;
@attr({
description: 'Plugin information for this resource.',
readOnly: true,
})
plugin;
@attr('string', {
description: '',
readOnly: true,
isNestedAttribute: true,
})
external_id;
}