/
pulumiTypes.go
1036 lines (837 loc) · 43.8 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 Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package vault
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type AuthBackendTune struct {
// List of headers to whitelist and allowing
// a plugin to include them in the response.
AllowedResponseHeaders []string `pulumi:"allowedResponseHeaders"`
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the request data object.
AuditNonHmacRequestKeys []string `pulumi:"auditNonHmacRequestKeys"`
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the response data object.
AuditNonHmacResponseKeys []string `pulumi:"auditNonHmacResponseKeys"`
// Specifies the default time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
DefaultLeaseTtl *string `pulumi:"defaultLeaseTtl"`
// Specifies whether to show this mount in
// the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
ListingVisibility *string `pulumi:"listingVisibility"`
// Specifies the maximum time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
MaxLeaseTtl *string `pulumi:"maxLeaseTtl"`
// List of headers to whitelist and
// pass from the request to the backend.
PassthroughRequestHeaders []string `pulumi:"passthroughRequestHeaders"`
// Specifies the type of tokens that should be returned by
// the mount. Valid values are "default-service", "default-batch", "service", "batch".
TokenType *string `pulumi:"tokenType"`
}
// AuthBackendTuneInput is an input type that accepts AuthBackendTuneArgs and AuthBackendTuneOutput values.
// You can construct a concrete instance of `AuthBackendTuneInput` via:
//
// AuthBackendTuneArgs{...}
type AuthBackendTuneInput interface {
pulumi.Input
ToAuthBackendTuneOutput() AuthBackendTuneOutput
ToAuthBackendTuneOutputWithContext(context.Context) AuthBackendTuneOutput
}
type AuthBackendTuneArgs struct {
// List of headers to whitelist and allowing
// a plugin to include them in the response.
AllowedResponseHeaders pulumi.StringArrayInput `pulumi:"allowedResponseHeaders"`
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the request data object.
AuditNonHmacRequestKeys pulumi.StringArrayInput `pulumi:"auditNonHmacRequestKeys"`
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the response data object.
AuditNonHmacResponseKeys pulumi.StringArrayInput `pulumi:"auditNonHmacResponseKeys"`
// Specifies the default time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
DefaultLeaseTtl pulumi.StringPtrInput `pulumi:"defaultLeaseTtl"`
// Specifies whether to show this mount in
// the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
ListingVisibility pulumi.StringPtrInput `pulumi:"listingVisibility"`
// Specifies the maximum time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
MaxLeaseTtl pulumi.StringPtrInput `pulumi:"maxLeaseTtl"`
// List of headers to whitelist and
// pass from the request to the backend.
PassthroughRequestHeaders pulumi.StringArrayInput `pulumi:"passthroughRequestHeaders"`
// Specifies the type of tokens that should be returned by
// the mount. Valid values are "default-service", "default-batch", "service", "batch".
TokenType pulumi.StringPtrInput `pulumi:"tokenType"`
}
func (AuthBackendTuneArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AuthBackendTune)(nil)).Elem()
}
func (i AuthBackendTuneArgs) ToAuthBackendTuneOutput() AuthBackendTuneOutput {
return i.ToAuthBackendTuneOutputWithContext(context.Background())
}
func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput {
return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTuneOutput)
}
func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput {
return i.ToAuthBackendTunePtrOutputWithContext(context.Background())
}
func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTuneOutput).ToAuthBackendTunePtrOutputWithContext(ctx)
}
// AuthBackendTunePtrInput is an input type that accepts AuthBackendTuneArgs, AuthBackendTunePtr and AuthBackendTunePtrOutput values.
// You can construct a concrete instance of `AuthBackendTunePtrInput` via:
//
// AuthBackendTuneArgs{...}
//
// or:
//
// nil
type AuthBackendTunePtrInput interface {
pulumi.Input
ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
ToAuthBackendTunePtrOutputWithContext(context.Context) AuthBackendTunePtrOutput
}
type authBackendTunePtrType AuthBackendTuneArgs
func AuthBackendTunePtr(v *AuthBackendTuneArgs) AuthBackendTunePtrInput {
return (*authBackendTunePtrType)(v)
}
func (*authBackendTunePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AuthBackendTune)(nil)).Elem()
}
func (i *authBackendTunePtrType) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput {
return i.ToAuthBackendTunePtrOutputWithContext(context.Background())
}
func (i *authBackendTunePtrType) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTunePtrOutput)
}
type AuthBackendTuneOutput struct{ *pulumi.OutputState }
func (AuthBackendTuneOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AuthBackendTune)(nil)).Elem()
}
func (o AuthBackendTuneOutput) ToAuthBackendTuneOutput() AuthBackendTuneOutput {
return o
}
func (o AuthBackendTuneOutput) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput {
return o
}
func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput {
return o.ToAuthBackendTunePtrOutputWithContext(context.Background())
}
func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v AuthBackendTune) *AuthBackendTune {
return &v
}).(AuthBackendTunePtrOutput)
}
// List of headers to whitelist and allowing
// a plugin to include them in the response.
func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput {
return o.ApplyT(func(v AuthBackendTune) []string { return v.AllowedResponseHeaders }).(pulumi.StringArrayOutput)
}
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the request data object.
func (o AuthBackendTuneOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput {
return o.ApplyT(func(v AuthBackendTune) []string { return v.AuditNonHmacRequestKeys }).(pulumi.StringArrayOutput)
}
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the response data object.
func (o AuthBackendTuneOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput {
return o.ApplyT(func(v AuthBackendTune) []string { return v.AuditNonHmacResponseKeys }).(pulumi.StringArrayOutput)
}
// Specifies the default time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (o AuthBackendTuneOutput) DefaultLeaseTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v AuthBackendTune) *string { return v.DefaultLeaseTtl }).(pulumi.StringPtrOutput)
}
// Specifies whether to show this mount in
// the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
func (o AuthBackendTuneOutput) ListingVisibility() pulumi.StringPtrOutput {
return o.ApplyT(func(v AuthBackendTune) *string { return v.ListingVisibility }).(pulumi.StringPtrOutput)
}
// Specifies the maximum time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (o AuthBackendTuneOutput) MaxLeaseTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v AuthBackendTune) *string { return v.MaxLeaseTtl }).(pulumi.StringPtrOutput)
}
// List of headers to whitelist and
// pass from the request to the backend.
func (o AuthBackendTuneOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput {
return o.ApplyT(func(v AuthBackendTune) []string { return v.PassthroughRequestHeaders }).(pulumi.StringArrayOutput)
}
// Specifies the type of tokens that should be returned by
// the mount. Valid values are "default-service", "default-batch", "service", "batch".
func (o AuthBackendTuneOutput) TokenType() pulumi.StringPtrOutput {
return o.ApplyT(func(v AuthBackendTune) *string { return v.TokenType }).(pulumi.StringPtrOutput)
}
type AuthBackendTunePtrOutput struct{ *pulumi.OutputState }
func (AuthBackendTunePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AuthBackendTune)(nil)).Elem()
}
func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput {
return o
}
func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput {
return o
}
func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput {
return o.ApplyT(func(v *AuthBackendTune) AuthBackendTune {
if v != nil {
return *v
}
var ret AuthBackendTune
return ret
}).(AuthBackendTuneOutput)
}
// List of headers to whitelist and allowing
// a plugin to include them in the response.
func (o AuthBackendTunePtrOutput) AllowedResponseHeaders() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AuthBackendTune) []string {
if v == nil {
return nil
}
return v.AllowedResponseHeaders
}).(pulumi.StringArrayOutput)
}
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the request data object.
func (o AuthBackendTunePtrOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AuthBackendTune) []string {
if v == nil {
return nil
}
return v.AuditNonHmacRequestKeys
}).(pulumi.StringArrayOutput)
}
// Specifies the list of keys that will
// not be HMAC'd by audit devices in the response data object.
func (o AuthBackendTunePtrOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AuthBackendTune) []string {
if v == nil {
return nil
}
return v.AuditNonHmacResponseKeys
}).(pulumi.StringArrayOutput)
}
// Specifies the default time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (o AuthBackendTunePtrOutput) DefaultLeaseTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AuthBackendTune) *string {
if v == nil {
return nil
}
return v.DefaultLeaseTtl
}).(pulumi.StringPtrOutput)
}
// Specifies whether to show this mount in
// the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
func (o AuthBackendTunePtrOutput) ListingVisibility() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AuthBackendTune) *string {
if v == nil {
return nil
}
return v.ListingVisibility
}).(pulumi.StringPtrOutput)
}
// Specifies the maximum time-to-live.
// If set, this overrides the global default.
// Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (o AuthBackendTunePtrOutput) MaxLeaseTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AuthBackendTune) *string {
if v == nil {
return nil
}
return v.MaxLeaseTtl
}).(pulumi.StringPtrOutput)
}
// List of headers to whitelist and
// pass from the request to the backend.
func (o AuthBackendTunePtrOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AuthBackendTune) []string {
if v == nil {
return nil
}
return v.PassthroughRequestHeaders
}).(pulumi.StringArrayOutput)
}
// Specifies the type of tokens that should be returned by
// the mount. Valid values are "default-service", "default-batch", "service", "batch".
func (o AuthBackendTunePtrOutput) TokenType() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AuthBackendTune) *string {
if v == nil {
return nil
}
return v.TokenType
}).(pulumi.StringPtrOutput)
}
type ProviderAuthLogin struct {
Method *string `pulumi:"method"`
Namespace *string `pulumi:"namespace"`
Parameters map[string]string `pulumi:"parameters"`
Path string `pulumi:"path"`
}
// ProviderAuthLoginInput is an input type that accepts ProviderAuthLoginArgs and ProviderAuthLoginOutput values.
// You can construct a concrete instance of `ProviderAuthLoginInput` via:
//
// ProviderAuthLoginArgs{...}
type ProviderAuthLoginInput interface {
pulumi.Input
ToProviderAuthLoginOutput() ProviderAuthLoginOutput
ToProviderAuthLoginOutputWithContext(context.Context) ProviderAuthLoginOutput
}
type ProviderAuthLoginArgs struct {
Method pulumi.StringPtrInput `pulumi:"method"`
Namespace pulumi.StringPtrInput `pulumi:"namespace"`
Parameters pulumi.StringMapInput `pulumi:"parameters"`
Path pulumi.StringInput `pulumi:"path"`
}
func (ProviderAuthLoginArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderAuthLogin)(nil)).Elem()
}
func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutput() ProviderAuthLoginOutput {
return i.ToProviderAuthLoginOutputWithContext(context.Background())
}
func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOutput)
}
// ProviderAuthLoginArrayInput is an input type that accepts ProviderAuthLoginArray and ProviderAuthLoginArrayOutput values.
// You can construct a concrete instance of `ProviderAuthLoginArrayInput` via:
//
// ProviderAuthLoginArray{ ProviderAuthLoginArgs{...} }
type ProviderAuthLoginArrayInput interface {
pulumi.Input
ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput
ToProviderAuthLoginArrayOutputWithContext(context.Context) ProviderAuthLoginArrayOutput
}
type ProviderAuthLoginArray []ProviderAuthLoginInput
func (ProviderAuthLoginArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderAuthLogin)(nil)).Elem()
}
func (i ProviderAuthLoginArray) ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput {
return i.ToProviderAuthLoginArrayOutputWithContext(context.Background())
}
func (i ProviderAuthLoginArray) ToProviderAuthLoginArrayOutputWithContext(ctx context.Context) ProviderAuthLoginArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginArrayOutput)
}
type ProviderAuthLoginOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderAuthLogin)(nil)).Elem()
}
func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutput() ProviderAuthLoginOutput {
return o
}
func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput {
return o
}
func (o ProviderAuthLoginOutput) Method() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderAuthLogin) *string { return v.Method }).(pulumi.StringPtrOutput)
}
func (o ProviderAuthLoginOutput) Namespace() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderAuthLogin) *string { return v.Namespace }).(pulumi.StringPtrOutput)
}
func (o ProviderAuthLoginOutput) Parameters() pulumi.StringMapOutput {
return o.ApplyT(func(v ProviderAuthLogin) map[string]string { return v.Parameters }).(pulumi.StringMapOutput)
}
func (o ProviderAuthLoginOutput) Path() pulumi.StringOutput {
return o.ApplyT(func(v ProviderAuthLogin) string { return v.Path }).(pulumi.StringOutput)
}
type ProviderAuthLoginArrayOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderAuthLogin)(nil)).Elem()
}
func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput {
return o
}
func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutputWithContext(ctx context.Context) ProviderAuthLoginArrayOutput {
return o
}
func (o ProviderAuthLoginArrayOutput) Index(i pulumi.IntInput) ProviderAuthLoginOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderAuthLogin {
return vs[0].([]ProviderAuthLogin)[vs[1].(int)]
}).(ProviderAuthLoginOutput)
}
type ProviderClientAuth struct {
CertFile string `pulumi:"certFile"`
KeyFile string `pulumi:"keyFile"`
}
// ProviderClientAuthInput is an input type that accepts ProviderClientAuthArgs and ProviderClientAuthOutput values.
// You can construct a concrete instance of `ProviderClientAuthInput` via:
//
// ProviderClientAuthArgs{...}
type ProviderClientAuthInput interface {
pulumi.Input
ToProviderClientAuthOutput() ProviderClientAuthOutput
ToProviderClientAuthOutputWithContext(context.Context) ProviderClientAuthOutput
}
type ProviderClientAuthArgs struct {
CertFile pulumi.StringInput `pulumi:"certFile"`
KeyFile pulumi.StringInput `pulumi:"keyFile"`
}
func (ProviderClientAuthArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderClientAuth)(nil)).Elem()
}
func (i ProviderClientAuthArgs) ToProviderClientAuthOutput() ProviderClientAuthOutput {
return i.ToProviderClientAuthOutputWithContext(context.Background())
}
func (i ProviderClientAuthArgs) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderClientAuthOutput)
}
// ProviderClientAuthArrayInput is an input type that accepts ProviderClientAuthArray and ProviderClientAuthArrayOutput values.
// You can construct a concrete instance of `ProviderClientAuthArrayInput` via:
//
// ProviderClientAuthArray{ ProviderClientAuthArgs{...} }
type ProviderClientAuthArrayInput interface {
pulumi.Input
ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput
ToProviderClientAuthArrayOutputWithContext(context.Context) ProviderClientAuthArrayOutput
}
type ProviderClientAuthArray []ProviderClientAuthInput
func (ProviderClientAuthArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderClientAuth)(nil)).Elem()
}
func (i ProviderClientAuthArray) ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput {
return i.ToProviderClientAuthArrayOutputWithContext(context.Background())
}
func (i ProviderClientAuthArray) ToProviderClientAuthArrayOutputWithContext(ctx context.Context) ProviderClientAuthArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderClientAuthArrayOutput)
}
type ProviderClientAuthOutput struct{ *pulumi.OutputState }
func (ProviderClientAuthOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderClientAuth)(nil)).Elem()
}
func (o ProviderClientAuthOutput) ToProviderClientAuthOutput() ProviderClientAuthOutput {
return o
}
func (o ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput {
return o
}
func (o ProviderClientAuthOutput) CertFile() pulumi.StringOutput {
return o.ApplyT(func(v ProviderClientAuth) string { return v.CertFile }).(pulumi.StringOutput)
}
func (o ProviderClientAuthOutput) KeyFile() pulumi.StringOutput {
return o.ApplyT(func(v ProviderClientAuth) string { return v.KeyFile }).(pulumi.StringOutput)
}
type ProviderClientAuthArrayOutput struct{ *pulumi.OutputState }
func (ProviderClientAuthArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderClientAuth)(nil)).Elem()
}
func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput {
return o
}
func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutputWithContext(ctx context.Context) ProviderClientAuthArrayOutput {
return o
}
func (o ProviderClientAuthArrayOutput) Index(i pulumi.IntInput) ProviderClientAuthOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderClientAuth {
return vs[0].([]ProviderClientAuth)[vs[1].(int)]
}).(ProviderClientAuthOutput)
}
type ProviderHeader struct {
Name string `pulumi:"name"`
Value string `pulumi:"value"`
}
// ProviderHeaderInput is an input type that accepts ProviderHeaderArgs and ProviderHeaderOutput values.
// You can construct a concrete instance of `ProviderHeaderInput` via:
//
// ProviderHeaderArgs{...}
type ProviderHeaderInput interface {
pulumi.Input
ToProviderHeaderOutput() ProviderHeaderOutput
ToProviderHeaderOutputWithContext(context.Context) ProviderHeaderOutput
}
type ProviderHeaderArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (ProviderHeaderArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderHeader)(nil)).Elem()
}
func (i ProviderHeaderArgs) ToProviderHeaderOutput() ProviderHeaderOutput {
return i.ToProviderHeaderOutputWithContext(context.Background())
}
func (i ProviderHeaderArgs) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderHeaderOutput)
}
// ProviderHeaderArrayInput is an input type that accepts ProviderHeaderArray and ProviderHeaderArrayOutput values.
// You can construct a concrete instance of `ProviderHeaderArrayInput` via:
//
// ProviderHeaderArray{ ProviderHeaderArgs{...} }
type ProviderHeaderArrayInput interface {
pulumi.Input
ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput
ToProviderHeaderArrayOutputWithContext(context.Context) ProviderHeaderArrayOutput
}
type ProviderHeaderArray []ProviderHeaderInput
func (ProviderHeaderArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderHeader)(nil)).Elem()
}
func (i ProviderHeaderArray) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput {
return i.ToProviderHeaderArrayOutputWithContext(context.Background())
}
func (i ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderHeaderArrayOutput)
}
type ProviderHeaderOutput struct{ *pulumi.OutputState }
func (ProviderHeaderOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderHeader)(nil)).Elem()
}
func (o ProviderHeaderOutput) ToProviderHeaderOutput() ProviderHeaderOutput {
return o
}
func (o ProviderHeaderOutput) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput {
return o
}
func (o ProviderHeaderOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ProviderHeader) string { return v.Name }).(pulumi.StringOutput)
}
func (o ProviderHeaderOutput) Value() pulumi.StringOutput {
return o.ApplyT(func(v ProviderHeader) string { return v.Value }).(pulumi.StringOutput)
}
type ProviderHeaderArrayOutput struct{ *pulumi.OutputState }
func (ProviderHeaderArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderHeader)(nil)).Elem()
}
func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput {
return o
}
func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput {
return o
}
func (o ProviderHeaderArrayOutput) Index(i pulumi.IntInput) ProviderHeaderOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderHeader {
return vs[0].([]ProviderHeader)[vs[1].(int)]
}).(ProviderHeaderOutput)
}
type GetPolicyDocumentRule struct {
// Whitelists a list of keys and values that are permitted on the given path. See Parameters below.
AllowedParameters []GetPolicyDocumentRuleAllowedParameter `pulumi:"allowedParameters"`
// A list of capabilities that this rule apply to `path`. For example, ["read", "write"].
Capabilities []string `pulumi:"capabilities"`
// Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below.
DeniedParameters []GetPolicyDocumentRuleDeniedParameter `pulumi:"deniedParameters"`
// Description of the rule. Will be added as a comment to rendered rule.
Description *string `pulumi:"description"`
// The maximum allowed TTL that clients can specify for a wrapped response.
MaxWrappingTtl *string `pulumi:"maxWrappingTtl"`
// The minimum allowed TTL that clients can specify for a wrapped response.
MinWrappingTtl *string `pulumi:"minWrappingTtl"`
// A path in Vault that this rule applies to.
Path string `pulumi:"path"`
// A list of parameters that must be specified.
RequiredParameters []string `pulumi:"requiredParameters"`
}
// GetPolicyDocumentRuleInput is an input type that accepts GetPolicyDocumentRuleArgs and GetPolicyDocumentRuleOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleInput` via:
//
// GetPolicyDocumentRuleArgs{...}
type GetPolicyDocumentRuleInput interface {
pulumi.Input
ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput
ToGetPolicyDocumentRuleOutputWithContext(context.Context) GetPolicyDocumentRuleOutput
}
type GetPolicyDocumentRuleArgs struct {
// Whitelists a list of keys and values that are permitted on the given path. See Parameters below.
AllowedParameters GetPolicyDocumentRuleAllowedParameterArrayInput `pulumi:"allowedParameters"`
// A list of capabilities that this rule apply to `path`. For example, ["read", "write"].
Capabilities pulumi.StringArrayInput `pulumi:"capabilities"`
// Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below.
DeniedParameters GetPolicyDocumentRuleDeniedParameterArrayInput `pulumi:"deniedParameters"`
// Description of the rule. Will be added as a comment to rendered rule.
Description pulumi.StringPtrInput `pulumi:"description"`
// The maximum allowed TTL that clients can specify for a wrapped response.
MaxWrappingTtl pulumi.StringPtrInput `pulumi:"maxWrappingTtl"`
// The minimum allowed TTL that clients can specify for a wrapped response.
MinWrappingTtl pulumi.StringPtrInput `pulumi:"minWrappingTtl"`
// A path in Vault that this rule applies to.
Path pulumi.StringInput `pulumi:"path"`
// A list of parameters that must be specified.
RequiredParameters pulumi.StringArrayInput `pulumi:"requiredParameters"`
}
func (GetPolicyDocumentRuleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRule)(nil)).Elem()
}
func (i GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput {
return i.ToGetPolicyDocumentRuleOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutputWithContext(ctx context.Context) GetPolicyDocumentRuleOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleOutput)
}
// GetPolicyDocumentRuleArrayInput is an input type that accepts GetPolicyDocumentRuleArray and GetPolicyDocumentRuleArrayOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleArrayInput` via:
//
// GetPolicyDocumentRuleArray{ GetPolicyDocumentRuleArgs{...} }
type GetPolicyDocumentRuleArrayInput interface {
pulumi.Input
ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput
ToGetPolicyDocumentRuleArrayOutputWithContext(context.Context) GetPolicyDocumentRuleArrayOutput
}
type GetPolicyDocumentRuleArray []GetPolicyDocumentRuleInput
func (GetPolicyDocumentRuleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRule)(nil)).Elem()
}
func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput {
return i.ToGetPolicyDocumentRuleArrayOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleArrayOutput)
}
type GetPolicyDocumentRuleOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRule)(nil)).Elem()
}
func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput {
return o
}
func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutputWithContext(ctx context.Context) GetPolicyDocumentRuleOutput {
return o
}
// Whitelists a list of keys and values that are permitted on the given path. See Parameters below.
func (o GetPolicyDocumentRuleOutput) AllowedParameters() GetPolicyDocumentRuleAllowedParameterArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) []GetPolicyDocumentRuleAllowedParameter { return v.AllowedParameters }).(GetPolicyDocumentRuleAllowedParameterArrayOutput)
}
// A list of capabilities that this rule apply to `path`. For example, ["read", "write"].
func (o GetPolicyDocumentRuleOutput) Capabilities() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) []string { return v.Capabilities }).(pulumi.StringArrayOutput)
}
// Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below.
func (o GetPolicyDocumentRuleOutput) DeniedParameters() GetPolicyDocumentRuleDeniedParameterArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) []GetPolicyDocumentRuleDeniedParameter { return v.DeniedParameters }).(GetPolicyDocumentRuleDeniedParameterArrayOutput)
}
// Description of the rule. Will be added as a comment to rendered rule.
func (o GetPolicyDocumentRuleOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// The maximum allowed TTL that clients can specify for a wrapped response.
func (o GetPolicyDocumentRuleOutput) MaxWrappingTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) *string { return v.MaxWrappingTtl }).(pulumi.StringPtrOutput)
}
// The minimum allowed TTL that clients can specify for a wrapped response.
func (o GetPolicyDocumentRuleOutput) MinWrappingTtl() pulumi.StringPtrOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) *string { return v.MinWrappingTtl }).(pulumi.StringPtrOutput)
}
// A path in Vault that this rule applies to.
func (o GetPolicyDocumentRuleOutput) Path() pulumi.StringOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) string { return v.Path }).(pulumi.StringOutput)
}
// A list of parameters that must be specified.
func (o GetPolicyDocumentRuleOutput) RequiredParameters() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRule) []string { return v.RequiredParameters }).(pulumi.StringArrayOutput)
}
type GetPolicyDocumentRuleArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRule)(nil)).Elem()
}
func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput {
return o
}
func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput {
return o
}
func (o GetPolicyDocumentRuleArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPolicyDocumentRule {
return vs[0].([]GetPolicyDocumentRule)[vs[1].(int)]
}).(GetPolicyDocumentRuleOutput)
}
type GetPolicyDocumentRuleAllowedParameter struct {
// name of permitted or denied parameter.
Key string `pulumi:"key"`
// list of values what are permitted or denied by policy rule.
Values []string `pulumi:"values"`
}
// GetPolicyDocumentRuleAllowedParameterInput is an input type that accepts GetPolicyDocumentRuleAllowedParameterArgs and GetPolicyDocumentRuleAllowedParameterOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleAllowedParameterInput` via:
//
// GetPolicyDocumentRuleAllowedParameterArgs{...}
type GetPolicyDocumentRuleAllowedParameterInput interface {
pulumi.Input
ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput
ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(context.Context) GetPolicyDocumentRuleAllowedParameterOutput
}
type GetPolicyDocumentRuleAllowedParameterArgs struct {
// name of permitted or denied parameter.
Key pulumi.StringInput `pulumi:"key"`
// list of values what are permitted or denied by policy rule.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetPolicyDocumentRuleAllowedParameterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRuleAllowedParameter)(nil)).Elem()
}
func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput {
return i.ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleAllowedParameterOutput)
}
// GetPolicyDocumentRuleAllowedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleAllowedParameterArray and GetPolicyDocumentRuleAllowedParameterArrayOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleAllowedParameterArrayInput` via:
//
// GetPolicyDocumentRuleAllowedParameterArray{ GetPolicyDocumentRuleAllowedParameterArgs{...} }
type GetPolicyDocumentRuleAllowedParameterArrayInput interface {
pulumi.Input
ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput
ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput
}
type GetPolicyDocumentRuleAllowedParameterArray []GetPolicyDocumentRuleAllowedParameterInput
func (GetPolicyDocumentRuleAllowedParameterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRuleAllowedParameter)(nil)).Elem()
}
func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput {
return i.ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleAllowedParameterArrayOutput)
}
type GetPolicyDocumentRuleAllowedParameterOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleAllowedParameterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRuleAllowedParameter)(nil)).Elem()
}
func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput {
return o
}
func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput {
return o
}
// name of permitted or denied parameter.
func (o GetPolicyDocumentRuleAllowedParameterOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v GetPolicyDocumentRuleAllowedParameter) string { return v.Key }).(pulumi.StringOutput)
}
// list of values what are permitted or denied by policy rule.
func (o GetPolicyDocumentRuleAllowedParameterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRuleAllowedParameter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetPolicyDocumentRuleAllowedParameterArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRuleAllowedParameter)(nil)).Elem()
}
func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput {
return o
}
func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput {
return o
}
func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleAllowedParameterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPolicyDocumentRuleAllowedParameter {
return vs[0].([]GetPolicyDocumentRuleAllowedParameter)[vs[1].(int)]
}).(GetPolicyDocumentRuleAllowedParameterOutput)
}
type GetPolicyDocumentRuleDeniedParameter struct {
// name of permitted or denied parameter.
Key string `pulumi:"key"`
// list of values what are permitted or denied by policy rule.
Values []string `pulumi:"values"`
}
// GetPolicyDocumentRuleDeniedParameterInput is an input type that accepts GetPolicyDocumentRuleDeniedParameterArgs and GetPolicyDocumentRuleDeniedParameterOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleDeniedParameterInput` via:
//
// GetPolicyDocumentRuleDeniedParameterArgs{...}
type GetPolicyDocumentRuleDeniedParameterInput interface {
pulumi.Input
ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput
ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(context.Context) GetPolicyDocumentRuleDeniedParameterOutput
}
type GetPolicyDocumentRuleDeniedParameterArgs struct {
// name of permitted or denied parameter.
Key pulumi.StringInput `pulumi:"key"`
// list of values what are permitted or denied by policy rule.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetPolicyDocumentRuleDeniedParameterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRuleDeniedParameter)(nil)).Elem()
}
func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput {
return i.ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleDeniedParameterOutput)
}
// GetPolicyDocumentRuleDeniedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleDeniedParameterArray and GetPolicyDocumentRuleDeniedParameterArrayOutput values.
// You can construct a concrete instance of `GetPolicyDocumentRuleDeniedParameterArrayInput` via:
//
// GetPolicyDocumentRuleDeniedParameterArray{ GetPolicyDocumentRuleDeniedParameterArgs{...} }
type GetPolicyDocumentRuleDeniedParameterArrayInput interface {
pulumi.Input
ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput
ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput
}
type GetPolicyDocumentRuleDeniedParameterArray []GetPolicyDocumentRuleDeniedParameterInput
func (GetPolicyDocumentRuleDeniedParameterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRuleDeniedParameter)(nil)).Elem()
}
func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput {
return i.ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(context.Background())
}
func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleDeniedParameterArrayOutput)
}
type GetPolicyDocumentRuleDeniedParameterOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleDeniedParameterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetPolicyDocumentRuleDeniedParameter)(nil)).Elem()
}
func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput {
return o
}
func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput {
return o
}
// name of permitted or denied parameter.
func (o GetPolicyDocumentRuleDeniedParameterOutput) Key() pulumi.StringOutput {
return o.ApplyT(func(v GetPolicyDocumentRuleDeniedParameter) string { return v.Key }).(pulumi.StringOutput)
}
// list of values what are permitted or denied by policy rule.
func (o GetPolicyDocumentRuleDeniedParameterOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v GetPolicyDocumentRuleDeniedParameter) []string { return v.Values }).(pulumi.StringArrayOutput)
}
type GetPolicyDocumentRuleDeniedParameterArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetPolicyDocumentRuleDeniedParameter)(nil)).Elem()
}
func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput {
return o
}
func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput {
return o
}