feat: 🎸 Added GCP host sets and hosts (#2655)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15994
This commit is contained in:
1 parent
3b6a421af2
commit
390d179917
16 files changed
+412
-97
No files matched your search
@@ -63,6 +63,10 @@ export default class GeneratedHostSetModel extends BaseModel {
|
||||
plugin;
|
||||
|
||||
@attr('number', {
|
||||
for: {
|
||||
type: 'plugin',
|
||||
name: ['aws', 'azure', 'gcp'],
|
||||
},
|
||||
description:
|
||||
"The number of seconds between the time boundary syncs the hosts in this set using this host set's plugin. If not provided a system determined default is used",
|
||||
})
|
||||
@@ -79,12 +83,20 @@ export default class GeneratedHostSetModel extends BaseModel {
|
||||
host_ids;
|
||||
|
||||
@attr('string-array', {
|
||||
for: {
|
||||
type: 'plugin',
|
||||
name: ['aws', 'azure', 'gcp'],
|
||||
},
|
||||
emptyArrayIfMissing: true,
|
||||
})
|
||||
preferred_endpoints;
|
||||
|
||||
// AWS & GCP specific
|
||||
@attr('string-array', {
|
||||
for: {
|
||||
type: 'plugin',
|
||||
name: ['aws', 'gcp'],
|
||||
},
|
||||
isNestedAttribute: true,
|
||||
emptyArrayIfMissing: true,
|
||||
})
|
||||
@@ -92,6 +104,10 @@ export default class GeneratedHostSetModel extends BaseModel {
|
||||
|
||||
// Azure specific, comes in from API as "filter". This is to avoid collisions with filter
|
||||
@attr('string', {
|
||||
for: {
|
||||
type: 'plugin',
|
||||
name: 'azure',
|
||||
},
|
||||
description: '',
|
||||
isNestedAttribute: true,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user