generated from crossplane-contrib/provider-jet-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
zz_orchestrationunrouted_types.go
executable file
·562 lines (402 loc) · 29.7 KB
/
zz_orchestrationunrouted_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
/*
Copyright 2022 Upbound Inc.
*/
// Code generated by upjet. DO NOT EDIT.
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type CatchAllActionsExtractionInitParameters struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type CatchAllActionsExtractionObservation struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type CatchAllActionsExtractionParameters struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
// +kubebuilder:validation:Optional
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
// +kubebuilder:validation:Optional
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
// +kubebuilder:validation:Optional
Target *string `json:"target" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
// +kubebuilder:validation:Optional
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type CatchAllActionsVariableInitParameters struct {
// The name of the variable
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Only regex is supported
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type CatchAllActionsVariableObservation struct {
// The name of the variable
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Only regex is supported
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type CatchAllActionsVariableParameters struct {
// The name of the variable
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
// +kubebuilder:validation:Optional
Path *string `json:"path" tf:"path,omitempty"`
// Only regex is supported
// +kubebuilder:validation:Optional
Type *string `json:"type" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type OrchestrationUnroutedCatchAllActionsInitParameters struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
Extraction []CatchAllActionsExtractionInitParameters `json:"extraction,omitempty" tf:"extraction,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
Variable []CatchAllActionsVariableInitParameters `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedCatchAllActionsObservation struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
Extraction []CatchAllActionsExtractionObservation `json:"extraction,omitempty" tf:"extraction,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
Suppress *bool `json:"suppress,omitempty" tf:"suppress,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
Variable []CatchAllActionsVariableObservation `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedCatchAllActionsParameters struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
// +kubebuilder:validation:Optional
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
// +kubebuilder:validation:Optional
Extraction []CatchAllActionsExtractionParameters `json:"extraction,omitempty" tf:"extraction,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
// +kubebuilder:validation:Optional
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
// +kubebuilder:validation:Optional
Variable []CatchAllActionsVariableParameters `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedCatchAllInitParameters struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
Actions []OrchestrationUnroutedCatchAllActionsInitParameters `json:"actions,omitempty" tf:"actions,omitempty"`
}
type OrchestrationUnroutedCatchAllObservation struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
Actions []OrchestrationUnroutedCatchAllActionsObservation `json:"actions,omitempty" tf:"actions,omitempty"`
}
type OrchestrationUnroutedCatchAllParameters struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
// +kubebuilder:validation:Optional
Actions []OrchestrationUnroutedCatchAllActionsParameters `json:"actions" tf:"actions,omitempty"`
}
type OrchestrationUnroutedInitParameters struct {
// the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
CatchAll []OrchestrationUnroutedCatchAllInitParameters `json:"catchAll,omitempty" tf:"catch_all,omitempty"`
// The Event Orchestration to which this Unrouted Orchestration belongs to.
// +crossplane:generate:reference:type=Orchestration
EventOrchestration *string `json:"eventOrchestration,omitempty" tf:"event_orchestration,omitempty"`
// Reference to a Orchestration to populate eventOrchestration.
// +kubebuilder:validation:Optional
EventOrchestrationRef *v1.Reference `json:"eventOrchestrationRef,omitempty" tf:"-"`
// Selector for a Orchestration to populate eventOrchestration.
// +kubebuilder:validation:Optional
EventOrchestrationSelector *v1.Selector `json:"eventOrchestrationSelector,omitempty" tf:"-"`
// An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
Set []OrchestrationUnroutedSetInitParameters `json:"set,omitempty" tf:"set,omitempty"`
}
type OrchestrationUnroutedObservation struct {
// the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
CatchAll []OrchestrationUnroutedCatchAllObservation `json:"catchAll,omitempty" tf:"catch_all,omitempty"`
// The Event Orchestration to which this Unrouted Orchestration belongs to.
EventOrchestration *string `json:"eventOrchestration,omitempty" tf:"event_orchestration,omitempty"`
// The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
Set []OrchestrationUnroutedSetObservation `json:"set,omitempty" tf:"set,omitempty"`
}
type OrchestrationUnroutedParameters struct {
// the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
// +kubebuilder:validation:Optional
CatchAll []OrchestrationUnroutedCatchAllParameters `json:"catchAll,omitempty" tf:"catch_all,omitempty"`
// The Event Orchestration to which this Unrouted Orchestration belongs to.
// +crossplane:generate:reference:type=Orchestration
// +kubebuilder:validation:Optional
EventOrchestration *string `json:"eventOrchestration,omitempty" tf:"event_orchestration,omitempty"`
// Reference to a Orchestration to populate eventOrchestration.
// +kubebuilder:validation:Optional
EventOrchestrationRef *v1.Reference `json:"eventOrchestrationRef,omitempty" tf:"-"`
// Selector for a Orchestration to populate eventOrchestration.
// +kubebuilder:validation:Optional
EventOrchestrationSelector *v1.Selector `json:"eventOrchestrationSelector,omitempty" tf:"-"`
// An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
// +kubebuilder:validation:Optional
Set []OrchestrationUnroutedSetParameters `json:"set,omitempty" tf:"set,omitempty"`
}
type OrchestrationUnroutedSetInitParameters struct {
// The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The Unrouted Orchestration evaluates Events against these Rules, one at a time, and applies all the actions for first rule it finds where the event matches the rule's conditions.
Rule []OrchestrationUnroutedSetRuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}
type OrchestrationUnroutedSetObservation struct {
// The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The Unrouted Orchestration evaluates Events against these Rules, one at a time, and applies all the actions for first rule it finds where the event matches the rule's conditions.
Rule []OrchestrationUnroutedSetRuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
}
type OrchestrationUnroutedSetParameters struct {
// The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
// +kubebuilder:validation:Optional
ID *string `json:"id" tf:"id,omitempty"`
// The Unrouted Orchestration evaluates Events against these Rules, one at a time, and applies all the actions for first rule it finds where the event matches the rule's conditions.
// +kubebuilder:validation:Optional
Rule []OrchestrationUnroutedSetRuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}
type OrchestrationUnroutedSetRuleActionsInitParameters struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
Extraction []RuleActionsExtractionInitParameters `json:"extraction,omitempty" tf:"extraction,omitempty"`
// The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
Variable []RuleActionsVariableInitParameters `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedSetRuleActionsObservation struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
Extraction []RuleActionsExtractionObservation `json:"extraction,omitempty" tf:"extraction,omitempty"`
// The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
Variable []RuleActionsVariableObservation `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedSetRuleActionsParameters struct {
// sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
// +kubebuilder:validation:Optional
EventAction *string `json:"eventAction,omitempty" tf:"event_action,omitempty"`
// Replace any CEF field or Custom Details object field using custom variables.
// +kubebuilder:validation:Optional
Extraction []RuleActionsExtractionParameters `json:"extraction,omitempty" tf:"extraction,omitempty"`
// The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
// +kubebuilder:validation:Optional
RouteTo *string `json:"routeTo,omitempty" tf:"route_to,omitempty"`
// sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
// +kubebuilder:validation:Optional
Severity *string `json:"severity,omitempty" tf:"severity,omitempty"`
// Populate variables from event payloads and use those variables in other event actions.
// +kubebuilder:validation:Optional
Variable []RuleActionsVariableParameters `json:"variable,omitempty" tf:"variable,omitempty"`
}
type OrchestrationUnroutedSetRuleInitParameters struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
Actions []OrchestrationUnroutedSetRuleActionsInitParameters `json:"actions,omitempty" tf:"actions,omitempty"`
// Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
Condition []SetRuleConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"`
// Indicates whether the rule is disabled and would therefore not be evaluated.
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// A description of this rule's purpose.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
}
type OrchestrationUnroutedSetRuleObservation struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
Actions []OrchestrationUnroutedSetRuleActionsObservation `json:"actions,omitempty" tf:"actions,omitempty"`
// Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
Condition []SetRuleConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"`
// Indicates whether the rule is disabled and would therefore not be evaluated.
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A description of this rule's purpose.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
}
type OrchestrationUnroutedSetRuleParameters struct {
// Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
// +kubebuilder:validation:Optional
Actions []OrchestrationUnroutedSetRuleActionsParameters `json:"actions" tf:"actions,omitempty"`
// Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
// +kubebuilder:validation:Optional
Condition []SetRuleConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"`
// Indicates whether the rule is disabled and would therefore not be evaluated.
// +kubebuilder:validation:Optional
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// A description of this rule's purpose.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
}
type RuleActionsExtractionInitParameters struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type RuleActionsExtractionObservation struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type RuleActionsExtractionParameters struct {
// A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
// +kubebuilder:validation:Optional
Regex *string `json:"regex,omitempty" tf:"regex,omitempty"`
// The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
// +kubebuilder:validation:Optional
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
// +kubebuilder:validation:Optional
Target *string `json:"target" tf:"target,omitempty"`
// A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:
// +kubebuilder:validation:Optional
Template *string `json:"template,omitempty" tf:"template,omitempty"`
}
type RuleActionsVariableInitParameters struct {
// The name of the variable
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Only regex is supported
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type RuleActionsVariableObservation struct {
// The name of the variable
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Only regex is supported
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type RuleActionsVariableParameters struct {
// The name of the variable
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
// +kubebuilder:validation:Optional
Path *string `json:"path" tf:"path,omitempty"`
// Only regex is supported
// +kubebuilder:validation:Optional
Type *string `json:"type" tf:"type,omitempty"`
// The Regex expression to match against. Must use valid RE2 regular expression syntax.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type SetRuleConditionInitParameters struct {
// A PCL condition string.
Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`
}
type SetRuleConditionObservation struct {
// A PCL condition string.
Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`
}
type SetRuleConditionParameters struct {
// A PCL condition string.
// +kubebuilder:validation:Optional
Expression *string `json:"expression" tf:"expression,omitempty"`
}
// OrchestrationUnroutedSpec defines the desired state of OrchestrationUnrouted
type OrchestrationUnroutedSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider OrchestrationUnroutedParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider OrchestrationUnroutedInitParameters `json:"initProvider,omitempty"`
}
// OrchestrationUnroutedStatus defines the observed state of OrchestrationUnrouted.
type OrchestrationUnroutedStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider OrchestrationUnroutedObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// OrchestrationUnrouted is the Schema for the OrchestrationUnrouteds API. Creates and manages an Unrouted Orchestration for a Global Event Orchestration in PagerDuty.
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
type OrchestrationUnrouted struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.catchAll) || (has(self.initProvider) && has(self.initProvider.catchAll))",message="spec.forProvider.catchAll is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.set) || (has(self.initProvider) && has(self.initProvider.set))",message="spec.forProvider.set is a required parameter"
Spec OrchestrationUnroutedSpec `json:"spec"`
Status OrchestrationUnroutedStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// OrchestrationUnroutedList contains a list of OrchestrationUnrouteds
type OrchestrationUnroutedList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []OrchestrationUnrouted `json:"items"`
}
// Repository type metadata.
var (
OrchestrationUnrouted_Kind = "OrchestrationUnrouted"
OrchestrationUnrouted_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: OrchestrationUnrouted_Kind}.String()
OrchestrationUnrouted_KindAPIVersion = OrchestrationUnrouted_Kind + "." + CRDGroupVersion.String()
OrchestrationUnrouted_GroupVersionKind = CRDGroupVersion.WithKind(OrchestrationUnrouted_Kind)
)
func init() {
SchemeBuilder.Register(&OrchestrationUnrouted{}, &OrchestrationUnroutedList{})
}