You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/workloads/types.go
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,18 @@ type WorkloadAutomaticStatus struct {
191
191
Rules []WorkloadRegularRule`json:"rules"`
192
192
}
193
193
194
+
// WorkloadAlertPolicy - The alert policy status configuration (response type).
195
+
typeWorkloadAlertPolicystruct {
196
+
// Whether the alert policy status configuration is enabled or not.
197
+
Enabledbool`json:"enabled"`
198
+
}
199
+
200
+
// WorkloadAlertPolicyInput - The input object used to represent the alert policy status configuration for create.
201
+
typeWorkloadAlertPolicyInputstruct {
202
+
// Whether the alert policy status configuration is enabled or not.
203
+
Enabledbool`json:"enabled"`
204
+
}
205
+
194
206
// WorkloadAutomaticStatusInput - An input object used to represent an automatic status configuration. If not provided, a status configuration will be created by default.
195
207
typeWorkloadAutomaticStatusInputstruct {
196
208
// Whether the automatic status configuration is enabled or not.
@@ -231,6 +243,8 @@ type WorkloadCollection struct {
231
243
StatusWorkloadWorkloadStatus`json:"status"`
232
244
// The configuration that defines how the status of the workload is calculated.
@@ -241,6 +255,8 @@ type WorkloadCollection struct {
241
255
typeWorkloadCreateInputstruct {
242
256
// Relevant information about the workload.
243
257
Descriptionstring`json:"description,omitempty"`
258
+
// A list of dynamic flow entries for an intelligent workload. When provided alongside entityGuids or entitySearchQueries, dynamicFlows takes precedence and others will be ignored.
// The unique identifier of the entity search query to be updated. If not provided, a new entity search query is created.
@@ -505,6 +559,8 @@ type WorkloadUpdateCollectionEntitySearchQueryInput struct {
505
559
typeWorkloadUpdateInputstruct {
506
560
// Relevant information about the workload.
507
561
Descriptionstring`json:"description,omitempty"`
562
+
// A list of dynamic flow entries for an intelligent workload. When provided alongside entityGuids or entitySearchQueries, dynamicFlows takes precedence and others will be ignored.
0 commit comments