generated from pulumi/pulumi-tf-provider-boilerplate
/
pulumiTypes.go
1023 lines (815 loc) · 39.9 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
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package dedicatedelb
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type IpgroupIpList struct {
// Human-readable description for the ip.
Description *string `pulumi:"description"`
// IP address or CIDR block.
Ip string `pulumi:"ip"`
}
// IpgroupIpListInput is an input type that accepts IpgroupIpListArgs and IpgroupIpListOutput values.
// You can construct a concrete instance of `IpgroupIpListInput` via:
//
// IpgroupIpListArgs{...}
type IpgroupIpListInput interface {
pulumi.Input
ToIpgroupIpListOutput() IpgroupIpListOutput
ToIpgroupIpListOutputWithContext(context.Context) IpgroupIpListOutput
}
type IpgroupIpListArgs struct {
// Human-readable description for the ip.
Description pulumi.StringPtrInput `pulumi:"description"`
// IP address or CIDR block.
Ip pulumi.StringInput `pulumi:"ip"`
}
func (IpgroupIpListArgs) ElementType() reflect.Type {
return reflect.TypeOf((*IpgroupIpList)(nil)).Elem()
}
func (i IpgroupIpListArgs) ToIpgroupIpListOutput() IpgroupIpListOutput {
return i.ToIpgroupIpListOutputWithContext(context.Background())
}
func (i IpgroupIpListArgs) ToIpgroupIpListOutputWithContext(ctx context.Context) IpgroupIpListOutput {
return pulumi.ToOutputWithContext(ctx, i).(IpgroupIpListOutput)
}
// IpgroupIpListArrayInput is an input type that accepts IpgroupIpListArray and IpgroupIpListArrayOutput values.
// You can construct a concrete instance of `IpgroupIpListArrayInput` via:
//
// IpgroupIpListArray{ IpgroupIpListArgs{...} }
type IpgroupIpListArrayInput interface {
pulumi.Input
ToIpgroupIpListArrayOutput() IpgroupIpListArrayOutput
ToIpgroupIpListArrayOutputWithContext(context.Context) IpgroupIpListArrayOutput
}
type IpgroupIpListArray []IpgroupIpListInput
func (IpgroupIpListArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]IpgroupIpList)(nil)).Elem()
}
func (i IpgroupIpListArray) ToIpgroupIpListArrayOutput() IpgroupIpListArrayOutput {
return i.ToIpgroupIpListArrayOutputWithContext(context.Background())
}
func (i IpgroupIpListArray) ToIpgroupIpListArrayOutputWithContext(ctx context.Context) IpgroupIpListArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(IpgroupIpListArrayOutput)
}
type IpgroupIpListOutput struct{ *pulumi.OutputState }
func (IpgroupIpListOutput) ElementType() reflect.Type {
return reflect.TypeOf((*IpgroupIpList)(nil)).Elem()
}
func (o IpgroupIpListOutput) ToIpgroupIpListOutput() IpgroupIpListOutput {
return o
}
func (o IpgroupIpListOutput) ToIpgroupIpListOutputWithContext(ctx context.Context) IpgroupIpListOutput {
return o
}
// Human-readable description for the ip.
func (o IpgroupIpListOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v IpgroupIpList) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// IP address or CIDR block.
func (o IpgroupIpListOutput) Ip() pulumi.StringOutput {
return o.ApplyT(func(v IpgroupIpList) string { return v.Ip }).(pulumi.StringOutput)
}
type IpgroupIpListArrayOutput struct{ *pulumi.OutputState }
func (IpgroupIpListArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]IpgroupIpList)(nil)).Elem()
}
func (o IpgroupIpListArrayOutput) ToIpgroupIpListArrayOutput() IpgroupIpListArrayOutput {
return o
}
func (o IpgroupIpListArrayOutput) ToIpgroupIpListArrayOutputWithContext(ctx context.Context) IpgroupIpListArrayOutput {
return o
}
func (o IpgroupIpListArrayOutput) Index(i pulumi.IntInput) IpgroupIpListOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpgroupIpList {
return vs[0].([]IpgroupIpList)[vs[1].(int)]
}).(IpgroupIpListOutput)
}
type PoolPersistence struct {
// The name of the cookie if persistence mode is set appropriately. Required
// if `type = APP_COOKIE`.
CookieName *string `pulumi:"cookieName"`
// Specifies the sticky session timeout duration in minutes. This parameter is
// invalid when type is set to APP_COOKIE. The value range varies depending on the protocol of the backend server group:
// + When the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60.
// + When the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440.
Timeout *int `pulumi:"timeout"`
// The type of persistence mode. The current specification supports SOURCE_IP,
// HTTP_COOKIE, and APP_COOKIE.
Type string `pulumi:"type"`
}
// PoolPersistenceInput is an input type that accepts PoolPersistenceArgs and PoolPersistenceOutput values.
// You can construct a concrete instance of `PoolPersistenceInput` via:
//
// PoolPersistenceArgs{...}
type PoolPersistenceInput interface {
pulumi.Input
ToPoolPersistenceOutput() PoolPersistenceOutput
ToPoolPersistenceOutputWithContext(context.Context) PoolPersistenceOutput
}
type PoolPersistenceArgs struct {
// The name of the cookie if persistence mode is set appropriately. Required
// if `type = APP_COOKIE`.
CookieName pulumi.StringPtrInput `pulumi:"cookieName"`
// Specifies the sticky session timeout duration in minutes. This parameter is
// invalid when type is set to APP_COOKIE. The value range varies depending on the protocol of the backend server group:
// + When the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60.
// + When the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440.
Timeout pulumi.IntPtrInput `pulumi:"timeout"`
// The type of persistence mode. The current specification supports SOURCE_IP,
// HTTP_COOKIE, and APP_COOKIE.
Type pulumi.StringInput `pulumi:"type"`
}
func (PoolPersistenceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolPersistence)(nil)).Elem()
}
func (i PoolPersistenceArgs) ToPoolPersistenceOutput() PoolPersistenceOutput {
return i.ToPoolPersistenceOutputWithContext(context.Background())
}
func (i PoolPersistenceArgs) ToPoolPersistenceOutputWithContext(ctx context.Context) PoolPersistenceOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolPersistenceOutput)
}
// PoolPersistenceArrayInput is an input type that accepts PoolPersistenceArray and PoolPersistenceArrayOutput values.
// You can construct a concrete instance of `PoolPersistenceArrayInput` via:
//
// PoolPersistenceArray{ PoolPersistenceArgs{...} }
type PoolPersistenceArrayInput interface {
pulumi.Input
ToPoolPersistenceArrayOutput() PoolPersistenceArrayOutput
ToPoolPersistenceArrayOutputWithContext(context.Context) PoolPersistenceArrayOutput
}
type PoolPersistenceArray []PoolPersistenceInput
func (PoolPersistenceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolPersistence)(nil)).Elem()
}
func (i PoolPersistenceArray) ToPoolPersistenceArrayOutput() PoolPersistenceArrayOutput {
return i.ToPoolPersistenceArrayOutputWithContext(context.Background())
}
func (i PoolPersistenceArray) ToPoolPersistenceArrayOutputWithContext(ctx context.Context) PoolPersistenceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolPersistenceArrayOutput)
}
type PoolPersistenceOutput struct{ *pulumi.OutputState }
func (PoolPersistenceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolPersistence)(nil)).Elem()
}
func (o PoolPersistenceOutput) ToPoolPersistenceOutput() PoolPersistenceOutput {
return o
}
func (o PoolPersistenceOutput) ToPoolPersistenceOutputWithContext(ctx context.Context) PoolPersistenceOutput {
return o
}
// The name of the cookie if persistence mode is set appropriately. Required
// if `type = APP_COOKIE`.
func (o PoolPersistenceOutput) CookieName() pulumi.StringPtrOutput {
return o.ApplyT(func(v PoolPersistence) *string { return v.CookieName }).(pulumi.StringPtrOutput)
}
// Specifies the sticky session timeout duration in minutes. This parameter is
// invalid when type is set to APP_COOKIE. The value range varies depending on the protocol of the backend server group:
// + When the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60.
// + When the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440.
func (o PoolPersistenceOutput) Timeout() pulumi.IntPtrOutput {
return o.ApplyT(func(v PoolPersistence) *int { return v.Timeout }).(pulumi.IntPtrOutput)
}
// The type of persistence mode. The current specification supports SOURCE_IP,
// HTTP_COOKIE, and APP_COOKIE.
func (o PoolPersistenceOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v PoolPersistence) string { return v.Type }).(pulumi.StringOutput)
}
type PoolPersistenceArrayOutput struct{ *pulumi.OutputState }
func (PoolPersistenceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolPersistence)(nil)).Elem()
}
func (o PoolPersistenceArrayOutput) ToPoolPersistenceArrayOutput() PoolPersistenceArrayOutput {
return o
}
func (o PoolPersistenceArrayOutput) ToPoolPersistenceArrayOutputWithContext(ctx context.Context) PoolPersistenceArrayOutput {
return o
}
func (o PoolPersistenceArrayOutput) Index(i pulumi.IntInput) PoolPersistenceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) PoolPersistence {
return vs[0].([]PoolPersistence)[vs[1].(int)]
}).(PoolPersistenceOutput)
}
type GetFlavorsFlavor struct {
// Specifies the bandwidth size(Mbit/s) in the flavor.
Bandwidth int `pulumi:"bandwidth"`
// Specifies the cps in the flavor.
Cps int `pulumi:"cps"`
// ID of the flavor.
Id string `pulumi:"id"`
// Specifies the maximum connections in the flavor.
MaxConnections int `pulumi:"maxConnections"`
// Name of the flavor.
Name string `pulumi:"name"`
// Specifies the qps in the L7 flavor.
Qps int `pulumi:"qps"`
// Specifies the flavor type. Valid values are L4 and L7.
Type string `pulumi:"type"`
}
// GetFlavorsFlavorInput is an input type that accepts GetFlavorsFlavorArgs and GetFlavorsFlavorOutput values.
// You can construct a concrete instance of `GetFlavorsFlavorInput` via:
//
// GetFlavorsFlavorArgs{...}
type GetFlavorsFlavorInput interface {
pulumi.Input
ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput
ToGetFlavorsFlavorOutputWithContext(context.Context) GetFlavorsFlavorOutput
}
type GetFlavorsFlavorArgs struct {
// Specifies the bandwidth size(Mbit/s) in the flavor.
Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
// Specifies the cps in the flavor.
Cps pulumi.IntInput `pulumi:"cps"`
// ID of the flavor.
Id pulumi.StringInput `pulumi:"id"`
// Specifies the maximum connections in the flavor.
MaxConnections pulumi.IntInput `pulumi:"maxConnections"`
// Name of the flavor.
Name pulumi.StringInput `pulumi:"name"`
// Specifies the qps in the L7 flavor.
Qps pulumi.IntInput `pulumi:"qps"`
// Specifies the flavor type. Valid values are L4 and L7.
Type pulumi.StringInput `pulumi:"type"`
}
func (GetFlavorsFlavorArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetFlavorsFlavor)(nil)).Elem()
}
func (i GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput {
return i.ToGetFlavorsFlavorOutputWithContext(context.Background())
}
func (i GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutputWithContext(ctx context.Context) GetFlavorsFlavorOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetFlavorsFlavorOutput)
}
// GetFlavorsFlavorArrayInput is an input type that accepts GetFlavorsFlavorArray and GetFlavorsFlavorArrayOutput values.
// You can construct a concrete instance of `GetFlavorsFlavorArrayInput` via:
//
// GetFlavorsFlavorArray{ GetFlavorsFlavorArgs{...} }
type GetFlavorsFlavorArrayInput interface {
pulumi.Input
ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput
ToGetFlavorsFlavorArrayOutputWithContext(context.Context) GetFlavorsFlavorArrayOutput
}
type GetFlavorsFlavorArray []GetFlavorsFlavorInput
func (GetFlavorsFlavorArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetFlavorsFlavor)(nil)).Elem()
}
func (i GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput {
return i.ToGetFlavorsFlavorArrayOutputWithContext(context.Background())
}
func (i GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetFlavorsFlavorArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetFlavorsFlavorArrayOutput)
}
type GetFlavorsFlavorOutput struct{ *pulumi.OutputState }
func (GetFlavorsFlavorOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetFlavorsFlavor)(nil)).Elem()
}
func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput {
return o
}
func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutputWithContext(ctx context.Context) GetFlavorsFlavorOutput {
return o
}
// Specifies the bandwidth size(Mbit/s) in the flavor.
func (o GetFlavorsFlavorOutput) Bandwidth() pulumi.IntOutput {
return o.ApplyT(func(v GetFlavorsFlavor) int { return v.Bandwidth }).(pulumi.IntOutput)
}
// Specifies the cps in the flavor.
func (o GetFlavorsFlavorOutput) Cps() pulumi.IntOutput {
return o.ApplyT(func(v GetFlavorsFlavor) int { return v.Cps }).(pulumi.IntOutput)
}
// ID of the flavor.
func (o GetFlavorsFlavorOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetFlavorsFlavor) string { return v.Id }).(pulumi.StringOutput)
}
// Specifies the maximum connections in the flavor.
func (o GetFlavorsFlavorOutput) MaxConnections() pulumi.IntOutput {
return o.ApplyT(func(v GetFlavorsFlavor) int { return v.MaxConnections }).(pulumi.IntOutput)
}
// Name of the flavor.
func (o GetFlavorsFlavorOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetFlavorsFlavor) string { return v.Name }).(pulumi.StringOutput)
}
// Specifies the qps in the L7 flavor.
func (o GetFlavorsFlavorOutput) Qps() pulumi.IntOutput {
return o.ApplyT(func(v GetFlavorsFlavor) int { return v.Qps }).(pulumi.IntOutput)
}
// Specifies the flavor type. Valid values are L4 and L7.
func (o GetFlavorsFlavorOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v GetFlavorsFlavor) string { return v.Type }).(pulumi.StringOutput)
}
type GetFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }
func (GetFlavorsFlavorArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetFlavorsFlavor)(nil)).Elem()
}
func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput {
return o
}
func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetFlavorsFlavorArrayOutput {
return o
}
func (o GetFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetFlavorsFlavorOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlavorsFlavor {
return vs[0].([]GetFlavorsFlavor)[vs[1].(int)]
}).(GetFlavorsFlavorOutput)
}
type GetPoolsPool struct {
// Specifies the description of the ELB pool.
Description string `pulumi:"description"`
// Specifies the health monitor ID of the ELB pool.
HealthmonitorId string `pulumi:"healthmonitorId"`
// The listener, loadbalancer or member ID.
Id string `pulumi:"id"`
// The IP version of the LB pool.
IpVersion string `pulumi:"ipVersion"`
// Specifies the method of the ELB pool. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS,
// or SOURCE_IP.
LbMethod string `pulumi:"lbMethod"`
// The listener list. The object structure is documented below.
Listeners []GetPoolsPoolListener `pulumi:"listeners"`
// The loadbalancer list. The object structure is documented below.
Loadbalancers []GetPoolsPoolLoadbalancer `pulumi:"loadbalancers"`
// The member list. The object structure is documented below.
Members []GetPoolsPoolMember `pulumi:"members"`
// Specifies the name of the ELB pool.
Name string `pulumi:"name"`
// Indicates whether connections in the same session will be processed by the same pool member or not.
// The object structure is documented below.
Persistences []GetPoolsPoolPersistence `pulumi:"persistences"`
// Specifies the protocol of the ELB pool. This can either be TCP, UDP or HTTP.
Protocol string `pulumi:"protocol"`
}
// GetPoolsPoolInput is an input type that accepts GetPoolsPoolArgs and GetPoolsPoolOutput values.
// You can construct a concrete instance of `GetPoolsPoolInput` via:
//
// GetPoolsPoolArgs{...}
type GetPoolsPoolInput interface {
pulumi.Input
ToGetPoolsPoolOutput() GetPoolsPoolOutput
ToGetPoolsPoolOutputWithContext(context.Context) GetPoolsPoolOutput
}
type GetPoolsPoolArgs struct {
// Specifies the description of the ELB pool.
Description pulumi.StringInput `pulumi:"description"`
// Specifies the health monitor ID of the ELB pool.
HealthmonitorId pulumi.StringInput `pulumi:"healthmonitorId"`
// The listener, loadbalancer or member ID.
Id pulumi.StringInput `pulumi:"id"`
// The IP version of the LB pool.
IpVersion pulumi.StringInput `pulumi:"ipVersion"`
// Specifies the method of the ELB pool. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS,
// or SOURCE_IP.
LbMethod pulumi.StringInput `pulumi:"lbMethod"`
// The listener list. The object structure is documented below.
Listeners GetPoolsPoolListenerArrayInput `pulumi:"listeners"`
// The loadbalancer list. The object structure is documented below.
Loadbalancers GetPoolsPoolLoadbalancerArrayInput `pulumi:"loadbalancers"`
// The member list. The object structure is documented below.
Members GetPoolsPoolMemberArrayInput `pulumi:"members"`
// Specifies the name of the ELB pool.
Name pulumi.StringInput `pulumi:"name"`
// Indicates whether connections in the same session will be processed by the same pool member or not.
// The object structure is documented below.
Persistences GetPoolsPoolPersistenceArrayInput `pulumi:"persistences"`
// Specifies the protocol of the ELB pool. This can either be TCP, UDP or HTTP.
Protocol pulumi.StringInput `pulumi:"protocol"`
}
func (GetPoolsPoolArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPool)(nil)).Elem()
}
func (i GetPoolsPoolArgs) ToGetPoolsPoolOutput() GetPoolsPoolOutput {
return i.ToGetPoolsPoolOutputWithContext(context.Background())
}
func (i GetPoolsPoolArgs) ToGetPoolsPoolOutputWithContext(ctx context.Context) GetPoolsPoolOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolOutput)
}
// GetPoolsPoolArrayInput is an input type that accepts GetPoolsPoolArray and GetPoolsPoolArrayOutput values.
// You can construct a concrete instance of `GetPoolsPoolArrayInput` via:
//
// GetPoolsPoolArray{ GetPoolsPoolArgs{...} }
type GetPoolsPoolArrayInput interface {
pulumi.Input
ToGetPoolsPoolArrayOutput() GetPoolsPoolArrayOutput
ToGetPoolsPoolArrayOutputWithContext(context.Context) GetPoolsPoolArrayOutput
}
type GetPoolsPoolArray []GetPoolsPoolInput
func (GetPoolsPoolArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPool)(nil)).Elem()
}
func (i GetPoolsPoolArray) ToGetPoolsPoolArrayOutput() GetPoolsPoolArrayOutput {
return i.ToGetPoolsPoolArrayOutputWithContext(context.Background())
}
func (i GetPoolsPoolArray) ToGetPoolsPoolArrayOutputWithContext(ctx context.Context) GetPoolsPoolArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolArrayOutput)
}
type GetPoolsPoolOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPool)(nil)).Elem()
}
func (o GetPoolsPoolOutput) ToGetPoolsPoolOutput() GetPoolsPoolOutput {
return o
}
func (o GetPoolsPoolOutput) ToGetPoolsPoolOutputWithContext(ctx context.Context) GetPoolsPoolOutput {
return o
}
// Specifies the description of the ELB pool.
func (o GetPoolsPoolOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.Description }).(pulumi.StringOutput)
}
// Specifies the health monitor ID of the ELB pool.
func (o GetPoolsPoolOutput) HealthmonitorId() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.HealthmonitorId }).(pulumi.StringOutput)
}
// The listener, loadbalancer or member ID.
func (o GetPoolsPoolOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.Id }).(pulumi.StringOutput)
}
// The IP version of the LB pool.
func (o GetPoolsPoolOutput) IpVersion() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.IpVersion }).(pulumi.StringOutput)
}
// Specifies the method of the ELB pool. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS,
// or SOURCE_IP.
func (o GetPoolsPoolOutput) LbMethod() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.LbMethod }).(pulumi.StringOutput)
}
// The listener list. The object structure is documented below.
func (o GetPoolsPoolOutput) Listeners() GetPoolsPoolListenerArrayOutput {
return o.ApplyT(func(v GetPoolsPool) []GetPoolsPoolListener { return v.Listeners }).(GetPoolsPoolListenerArrayOutput)
}
// The loadbalancer list. The object structure is documented below.
func (o GetPoolsPoolOutput) Loadbalancers() GetPoolsPoolLoadbalancerArrayOutput {
return o.ApplyT(func(v GetPoolsPool) []GetPoolsPoolLoadbalancer { return v.Loadbalancers }).(GetPoolsPoolLoadbalancerArrayOutput)
}
// The member list. The object structure is documented below.
func (o GetPoolsPoolOutput) Members() GetPoolsPoolMemberArrayOutput {
return o.ApplyT(func(v GetPoolsPool) []GetPoolsPoolMember { return v.Members }).(GetPoolsPoolMemberArrayOutput)
}
// Specifies the name of the ELB pool.
func (o GetPoolsPoolOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.Name }).(pulumi.StringOutput)
}
// Indicates whether connections in the same session will be processed by the same pool member or not.
// The object structure is documented below.
func (o GetPoolsPoolOutput) Persistences() GetPoolsPoolPersistenceArrayOutput {
return o.ApplyT(func(v GetPoolsPool) []GetPoolsPoolPersistence { return v.Persistences }).(GetPoolsPoolPersistenceArrayOutput)
}
// Specifies the protocol of the ELB pool. This can either be TCP, UDP or HTTP.
func (o GetPoolsPoolOutput) Protocol() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPool) string { return v.Protocol }).(pulumi.StringOutput)
}
type GetPoolsPoolArrayOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPool)(nil)).Elem()
}
func (o GetPoolsPoolArrayOutput) ToGetPoolsPoolArrayOutput() GetPoolsPoolArrayOutput {
return o
}
func (o GetPoolsPoolArrayOutput) ToGetPoolsPoolArrayOutputWithContext(ctx context.Context) GetPoolsPoolArrayOutput {
return o
}
func (o GetPoolsPoolArrayOutput) Index(i pulumi.IntInput) GetPoolsPoolOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoolsPool {
return vs[0].([]GetPoolsPool)[vs[1].(int)]
}).(GetPoolsPoolOutput)
}
type GetPoolsPoolListener struct {
// The listener, loadbalancer or member ID.
Id string `pulumi:"id"`
}
// GetPoolsPoolListenerInput is an input type that accepts GetPoolsPoolListenerArgs and GetPoolsPoolListenerOutput values.
// You can construct a concrete instance of `GetPoolsPoolListenerInput` via:
//
// GetPoolsPoolListenerArgs{...}
type GetPoolsPoolListenerInput interface {
pulumi.Input
ToGetPoolsPoolListenerOutput() GetPoolsPoolListenerOutput
ToGetPoolsPoolListenerOutputWithContext(context.Context) GetPoolsPoolListenerOutput
}
type GetPoolsPoolListenerArgs struct {
// The listener, loadbalancer or member ID.
Id pulumi.StringInput `pulumi:"id"`
}
func (GetPoolsPoolListenerArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolListener)(nil)).Elem()
}
func (i GetPoolsPoolListenerArgs) ToGetPoolsPoolListenerOutput() GetPoolsPoolListenerOutput {
return i.ToGetPoolsPoolListenerOutputWithContext(context.Background())
}
func (i GetPoolsPoolListenerArgs) ToGetPoolsPoolListenerOutputWithContext(ctx context.Context) GetPoolsPoolListenerOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolListenerOutput)
}
// GetPoolsPoolListenerArrayInput is an input type that accepts GetPoolsPoolListenerArray and GetPoolsPoolListenerArrayOutput values.
// You can construct a concrete instance of `GetPoolsPoolListenerArrayInput` via:
//
// GetPoolsPoolListenerArray{ GetPoolsPoolListenerArgs{...} }
type GetPoolsPoolListenerArrayInput interface {
pulumi.Input
ToGetPoolsPoolListenerArrayOutput() GetPoolsPoolListenerArrayOutput
ToGetPoolsPoolListenerArrayOutputWithContext(context.Context) GetPoolsPoolListenerArrayOutput
}
type GetPoolsPoolListenerArray []GetPoolsPoolListenerInput
func (GetPoolsPoolListenerArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolListener)(nil)).Elem()
}
func (i GetPoolsPoolListenerArray) ToGetPoolsPoolListenerArrayOutput() GetPoolsPoolListenerArrayOutput {
return i.ToGetPoolsPoolListenerArrayOutputWithContext(context.Background())
}
func (i GetPoolsPoolListenerArray) ToGetPoolsPoolListenerArrayOutputWithContext(ctx context.Context) GetPoolsPoolListenerArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolListenerArrayOutput)
}
type GetPoolsPoolListenerOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolListenerOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolListener)(nil)).Elem()
}
func (o GetPoolsPoolListenerOutput) ToGetPoolsPoolListenerOutput() GetPoolsPoolListenerOutput {
return o
}
func (o GetPoolsPoolListenerOutput) ToGetPoolsPoolListenerOutputWithContext(ctx context.Context) GetPoolsPoolListenerOutput {
return o
}
// The listener, loadbalancer or member ID.
func (o GetPoolsPoolListenerOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPoolListener) string { return v.Id }).(pulumi.StringOutput)
}
type GetPoolsPoolListenerArrayOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolListenerArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolListener)(nil)).Elem()
}
func (o GetPoolsPoolListenerArrayOutput) ToGetPoolsPoolListenerArrayOutput() GetPoolsPoolListenerArrayOutput {
return o
}
func (o GetPoolsPoolListenerArrayOutput) ToGetPoolsPoolListenerArrayOutputWithContext(ctx context.Context) GetPoolsPoolListenerArrayOutput {
return o
}
func (o GetPoolsPoolListenerArrayOutput) Index(i pulumi.IntInput) GetPoolsPoolListenerOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoolsPoolListener {
return vs[0].([]GetPoolsPoolListener)[vs[1].(int)]
}).(GetPoolsPoolListenerOutput)
}
type GetPoolsPoolLoadbalancer struct {
// The listener, loadbalancer or member ID.
Id string `pulumi:"id"`
}
// GetPoolsPoolLoadbalancerInput is an input type that accepts GetPoolsPoolLoadbalancerArgs and GetPoolsPoolLoadbalancerOutput values.
// You can construct a concrete instance of `GetPoolsPoolLoadbalancerInput` via:
//
// GetPoolsPoolLoadbalancerArgs{...}
type GetPoolsPoolLoadbalancerInput interface {
pulumi.Input
ToGetPoolsPoolLoadbalancerOutput() GetPoolsPoolLoadbalancerOutput
ToGetPoolsPoolLoadbalancerOutputWithContext(context.Context) GetPoolsPoolLoadbalancerOutput
}
type GetPoolsPoolLoadbalancerArgs struct {
// The listener, loadbalancer or member ID.
Id pulumi.StringInput `pulumi:"id"`
}
func (GetPoolsPoolLoadbalancerArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolLoadbalancer)(nil)).Elem()
}
func (i GetPoolsPoolLoadbalancerArgs) ToGetPoolsPoolLoadbalancerOutput() GetPoolsPoolLoadbalancerOutput {
return i.ToGetPoolsPoolLoadbalancerOutputWithContext(context.Background())
}
func (i GetPoolsPoolLoadbalancerArgs) ToGetPoolsPoolLoadbalancerOutputWithContext(ctx context.Context) GetPoolsPoolLoadbalancerOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolLoadbalancerOutput)
}
// GetPoolsPoolLoadbalancerArrayInput is an input type that accepts GetPoolsPoolLoadbalancerArray and GetPoolsPoolLoadbalancerArrayOutput values.
// You can construct a concrete instance of `GetPoolsPoolLoadbalancerArrayInput` via:
//
// GetPoolsPoolLoadbalancerArray{ GetPoolsPoolLoadbalancerArgs{...} }
type GetPoolsPoolLoadbalancerArrayInput interface {
pulumi.Input
ToGetPoolsPoolLoadbalancerArrayOutput() GetPoolsPoolLoadbalancerArrayOutput
ToGetPoolsPoolLoadbalancerArrayOutputWithContext(context.Context) GetPoolsPoolLoadbalancerArrayOutput
}
type GetPoolsPoolLoadbalancerArray []GetPoolsPoolLoadbalancerInput
func (GetPoolsPoolLoadbalancerArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolLoadbalancer)(nil)).Elem()
}
func (i GetPoolsPoolLoadbalancerArray) ToGetPoolsPoolLoadbalancerArrayOutput() GetPoolsPoolLoadbalancerArrayOutput {
return i.ToGetPoolsPoolLoadbalancerArrayOutputWithContext(context.Background())
}
func (i GetPoolsPoolLoadbalancerArray) ToGetPoolsPoolLoadbalancerArrayOutputWithContext(ctx context.Context) GetPoolsPoolLoadbalancerArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolLoadbalancerArrayOutput)
}
type GetPoolsPoolLoadbalancerOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolLoadbalancerOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolLoadbalancer)(nil)).Elem()
}
func (o GetPoolsPoolLoadbalancerOutput) ToGetPoolsPoolLoadbalancerOutput() GetPoolsPoolLoadbalancerOutput {
return o
}
func (o GetPoolsPoolLoadbalancerOutput) ToGetPoolsPoolLoadbalancerOutputWithContext(ctx context.Context) GetPoolsPoolLoadbalancerOutput {
return o
}
// The listener, loadbalancer or member ID.
func (o GetPoolsPoolLoadbalancerOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPoolLoadbalancer) string { return v.Id }).(pulumi.StringOutput)
}
type GetPoolsPoolLoadbalancerArrayOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolLoadbalancerArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolLoadbalancer)(nil)).Elem()
}
func (o GetPoolsPoolLoadbalancerArrayOutput) ToGetPoolsPoolLoadbalancerArrayOutput() GetPoolsPoolLoadbalancerArrayOutput {
return o
}
func (o GetPoolsPoolLoadbalancerArrayOutput) ToGetPoolsPoolLoadbalancerArrayOutputWithContext(ctx context.Context) GetPoolsPoolLoadbalancerArrayOutput {
return o
}
func (o GetPoolsPoolLoadbalancerArrayOutput) Index(i pulumi.IntInput) GetPoolsPoolLoadbalancerOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoolsPoolLoadbalancer {
return vs[0].([]GetPoolsPoolLoadbalancer)[vs[1].(int)]
}).(GetPoolsPoolLoadbalancerOutput)
}
type GetPoolsPoolMember struct {
// The listener, loadbalancer or member ID.
Id string `pulumi:"id"`
}
// GetPoolsPoolMemberInput is an input type that accepts GetPoolsPoolMemberArgs and GetPoolsPoolMemberOutput values.
// You can construct a concrete instance of `GetPoolsPoolMemberInput` via:
//
// GetPoolsPoolMemberArgs{...}
type GetPoolsPoolMemberInput interface {
pulumi.Input
ToGetPoolsPoolMemberOutput() GetPoolsPoolMemberOutput
ToGetPoolsPoolMemberOutputWithContext(context.Context) GetPoolsPoolMemberOutput
}
type GetPoolsPoolMemberArgs struct {
// The listener, loadbalancer or member ID.
Id pulumi.StringInput `pulumi:"id"`
}
func (GetPoolsPoolMemberArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolMember)(nil)).Elem()
}
func (i GetPoolsPoolMemberArgs) ToGetPoolsPoolMemberOutput() GetPoolsPoolMemberOutput {
return i.ToGetPoolsPoolMemberOutputWithContext(context.Background())
}
func (i GetPoolsPoolMemberArgs) ToGetPoolsPoolMemberOutputWithContext(ctx context.Context) GetPoolsPoolMemberOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolMemberOutput)
}
// GetPoolsPoolMemberArrayInput is an input type that accepts GetPoolsPoolMemberArray and GetPoolsPoolMemberArrayOutput values.
// You can construct a concrete instance of `GetPoolsPoolMemberArrayInput` via:
//
// GetPoolsPoolMemberArray{ GetPoolsPoolMemberArgs{...} }
type GetPoolsPoolMemberArrayInput interface {
pulumi.Input
ToGetPoolsPoolMemberArrayOutput() GetPoolsPoolMemberArrayOutput
ToGetPoolsPoolMemberArrayOutputWithContext(context.Context) GetPoolsPoolMemberArrayOutput
}
type GetPoolsPoolMemberArray []GetPoolsPoolMemberInput
func (GetPoolsPoolMemberArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolMember)(nil)).Elem()
}
func (i GetPoolsPoolMemberArray) ToGetPoolsPoolMemberArrayOutput() GetPoolsPoolMemberArrayOutput {
return i.ToGetPoolsPoolMemberArrayOutputWithContext(context.Background())
}
func (i GetPoolsPoolMemberArray) ToGetPoolsPoolMemberArrayOutputWithContext(ctx context.Context) GetPoolsPoolMemberArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolMemberArrayOutput)
}
type GetPoolsPoolMemberOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolMemberOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolMember)(nil)).Elem()
}
func (o GetPoolsPoolMemberOutput) ToGetPoolsPoolMemberOutput() GetPoolsPoolMemberOutput {
return o
}
func (o GetPoolsPoolMemberOutput) ToGetPoolsPoolMemberOutputWithContext(ctx context.Context) GetPoolsPoolMemberOutput {
return o
}
// The listener, loadbalancer or member ID.
func (o GetPoolsPoolMemberOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPoolMember) string { return v.Id }).(pulumi.StringOutput)
}
type GetPoolsPoolMemberArrayOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolMemberArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolMember)(nil)).Elem()
}
func (o GetPoolsPoolMemberArrayOutput) ToGetPoolsPoolMemberArrayOutput() GetPoolsPoolMemberArrayOutput {
return o
}
func (o GetPoolsPoolMemberArrayOutput) ToGetPoolsPoolMemberArrayOutputWithContext(ctx context.Context) GetPoolsPoolMemberArrayOutput {
return o
}
func (o GetPoolsPoolMemberArrayOutput) Index(i pulumi.IntInput) GetPoolsPoolMemberOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoolsPoolMember {
return vs[0].([]GetPoolsPoolMember)[vs[1].(int)]
}).(GetPoolsPoolMemberOutput)
}
type GetPoolsPoolPersistence struct {
// The name of the cookie if persistence mode is set appropriately.
CookieName string `pulumi:"cookieName"`
// The type of persistence mode.
Type string `pulumi:"type"`
}
// GetPoolsPoolPersistenceInput is an input type that accepts GetPoolsPoolPersistenceArgs and GetPoolsPoolPersistenceOutput values.
// You can construct a concrete instance of `GetPoolsPoolPersistenceInput` via:
//
// GetPoolsPoolPersistenceArgs{...}
type GetPoolsPoolPersistenceInput interface {
pulumi.Input
ToGetPoolsPoolPersistenceOutput() GetPoolsPoolPersistenceOutput
ToGetPoolsPoolPersistenceOutputWithContext(context.Context) GetPoolsPoolPersistenceOutput
}
type GetPoolsPoolPersistenceArgs struct {
// The name of the cookie if persistence mode is set appropriately.
CookieName pulumi.StringInput `pulumi:"cookieName"`
// The type of persistence mode.
Type pulumi.StringInput `pulumi:"type"`
}
func (GetPoolsPoolPersistenceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolPersistence)(nil)).Elem()
}
func (i GetPoolsPoolPersistenceArgs) ToGetPoolsPoolPersistenceOutput() GetPoolsPoolPersistenceOutput {
return i.ToGetPoolsPoolPersistenceOutputWithContext(context.Background())
}
func (i GetPoolsPoolPersistenceArgs) ToGetPoolsPoolPersistenceOutputWithContext(ctx context.Context) GetPoolsPoolPersistenceOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolPersistenceOutput)
}
// GetPoolsPoolPersistenceArrayInput is an input type that accepts GetPoolsPoolPersistenceArray and GetPoolsPoolPersistenceArrayOutput values.
// You can construct a concrete instance of `GetPoolsPoolPersistenceArrayInput` via:
//
// GetPoolsPoolPersistenceArray{ GetPoolsPoolPersistenceArgs{...} }
type GetPoolsPoolPersistenceArrayInput interface {
pulumi.Input
ToGetPoolsPoolPersistenceArrayOutput() GetPoolsPoolPersistenceArrayOutput
ToGetPoolsPoolPersistenceArrayOutputWithContext(context.Context) GetPoolsPoolPersistenceArrayOutput
}
type GetPoolsPoolPersistenceArray []GetPoolsPoolPersistenceInput
func (GetPoolsPoolPersistenceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolPersistence)(nil)).Elem()
}
func (i GetPoolsPoolPersistenceArray) ToGetPoolsPoolPersistenceArrayOutput() GetPoolsPoolPersistenceArrayOutput {
return i.ToGetPoolsPoolPersistenceArrayOutputWithContext(context.Background())
}
func (i GetPoolsPoolPersistenceArray) ToGetPoolsPoolPersistenceArrayOutputWithContext(ctx context.Context) GetPoolsPoolPersistenceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPoolsPoolPersistenceArrayOutput)
}
type GetPoolsPoolPersistenceOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolPersistenceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPoolsPoolPersistence)(nil)).Elem()
}
func (o GetPoolsPoolPersistenceOutput) ToGetPoolsPoolPersistenceOutput() GetPoolsPoolPersistenceOutput {
return o
}
func (o GetPoolsPoolPersistenceOutput) ToGetPoolsPoolPersistenceOutputWithContext(ctx context.Context) GetPoolsPoolPersistenceOutput {
return o
}
// The name of the cookie if persistence mode is set appropriately.
func (o GetPoolsPoolPersistenceOutput) CookieName() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPoolPersistence) string { return v.CookieName }).(pulumi.StringOutput)
}
// The type of persistence mode.
func (o GetPoolsPoolPersistenceOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v GetPoolsPoolPersistence) string { return v.Type }).(pulumi.StringOutput)
}
type GetPoolsPoolPersistenceArrayOutput struct{ *pulumi.OutputState }
func (GetPoolsPoolPersistenceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPoolsPoolPersistence)(nil)).Elem()
}
func (o GetPoolsPoolPersistenceArrayOutput) ToGetPoolsPoolPersistenceArrayOutput() GetPoolsPoolPersistenceArrayOutput {
return o
}
func (o GetPoolsPoolPersistenceArrayOutput) ToGetPoolsPoolPersistenceArrayOutputWithContext(ctx context.Context) GetPoolsPoolPersistenceArrayOutput {
return o
}
func (o GetPoolsPoolPersistenceArrayOutput) Index(i pulumi.IntInput) GetPoolsPoolPersistenceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoolsPoolPersistence {
return vs[0].([]GetPoolsPoolPersistence)[vs[1].(int)]
}).(GetPoolsPoolPersistenceOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*IpgroupIpListInput)(nil)).Elem(), IpgroupIpListArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*IpgroupIpListArrayInput)(nil)).Elem(), IpgroupIpListArray{})
pulumi.RegisterInputType(reflect.TypeOf((*PoolPersistenceInput)(nil)).Elem(), PoolPersistenceArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*PoolPersistenceArrayInput)(nil)).Elem(), PoolPersistenceArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetFlavorsFlavorInput)(nil)).Elem(), GetFlavorsFlavorArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetFlavorsFlavorArrayInput)(nil)).Elem(), GetFlavorsFlavorArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPoolsPoolInput)(nil)).Elem(), GetPoolsPoolArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPoolsPoolArrayInput)(nil)).Elem(), GetPoolsPoolArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPoolsPoolListenerInput)(nil)).Elem(), GetPoolsPoolListenerArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetPoolsPoolListenerArrayInput)(nil)).Elem(), GetPoolsPoolListenerArray{})