Add sync interval to host sets (#1680)
This adds a parameter to host sets allowing the sync interval to be user-specified on a per-host-set basis. A value of -1 disables syncing; a value of null uses the current default.
This commit is contained in:
1 parent
dba7c6b531
commit
30e9f944a2
27 files changed
+752
-231
No files matched your search
@@ -48,9 +48,22 @@ message HostSet {
|
||||
repeated string host_ids = 100 [json_name="host_ids"];
|
||||
|
||||
// An ordered list of endpoint preferences used to choose from among
|
||||
// multiple possible endpoints for a host.
|
||||
// multiple possible endpoints for a host. Preferences are specified by
|
||||
// "cidr:<valid IPv4/6 CIDR>" or "dns:<globbed name>", specifying which IP
|
||||
// address or DNS name out of a host's available possibilities should be
|
||||
// preferred. If no preferences are specified, a value will be chosen from
|
||||
// among all avialable values using a built-in priority order. May not be
|
||||
// valid for all plugin types.
|
||||
repeated string preferred_endpoints = 101 [json_name="preferred_endpoints", (custom_options.v1.generate_sdk_option) = true];
|
||||
|
||||
// An interger number of seconds indicating the amount of time that should
|
||||
// elapse between syncs of the host set. The interval will be applied to the
|
||||
// end of the previous sync operation, not the start. Setting to any
|
||||
// negative value will disable syncing for that host set; setting to zero
|
||||
// will cause the set to use Boundary's default. The default may change
|
||||
// between releases. May not be valid for all plugin types.
|
||||
google.protobuf.Int32Value sync_interval_seconds = 102 [json_name="sync_interval_seconds", (custom_options.v1.generate_sdk_option) = true, (custom_options.v1.mask_mapping) = {this:"sync_interval_seconds" that: "SyncIntervalSeconds"}];
|
||||
|
||||
// The attributes that are applicable for the specific Host Set type.
|
||||
google.protobuf.Struct attributes = 110 [(custom_options.v1.generate_sdk_option) = true];
|
||||
|
||||
|
||||
Reference in new issue
Block a user