This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiTypes.go
5106 lines (4141 loc) · 191 KB
/
pulumiTypes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20191001
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The type of the paths for alias.
type AliasPathResponse struct {
// The API versions.
ApiVersions []string `pulumi:"apiVersions"`
// The path of an alias.
Path *string `pulumi:"path"`
// The pattern for an alias path.
Pattern *AliasPatternResponse `pulumi:"pattern"`
}
// AliasPathResponseInput is an input type that accepts AliasPathResponseArgs and AliasPathResponseOutput values.
// You can construct a concrete instance of `AliasPathResponseInput` via:
//
// AliasPathResponseArgs{...}
type AliasPathResponseInput interface {
pulumi.Input
ToAliasPathResponseOutput() AliasPathResponseOutput
ToAliasPathResponseOutputWithContext(context.Context) AliasPathResponseOutput
}
// The type of the paths for alias.
type AliasPathResponseArgs struct {
// The API versions.
ApiVersions pulumi.StringArrayInput `pulumi:"apiVersions"`
// The path of an alias.
Path pulumi.StringPtrInput `pulumi:"path"`
// The pattern for an alias path.
Pattern AliasPatternResponsePtrInput `pulumi:"pattern"`
}
func (AliasPathResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AliasPathResponse)(nil)).Elem()
}
func (i AliasPathResponseArgs) ToAliasPathResponseOutput() AliasPathResponseOutput {
return i.ToAliasPathResponseOutputWithContext(context.Background())
}
func (i AliasPathResponseArgs) ToAliasPathResponseOutputWithContext(ctx context.Context) AliasPathResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasPathResponseOutput)
}
// AliasPathResponseArrayInput is an input type that accepts AliasPathResponseArray and AliasPathResponseArrayOutput values.
// You can construct a concrete instance of `AliasPathResponseArrayInput` via:
//
// AliasPathResponseArray{ AliasPathResponseArgs{...} }
type AliasPathResponseArrayInput interface {
pulumi.Input
ToAliasPathResponseArrayOutput() AliasPathResponseArrayOutput
ToAliasPathResponseArrayOutputWithContext(context.Context) AliasPathResponseArrayOutput
}
type AliasPathResponseArray []AliasPathResponseInput
func (AliasPathResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AliasPathResponse)(nil)).Elem()
}
func (i AliasPathResponseArray) ToAliasPathResponseArrayOutput() AliasPathResponseArrayOutput {
return i.ToAliasPathResponseArrayOutputWithContext(context.Background())
}
func (i AliasPathResponseArray) ToAliasPathResponseArrayOutputWithContext(ctx context.Context) AliasPathResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasPathResponseArrayOutput)
}
// The type of the paths for alias.
type AliasPathResponseOutput struct{ *pulumi.OutputState }
func (AliasPathResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AliasPathResponse)(nil)).Elem()
}
func (o AliasPathResponseOutput) ToAliasPathResponseOutput() AliasPathResponseOutput {
return o
}
func (o AliasPathResponseOutput) ToAliasPathResponseOutputWithContext(ctx context.Context) AliasPathResponseOutput {
return o
}
// The API versions.
func (o AliasPathResponseOutput) ApiVersions() pulumi.StringArrayOutput {
return o.ApplyT(func(v AliasPathResponse) []string { return v.ApiVersions }).(pulumi.StringArrayOutput)
}
// The path of an alias.
func (o AliasPathResponseOutput) Path() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasPathResponse) *string { return v.Path }).(pulumi.StringPtrOutput)
}
// The pattern for an alias path.
func (o AliasPathResponseOutput) Pattern() AliasPatternResponsePtrOutput {
return o.ApplyT(func(v AliasPathResponse) *AliasPatternResponse { return v.Pattern }).(AliasPatternResponsePtrOutput)
}
type AliasPathResponseArrayOutput struct{ *pulumi.OutputState }
func (AliasPathResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AliasPathResponse)(nil)).Elem()
}
func (o AliasPathResponseArrayOutput) ToAliasPathResponseArrayOutput() AliasPathResponseArrayOutput {
return o
}
func (o AliasPathResponseArrayOutput) ToAliasPathResponseArrayOutputWithContext(ctx context.Context) AliasPathResponseArrayOutput {
return o
}
func (o AliasPathResponseArrayOutput) Index(i pulumi.IntInput) AliasPathResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasPathResponse {
return vs[0].([]AliasPathResponse)[vs[1].(int)]
}).(AliasPathResponseOutput)
}
// The type of the pattern for an alias path.
type AliasPatternResponse struct {
// The alias pattern phrase.
Phrase *string `pulumi:"phrase"`
// The type of alias pattern
Type *string `pulumi:"type"`
// The alias pattern variable.
Variable *string `pulumi:"variable"`
}
// AliasPatternResponseInput is an input type that accepts AliasPatternResponseArgs and AliasPatternResponseOutput values.
// You can construct a concrete instance of `AliasPatternResponseInput` via:
//
// AliasPatternResponseArgs{...}
type AliasPatternResponseInput interface {
pulumi.Input
ToAliasPatternResponseOutput() AliasPatternResponseOutput
ToAliasPatternResponseOutputWithContext(context.Context) AliasPatternResponseOutput
}
// The type of the pattern for an alias path.
type AliasPatternResponseArgs struct {
// The alias pattern phrase.
Phrase pulumi.StringPtrInput `pulumi:"phrase"`
// The type of alias pattern
Type pulumi.StringPtrInput `pulumi:"type"`
// The alias pattern variable.
Variable pulumi.StringPtrInput `pulumi:"variable"`
}
func (AliasPatternResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AliasPatternResponse)(nil)).Elem()
}
func (i AliasPatternResponseArgs) ToAliasPatternResponseOutput() AliasPatternResponseOutput {
return i.ToAliasPatternResponseOutputWithContext(context.Background())
}
func (i AliasPatternResponseArgs) ToAliasPatternResponseOutputWithContext(ctx context.Context) AliasPatternResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasPatternResponseOutput)
}
func (i AliasPatternResponseArgs) ToAliasPatternResponsePtrOutput() AliasPatternResponsePtrOutput {
return i.ToAliasPatternResponsePtrOutputWithContext(context.Background())
}
func (i AliasPatternResponseArgs) ToAliasPatternResponsePtrOutputWithContext(ctx context.Context) AliasPatternResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasPatternResponseOutput).ToAliasPatternResponsePtrOutputWithContext(ctx)
}
// AliasPatternResponsePtrInput is an input type that accepts AliasPatternResponseArgs, AliasPatternResponsePtr and AliasPatternResponsePtrOutput values.
// You can construct a concrete instance of `AliasPatternResponsePtrInput` via:
//
// AliasPatternResponseArgs{...}
//
// or:
//
// nil
type AliasPatternResponsePtrInput interface {
pulumi.Input
ToAliasPatternResponsePtrOutput() AliasPatternResponsePtrOutput
ToAliasPatternResponsePtrOutputWithContext(context.Context) AliasPatternResponsePtrOutput
}
type aliasPatternResponsePtrType AliasPatternResponseArgs
func AliasPatternResponsePtr(v *AliasPatternResponseArgs) AliasPatternResponsePtrInput {
return (*aliasPatternResponsePtrType)(v)
}
func (*aliasPatternResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AliasPatternResponse)(nil)).Elem()
}
func (i *aliasPatternResponsePtrType) ToAliasPatternResponsePtrOutput() AliasPatternResponsePtrOutput {
return i.ToAliasPatternResponsePtrOutputWithContext(context.Background())
}
func (i *aliasPatternResponsePtrType) ToAliasPatternResponsePtrOutputWithContext(ctx context.Context) AliasPatternResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasPatternResponsePtrOutput)
}
// The type of the pattern for an alias path.
type AliasPatternResponseOutput struct{ *pulumi.OutputState }
func (AliasPatternResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AliasPatternResponse)(nil)).Elem()
}
func (o AliasPatternResponseOutput) ToAliasPatternResponseOutput() AliasPatternResponseOutput {
return o
}
func (o AliasPatternResponseOutput) ToAliasPatternResponseOutputWithContext(ctx context.Context) AliasPatternResponseOutput {
return o
}
func (o AliasPatternResponseOutput) ToAliasPatternResponsePtrOutput() AliasPatternResponsePtrOutput {
return o.ToAliasPatternResponsePtrOutputWithContext(context.Background())
}
func (o AliasPatternResponseOutput) ToAliasPatternResponsePtrOutputWithContext(ctx context.Context) AliasPatternResponsePtrOutput {
return o.ApplyT(func(v AliasPatternResponse) *AliasPatternResponse {
return &v
}).(AliasPatternResponsePtrOutput)
}
// The alias pattern phrase.
func (o AliasPatternResponseOutput) Phrase() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasPatternResponse) *string { return v.Phrase }).(pulumi.StringPtrOutput)
}
// The type of alias pattern
func (o AliasPatternResponseOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasPatternResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
// The alias pattern variable.
func (o AliasPatternResponseOutput) Variable() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasPatternResponse) *string { return v.Variable }).(pulumi.StringPtrOutput)
}
type AliasPatternResponsePtrOutput struct{ *pulumi.OutputState }
func (AliasPatternResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AliasPatternResponse)(nil)).Elem()
}
func (o AliasPatternResponsePtrOutput) ToAliasPatternResponsePtrOutput() AliasPatternResponsePtrOutput {
return o
}
func (o AliasPatternResponsePtrOutput) ToAliasPatternResponsePtrOutputWithContext(ctx context.Context) AliasPatternResponsePtrOutput {
return o
}
func (o AliasPatternResponsePtrOutput) Elem() AliasPatternResponseOutput {
return o.ApplyT(func(v *AliasPatternResponse) AliasPatternResponse { return *v }).(AliasPatternResponseOutput)
}
// The alias pattern phrase.
func (o AliasPatternResponsePtrOutput) Phrase() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AliasPatternResponse) *string {
if v == nil {
return nil
}
return v.Phrase
}).(pulumi.StringPtrOutput)
}
// The type of alias pattern
func (o AliasPatternResponsePtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AliasPatternResponse) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
// The alias pattern variable.
func (o AliasPatternResponsePtrOutput) Variable() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AliasPatternResponse) *string {
if v == nil {
return nil
}
return v.Variable
}).(pulumi.StringPtrOutput)
}
// The alias type.
type AliasResponse struct {
// The default path for an alias.
DefaultPath *string `pulumi:"defaultPath"`
// The default pattern for an alias.
DefaultPattern *AliasPatternResponse `pulumi:"defaultPattern"`
// The alias name.
Name *string `pulumi:"name"`
// The paths for an alias.
Paths []AliasPathResponse `pulumi:"paths"`
// The type of the alias.
Type *string `pulumi:"type"`
}
// AliasResponseInput is an input type that accepts AliasResponseArgs and AliasResponseOutput values.
// You can construct a concrete instance of `AliasResponseInput` via:
//
// AliasResponseArgs{...}
type AliasResponseInput interface {
pulumi.Input
ToAliasResponseOutput() AliasResponseOutput
ToAliasResponseOutputWithContext(context.Context) AliasResponseOutput
}
// The alias type.
type AliasResponseArgs struct {
// The default path for an alias.
DefaultPath pulumi.StringPtrInput `pulumi:"defaultPath"`
// The default pattern for an alias.
DefaultPattern AliasPatternResponsePtrInput `pulumi:"defaultPattern"`
// The alias name.
Name pulumi.StringPtrInput `pulumi:"name"`
// The paths for an alias.
Paths AliasPathResponseArrayInput `pulumi:"paths"`
// The type of the alias.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (AliasResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AliasResponse)(nil)).Elem()
}
func (i AliasResponseArgs) ToAliasResponseOutput() AliasResponseOutput {
return i.ToAliasResponseOutputWithContext(context.Background())
}
func (i AliasResponseArgs) ToAliasResponseOutputWithContext(ctx context.Context) AliasResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasResponseOutput)
}
// AliasResponseArrayInput is an input type that accepts AliasResponseArray and AliasResponseArrayOutput values.
// You can construct a concrete instance of `AliasResponseArrayInput` via:
//
// AliasResponseArray{ AliasResponseArgs{...} }
type AliasResponseArrayInput interface {
pulumi.Input
ToAliasResponseArrayOutput() AliasResponseArrayOutput
ToAliasResponseArrayOutputWithContext(context.Context) AliasResponseArrayOutput
}
type AliasResponseArray []AliasResponseInput
func (AliasResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AliasResponse)(nil)).Elem()
}
func (i AliasResponseArray) ToAliasResponseArrayOutput() AliasResponseArrayOutput {
return i.ToAliasResponseArrayOutputWithContext(context.Background())
}
func (i AliasResponseArray) ToAliasResponseArrayOutputWithContext(ctx context.Context) AliasResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AliasResponseArrayOutput)
}
// The alias type.
type AliasResponseOutput struct{ *pulumi.OutputState }
func (AliasResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AliasResponse)(nil)).Elem()
}
func (o AliasResponseOutput) ToAliasResponseOutput() AliasResponseOutput {
return o
}
func (o AliasResponseOutput) ToAliasResponseOutputWithContext(ctx context.Context) AliasResponseOutput {
return o
}
// The default path for an alias.
func (o AliasResponseOutput) DefaultPath() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasResponse) *string { return v.DefaultPath }).(pulumi.StringPtrOutput)
}
// The default pattern for an alias.
func (o AliasResponseOutput) DefaultPattern() AliasPatternResponsePtrOutput {
return o.ApplyT(func(v AliasResponse) *AliasPatternResponse { return v.DefaultPattern }).(AliasPatternResponsePtrOutput)
}
// The alias name.
func (o AliasResponseOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// The paths for an alias.
func (o AliasResponseOutput) Paths() AliasPathResponseArrayOutput {
return o.ApplyT(func(v AliasResponse) []AliasPathResponse { return v.Paths }).(AliasPathResponseArrayOutput)
}
// The type of the alias.
func (o AliasResponseOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v AliasResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type AliasResponseArrayOutput struct{ *pulumi.OutputState }
func (AliasResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AliasResponse)(nil)).Elem()
}
func (o AliasResponseArrayOutput) ToAliasResponseArrayOutput() AliasResponseArrayOutput {
return o
}
func (o AliasResponseArrayOutput) ToAliasResponseArrayOutputWithContext(ctx context.Context) AliasResponseArrayOutput {
return o
}
func (o AliasResponseArrayOutput) Index(i pulumi.IntInput) AliasResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasResponse {
return vs[0].([]AliasResponse)[vs[1].(int)]
}).(AliasResponseOutput)
}
// Deployment dependency information.
type BasicDependencyResponse struct {
// The ID of the dependency.
Id *string `pulumi:"id"`
// The dependency resource name.
ResourceName *string `pulumi:"resourceName"`
// The dependency resource type.
ResourceType *string `pulumi:"resourceType"`
}
// BasicDependencyResponseInput is an input type that accepts BasicDependencyResponseArgs and BasicDependencyResponseOutput values.
// You can construct a concrete instance of `BasicDependencyResponseInput` via:
//
// BasicDependencyResponseArgs{...}
type BasicDependencyResponseInput interface {
pulumi.Input
ToBasicDependencyResponseOutput() BasicDependencyResponseOutput
ToBasicDependencyResponseOutputWithContext(context.Context) BasicDependencyResponseOutput
}
// Deployment dependency information.
type BasicDependencyResponseArgs struct {
// The ID of the dependency.
Id pulumi.StringPtrInput `pulumi:"id"`
// The dependency resource name.
ResourceName pulumi.StringPtrInput `pulumi:"resourceName"`
// The dependency resource type.
ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}
func (BasicDependencyResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*BasicDependencyResponse)(nil)).Elem()
}
func (i BasicDependencyResponseArgs) ToBasicDependencyResponseOutput() BasicDependencyResponseOutput {
return i.ToBasicDependencyResponseOutputWithContext(context.Background())
}
func (i BasicDependencyResponseArgs) ToBasicDependencyResponseOutputWithContext(ctx context.Context) BasicDependencyResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(BasicDependencyResponseOutput)
}
// BasicDependencyResponseArrayInput is an input type that accepts BasicDependencyResponseArray and BasicDependencyResponseArrayOutput values.
// You can construct a concrete instance of `BasicDependencyResponseArrayInput` via:
//
// BasicDependencyResponseArray{ BasicDependencyResponseArgs{...} }
type BasicDependencyResponseArrayInput interface {
pulumi.Input
ToBasicDependencyResponseArrayOutput() BasicDependencyResponseArrayOutput
ToBasicDependencyResponseArrayOutputWithContext(context.Context) BasicDependencyResponseArrayOutput
}
type BasicDependencyResponseArray []BasicDependencyResponseInput
func (BasicDependencyResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]BasicDependencyResponse)(nil)).Elem()
}
func (i BasicDependencyResponseArray) ToBasicDependencyResponseArrayOutput() BasicDependencyResponseArrayOutput {
return i.ToBasicDependencyResponseArrayOutputWithContext(context.Background())
}
func (i BasicDependencyResponseArray) ToBasicDependencyResponseArrayOutputWithContext(ctx context.Context) BasicDependencyResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(BasicDependencyResponseArrayOutput)
}
// Deployment dependency information.
type BasicDependencyResponseOutput struct{ *pulumi.OutputState }
func (BasicDependencyResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*BasicDependencyResponse)(nil)).Elem()
}
func (o BasicDependencyResponseOutput) ToBasicDependencyResponseOutput() BasicDependencyResponseOutput {
return o
}
func (o BasicDependencyResponseOutput) ToBasicDependencyResponseOutputWithContext(ctx context.Context) BasicDependencyResponseOutput {
return o
}
// The ID of the dependency.
func (o BasicDependencyResponseOutput) Id() pulumi.StringPtrOutput {
return o.ApplyT(func(v BasicDependencyResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// The dependency resource name.
func (o BasicDependencyResponseOutput) ResourceName() pulumi.StringPtrOutput {
return o.ApplyT(func(v BasicDependencyResponse) *string { return v.ResourceName }).(pulumi.StringPtrOutput)
}
// The dependency resource type.
func (o BasicDependencyResponseOutput) ResourceType() pulumi.StringPtrOutput {
return o.ApplyT(func(v BasicDependencyResponse) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
}
type BasicDependencyResponseArrayOutput struct{ *pulumi.OutputState }
func (BasicDependencyResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]BasicDependencyResponse)(nil)).Elem()
}
func (o BasicDependencyResponseArrayOutput) ToBasicDependencyResponseArrayOutput() BasicDependencyResponseArrayOutput {
return o
}
func (o BasicDependencyResponseArrayOutput) ToBasicDependencyResponseArrayOutputWithContext(ctx context.Context) BasicDependencyResponseArrayOutput {
return o
}
func (o BasicDependencyResponseArrayOutput) Index(i pulumi.IntInput) BasicDependencyResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) BasicDependencyResponse {
return vs[0].([]BasicDependencyResponse)[vs[1].(int)]
}).(BasicDependencyResponseOutput)
}
// The debug setting.
type DebugSetting struct {
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
DetailLevel *string `pulumi:"detailLevel"`
}
// DebugSettingInput is an input type that accepts DebugSettingArgs and DebugSettingOutput values.
// You can construct a concrete instance of `DebugSettingInput` via:
//
// DebugSettingArgs{...}
type DebugSettingInput interface {
pulumi.Input
ToDebugSettingOutput() DebugSettingOutput
ToDebugSettingOutputWithContext(context.Context) DebugSettingOutput
}
// The debug setting.
type DebugSettingArgs struct {
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
DetailLevel pulumi.StringPtrInput `pulumi:"detailLevel"`
}
func (DebugSettingArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DebugSetting)(nil)).Elem()
}
func (i DebugSettingArgs) ToDebugSettingOutput() DebugSettingOutput {
return i.ToDebugSettingOutputWithContext(context.Background())
}
func (i DebugSettingArgs) ToDebugSettingOutputWithContext(ctx context.Context) DebugSettingOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingOutput)
}
func (i DebugSettingArgs) ToDebugSettingPtrOutput() DebugSettingPtrOutput {
return i.ToDebugSettingPtrOutputWithContext(context.Background())
}
func (i DebugSettingArgs) ToDebugSettingPtrOutputWithContext(ctx context.Context) DebugSettingPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingOutput).ToDebugSettingPtrOutputWithContext(ctx)
}
// DebugSettingPtrInput is an input type that accepts DebugSettingArgs, DebugSettingPtr and DebugSettingPtrOutput values.
// You can construct a concrete instance of `DebugSettingPtrInput` via:
//
// DebugSettingArgs{...}
//
// or:
//
// nil
type DebugSettingPtrInput interface {
pulumi.Input
ToDebugSettingPtrOutput() DebugSettingPtrOutput
ToDebugSettingPtrOutputWithContext(context.Context) DebugSettingPtrOutput
}
type debugSettingPtrType DebugSettingArgs
func DebugSettingPtr(v *DebugSettingArgs) DebugSettingPtrInput {
return (*debugSettingPtrType)(v)
}
func (*debugSettingPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**DebugSetting)(nil)).Elem()
}
func (i *debugSettingPtrType) ToDebugSettingPtrOutput() DebugSettingPtrOutput {
return i.ToDebugSettingPtrOutputWithContext(context.Background())
}
func (i *debugSettingPtrType) ToDebugSettingPtrOutputWithContext(ctx context.Context) DebugSettingPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingPtrOutput)
}
// The debug setting.
type DebugSettingOutput struct{ *pulumi.OutputState }
func (DebugSettingOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DebugSetting)(nil)).Elem()
}
func (o DebugSettingOutput) ToDebugSettingOutput() DebugSettingOutput {
return o
}
func (o DebugSettingOutput) ToDebugSettingOutputWithContext(ctx context.Context) DebugSettingOutput {
return o
}
func (o DebugSettingOutput) ToDebugSettingPtrOutput() DebugSettingPtrOutput {
return o.ToDebugSettingPtrOutputWithContext(context.Background())
}
func (o DebugSettingOutput) ToDebugSettingPtrOutputWithContext(ctx context.Context) DebugSettingPtrOutput {
return o.ApplyT(func(v DebugSetting) *DebugSetting {
return &v
}).(DebugSettingPtrOutput)
}
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
func (o DebugSettingOutput) DetailLevel() pulumi.StringPtrOutput {
return o.ApplyT(func(v DebugSetting) *string { return v.DetailLevel }).(pulumi.StringPtrOutput)
}
type DebugSettingPtrOutput struct{ *pulumi.OutputState }
func (DebugSettingPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**DebugSetting)(nil)).Elem()
}
func (o DebugSettingPtrOutput) ToDebugSettingPtrOutput() DebugSettingPtrOutput {
return o
}
func (o DebugSettingPtrOutput) ToDebugSettingPtrOutputWithContext(ctx context.Context) DebugSettingPtrOutput {
return o
}
func (o DebugSettingPtrOutput) Elem() DebugSettingOutput {
return o.ApplyT(func(v *DebugSetting) DebugSetting { return *v }).(DebugSettingOutput)
}
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
func (o DebugSettingPtrOutput) DetailLevel() pulumi.StringPtrOutput {
return o.ApplyT(func(v *DebugSetting) *string {
if v == nil {
return nil
}
return v.DetailLevel
}).(pulumi.StringPtrOutput)
}
// The debug setting.
type DebugSettingResponse struct {
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
DetailLevel *string `pulumi:"detailLevel"`
}
// DebugSettingResponseInput is an input type that accepts DebugSettingResponseArgs and DebugSettingResponseOutput values.
// You can construct a concrete instance of `DebugSettingResponseInput` via:
//
// DebugSettingResponseArgs{...}
type DebugSettingResponseInput interface {
pulumi.Input
ToDebugSettingResponseOutput() DebugSettingResponseOutput
ToDebugSettingResponseOutputWithContext(context.Context) DebugSettingResponseOutput
}
// The debug setting.
type DebugSettingResponseArgs struct {
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
DetailLevel pulumi.StringPtrInput `pulumi:"detailLevel"`
}
func (DebugSettingResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DebugSettingResponse)(nil)).Elem()
}
func (i DebugSettingResponseArgs) ToDebugSettingResponseOutput() DebugSettingResponseOutput {
return i.ToDebugSettingResponseOutputWithContext(context.Background())
}
func (i DebugSettingResponseArgs) ToDebugSettingResponseOutputWithContext(ctx context.Context) DebugSettingResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingResponseOutput)
}
func (i DebugSettingResponseArgs) ToDebugSettingResponsePtrOutput() DebugSettingResponsePtrOutput {
return i.ToDebugSettingResponsePtrOutputWithContext(context.Background())
}
func (i DebugSettingResponseArgs) ToDebugSettingResponsePtrOutputWithContext(ctx context.Context) DebugSettingResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingResponseOutput).ToDebugSettingResponsePtrOutputWithContext(ctx)
}
// DebugSettingResponsePtrInput is an input type that accepts DebugSettingResponseArgs, DebugSettingResponsePtr and DebugSettingResponsePtrOutput values.
// You can construct a concrete instance of `DebugSettingResponsePtrInput` via:
//
// DebugSettingResponseArgs{...}
//
// or:
//
// nil
type DebugSettingResponsePtrInput interface {
pulumi.Input
ToDebugSettingResponsePtrOutput() DebugSettingResponsePtrOutput
ToDebugSettingResponsePtrOutputWithContext(context.Context) DebugSettingResponsePtrOutput
}
type debugSettingResponsePtrType DebugSettingResponseArgs
func DebugSettingResponsePtr(v *DebugSettingResponseArgs) DebugSettingResponsePtrInput {
return (*debugSettingResponsePtrType)(v)
}
func (*debugSettingResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**DebugSettingResponse)(nil)).Elem()
}
func (i *debugSettingResponsePtrType) ToDebugSettingResponsePtrOutput() DebugSettingResponsePtrOutput {
return i.ToDebugSettingResponsePtrOutputWithContext(context.Background())
}
func (i *debugSettingResponsePtrType) ToDebugSettingResponsePtrOutputWithContext(ctx context.Context) DebugSettingResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(DebugSettingResponsePtrOutput)
}
// The debug setting.
type DebugSettingResponseOutput struct{ *pulumi.OutputState }
func (DebugSettingResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DebugSettingResponse)(nil)).Elem()
}
func (o DebugSettingResponseOutput) ToDebugSettingResponseOutput() DebugSettingResponseOutput {
return o
}
func (o DebugSettingResponseOutput) ToDebugSettingResponseOutputWithContext(ctx context.Context) DebugSettingResponseOutput {
return o
}
func (o DebugSettingResponseOutput) ToDebugSettingResponsePtrOutput() DebugSettingResponsePtrOutput {
return o.ToDebugSettingResponsePtrOutputWithContext(context.Background())
}
func (o DebugSettingResponseOutput) ToDebugSettingResponsePtrOutputWithContext(ctx context.Context) DebugSettingResponsePtrOutput {
return o.ApplyT(func(v DebugSettingResponse) *DebugSettingResponse {
return &v
}).(DebugSettingResponsePtrOutput)
}
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
func (o DebugSettingResponseOutput) DetailLevel() pulumi.StringPtrOutput {
return o.ApplyT(func(v DebugSettingResponse) *string { return v.DetailLevel }).(pulumi.StringPtrOutput)
}
type DebugSettingResponsePtrOutput struct{ *pulumi.OutputState }
func (DebugSettingResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**DebugSettingResponse)(nil)).Elem()
}
func (o DebugSettingResponsePtrOutput) ToDebugSettingResponsePtrOutput() DebugSettingResponsePtrOutput {
return o
}
func (o DebugSettingResponsePtrOutput) ToDebugSettingResponsePtrOutputWithContext(ctx context.Context) DebugSettingResponsePtrOutput {
return o
}
func (o DebugSettingResponsePtrOutput) Elem() DebugSettingResponseOutput {
return o.ApplyT(func(v *DebugSettingResponse) DebugSettingResponse { return *v }).(DebugSettingResponseOutput)
}
// Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
func (o DebugSettingResponsePtrOutput) DetailLevel() pulumi.StringPtrOutput {
return o.ApplyT(func(v *DebugSettingResponse) *string {
if v == nil {
return nil
}
return v.DetailLevel
}).(pulumi.StringPtrOutput)
}
// Deployment dependency information.
type DependencyResponse struct {
// The list of dependencies.
DependsOn []BasicDependencyResponse `pulumi:"dependsOn"`
// The ID of the dependency.
Id *string `pulumi:"id"`
// The dependency resource name.
ResourceName *string `pulumi:"resourceName"`
// The dependency resource type.
ResourceType *string `pulumi:"resourceType"`
}
// DependencyResponseInput is an input type that accepts DependencyResponseArgs and DependencyResponseOutput values.
// You can construct a concrete instance of `DependencyResponseInput` via:
//
// DependencyResponseArgs{...}
type DependencyResponseInput interface {
pulumi.Input
ToDependencyResponseOutput() DependencyResponseOutput
ToDependencyResponseOutputWithContext(context.Context) DependencyResponseOutput
}
// Deployment dependency information.
type DependencyResponseArgs struct {
// The list of dependencies.
DependsOn BasicDependencyResponseArrayInput `pulumi:"dependsOn"`
// The ID of the dependency.
Id pulumi.StringPtrInput `pulumi:"id"`
// The dependency resource name.
ResourceName pulumi.StringPtrInput `pulumi:"resourceName"`
// The dependency resource type.
ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}
func (DependencyResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DependencyResponse)(nil)).Elem()
}
func (i DependencyResponseArgs) ToDependencyResponseOutput() DependencyResponseOutput {
return i.ToDependencyResponseOutputWithContext(context.Background())
}
func (i DependencyResponseArgs) ToDependencyResponseOutputWithContext(ctx context.Context) DependencyResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(DependencyResponseOutput)
}
// DependencyResponseArrayInput is an input type that accepts DependencyResponseArray and DependencyResponseArrayOutput values.
// You can construct a concrete instance of `DependencyResponseArrayInput` via:
//
// DependencyResponseArray{ DependencyResponseArgs{...} }
type DependencyResponseArrayInput interface {
pulumi.Input
ToDependencyResponseArrayOutput() DependencyResponseArrayOutput
ToDependencyResponseArrayOutputWithContext(context.Context) DependencyResponseArrayOutput
}
type DependencyResponseArray []DependencyResponseInput
func (DependencyResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]DependencyResponse)(nil)).Elem()
}
func (i DependencyResponseArray) ToDependencyResponseArrayOutput() DependencyResponseArrayOutput {
return i.ToDependencyResponseArrayOutputWithContext(context.Background())
}
func (i DependencyResponseArray) ToDependencyResponseArrayOutputWithContext(ctx context.Context) DependencyResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(DependencyResponseArrayOutput)
}
// Deployment dependency information.
type DependencyResponseOutput struct{ *pulumi.OutputState }
func (DependencyResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DependencyResponse)(nil)).Elem()
}
func (o DependencyResponseOutput) ToDependencyResponseOutput() DependencyResponseOutput {
return o
}
func (o DependencyResponseOutput) ToDependencyResponseOutputWithContext(ctx context.Context) DependencyResponseOutput {
return o
}
// The list of dependencies.
func (o DependencyResponseOutput) DependsOn() BasicDependencyResponseArrayOutput {
return o.ApplyT(func(v DependencyResponse) []BasicDependencyResponse { return v.DependsOn }).(BasicDependencyResponseArrayOutput)
}
// The ID of the dependency.
func (o DependencyResponseOutput) Id() pulumi.StringPtrOutput {
return o.ApplyT(func(v DependencyResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// The dependency resource name.
func (o DependencyResponseOutput) ResourceName() pulumi.StringPtrOutput {
return o.ApplyT(func(v DependencyResponse) *string { return v.ResourceName }).(pulumi.StringPtrOutput)
}
// The dependency resource type.
func (o DependencyResponseOutput) ResourceType() pulumi.StringPtrOutput {
return o.ApplyT(func(v DependencyResponse) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
}
type DependencyResponseArrayOutput struct{ *pulumi.OutputState }
func (DependencyResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]DependencyResponse)(nil)).Elem()
}
func (o DependencyResponseArrayOutput) ToDependencyResponseArrayOutput() DependencyResponseArrayOutput {
return o
}
func (o DependencyResponseArrayOutput) ToDependencyResponseArrayOutputWithContext(ctx context.Context) DependencyResponseArrayOutput {
return o
}
func (o DependencyResponseArrayOutput) Index(i pulumi.IntInput) DependencyResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) DependencyResponse {
return vs[0].([]DependencyResponse)[vs[1].(int)]
}).(DependencyResponseOutput)
}
// Deployment properties.
type DeploymentProperties struct {
// The debug setting of the deployment.
DebugSetting *DebugSetting `pulumi:"debugSetting"`
// The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
Mode string `pulumi:"mode"`
// The deployment on error behavior.
OnErrorDeployment *OnErrorDeployment `pulumi:"onErrorDeployment"`
// Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
Parameters interface{} `pulumi:"parameters"`
// The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
ParametersLink *ParametersLink `pulumi:"parametersLink"`
// The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
Template interface{} `pulumi:"template"`
// The URI of the template. Use either the templateLink property or the template property, but not both.
TemplateLink *TemplateLink `pulumi:"templateLink"`
}
// DeploymentPropertiesInput is an input type that accepts DeploymentPropertiesArgs and DeploymentPropertiesOutput values.
// You can construct a concrete instance of `DeploymentPropertiesInput` via:
//
// DeploymentPropertiesArgs{...}
type DeploymentPropertiesInput interface {
pulumi.Input
ToDeploymentPropertiesOutput() DeploymentPropertiesOutput
ToDeploymentPropertiesOutputWithContext(context.Context) DeploymentPropertiesOutput
}
// Deployment properties.
type DeploymentPropertiesArgs struct {
// The debug setting of the deployment.
DebugSetting DebugSettingPtrInput `pulumi:"debugSetting"`
// The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
Mode DeploymentMode `pulumi:"mode"`
// The deployment on error behavior.
OnErrorDeployment OnErrorDeploymentPtrInput `pulumi:"onErrorDeployment"`
// Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
Parameters pulumi.Input `pulumi:"parameters"`
// The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
ParametersLink ParametersLinkPtrInput `pulumi:"parametersLink"`
// The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
Template pulumi.Input `pulumi:"template"`
// The URI of the template. Use either the templateLink property or the template property, but not both.
TemplateLink TemplateLinkPtrInput `pulumi:"templateLink"`
}
func (DeploymentPropertiesArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DeploymentProperties)(nil)).Elem()