/
pulumiTypes.go
906 lines (739 loc) · 41.1 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
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package redis
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
type CachePatchSchedule struct {
DayOfWeek string `pulumi:"dayOfWeek"`
StartHourUtc *int `pulumi:"startHourUtc"`
}
// CachePatchScheduleInput is an input type that accepts CachePatchScheduleArgs and CachePatchScheduleOutput values.
// You can construct a concrete instance of `CachePatchScheduleInput` via:
//
// CachePatchScheduleArgs{...}
type CachePatchScheduleInput interface {
pulumi.Input
ToCachePatchScheduleOutput() CachePatchScheduleOutput
ToCachePatchScheduleOutputWithContext(context.Context) CachePatchScheduleOutput
}
type CachePatchScheduleArgs struct {
DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"`
StartHourUtc pulumi.IntPtrInput `pulumi:"startHourUtc"`
}
func (CachePatchScheduleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CachePatchSchedule)(nil)).Elem()
}
func (i CachePatchScheduleArgs) ToCachePatchScheduleOutput() CachePatchScheduleOutput {
return i.ToCachePatchScheduleOutputWithContext(context.Background())
}
func (i CachePatchScheduleArgs) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput {
return pulumi.ToOutputWithContext(ctx, i).(CachePatchScheduleOutput)
}
// CachePatchScheduleArrayInput is an input type that accepts CachePatchScheduleArray and CachePatchScheduleArrayOutput values.
// You can construct a concrete instance of `CachePatchScheduleArrayInput` via:
//
// CachePatchScheduleArray{ CachePatchScheduleArgs{...} }
type CachePatchScheduleArrayInput interface {
pulumi.Input
ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput
ToCachePatchScheduleArrayOutputWithContext(context.Context) CachePatchScheduleArrayOutput
}
type CachePatchScheduleArray []CachePatchScheduleInput
func (CachePatchScheduleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]CachePatchSchedule)(nil)).Elem()
}
func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput {
return i.ToCachePatchScheduleArrayOutputWithContext(context.Background())
}
func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(CachePatchScheduleArrayOutput)
}
type CachePatchScheduleOutput struct{ *pulumi.OutputState }
func (CachePatchScheduleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CachePatchSchedule)(nil)).Elem()
}
func (o CachePatchScheduleOutput) ToCachePatchScheduleOutput() CachePatchScheduleOutput {
return o
}
func (o CachePatchScheduleOutput) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput {
return o
}
func (o CachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput {
return o.ApplyT(func(v CachePatchSchedule) string { return v.DayOfWeek }).(pulumi.StringOutput)
}
func (o CachePatchScheduleOutput) StartHourUtc() pulumi.IntPtrOutput {
return o.ApplyT(func(v CachePatchSchedule) *int { return v.StartHourUtc }).(pulumi.IntPtrOutput)
}
type CachePatchScheduleArrayOutput struct{ *pulumi.OutputState }
func (CachePatchScheduleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]CachePatchSchedule)(nil)).Elem()
}
func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput {
return o
}
func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput {
return o
}
func (o CachePatchScheduleArrayOutput) Index(i pulumi.IntInput) CachePatchScheduleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) CachePatchSchedule {
return vs[0].([]CachePatchSchedule)[vs[1].(int)]
}).(CachePatchScheduleOutput)
}
type CacheRedisConfiguration struct {
AofBackupEnabled *bool `pulumi:"aofBackupEnabled"`
AofStorageConnectionString0 *string `pulumi:"aofStorageConnectionString0"`
AofStorageConnectionString1 *string `pulumi:"aofStorageConnectionString1"`
// If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
EnableAuthentication *bool `pulumi:"enableAuthentication"`
// Returns the max number of connected clients at the same time.
Maxclients *int `pulumi:"maxclients"`
// Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
MaxfragmentationmemoryReserved *int `pulumi:"maxfragmentationmemoryReserved"`
// The max-memory delta for this Redis instance. Defaults are shown below.
MaxmemoryDelta *int `pulumi:"maxmemoryDelta"`
// How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below.
MaxmemoryPolicy *string `pulumi:"maxmemoryPolicy"`
// Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
MaxmemoryReserved *int `pulumi:"maxmemoryReserved"`
// Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
NotifyKeyspaceEvents *string `pulumi:"notifyKeyspaceEvents"`
// Is Backup Enabled? Only supported on Premium SKU's.
RdbBackupEnabled *bool `pulumi:"rdbBackupEnabled"`
// The Backup Frequency in Minutes. Only supported on Premium SKU's. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
RdbBackupFrequency *int `pulumi:"rdbBackupFrequency"`
// The maximum number of snapshots to create as a backup. Only supported for Premium SKU's.
RdbBackupMaxSnapshotCount *int `pulumi:"rdbBackupMaxSnapshotCount"`
// The Connection String to the Storage Account. Only supported for Premium SKU's. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
RdbStorageConnectionString *string `pulumi:"rdbStorageConnectionString"`
}
// CacheRedisConfigurationInput is an input type that accepts CacheRedisConfigurationArgs and CacheRedisConfigurationOutput values.
// You can construct a concrete instance of `CacheRedisConfigurationInput` via:
//
// CacheRedisConfigurationArgs{...}
type CacheRedisConfigurationInput interface {
pulumi.Input
ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput
ToCacheRedisConfigurationOutputWithContext(context.Context) CacheRedisConfigurationOutput
}
type CacheRedisConfigurationArgs struct {
AofBackupEnabled pulumi.BoolPtrInput `pulumi:"aofBackupEnabled"`
AofStorageConnectionString0 pulumi.StringPtrInput `pulumi:"aofStorageConnectionString0"`
AofStorageConnectionString1 pulumi.StringPtrInput `pulumi:"aofStorageConnectionString1"`
// If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
EnableAuthentication pulumi.BoolPtrInput `pulumi:"enableAuthentication"`
// Returns the max number of connected clients at the same time.
Maxclients pulumi.IntPtrInput `pulumi:"maxclients"`
// Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
MaxfragmentationmemoryReserved pulumi.IntPtrInput `pulumi:"maxfragmentationmemoryReserved"`
// The max-memory delta for this Redis instance. Defaults are shown below.
MaxmemoryDelta pulumi.IntPtrInput `pulumi:"maxmemoryDelta"`
// How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below.
MaxmemoryPolicy pulumi.StringPtrInput `pulumi:"maxmemoryPolicy"`
// Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
MaxmemoryReserved pulumi.IntPtrInput `pulumi:"maxmemoryReserved"`
// Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
NotifyKeyspaceEvents pulumi.StringPtrInput `pulumi:"notifyKeyspaceEvents"`
// Is Backup Enabled? Only supported on Premium SKU's.
RdbBackupEnabled pulumi.BoolPtrInput `pulumi:"rdbBackupEnabled"`
// The Backup Frequency in Minutes. Only supported on Premium SKU's. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
RdbBackupFrequency pulumi.IntPtrInput `pulumi:"rdbBackupFrequency"`
// The maximum number of snapshots to create as a backup. Only supported for Premium SKU's.
RdbBackupMaxSnapshotCount pulumi.IntPtrInput `pulumi:"rdbBackupMaxSnapshotCount"`
// The Connection String to the Storage Account. Only supported for Premium SKU's. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
RdbStorageConnectionString pulumi.StringPtrInput `pulumi:"rdbStorageConnectionString"`
}
func (CacheRedisConfigurationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CacheRedisConfiguration)(nil)).Elem()
}
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput {
return i.ToCacheRedisConfigurationOutputWithContext(context.Background())
}
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput {
return pulumi.ToOutputWithContext(ctx, i).(CacheRedisConfigurationOutput)
}
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput {
return i.ToCacheRedisConfigurationPtrOutputWithContext(context.Background())
}
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CacheRedisConfigurationOutput).ToCacheRedisConfigurationPtrOutputWithContext(ctx)
}
// CacheRedisConfigurationPtrInput is an input type that accepts CacheRedisConfigurationArgs, CacheRedisConfigurationPtr and CacheRedisConfigurationPtrOutput values.
// You can construct a concrete instance of `CacheRedisConfigurationPtrInput` via:
//
// CacheRedisConfigurationArgs{...}
//
// or:
//
// nil
type CacheRedisConfigurationPtrInput interface {
pulumi.Input
ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
ToCacheRedisConfigurationPtrOutputWithContext(context.Context) CacheRedisConfigurationPtrOutput
}
type cacheRedisConfigurationPtrType CacheRedisConfigurationArgs
func CacheRedisConfigurationPtr(v *CacheRedisConfigurationArgs) CacheRedisConfigurationPtrInput {
return (*cacheRedisConfigurationPtrType)(v)
}
func (*cacheRedisConfigurationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CacheRedisConfiguration)(nil)).Elem()
}
func (i *cacheRedisConfigurationPtrType) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput {
return i.ToCacheRedisConfigurationPtrOutputWithContext(context.Background())
}
func (i *cacheRedisConfigurationPtrType) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CacheRedisConfigurationPtrOutput)
}
type CacheRedisConfigurationOutput struct{ *pulumi.OutputState }
func (CacheRedisConfigurationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CacheRedisConfiguration)(nil)).Elem()
}
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput {
return o
}
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput {
return o
}
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput {
return o.ToCacheRedisConfigurationPtrOutputWithContext(context.Background())
}
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *CacheRedisConfiguration {
return &v
}).(CacheRedisConfigurationPtrOutput)
}
func (o CacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *bool { return v.AofBackupEnabled }).(pulumi.BoolPtrOutput)
}
func (o CacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *string { return v.AofStorageConnectionString0 }).(pulumi.StringPtrOutput)
}
func (o CacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *string { return v.AofStorageConnectionString1 }).(pulumi.StringPtrOutput)
}
// If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
func (o CacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *bool { return v.EnableAuthentication }).(pulumi.BoolPtrOutput)
}
// Returns the max number of connected clients at the same time.
func (o CacheRedisConfigurationOutput) Maxclients() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.Maxclients }).(pulumi.IntPtrOutput)
}
// Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
func (o CacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.MaxfragmentationmemoryReserved }).(pulumi.IntPtrOutput)
}
// The max-memory delta for this Redis instance. Defaults are shown below.
func (o CacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.MaxmemoryDelta }).(pulumi.IntPtrOutput)
}
// How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below.
func (o CacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *string { return v.MaxmemoryPolicy }).(pulumi.StringPtrOutput)
}
// Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
func (o CacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.MaxmemoryReserved }).(pulumi.IntPtrOutput)
}
// Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
func (o CacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *string { return v.NotifyKeyspaceEvents }).(pulumi.StringPtrOutput)
}
// Is Backup Enabled? Only supported on Premium SKU's.
func (o CacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *bool { return v.RdbBackupEnabled }).(pulumi.BoolPtrOutput)
}
// The Backup Frequency in Minutes. Only supported on Premium SKU's. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
func (o CacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.RdbBackupFrequency }).(pulumi.IntPtrOutput)
}
// The maximum number of snapshots to create as a backup. Only supported for Premium SKU's.
func (o CacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *int { return v.RdbBackupMaxSnapshotCount }).(pulumi.IntPtrOutput)
}
// The Connection String to the Storage Account. Only supported for Premium SKU's. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
func (o CacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v CacheRedisConfiguration) *string { return v.RdbStorageConnectionString }).(pulumi.StringPtrOutput)
}
type CacheRedisConfigurationPtrOutput struct{ *pulumi.OutputState }
func (CacheRedisConfigurationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CacheRedisConfiguration)(nil)).Elem()
}
func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput {
return o
}
func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput {
return o
}
func (o CacheRedisConfigurationPtrOutput) Elem() CacheRedisConfigurationOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) CacheRedisConfiguration { return *v }).(CacheRedisConfigurationOutput)
}
func (o CacheRedisConfigurationPtrOutput) AofBackupEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *bool {
if v == nil {
return nil
}
return v.AofBackupEnabled
}).(pulumi.BoolPtrOutput)
}
func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString0() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *string {
if v == nil {
return nil
}
return v.AofStorageConnectionString0
}).(pulumi.StringPtrOutput)
}
func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString1() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *string {
if v == nil {
return nil
}
return v.AofStorageConnectionString1
}).(pulumi.StringPtrOutput)
}
// If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
func (o CacheRedisConfigurationPtrOutput) EnableAuthentication() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *bool {
if v == nil {
return nil
}
return v.EnableAuthentication
}).(pulumi.BoolPtrOutput)
}
// Returns the max number of connected clients at the same time.
func (o CacheRedisConfigurationPtrOutput) Maxclients() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.Maxclients
}).(pulumi.IntPtrOutput)
}
// Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
func (o CacheRedisConfigurationPtrOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.MaxfragmentationmemoryReserved
}).(pulumi.IntPtrOutput)
}
// The max-memory delta for this Redis instance. Defaults are shown below.
func (o CacheRedisConfigurationPtrOutput) MaxmemoryDelta() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.MaxmemoryDelta
}).(pulumi.IntPtrOutput)
}
// How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below.
func (o CacheRedisConfigurationPtrOutput) MaxmemoryPolicy() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *string {
if v == nil {
return nil
}
return v.MaxmemoryPolicy
}).(pulumi.StringPtrOutput)
}
// Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
func (o CacheRedisConfigurationPtrOutput) MaxmemoryReserved() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.MaxmemoryReserved
}).(pulumi.IntPtrOutput)
}
// Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
func (o CacheRedisConfigurationPtrOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *string {
if v == nil {
return nil
}
return v.NotifyKeyspaceEvents
}).(pulumi.StringPtrOutput)
}
// Is Backup Enabled? Only supported on Premium SKU's.
func (o CacheRedisConfigurationPtrOutput) RdbBackupEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *bool {
if v == nil {
return nil
}
return v.RdbBackupEnabled
}).(pulumi.BoolPtrOutput)
}
// The Backup Frequency in Minutes. Only supported on Premium SKU's. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
func (o CacheRedisConfigurationPtrOutput) RdbBackupFrequency() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.RdbBackupFrequency
}).(pulumi.IntPtrOutput)
}
// The maximum number of snapshots to create as a backup. Only supported for Premium SKU's.
func (o CacheRedisConfigurationPtrOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *int {
if v == nil {
return nil
}
return v.RdbBackupMaxSnapshotCount
}).(pulumi.IntPtrOutput)
}
// The Connection String to the Storage Account. Only supported for Premium SKU's. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
func (o CacheRedisConfigurationPtrOutput) RdbStorageConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CacheRedisConfiguration) *string {
if v == nil {
return nil
}
return v.RdbStorageConnectionString
}).(pulumi.StringPtrOutput)
}
type EnterpriseDatabaseModule struct {
// Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`).
Args *string `pulumi:"args"`
// The name which should be used for this module. Possible values are `RediSearch`, `RedisBloom` and `RedisTimeSeries`. Changing this forces a new Redis Enterprise Database to be created.
Name string `pulumi:"name"`
Version *string `pulumi:"version"`
}
// EnterpriseDatabaseModuleInput is an input type that accepts EnterpriseDatabaseModuleArgs and EnterpriseDatabaseModuleOutput values.
// You can construct a concrete instance of `EnterpriseDatabaseModuleInput` via:
//
// EnterpriseDatabaseModuleArgs{...}
type EnterpriseDatabaseModuleInput interface {
pulumi.Input
ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput
ToEnterpriseDatabaseModuleOutputWithContext(context.Context) EnterpriseDatabaseModuleOutput
}
type EnterpriseDatabaseModuleArgs struct {
// Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`).
Args pulumi.StringPtrInput `pulumi:"args"`
// The name which should be used for this module. Possible values are `RediSearch`, `RedisBloom` and `RedisTimeSeries`. Changing this forces a new Redis Enterprise Database to be created.
Name pulumi.StringInput `pulumi:"name"`
Version pulumi.StringPtrInput `pulumi:"version"`
}
func (EnterpriseDatabaseModuleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*EnterpriseDatabaseModule)(nil)).Elem()
}
func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput {
return i.ToEnterpriseDatabaseModuleOutputWithContext(context.Background())
}
func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput {
return pulumi.ToOutputWithContext(ctx, i).(EnterpriseDatabaseModuleOutput)
}
// EnterpriseDatabaseModuleArrayInput is an input type that accepts EnterpriseDatabaseModuleArray and EnterpriseDatabaseModuleArrayOutput values.
// You can construct a concrete instance of `EnterpriseDatabaseModuleArrayInput` via:
//
// EnterpriseDatabaseModuleArray{ EnterpriseDatabaseModuleArgs{...} }
type EnterpriseDatabaseModuleArrayInput interface {
pulumi.Input
ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput
ToEnterpriseDatabaseModuleArrayOutputWithContext(context.Context) EnterpriseDatabaseModuleArrayOutput
}
type EnterpriseDatabaseModuleArray []EnterpriseDatabaseModuleInput
func (EnterpriseDatabaseModuleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]EnterpriseDatabaseModule)(nil)).Elem()
}
func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput {
return i.ToEnterpriseDatabaseModuleArrayOutputWithContext(context.Background())
}
func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(EnterpriseDatabaseModuleArrayOutput)
}
type EnterpriseDatabaseModuleOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseModuleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*EnterpriseDatabaseModule)(nil)).Elem()
}
func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput {
return o
}
func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput {
return o
}
// Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`).
func (o EnterpriseDatabaseModuleOutput) Args() pulumi.StringPtrOutput {
return o.ApplyT(func(v EnterpriseDatabaseModule) *string { return v.Args }).(pulumi.StringPtrOutput)
}
// The name which should be used for this module. Possible values are `RediSearch`, `RedisBloom` and `RedisTimeSeries`. Changing this forces a new Redis Enterprise Database to be created.
func (o EnterpriseDatabaseModuleOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v EnterpriseDatabaseModule) string { return v.Name }).(pulumi.StringOutput)
}
func (o EnterpriseDatabaseModuleOutput) Version() pulumi.StringPtrOutput {
return o.ApplyT(func(v EnterpriseDatabaseModule) *string { return v.Version }).(pulumi.StringPtrOutput)
}
type EnterpriseDatabaseModuleArrayOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseModuleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]EnterpriseDatabaseModule)(nil)).Elem()
}
func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput {
return o
}
func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput {
return o
}
func (o EnterpriseDatabaseModuleArrayOutput) Index(i pulumi.IntInput) EnterpriseDatabaseModuleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseDatabaseModule {
return vs[0].([]EnterpriseDatabaseModule)[vs[1].(int)]
}).(EnterpriseDatabaseModuleOutput)
}
type GetCachePatchSchedule struct {
// the Weekday name for the patch item
DayOfWeek string `pulumi:"dayOfWeek"`
// The Start Hour for maintenance in UTC
StartHourUtc int `pulumi:"startHourUtc"`
}
// GetCachePatchScheduleInput is an input type that accepts GetCachePatchScheduleArgs and GetCachePatchScheduleOutput values.
// You can construct a concrete instance of `GetCachePatchScheduleInput` via:
//
// GetCachePatchScheduleArgs{...}
type GetCachePatchScheduleInput interface {
pulumi.Input
ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput
ToGetCachePatchScheduleOutputWithContext(context.Context) GetCachePatchScheduleOutput
}
type GetCachePatchScheduleArgs struct {
// the Weekday name for the patch item
DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"`
// The Start Hour for maintenance in UTC
StartHourUtc pulumi.IntInput `pulumi:"startHourUtc"`
}
func (GetCachePatchScheduleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetCachePatchSchedule)(nil)).Elem()
}
func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput {
return i.ToGetCachePatchScheduleOutputWithContext(context.Background())
}
func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetCachePatchScheduleOutput)
}
// GetCachePatchScheduleArrayInput is an input type that accepts GetCachePatchScheduleArray and GetCachePatchScheduleArrayOutput values.
// You can construct a concrete instance of `GetCachePatchScheduleArrayInput` via:
//
// GetCachePatchScheduleArray{ GetCachePatchScheduleArgs{...} }
type GetCachePatchScheduleArrayInput interface {
pulumi.Input
ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput
ToGetCachePatchScheduleArrayOutputWithContext(context.Context) GetCachePatchScheduleArrayOutput
}
type GetCachePatchScheduleArray []GetCachePatchScheduleInput
func (GetCachePatchScheduleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetCachePatchSchedule)(nil)).Elem()
}
func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput {
return i.ToGetCachePatchScheduleArrayOutputWithContext(context.Background())
}
func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetCachePatchScheduleArrayOutput)
}
type GetCachePatchScheduleOutput struct{ *pulumi.OutputState }
func (GetCachePatchScheduleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetCachePatchSchedule)(nil)).Elem()
}
func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput {
return o
}
func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput {
return o
}
// the Weekday name for the patch item
func (o GetCachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput {
return o.ApplyT(func(v GetCachePatchSchedule) string { return v.DayOfWeek }).(pulumi.StringOutput)
}
// The Start Hour for maintenance in UTC
func (o GetCachePatchScheduleOutput) StartHourUtc() pulumi.IntOutput {
return o.ApplyT(func(v GetCachePatchSchedule) int { return v.StartHourUtc }).(pulumi.IntOutput)
}
type GetCachePatchScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetCachePatchScheduleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetCachePatchSchedule)(nil)).Elem()
}
func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput {
return o
}
func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput {
return o
}
func (o GetCachePatchScheduleArrayOutput) Index(i pulumi.IntInput) GetCachePatchScheduleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCachePatchSchedule {
return vs[0].([]GetCachePatchSchedule)[vs[1].(int)]
}).(GetCachePatchScheduleOutput)
}
type GetCacheRedisConfiguration struct {
AofBackupEnabled bool `pulumi:"aofBackupEnabled"`
AofStorageConnectionString0 string `pulumi:"aofStorageConnectionString0"`
AofStorageConnectionString1 string `pulumi:"aofStorageConnectionString1"`
// Specifies if authentication is enabled
EnableAuthentication bool `pulumi:"enableAuthentication"`
Maxclients int `pulumi:"maxclients"`
// Value in megabytes reserved to accommodate for memory fragmentation.
MaxfragmentationmemoryReserved int `pulumi:"maxfragmentationmemoryReserved"`
// The max-memory delta for this Redis instance.
MaxmemoryDelta int `pulumi:"maxmemoryDelta"`
// How Redis will select what to remove when `maxmemory` is reached.
MaxmemoryPolicy string `pulumi:"maxmemoryPolicy"`
// The value in megabytes reserved for non-cache usage e.g. failover
MaxmemoryReserved int `pulumi:"maxmemoryReserved"`
NotifyKeyspaceEvents string `pulumi:"notifyKeyspaceEvents"`
// Is Backup Enabled? Only supported on Premium SKU's.
RdbBackupEnabled bool `pulumi:"rdbBackupEnabled"`
// The Backup Frequency in Minutes. Only supported on Premium SKU's.
RdbBackupFrequency int `pulumi:"rdbBackupFrequency"`
// The maximum number of snapshots that can be created as a backup.
RdbBackupMaxSnapshotCount int `pulumi:"rdbBackupMaxSnapshotCount"`
// The Connection String to the Storage Account. Only supported for Premium SKU's.
RdbStorageConnectionString string `pulumi:"rdbStorageConnectionString"`
}
// GetCacheRedisConfigurationInput is an input type that accepts GetCacheRedisConfigurationArgs and GetCacheRedisConfigurationOutput values.
// You can construct a concrete instance of `GetCacheRedisConfigurationInput` via:
//
// GetCacheRedisConfigurationArgs{...}
type GetCacheRedisConfigurationInput interface {
pulumi.Input
ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput
ToGetCacheRedisConfigurationOutputWithContext(context.Context) GetCacheRedisConfigurationOutput
}
type GetCacheRedisConfigurationArgs struct {
AofBackupEnabled pulumi.BoolInput `pulumi:"aofBackupEnabled"`
AofStorageConnectionString0 pulumi.StringInput `pulumi:"aofStorageConnectionString0"`
AofStorageConnectionString1 pulumi.StringInput `pulumi:"aofStorageConnectionString1"`
// Specifies if authentication is enabled
EnableAuthentication pulumi.BoolInput `pulumi:"enableAuthentication"`
Maxclients pulumi.IntInput `pulumi:"maxclients"`
// Value in megabytes reserved to accommodate for memory fragmentation.
MaxfragmentationmemoryReserved pulumi.IntInput `pulumi:"maxfragmentationmemoryReserved"`
// The max-memory delta for this Redis instance.
MaxmemoryDelta pulumi.IntInput `pulumi:"maxmemoryDelta"`
// How Redis will select what to remove when `maxmemory` is reached.
MaxmemoryPolicy pulumi.StringInput `pulumi:"maxmemoryPolicy"`
// The value in megabytes reserved for non-cache usage e.g. failover
MaxmemoryReserved pulumi.IntInput `pulumi:"maxmemoryReserved"`
NotifyKeyspaceEvents pulumi.StringInput `pulumi:"notifyKeyspaceEvents"`
// Is Backup Enabled? Only supported on Premium SKU's.
RdbBackupEnabled pulumi.BoolInput `pulumi:"rdbBackupEnabled"`
// The Backup Frequency in Minutes. Only supported on Premium SKU's.
RdbBackupFrequency pulumi.IntInput `pulumi:"rdbBackupFrequency"`
// The maximum number of snapshots that can be created as a backup.
RdbBackupMaxSnapshotCount pulumi.IntInput `pulumi:"rdbBackupMaxSnapshotCount"`
// The Connection String to the Storage Account. Only supported for Premium SKU's.
RdbStorageConnectionString pulumi.StringInput `pulumi:"rdbStorageConnectionString"`
}
func (GetCacheRedisConfigurationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetCacheRedisConfiguration)(nil)).Elem()
}
func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput {
return i.ToGetCacheRedisConfigurationOutputWithContext(context.Background())
}
func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetCacheRedisConfigurationOutput)
}
// GetCacheRedisConfigurationArrayInput is an input type that accepts GetCacheRedisConfigurationArray and GetCacheRedisConfigurationArrayOutput values.
// You can construct a concrete instance of `GetCacheRedisConfigurationArrayInput` via:
//
// GetCacheRedisConfigurationArray{ GetCacheRedisConfigurationArgs{...} }
type GetCacheRedisConfigurationArrayInput interface {
pulumi.Input
ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput
ToGetCacheRedisConfigurationArrayOutputWithContext(context.Context) GetCacheRedisConfigurationArrayOutput
}
type GetCacheRedisConfigurationArray []GetCacheRedisConfigurationInput
func (GetCacheRedisConfigurationArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetCacheRedisConfiguration)(nil)).Elem()
}
func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput {
return i.ToGetCacheRedisConfigurationArrayOutputWithContext(context.Background())
}
func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetCacheRedisConfigurationArrayOutput)
}
type GetCacheRedisConfigurationOutput struct{ *pulumi.OutputState }
func (GetCacheRedisConfigurationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetCacheRedisConfiguration)(nil)).Elem()
}
func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput {
return o
}
func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput {
return o
}
func (o GetCacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) bool { return v.AofBackupEnabled }).(pulumi.BoolOutput)
}
func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) string { return v.AofStorageConnectionString0 }).(pulumi.StringOutput)
}
func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) string { return v.AofStorageConnectionString1 }).(pulumi.StringOutput)
}
// Specifies if authentication is enabled
func (o GetCacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) bool { return v.EnableAuthentication }).(pulumi.BoolOutput)
}
func (o GetCacheRedisConfigurationOutput) Maxclients() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.Maxclients }).(pulumi.IntOutput)
}
// Value in megabytes reserved to accommodate for memory fragmentation.
func (o GetCacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.MaxfragmentationmemoryReserved }).(pulumi.IntOutput)
}
// The max-memory delta for this Redis instance.
func (o GetCacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.MaxmemoryDelta }).(pulumi.IntOutput)
}
// How Redis will select what to remove when `maxmemory` is reached.
func (o GetCacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) string { return v.MaxmemoryPolicy }).(pulumi.StringOutput)
}
// The value in megabytes reserved for non-cache usage e.g. failover
func (o GetCacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.MaxmemoryReserved }).(pulumi.IntOutput)
}
func (o GetCacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) string { return v.NotifyKeyspaceEvents }).(pulumi.StringOutput)
}
// Is Backup Enabled? Only supported on Premium SKU's.
func (o GetCacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) bool { return v.RdbBackupEnabled }).(pulumi.BoolOutput)
}
// The Backup Frequency in Minutes. Only supported on Premium SKU's.
func (o GetCacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.RdbBackupFrequency }).(pulumi.IntOutput)
}
// The maximum number of snapshots that can be created as a backup.
func (o GetCacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) int { return v.RdbBackupMaxSnapshotCount }).(pulumi.IntOutput)
}
// The Connection String to the Storage Account. Only supported for Premium SKU's.
func (o GetCacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringOutput {
return o.ApplyT(func(v GetCacheRedisConfiguration) string { return v.RdbStorageConnectionString }).(pulumi.StringOutput)
}
type GetCacheRedisConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetCacheRedisConfigurationArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetCacheRedisConfiguration)(nil)).Elem()
}
func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput {
return o
}
func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput {
return o
}
func (o GetCacheRedisConfigurationArrayOutput) Index(i pulumi.IntInput) GetCacheRedisConfigurationOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCacheRedisConfiguration {
return vs[0].([]GetCacheRedisConfiguration)[vs[1].(int)]
}).(GetCacheRedisConfigurationOutput)
}
func init() {
pulumi.RegisterOutputType(CachePatchScheduleOutput{})
pulumi.RegisterOutputType(CachePatchScheduleArrayOutput{})
pulumi.RegisterOutputType(CacheRedisConfigurationOutput{})
pulumi.RegisterOutputType(CacheRedisConfigurationPtrOutput{})
pulumi.RegisterOutputType(EnterpriseDatabaseModuleOutput{})
pulumi.RegisterOutputType(EnterpriseDatabaseModuleArrayOutput{})
pulumi.RegisterOutputType(GetCachePatchScheduleOutput{})
pulumi.RegisterOutputType(GetCachePatchScheduleArrayOutput{})
pulumi.RegisterOutputType(GetCacheRedisConfigurationOutput{})
pulumi.RegisterOutputType(GetCacheRedisConfigurationArrayOutput{})
}