This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiTypes.go
3936 lines (3162 loc) · 171 KB
/
pulumiTypes.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
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20180301
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiver struct {
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
AutomationAccountId string `pulumi:"automationAccountId"`
// Indicates whether this instance is global runbook.
IsGlobalRunbook bool `pulumi:"isGlobalRunbook"`
// Indicates name of the webhook.
Name *string `pulumi:"name"`
// The name for this runbook.
RunbookName string `pulumi:"runbookName"`
// The URI where webhooks should be sent.
ServiceUri *string `pulumi:"serviceUri"`
// The resource id for webhook linked to this runbook.
WebhookResourceId string `pulumi:"webhookResourceId"`
}
// AutomationRunbookReceiverInput is an input type that accepts AutomationRunbookReceiverArgs and AutomationRunbookReceiverOutput values.
// You can construct a concrete instance of `AutomationRunbookReceiverInput` via:
//
// AutomationRunbookReceiverArgs{...}
type AutomationRunbookReceiverInput interface {
pulumi.Input
ToAutomationRunbookReceiverOutput() AutomationRunbookReceiverOutput
ToAutomationRunbookReceiverOutputWithContext(context.Context) AutomationRunbookReceiverOutput
}
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiverArgs struct {
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
AutomationAccountId pulumi.StringInput `pulumi:"automationAccountId"`
// Indicates whether this instance is global runbook.
IsGlobalRunbook pulumi.BoolInput `pulumi:"isGlobalRunbook"`
// Indicates name of the webhook.
Name pulumi.StringPtrInput `pulumi:"name"`
// The name for this runbook.
RunbookName pulumi.StringInput `pulumi:"runbookName"`
// The URI where webhooks should be sent.
ServiceUri pulumi.StringPtrInput `pulumi:"serviceUri"`
// The resource id for webhook linked to this runbook.
WebhookResourceId pulumi.StringInput `pulumi:"webhookResourceId"`
}
func (AutomationRunbookReceiverArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AutomationRunbookReceiver)(nil)).Elem()
}
func (i AutomationRunbookReceiverArgs) ToAutomationRunbookReceiverOutput() AutomationRunbookReceiverOutput {
return i.ToAutomationRunbookReceiverOutputWithContext(context.Background())
}
func (i AutomationRunbookReceiverArgs) ToAutomationRunbookReceiverOutputWithContext(ctx context.Context) AutomationRunbookReceiverOutput {
return pulumi.ToOutputWithContext(ctx, i).(AutomationRunbookReceiverOutput)
}
// AutomationRunbookReceiverArrayInput is an input type that accepts AutomationRunbookReceiverArray and AutomationRunbookReceiverArrayOutput values.
// You can construct a concrete instance of `AutomationRunbookReceiverArrayInput` via:
//
// AutomationRunbookReceiverArray{ AutomationRunbookReceiverArgs{...} }
type AutomationRunbookReceiverArrayInput interface {
pulumi.Input
ToAutomationRunbookReceiverArrayOutput() AutomationRunbookReceiverArrayOutput
ToAutomationRunbookReceiverArrayOutputWithContext(context.Context) AutomationRunbookReceiverArrayOutput
}
type AutomationRunbookReceiverArray []AutomationRunbookReceiverInput
func (AutomationRunbookReceiverArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AutomationRunbookReceiver)(nil)).Elem()
}
func (i AutomationRunbookReceiverArray) ToAutomationRunbookReceiverArrayOutput() AutomationRunbookReceiverArrayOutput {
return i.ToAutomationRunbookReceiverArrayOutputWithContext(context.Background())
}
func (i AutomationRunbookReceiverArray) ToAutomationRunbookReceiverArrayOutputWithContext(ctx context.Context) AutomationRunbookReceiverArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AutomationRunbookReceiverArrayOutput)
}
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiverOutput struct{ *pulumi.OutputState }
func (AutomationRunbookReceiverOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AutomationRunbookReceiver)(nil)).Elem()
}
func (o AutomationRunbookReceiverOutput) ToAutomationRunbookReceiverOutput() AutomationRunbookReceiverOutput {
return o
}
func (o AutomationRunbookReceiverOutput) ToAutomationRunbookReceiverOutputWithContext(ctx context.Context) AutomationRunbookReceiverOutput {
return o
}
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
func (o AutomationRunbookReceiverOutput) AutomationAccountId() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) string { return v.AutomationAccountId }).(pulumi.StringOutput)
}
// Indicates whether this instance is global runbook.
func (o AutomationRunbookReceiverOutput) IsGlobalRunbook() pulumi.BoolOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) bool { return v.IsGlobalRunbook }).(pulumi.BoolOutput)
}
// Indicates name of the webhook.
func (o AutomationRunbookReceiverOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// The name for this runbook.
func (o AutomationRunbookReceiverOutput) RunbookName() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) string { return v.RunbookName }).(pulumi.StringOutput)
}
// The URI where webhooks should be sent.
func (o AutomationRunbookReceiverOutput) ServiceUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) *string { return v.ServiceUri }).(pulumi.StringPtrOutput)
}
// The resource id for webhook linked to this runbook.
func (o AutomationRunbookReceiverOutput) WebhookResourceId() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiver) string { return v.WebhookResourceId }).(pulumi.StringOutput)
}
type AutomationRunbookReceiverArrayOutput struct{ *pulumi.OutputState }
func (AutomationRunbookReceiverArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AutomationRunbookReceiver)(nil)).Elem()
}
func (o AutomationRunbookReceiverArrayOutput) ToAutomationRunbookReceiverArrayOutput() AutomationRunbookReceiverArrayOutput {
return o
}
func (o AutomationRunbookReceiverArrayOutput) ToAutomationRunbookReceiverArrayOutputWithContext(ctx context.Context) AutomationRunbookReceiverArrayOutput {
return o
}
func (o AutomationRunbookReceiverArrayOutput) Index(i pulumi.IntInput) AutomationRunbookReceiverOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutomationRunbookReceiver {
return vs[0].([]AutomationRunbookReceiver)[vs[1].(int)]
}).(AutomationRunbookReceiverOutput)
}
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiverResponse struct {
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
AutomationAccountId string `pulumi:"automationAccountId"`
// Indicates whether this instance is global runbook.
IsGlobalRunbook bool `pulumi:"isGlobalRunbook"`
// Indicates name of the webhook.
Name *string `pulumi:"name"`
// The name for this runbook.
RunbookName string `pulumi:"runbookName"`
// The URI where webhooks should be sent.
ServiceUri *string `pulumi:"serviceUri"`
// The resource id for webhook linked to this runbook.
WebhookResourceId string `pulumi:"webhookResourceId"`
}
// AutomationRunbookReceiverResponseInput is an input type that accepts AutomationRunbookReceiverResponseArgs and AutomationRunbookReceiverResponseOutput values.
// You can construct a concrete instance of `AutomationRunbookReceiverResponseInput` via:
//
// AutomationRunbookReceiverResponseArgs{...}
type AutomationRunbookReceiverResponseInput interface {
pulumi.Input
ToAutomationRunbookReceiverResponseOutput() AutomationRunbookReceiverResponseOutput
ToAutomationRunbookReceiverResponseOutputWithContext(context.Context) AutomationRunbookReceiverResponseOutput
}
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiverResponseArgs struct {
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
AutomationAccountId pulumi.StringInput `pulumi:"automationAccountId"`
// Indicates whether this instance is global runbook.
IsGlobalRunbook pulumi.BoolInput `pulumi:"isGlobalRunbook"`
// Indicates name of the webhook.
Name pulumi.StringPtrInput `pulumi:"name"`
// The name for this runbook.
RunbookName pulumi.StringInput `pulumi:"runbookName"`
// The URI where webhooks should be sent.
ServiceUri pulumi.StringPtrInput `pulumi:"serviceUri"`
// The resource id for webhook linked to this runbook.
WebhookResourceId pulumi.StringInput `pulumi:"webhookResourceId"`
}
func (AutomationRunbookReceiverResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AutomationRunbookReceiverResponse)(nil)).Elem()
}
func (i AutomationRunbookReceiverResponseArgs) ToAutomationRunbookReceiverResponseOutput() AutomationRunbookReceiverResponseOutput {
return i.ToAutomationRunbookReceiverResponseOutputWithContext(context.Background())
}
func (i AutomationRunbookReceiverResponseArgs) ToAutomationRunbookReceiverResponseOutputWithContext(ctx context.Context) AutomationRunbookReceiverResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AutomationRunbookReceiverResponseOutput)
}
// AutomationRunbookReceiverResponseArrayInput is an input type that accepts AutomationRunbookReceiverResponseArray and AutomationRunbookReceiverResponseArrayOutput values.
// You can construct a concrete instance of `AutomationRunbookReceiverResponseArrayInput` via:
//
// AutomationRunbookReceiverResponseArray{ AutomationRunbookReceiverResponseArgs{...} }
type AutomationRunbookReceiverResponseArrayInput interface {
pulumi.Input
ToAutomationRunbookReceiverResponseArrayOutput() AutomationRunbookReceiverResponseArrayOutput
ToAutomationRunbookReceiverResponseArrayOutputWithContext(context.Context) AutomationRunbookReceiverResponseArrayOutput
}
type AutomationRunbookReceiverResponseArray []AutomationRunbookReceiverResponseInput
func (AutomationRunbookReceiverResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AutomationRunbookReceiverResponse)(nil)).Elem()
}
func (i AutomationRunbookReceiverResponseArray) ToAutomationRunbookReceiverResponseArrayOutput() AutomationRunbookReceiverResponseArrayOutput {
return i.ToAutomationRunbookReceiverResponseArrayOutputWithContext(context.Background())
}
func (i AutomationRunbookReceiverResponseArray) ToAutomationRunbookReceiverResponseArrayOutputWithContext(ctx context.Context) AutomationRunbookReceiverResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AutomationRunbookReceiverResponseArrayOutput)
}
// The Azure Automation Runbook notification receiver.
type AutomationRunbookReceiverResponseOutput struct{ *pulumi.OutputState }
func (AutomationRunbookReceiverResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AutomationRunbookReceiverResponse)(nil)).Elem()
}
func (o AutomationRunbookReceiverResponseOutput) ToAutomationRunbookReceiverResponseOutput() AutomationRunbookReceiverResponseOutput {
return o
}
func (o AutomationRunbookReceiverResponseOutput) ToAutomationRunbookReceiverResponseOutputWithContext(ctx context.Context) AutomationRunbookReceiverResponseOutput {
return o
}
// The Azure automation account Id which holds this runbook and authenticate to Azure resource.
func (o AutomationRunbookReceiverResponseOutput) AutomationAccountId() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) string { return v.AutomationAccountId }).(pulumi.StringOutput)
}
// Indicates whether this instance is global runbook.
func (o AutomationRunbookReceiverResponseOutput) IsGlobalRunbook() pulumi.BoolOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) bool { return v.IsGlobalRunbook }).(pulumi.BoolOutput)
}
// Indicates name of the webhook.
func (o AutomationRunbookReceiverResponseOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// The name for this runbook.
func (o AutomationRunbookReceiverResponseOutput) RunbookName() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) string { return v.RunbookName }).(pulumi.StringOutput)
}
// The URI where webhooks should be sent.
func (o AutomationRunbookReceiverResponseOutput) ServiceUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) *string { return v.ServiceUri }).(pulumi.StringPtrOutput)
}
// The resource id for webhook linked to this runbook.
func (o AutomationRunbookReceiverResponseOutput) WebhookResourceId() pulumi.StringOutput {
return o.ApplyT(func(v AutomationRunbookReceiverResponse) string { return v.WebhookResourceId }).(pulumi.StringOutput)
}
type AutomationRunbookReceiverResponseArrayOutput struct{ *pulumi.OutputState }
func (AutomationRunbookReceiverResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AutomationRunbookReceiverResponse)(nil)).Elem()
}
func (o AutomationRunbookReceiverResponseArrayOutput) ToAutomationRunbookReceiverResponseArrayOutput() AutomationRunbookReceiverResponseArrayOutput {
return o
}
func (o AutomationRunbookReceiverResponseArrayOutput) ToAutomationRunbookReceiverResponseArrayOutputWithContext(ctx context.Context) AutomationRunbookReceiverResponseArrayOutput {
return o
}
func (o AutomationRunbookReceiverResponseArrayOutput) Index(i pulumi.IntInput) AutomationRunbookReceiverResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutomationRunbookReceiverResponse {
return vs[0].([]AutomationRunbookReceiverResponse)[vs[1].(int)]
}).(AutomationRunbookReceiverResponseOutput)
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiver struct {
// The email address registered for the Azure mobile app.
EmailAddress string `pulumi:"emailAddress"`
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Name string `pulumi:"name"`
}
// AzureAppPushReceiverInput is an input type that accepts AzureAppPushReceiverArgs and AzureAppPushReceiverOutput values.
// You can construct a concrete instance of `AzureAppPushReceiverInput` via:
//
// AzureAppPushReceiverArgs{...}
type AzureAppPushReceiverInput interface {
pulumi.Input
ToAzureAppPushReceiverOutput() AzureAppPushReceiverOutput
ToAzureAppPushReceiverOutputWithContext(context.Context) AzureAppPushReceiverOutput
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiverArgs struct {
// The email address registered for the Azure mobile app.
EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Name pulumi.StringInput `pulumi:"name"`
}
func (AzureAppPushReceiverArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AzureAppPushReceiver)(nil)).Elem()
}
func (i AzureAppPushReceiverArgs) ToAzureAppPushReceiverOutput() AzureAppPushReceiverOutput {
return i.ToAzureAppPushReceiverOutputWithContext(context.Background())
}
func (i AzureAppPushReceiverArgs) ToAzureAppPushReceiverOutputWithContext(ctx context.Context) AzureAppPushReceiverOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureAppPushReceiverOutput)
}
// AzureAppPushReceiverArrayInput is an input type that accepts AzureAppPushReceiverArray and AzureAppPushReceiverArrayOutput values.
// You can construct a concrete instance of `AzureAppPushReceiverArrayInput` via:
//
// AzureAppPushReceiverArray{ AzureAppPushReceiverArgs{...} }
type AzureAppPushReceiverArrayInput interface {
pulumi.Input
ToAzureAppPushReceiverArrayOutput() AzureAppPushReceiverArrayOutput
ToAzureAppPushReceiverArrayOutputWithContext(context.Context) AzureAppPushReceiverArrayOutput
}
type AzureAppPushReceiverArray []AzureAppPushReceiverInput
func (AzureAppPushReceiverArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureAppPushReceiver)(nil)).Elem()
}
func (i AzureAppPushReceiverArray) ToAzureAppPushReceiverArrayOutput() AzureAppPushReceiverArrayOutput {
return i.ToAzureAppPushReceiverArrayOutputWithContext(context.Background())
}
func (i AzureAppPushReceiverArray) ToAzureAppPushReceiverArrayOutputWithContext(ctx context.Context) AzureAppPushReceiverArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureAppPushReceiverArrayOutput)
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiverOutput struct{ *pulumi.OutputState }
func (AzureAppPushReceiverOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AzureAppPushReceiver)(nil)).Elem()
}
func (o AzureAppPushReceiverOutput) ToAzureAppPushReceiverOutput() AzureAppPushReceiverOutput {
return o
}
func (o AzureAppPushReceiverOutput) ToAzureAppPushReceiverOutputWithContext(ctx context.Context) AzureAppPushReceiverOutput {
return o
}
// The email address registered for the Azure mobile app.
func (o AzureAppPushReceiverOutput) EmailAddress() pulumi.StringOutput {
return o.ApplyT(func(v AzureAppPushReceiver) string { return v.EmailAddress }).(pulumi.StringOutput)
}
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
func (o AzureAppPushReceiverOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AzureAppPushReceiver) string { return v.Name }).(pulumi.StringOutput)
}
type AzureAppPushReceiverArrayOutput struct{ *pulumi.OutputState }
func (AzureAppPushReceiverArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureAppPushReceiver)(nil)).Elem()
}
func (o AzureAppPushReceiverArrayOutput) ToAzureAppPushReceiverArrayOutput() AzureAppPushReceiverArrayOutput {
return o
}
func (o AzureAppPushReceiverArrayOutput) ToAzureAppPushReceiverArrayOutputWithContext(ctx context.Context) AzureAppPushReceiverArrayOutput {
return o
}
func (o AzureAppPushReceiverArrayOutput) Index(i pulumi.IntInput) AzureAppPushReceiverOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AzureAppPushReceiver {
return vs[0].([]AzureAppPushReceiver)[vs[1].(int)]
}).(AzureAppPushReceiverOutput)
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiverResponse struct {
// The email address registered for the Azure mobile app.
EmailAddress string `pulumi:"emailAddress"`
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Name string `pulumi:"name"`
}
// AzureAppPushReceiverResponseInput is an input type that accepts AzureAppPushReceiverResponseArgs and AzureAppPushReceiverResponseOutput values.
// You can construct a concrete instance of `AzureAppPushReceiverResponseInput` via:
//
// AzureAppPushReceiverResponseArgs{...}
type AzureAppPushReceiverResponseInput interface {
pulumi.Input
ToAzureAppPushReceiverResponseOutput() AzureAppPushReceiverResponseOutput
ToAzureAppPushReceiverResponseOutputWithContext(context.Context) AzureAppPushReceiverResponseOutput
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiverResponseArgs struct {
// The email address registered for the Azure mobile app.
EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Name pulumi.StringInput `pulumi:"name"`
}
func (AzureAppPushReceiverResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AzureAppPushReceiverResponse)(nil)).Elem()
}
func (i AzureAppPushReceiverResponseArgs) ToAzureAppPushReceiverResponseOutput() AzureAppPushReceiverResponseOutput {
return i.ToAzureAppPushReceiverResponseOutputWithContext(context.Background())
}
func (i AzureAppPushReceiverResponseArgs) ToAzureAppPushReceiverResponseOutputWithContext(ctx context.Context) AzureAppPushReceiverResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureAppPushReceiverResponseOutput)
}
// AzureAppPushReceiverResponseArrayInput is an input type that accepts AzureAppPushReceiverResponseArray and AzureAppPushReceiverResponseArrayOutput values.
// You can construct a concrete instance of `AzureAppPushReceiverResponseArrayInput` via:
//
// AzureAppPushReceiverResponseArray{ AzureAppPushReceiverResponseArgs{...} }
type AzureAppPushReceiverResponseArrayInput interface {
pulumi.Input
ToAzureAppPushReceiverResponseArrayOutput() AzureAppPushReceiverResponseArrayOutput
ToAzureAppPushReceiverResponseArrayOutputWithContext(context.Context) AzureAppPushReceiverResponseArrayOutput
}
type AzureAppPushReceiverResponseArray []AzureAppPushReceiverResponseInput
func (AzureAppPushReceiverResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureAppPushReceiverResponse)(nil)).Elem()
}
func (i AzureAppPushReceiverResponseArray) ToAzureAppPushReceiverResponseArrayOutput() AzureAppPushReceiverResponseArrayOutput {
return i.ToAzureAppPushReceiverResponseArrayOutputWithContext(context.Background())
}
func (i AzureAppPushReceiverResponseArray) ToAzureAppPushReceiverResponseArrayOutputWithContext(ctx context.Context) AzureAppPushReceiverResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureAppPushReceiverResponseArrayOutput)
}
// The Azure mobile App push notification receiver.
type AzureAppPushReceiverResponseOutput struct{ *pulumi.OutputState }
func (AzureAppPushReceiverResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AzureAppPushReceiverResponse)(nil)).Elem()
}
func (o AzureAppPushReceiverResponseOutput) ToAzureAppPushReceiverResponseOutput() AzureAppPushReceiverResponseOutput {
return o
}
func (o AzureAppPushReceiverResponseOutput) ToAzureAppPushReceiverResponseOutputWithContext(ctx context.Context) AzureAppPushReceiverResponseOutput {
return o
}
// The email address registered for the Azure mobile app.
func (o AzureAppPushReceiverResponseOutput) EmailAddress() pulumi.StringOutput {
return o.ApplyT(func(v AzureAppPushReceiverResponse) string { return v.EmailAddress }).(pulumi.StringOutput)
}
// The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
func (o AzureAppPushReceiverResponseOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AzureAppPushReceiverResponse) string { return v.Name }).(pulumi.StringOutput)
}
type AzureAppPushReceiverResponseArrayOutput struct{ *pulumi.OutputState }
func (AzureAppPushReceiverResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureAppPushReceiverResponse)(nil)).Elem()
}
func (o AzureAppPushReceiverResponseArrayOutput) ToAzureAppPushReceiverResponseArrayOutput() AzureAppPushReceiverResponseArrayOutput {
return o
}
func (o AzureAppPushReceiverResponseArrayOutput) ToAzureAppPushReceiverResponseArrayOutputWithContext(ctx context.Context) AzureAppPushReceiverResponseArrayOutput {
return o
}
func (o AzureAppPushReceiverResponseArrayOutput) Index(i pulumi.IntInput) AzureAppPushReceiverResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AzureAppPushReceiverResponse {
return vs[0].([]AzureAppPushReceiverResponse)[vs[1].(int)]
}).(AzureAppPushReceiverResponseOutput)
}
// An azure function receiver.
type AzureFunctionReceiver struct {
// The azure resource id of the function app.
FunctionAppResourceId string `pulumi:"functionAppResourceId"`
// The function name in the function app.
FunctionName string `pulumi:"functionName"`
// The http trigger url where http request sent to.
HttpTriggerUrl string `pulumi:"httpTriggerUrl"`
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
Name string `pulumi:"name"`
}
// AzureFunctionReceiverInput is an input type that accepts AzureFunctionReceiverArgs and AzureFunctionReceiverOutput values.
// You can construct a concrete instance of `AzureFunctionReceiverInput` via:
//
// AzureFunctionReceiverArgs{...}
type AzureFunctionReceiverInput interface {
pulumi.Input
ToAzureFunctionReceiverOutput() AzureFunctionReceiverOutput
ToAzureFunctionReceiverOutputWithContext(context.Context) AzureFunctionReceiverOutput
}
// An azure function receiver.
type AzureFunctionReceiverArgs struct {
// The azure resource id of the function app.
FunctionAppResourceId pulumi.StringInput `pulumi:"functionAppResourceId"`
// The function name in the function app.
FunctionName pulumi.StringInput `pulumi:"functionName"`
// The http trigger url where http request sent to.
HttpTriggerUrl pulumi.StringInput `pulumi:"httpTriggerUrl"`
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
Name pulumi.StringInput `pulumi:"name"`
}
func (AzureFunctionReceiverArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AzureFunctionReceiver)(nil)).Elem()
}
func (i AzureFunctionReceiverArgs) ToAzureFunctionReceiverOutput() AzureFunctionReceiverOutput {
return i.ToAzureFunctionReceiverOutputWithContext(context.Background())
}
func (i AzureFunctionReceiverArgs) ToAzureFunctionReceiverOutputWithContext(ctx context.Context) AzureFunctionReceiverOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureFunctionReceiverOutput)
}
// AzureFunctionReceiverArrayInput is an input type that accepts AzureFunctionReceiverArray and AzureFunctionReceiverArrayOutput values.
// You can construct a concrete instance of `AzureFunctionReceiverArrayInput` via:
//
// AzureFunctionReceiverArray{ AzureFunctionReceiverArgs{...} }
type AzureFunctionReceiverArrayInput interface {
pulumi.Input
ToAzureFunctionReceiverArrayOutput() AzureFunctionReceiverArrayOutput
ToAzureFunctionReceiverArrayOutputWithContext(context.Context) AzureFunctionReceiverArrayOutput
}
type AzureFunctionReceiverArray []AzureFunctionReceiverInput
func (AzureFunctionReceiverArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureFunctionReceiver)(nil)).Elem()
}
func (i AzureFunctionReceiverArray) ToAzureFunctionReceiverArrayOutput() AzureFunctionReceiverArrayOutput {
return i.ToAzureFunctionReceiverArrayOutputWithContext(context.Background())
}
func (i AzureFunctionReceiverArray) ToAzureFunctionReceiverArrayOutputWithContext(ctx context.Context) AzureFunctionReceiverArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureFunctionReceiverArrayOutput)
}
// An azure function receiver.
type AzureFunctionReceiverOutput struct{ *pulumi.OutputState }
func (AzureFunctionReceiverOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AzureFunctionReceiver)(nil)).Elem()
}
func (o AzureFunctionReceiverOutput) ToAzureFunctionReceiverOutput() AzureFunctionReceiverOutput {
return o
}
func (o AzureFunctionReceiverOutput) ToAzureFunctionReceiverOutputWithContext(ctx context.Context) AzureFunctionReceiverOutput {
return o
}
// The azure resource id of the function app.
func (o AzureFunctionReceiverOutput) FunctionAppResourceId() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiver) string { return v.FunctionAppResourceId }).(pulumi.StringOutput)
}
// The function name in the function app.
func (o AzureFunctionReceiverOutput) FunctionName() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiver) string { return v.FunctionName }).(pulumi.StringOutput)
}
// The http trigger url where http request sent to.
func (o AzureFunctionReceiverOutput) HttpTriggerUrl() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiver) string { return v.HttpTriggerUrl }).(pulumi.StringOutput)
}
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
func (o AzureFunctionReceiverOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiver) string { return v.Name }).(pulumi.StringOutput)
}
type AzureFunctionReceiverArrayOutput struct{ *pulumi.OutputState }
func (AzureFunctionReceiverArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureFunctionReceiver)(nil)).Elem()
}
func (o AzureFunctionReceiverArrayOutput) ToAzureFunctionReceiverArrayOutput() AzureFunctionReceiverArrayOutput {
return o
}
func (o AzureFunctionReceiverArrayOutput) ToAzureFunctionReceiverArrayOutputWithContext(ctx context.Context) AzureFunctionReceiverArrayOutput {
return o
}
func (o AzureFunctionReceiverArrayOutput) Index(i pulumi.IntInput) AzureFunctionReceiverOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AzureFunctionReceiver {
return vs[0].([]AzureFunctionReceiver)[vs[1].(int)]
}).(AzureFunctionReceiverOutput)
}
// An azure function receiver.
type AzureFunctionReceiverResponse struct {
// The azure resource id of the function app.
FunctionAppResourceId string `pulumi:"functionAppResourceId"`
// The function name in the function app.
FunctionName string `pulumi:"functionName"`
// The http trigger url where http request sent to.
HttpTriggerUrl string `pulumi:"httpTriggerUrl"`
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
Name string `pulumi:"name"`
}
// AzureFunctionReceiverResponseInput is an input type that accepts AzureFunctionReceiverResponseArgs and AzureFunctionReceiverResponseOutput values.
// You can construct a concrete instance of `AzureFunctionReceiverResponseInput` via:
//
// AzureFunctionReceiverResponseArgs{...}
type AzureFunctionReceiverResponseInput interface {
pulumi.Input
ToAzureFunctionReceiverResponseOutput() AzureFunctionReceiverResponseOutput
ToAzureFunctionReceiverResponseOutputWithContext(context.Context) AzureFunctionReceiverResponseOutput
}
// An azure function receiver.
type AzureFunctionReceiverResponseArgs struct {
// The azure resource id of the function app.
FunctionAppResourceId pulumi.StringInput `pulumi:"functionAppResourceId"`
// The function name in the function app.
FunctionName pulumi.StringInput `pulumi:"functionName"`
// The http trigger url where http request sent to.
HttpTriggerUrl pulumi.StringInput `pulumi:"httpTriggerUrl"`
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
Name pulumi.StringInput `pulumi:"name"`
}
func (AzureFunctionReceiverResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AzureFunctionReceiverResponse)(nil)).Elem()
}
func (i AzureFunctionReceiverResponseArgs) ToAzureFunctionReceiverResponseOutput() AzureFunctionReceiverResponseOutput {
return i.ToAzureFunctionReceiverResponseOutputWithContext(context.Background())
}
func (i AzureFunctionReceiverResponseArgs) ToAzureFunctionReceiverResponseOutputWithContext(ctx context.Context) AzureFunctionReceiverResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureFunctionReceiverResponseOutput)
}
// AzureFunctionReceiverResponseArrayInput is an input type that accepts AzureFunctionReceiverResponseArray and AzureFunctionReceiverResponseArrayOutput values.
// You can construct a concrete instance of `AzureFunctionReceiverResponseArrayInput` via:
//
// AzureFunctionReceiverResponseArray{ AzureFunctionReceiverResponseArgs{...} }
type AzureFunctionReceiverResponseArrayInput interface {
pulumi.Input
ToAzureFunctionReceiverResponseArrayOutput() AzureFunctionReceiverResponseArrayOutput
ToAzureFunctionReceiverResponseArrayOutputWithContext(context.Context) AzureFunctionReceiverResponseArrayOutput
}
type AzureFunctionReceiverResponseArray []AzureFunctionReceiverResponseInput
func (AzureFunctionReceiverResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureFunctionReceiverResponse)(nil)).Elem()
}
func (i AzureFunctionReceiverResponseArray) ToAzureFunctionReceiverResponseArrayOutput() AzureFunctionReceiverResponseArrayOutput {
return i.ToAzureFunctionReceiverResponseArrayOutputWithContext(context.Background())
}
func (i AzureFunctionReceiverResponseArray) ToAzureFunctionReceiverResponseArrayOutputWithContext(ctx context.Context) AzureFunctionReceiverResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AzureFunctionReceiverResponseArrayOutput)
}
// An azure function receiver.
type AzureFunctionReceiverResponseOutput struct{ *pulumi.OutputState }
func (AzureFunctionReceiverResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AzureFunctionReceiverResponse)(nil)).Elem()
}
func (o AzureFunctionReceiverResponseOutput) ToAzureFunctionReceiverResponseOutput() AzureFunctionReceiverResponseOutput {
return o
}
func (o AzureFunctionReceiverResponseOutput) ToAzureFunctionReceiverResponseOutputWithContext(ctx context.Context) AzureFunctionReceiverResponseOutput {
return o
}
// The azure resource id of the function app.
func (o AzureFunctionReceiverResponseOutput) FunctionAppResourceId() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiverResponse) string { return v.FunctionAppResourceId }).(pulumi.StringOutput)
}
// The function name in the function app.
func (o AzureFunctionReceiverResponseOutput) FunctionName() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiverResponse) string { return v.FunctionName }).(pulumi.StringOutput)
}
// The http trigger url where http request sent to.
func (o AzureFunctionReceiverResponseOutput) HttpTriggerUrl() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiverResponse) string { return v.HttpTriggerUrl }).(pulumi.StringOutput)
}
// The name of the azure function receiver. Names must be unique across all receivers within an action group.
func (o AzureFunctionReceiverResponseOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AzureFunctionReceiverResponse) string { return v.Name }).(pulumi.StringOutput)
}
type AzureFunctionReceiverResponseArrayOutput struct{ *pulumi.OutputState }
func (AzureFunctionReceiverResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AzureFunctionReceiverResponse)(nil)).Elem()
}
func (o AzureFunctionReceiverResponseArrayOutput) ToAzureFunctionReceiverResponseArrayOutput() AzureFunctionReceiverResponseArrayOutput {
return o
}
func (o AzureFunctionReceiverResponseArrayOutput) ToAzureFunctionReceiverResponseArrayOutputWithContext(ctx context.Context) AzureFunctionReceiverResponseArrayOutput {
return o
}
func (o AzureFunctionReceiverResponseArrayOutput) Index(i pulumi.IntInput) AzureFunctionReceiverResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AzureFunctionReceiverResponse {
return vs[0].([]AzureFunctionReceiverResponse)[vs[1].(int)]
}).(AzureFunctionReceiverResponseOutput)
}
// Criterion for dynamic threshold.
type DynamicMetricCriteria struct {
// The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
AlertSensitivity string `pulumi:"alertSensitivity"`
// Specifies the type of threshold criteria
// Expected value is 'DynamicThresholdCriterion'.
CriterionType string `pulumi:"criterionType"`
// List of dimension conditions.
Dimensions []MetricDimension `pulumi:"dimensions"`
// The minimum number of violations required within the selected lookback time window required to raise an alert.
FailingPeriods DynamicThresholdFailingPeriods `pulumi:"failingPeriods"`
// Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
IgnoreDataBefore *string `pulumi:"ignoreDataBefore"`
// Name of the metric.
MetricName string `pulumi:"metricName"`
// Namespace of the metric.
MetricNamespace *string `pulumi:"metricNamespace"`
// Name of the criteria.
Name string `pulumi:"name"`
// The operator used to compare the metric value against the threshold.
Operator string `pulumi:"operator"`
// Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
SkipMetricValidation *bool `pulumi:"skipMetricValidation"`
// the criteria time aggregation types.
TimeAggregation string `pulumi:"timeAggregation"`
}
// DynamicMetricCriteriaInput is an input type that accepts DynamicMetricCriteriaArgs and DynamicMetricCriteriaOutput values.
// You can construct a concrete instance of `DynamicMetricCriteriaInput` via:
//
// DynamicMetricCriteriaArgs{...}
type DynamicMetricCriteriaInput interface {
pulumi.Input
ToDynamicMetricCriteriaOutput() DynamicMetricCriteriaOutput
ToDynamicMetricCriteriaOutputWithContext(context.Context) DynamicMetricCriteriaOutput
}
// Criterion for dynamic threshold.
type DynamicMetricCriteriaArgs struct {
// The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
AlertSensitivity pulumi.StringInput `pulumi:"alertSensitivity"`
// Specifies the type of threshold criteria
// Expected value is 'DynamicThresholdCriterion'.
CriterionType pulumi.StringInput `pulumi:"criterionType"`
// List of dimension conditions.
Dimensions MetricDimensionArrayInput `pulumi:"dimensions"`
// The minimum number of violations required within the selected lookback time window required to raise an alert.
FailingPeriods DynamicThresholdFailingPeriodsInput `pulumi:"failingPeriods"`
// Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
IgnoreDataBefore pulumi.StringPtrInput `pulumi:"ignoreDataBefore"`
// Name of the metric.
MetricName pulumi.StringInput `pulumi:"metricName"`
// Namespace of the metric.
MetricNamespace pulumi.StringPtrInput `pulumi:"metricNamespace"`
// Name of the criteria.
Name pulumi.StringInput `pulumi:"name"`
// The operator used to compare the metric value against the threshold.
Operator pulumi.StringInput `pulumi:"operator"`
// Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
SkipMetricValidation pulumi.BoolPtrInput `pulumi:"skipMetricValidation"`
// the criteria time aggregation types.
TimeAggregation pulumi.StringInput `pulumi:"timeAggregation"`
}
func (DynamicMetricCriteriaArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DynamicMetricCriteria)(nil)).Elem()
}
func (i DynamicMetricCriteriaArgs) ToDynamicMetricCriteriaOutput() DynamicMetricCriteriaOutput {
return i.ToDynamicMetricCriteriaOutputWithContext(context.Background())
}
func (i DynamicMetricCriteriaArgs) ToDynamicMetricCriteriaOutputWithContext(ctx context.Context) DynamicMetricCriteriaOutput {
return pulumi.ToOutputWithContext(ctx, i).(DynamicMetricCriteriaOutput)
}
// Criterion for dynamic threshold.
type DynamicMetricCriteriaOutput struct{ *pulumi.OutputState }
func (DynamicMetricCriteriaOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DynamicMetricCriteria)(nil)).Elem()
}
func (o DynamicMetricCriteriaOutput) ToDynamicMetricCriteriaOutput() DynamicMetricCriteriaOutput {
return o
}
func (o DynamicMetricCriteriaOutput) ToDynamicMetricCriteriaOutputWithContext(ctx context.Context) DynamicMetricCriteriaOutput {
return o
}
// The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
func (o DynamicMetricCriteriaOutput) AlertSensitivity() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.AlertSensitivity }).(pulumi.StringOutput)
}
// Specifies the type of threshold criteria
// Expected value is 'DynamicThresholdCriterion'.
func (o DynamicMetricCriteriaOutput) CriterionType() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.CriterionType }).(pulumi.StringOutput)
}
// List of dimension conditions.
func (o DynamicMetricCriteriaOutput) Dimensions() MetricDimensionArrayOutput {
return o.ApplyT(func(v DynamicMetricCriteria) []MetricDimension { return v.Dimensions }).(MetricDimensionArrayOutput)
}
// The minimum number of violations required within the selected lookback time window required to raise an alert.
func (o DynamicMetricCriteriaOutput) FailingPeriods() DynamicThresholdFailingPeriodsOutput {
return o.ApplyT(func(v DynamicMetricCriteria) DynamicThresholdFailingPeriods { return v.FailingPeriods }).(DynamicThresholdFailingPeriodsOutput)
}
// Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
func (o DynamicMetricCriteriaOutput) IgnoreDataBefore() pulumi.StringPtrOutput {
return o.ApplyT(func(v DynamicMetricCriteria) *string { return v.IgnoreDataBefore }).(pulumi.StringPtrOutput)
}
// Name of the metric.
func (o DynamicMetricCriteriaOutput) MetricName() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.MetricName }).(pulumi.StringOutput)
}
// Namespace of the metric.
func (o DynamicMetricCriteriaOutput) MetricNamespace() pulumi.StringPtrOutput {
return o.ApplyT(func(v DynamicMetricCriteria) *string { return v.MetricNamespace }).(pulumi.StringPtrOutput)
}
// Name of the criteria.
func (o DynamicMetricCriteriaOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.Name }).(pulumi.StringOutput)
}
// The operator used to compare the metric value against the threshold.
func (o DynamicMetricCriteriaOutput) Operator() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.Operator }).(pulumi.StringOutput)
}
// Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
func (o DynamicMetricCriteriaOutput) SkipMetricValidation() pulumi.BoolPtrOutput {
return o.ApplyT(func(v DynamicMetricCriteria) *bool { return v.SkipMetricValidation }).(pulumi.BoolPtrOutput)
}
// the criteria time aggregation types.
func (o DynamicMetricCriteriaOutput) TimeAggregation() pulumi.StringOutput {
return o.ApplyT(func(v DynamicMetricCriteria) string { return v.TimeAggregation }).(pulumi.StringOutput)
}
// Criterion for dynamic threshold.
type DynamicMetricCriteriaResponse struct {
// The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
AlertSensitivity string `pulumi:"alertSensitivity"`
// Specifies the type of threshold criteria
// Expected value is 'DynamicThresholdCriterion'.
CriterionType string `pulumi:"criterionType"`
// List of dimension conditions.
Dimensions []MetricDimensionResponse `pulumi:"dimensions"`
// The minimum number of violations required within the selected lookback time window required to raise an alert.
FailingPeriods DynamicThresholdFailingPeriodsResponse `pulumi:"failingPeriods"`
// Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
IgnoreDataBefore *string `pulumi:"ignoreDataBefore"`
// Name of the metric.
MetricName string `pulumi:"metricName"`
// Namespace of the metric.
MetricNamespace *string `pulumi:"metricNamespace"`
// Name of the criteria.
Name string `pulumi:"name"`
// The operator used to compare the metric value against the threshold.
Operator string `pulumi:"operator"`
// Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
SkipMetricValidation *bool `pulumi:"skipMetricValidation"`
// the criteria time aggregation types.
TimeAggregation string `pulumi:"timeAggregation"`
}
// DynamicMetricCriteriaResponseInput is an input type that accepts DynamicMetricCriteriaResponseArgs and DynamicMetricCriteriaResponseOutput values.
// You can construct a concrete instance of `DynamicMetricCriteriaResponseInput` via:
//
// DynamicMetricCriteriaResponseArgs{...}
type DynamicMetricCriteriaResponseInput interface {
pulumi.Input
ToDynamicMetricCriteriaResponseOutput() DynamicMetricCriteriaResponseOutput
ToDynamicMetricCriteriaResponseOutputWithContext(context.Context) DynamicMetricCriteriaResponseOutput
}
// Criterion for dynamic threshold.
type DynamicMetricCriteriaResponseArgs struct {
// The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
AlertSensitivity pulumi.StringInput `pulumi:"alertSensitivity"`
// Specifies the type of threshold criteria
// Expected value is 'DynamicThresholdCriterion'.
CriterionType pulumi.StringInput `pulumi:"criterionType"`
// List of dimension conditions.
Dimensions MetricDimensionResponseArrayInput `pulumi:"dimensions"`
// The minimum number of violations required within the selected lookback time window required to raise an alert.
FailingPeriods DynamicThresholdFailingPeriodsResponseInput `pulumi:"failingPeriods"`
// Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
IgnoreDataBefore pulumi.StringPtrInput `pulumi:"ignoreDataBefore"`
// Name of the metric.
MetricName pulumi.StringInput `pulumi:"metricName"`
// Namespace of the metric.
MetricNamespace pulumi.StringPtrInput `pulumi:"metricNamespace"`
// Name of the criteria.
Name pulumi.StringInput `pulumi:"name"`
// The operator used to compare the metric value against the threshold.
Operator pulumi.StringInput `pulumi:"operator"`
// Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
SkipMetricValidation pulumi.BoolPtrInput `pulumi:"skipMetricValidation"`
// the criteria time aggregation types.
TimeAggregation pulumi.StringInput `pulumi:"timeAggregation"`
}
func (DynamicMetricCriteriaResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DynamicMetricCriteriaResponse)(nil)).Elem()
}
func (i DynamicMetricCriteriaResponseArgs) ToDynamicMetricCriteriaResponseOutput() DynamicMetricCriteriaResponseOutput {
return i.ToDynamicMetricCriteriaResponseOutputWithContext(context.Background())
}
func (i DynamicMetricCriteriaResponseArgs) ToDynamicMetricCriteriaResponseOutputWithContext(ctx context.Context) DynamicMetricCriteriaResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(DynamicMetricCriteriaResponseOutput)
}
// Criterion for dynamic threshold.