-
Notifications
You must be signed in to change notification settings - Fork 51
/
pulumiTypes.go
3802 lines (3048 loc) · 187 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 batch
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
type AccountKeyVaultReference struct {
// The Azure identifier of the Azure KeyVault to use.
Id string `pulumi:"id"`
// The HTTPS URL of the Azure KeyVault to use.
Url string `pulumi:"url"`
}
// AccountKeyVaultReferenceInput is an input type that accepts AccountKeyVaultReferenceArgs and AccountKeyVaultReferenceOutput values.
// You can construct a concrete instance of `AccountKeyVaultReferenceInput` via:
//
// AccountKeyVaultReferenceArgs{...}
//
type AccountKeyVaultReferenceInput interface {
pulumi.Input
ToAccountKeyVaultReferenceOutput() AccountKeyVaultReferenceOutput
ToAccountKeyVaultReferenceOutputWithContext(context.Context) AccountKeyVaultReferenceOutput
}
type AccountKeyVaultReferenceArgs struct {
// The Azure identifier of the Azure KeyVault to use.
Id pulumi.StringInput `pulumi:"id"`
// The HTTPS URL of the Azure KeyVault to use.
Url pulumi.StringInput `pulumi:"url"`
}
func (AccountKeyVaultReferenceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AccountKeyVaultReference)(nil)).Elem()
}
func (i AccountKeyVaultReferenceArgs) ToAccountKeyVaultReferenceOutput() AccountKeyVaultReferenceOutput {
return i.ToAccountKeyVaultReferenceOutputWithContext(context.Background())
}
func (i AccountKeyVaultReferenceArgs) ToAccountKeyVaultReferenceOutputWithContext(ctx context.Context) AccountKeyVaultReferenceOutput {
return pulumi.ToOutputWithContext(ctx, i).(AccountKeyVaultReferenceOutput)
}
func (i AccountKeyVaultReferenceArgs) ToAccountKeyVaultReferencePtrOutput() AccountKeyVaultReferencePtrOutput {
return i.ToAccountKeyVaultReferencePtrOutputWithContext(context.Background())
}
func (i AccountKeyVaultReferenceArgs) ToAccountKeyVaultReferencePtrOutputWithContext(ctx context.Context) AccountKeyVaultReferencePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AccountKeyVaultReferenceOutput).ToAccountKeyVaultReferencePtrOutputWithContext(ctx)
}
// AccountKeyVaultReferencePtrInput is an input type that accepts AccountKeyVaultReferenceArgs, AccountKeyVaultReferencePtr and AccountKeyVaultReferencePtrOutput values.
// You can construct a concrete instance of `AccountKeyVaultReferencePtrInput` via:
//
// AccountKeyVaultReferenceArgs{...}
//
// or:
//
// nil
//
type AccountKeyVaultReferencePtrInput interface {
pulumi.Input
ToAccountKeyVaultReferencePtrOutput() AccountKeyVaultReferencePtrOutput
ToAccountKeyVaultReferencePtrOutputWithContext(context.Context) AccountKeyVaultReferencePtrOutput
}
type accountKeyVaultReferencePtrType AccountKeyVaultReferenceArgs
func AccountKeyVaultReferencePtr(v *AccountKeyVaultReferenceArgs) AccountKeyVaultReferencePtrInput {
return (*accountKeyVaultReferencePtrType)(v)
}
func (*accountKeyVaultReferencePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AccountKeyVaultReference)(nil)).Elem()
}
func (i *accountKeyVaultReferencePtrType) ToAccountKeyVaultReferencePtrOutput() AccountKeyVaultReferencePtrOutput {
return i.ToAccountKeyVaultReferencePtrOutputWithContext(context.Background())
}
func (i *accountKeyVaultReferencePtrType) ToAccountKeyVaultReferencePtrOutputWithContext(ctx context.Context) AccountKeyVaultReferencePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AccountKeyVaultReferencePtrOutput)
}
type AccountKeyVaultReferenceOutput struct{ *pulumi.OutputState }
func (AccountKeyVaultReferenceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AccountKeyVaultReference)(nil)).Elem()
}
func (o AccountKeyVaultReferenceOutput) ToAccountKeyVaultReferenceOutput() AccountKeyVaultReferenceOutput {
return o
}
func (o AccountKeyVaultReferenceOutput) ToAccountKeyVaultReferenceOutputWithContext(ctx context.Context) AccountKeyVaultReferenceOutput {
return o
}
func (o AccountKeyVaultReferenceOutput) ToAccountKeyVaultReferencePtrOutput() AccountKeyVaultReferencePtrOutput {
return o.ToAccountKeyVaultReferencePtrOutputWithContext(context.Background())
}
func (o AccountKeyVaultReferenceOutput) ToAccountKeyVaultReferencePtrOutputWithContext(ctx context.Context) AccountKeyVaultReferencePtrOutput {
return o.ApplyT(func(v AccountKeyVaultReference) *AccountKeyVaultReference {
return &v
}).(AccountKeyVaultReferencePtrOutput)
}
// The Azure identifier of the Azure KeyVault to use.
func (o AccountKeyVaultReferenceOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v AccountKeyVaultReference) string { return v.Id }).(pulumi.StringOutput)
}
// The HTTPS URL of the Azure KeyVault to use.
func (o AccountKeyVaultReferenceOutput) Url() pulumi.StringOutput {
return o.ApplyT(func(v AccountKeyVaultReference) string { return v.Url }).(pulumi.StringOutput)
}
type AccountKeyVaultReferencePtrOutput struct{ *pulumi.OutputState }
func (AccountKeyVaultReferencePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AccountKeyVaultReference)(nil)).Elem()
}
func (o AccountKeyVaultReferencePtrOutput) ToAccountKeyVaultReferencePtrOutput() AccountKeyVaultReferencePtrOutput {
return o
}
func (o AccountKeyVaultReferencePtrOutput) ToAccountKeyVaultReferencePtrOutputWithContext(ctx context.Context) AccountKeyVaultReferencePtrOutput {
return o
}
func (o AccountKeyVaultReferencePtrOutput) Elem() AccountKeyVaultReferenceOutput {
return o.ApplyT(func(v *AccountKeyVaultReference) AccountKeyVaultReference { return *v }).(AccountKeyVaultReferenceOutput)
}
// The Azure identifier of the Azure KeyVault to use.
func (o AccountKeyVaultReferencePtrOutput) Id() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AccountKeyVaultReference) *string {
if v == nil {
return nil
}
return &v.Id
}).(pulumi.StringPtrOutput)
}
// The HTTPS URL of the Azure KeyVault to use.
func (o AccountKeyVaultReferencePtrOutput) Url() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AccountKeyVaultReference) *string {
if v == nil {
return nil
}
return &v.Url
}).(pulumi.StringPtrOutput)
}
type PoolAutoScale struct {
// The interval to wait before evaluating if the pool needs to be scaled. Defaults to `PT15M`.
EvaluationInterval *string `pulumi:"evaluationInterval"`
// The autoscale formula that needs to be used for scaling the Batch pool.
Formula string `pulumi:"formula"`
}
// PoolAutoScaleInput is an input type that accepts PoolAutoScaleArgs and PoolAutoScaleOutput values.
// You can construct a concrete instance of `PoolAutoScaleInput` via:
//
// PoolAutoScaleArgs{...}
//
type PoolAutoScaleInput interface {
pulumi.Input
ToPoolAutoScaleOutput() PoolAutoScaleOutput
ToPoolAutoScaleOutputWithContext(context.Context) PoolAutoScaleOutput
}
type PoolAutoScaleArgs struct {
// The interval to wait before evaluating if the pool needs to be scaled. Defaults to `PT15M`.
EvaluationInterval pulumi.StringPtrInput `pulumi:"evaluationInterval"`
// The autoscale formula that needs to be used for scaling the Batch pool.
Formula pulumi.StringInput `pulumi:"formula"`
}
func (PoolAutoScaleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolAutoScale)(nil)).Elem()
}
func (i PoolAutoScaleArgs) ToPoolAutoScaleOutput() PoolAutoScaleOutput {
return i.ToPoolAutoScaleOutputWithContext(context.Background())
}
func (i PoolAutoScaleArgs) ToPoolAutoScaleOutputWithContext(ctx context.Context) PoolAutoScaleOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolAutoScaleOutput)
}
func (i PoolAutoScaleArgs) ToPoolAutoScalePtrOutput() PoolAutoScalePtrOutput {
return i.ToPoolAutoScalePtrOutputWithContext(context.Background())
}
func (i PoolAutoScaleArgs) ToPoolAutoScalePtrOutputWithContext(ctx context.Context) PoolAutoScalePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolAutoScaleOutput).ToPoolAutoScalePtrOutputWithContext(ctx)
}
// PoolAutoScalePtrInput is an input type that accepts PoolAutoScaleArgs, PoolAutoScalePtr and PoolAutoScalePtrOutput values.
// You can construct a concrete instance of `PoolAutoScalePtrInput` via:
//
// PoolAutoScaleArgs{...}
//
// or:
//
// nil
//
type PoolAutoScalePtrInput interface {
pulumi.Input
ToPoolAutoScalePtrOutput() PoolAutoScalePtrOutput
ToPoolAutoScalePtrOutputWithContext(context.Context) PoolAutoScalePtrOutput
}
type poolAutoScalePtrType PoolAutoScaleArgs
func PoolAutoScalePtr(v *PoolAutoScaleArgs) PoolAutoScalePtrInput {
return (*poolAutoScalePtrType)(v)
}
func (*poolAutoScalePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**PoolAutoScale)(nil)).Elem()
}
func (i *poolAutoScalePtrType) ToPoolAutoScalePtrOutput() PoolAutoScalePtrOutput {
return i.ToPoolAutoScalePtrOutputWithContext(context.Background())
}
func (i *poolAutoScalePtrType) ToPoolAutoScalePtrOutputWithContext(ctx context.Context) PoolAutoScalePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolAutoScalePtrOutput)
}
type PoolAutoScaleOutput struct{ *pulumi.OutputState }
func (PoolAutoScaleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolAutoScale)(nil)).Elem()
}
func (o PoolAutoScaleOutput) ToPoolAutoScaleOutput() PoolAutoScaleOutput {
return o
}
func (o PoolAutoScaleOutput) ToPoolAutoScaleOutputWithContext(ctx context.Context) PoolAutoScaleOutput {
return o
}
func (o PoolAutoScaleOutput) ToPoolAutoScalePtrOutput() PoolAutoScalePtrOutput {
return o.ToPoolAutoScalePtrOutputWithContext(context.Background())
}
func (o PoolAutoScaleOutput) ToPoolAutoScalePtrOutputWithContext(ctx context.Context) PoolAutoScalePtrOutput {
return o.ApplyT(func(v PoolAutoScale) *PoolAutoScale {
return &v
}).(PoolAutoScalePtrOutput)
}
// The interval to wait before evaluating if the pool needs to be scaled. Defaults to `PT15M`.
func (o PoolAutoScaleOutput) EvaluationInterval() pulumi.StringPtrOutput {
return o.ApplyT(func(v PoolAutoScale) *string { return v.EvaluationInterval }).(pulumi.StringPtrOutput)
}
// The autoscale formula that needs to be used for scaling the Batch pool.
func (o PoolAutoScaleOutput) Formula() pulumi.StringOutput {
return o.ApplyT(func(v PoolAutoScale) string { return v.Formula }).(pulumi.StringOutput)
}
type PoolAutoScalePtrOutput struct{ *pulumi.OutputState }
func (PoolAutoScalePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PoolAutoScale)(nil)).Elem()
}
func (o PoolAutoScalePtrOutput) ToPoolAutoScalePtrOutput() PoolAutoScalePtrOutput {
return o
}
func (o PoolAutoScalePtrOutput) ToPoolAutoScalePtrOutputWithContext(ctx context.Context) PoolAutoScalePtrOutput {
return o
}
func (o PoolAutoScalePtrOutput) Elem() PoolAutoScaleOutput {
return o.ApplyT(func(v *PoolAutoScale) PoolAutoScale { return *v }).(PoolAutoScaleOutput)
}
// The interval to wait before evaluating if the pool needs to be scaled. Defaults to `PT15M`.
func (o PoolAutoScalePtrOutput) EvaluationInterval() pulumi.StringPtrOutput {
return o.ApplyT(func(v *PoolAutoScale) *string {
if v == nil {
return nil
}
return v.EvaluationInterval
}).(pulumi.StringPtrOutput)
}
// The autoscale formula that needs to be used for scaling the Batch pool.
func (o PoolAutoScalePtrOutput) Formula() pulumi.StringPtrOutput {
return o.ApplyT(func(v *PoolAutoScale) *string {
if v == nil {
return nil
}
return &v.Formula
}).(pulumi.StringPtrOutput)
}
type PoolCertificate struct {
// The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
Id string `pulumi:"id"`
// The location of the certificate store on the compute node into which to install the certificate. Possible values are `CurrentUser` or `LocalMachine`.
StoreLocation string `pulumi:"storeLocation"`
// The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: `My`, `Root`, `CA`, `Trust`, `Disallowed`, `TrustedPeople`, `TrustedPublisher`, `AuthRoot`, `AddressBook`, but any custom store name can also be used. The default value is `My`.
StoreName *string `pulumi:"storeName"`
// Which user accounts on the compute node should have access to the private data of the certificate.
Visibilities []string `pulumi:"visibilities"`
}
// PoolCertificateInput is an input type that accepts PoolCertificateArgs and PoolCertificateOutput values.
// You can construct a concrete instance of `PoolCertificateInput` via:
//
// PoolCertificateArgs{...}
//
type PoolCertificateInput interface {
pulumi.Input
ToPoolCertificateOutput() PoolCertificateOutput
ToPoolCertificateOutputWithContext(context.Context) PoolCertificateOutput
}
type PoolCertificateArgs struct {
// The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
Id pulumi.StringInput `pulumi:"id"`
// The location of the certificate store on the compute node into which to install the certificate. Possible values are `CurrentUser` or `LocalMachine`.
StoreLocation pulumi.StringInput `pulumi:"storeLocation"`
// The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: `My`, `Root`, `CA`, `Trust`, `Disallowed`, `TrustedPeople`, `TrustedPublisher`, `AuthRoot`, `AddressBook`, but any custom store name can also be used. The default value is `My`.
StoreName pulumi.StringPtrInput `pulumi:"storeName"`
// Which user accounts on the compute node should have access to the private data of the certificate.
Visibilities pulumi.StringArrayInput `pulumi:"visibilities"`
}
func (PoolCertificateArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolCertificate)(nil)).Elem()
}
func (i PoolCertificateArgs) ToPoolCertificateOutput() PoolCertificateOutput {
return i.ToPoolCertificateOutputWithContext(context.Background())
}
func (i PoolCertificateArgs) ToPoolCertificateOutputWithContext(ctx context.Context) PoolCertificateOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolCertificateOutput)
}
// PoolCertificateArrayInput is an input type that accepts PoolCertificateArray and PoolCertificateArrayOutput values.
// You can construct a concrete instance of `PoolCertificateArrayInput` via:
//
// PoolCertificateArray{ PoolCertificateArgs{...} }
//
type PoolCertificateArrayInput interface {
pulumi.Input
ToPoolCertificateArrayOutput() PoolCertificateArrayOutput
ToPoolCertificateArrayOutputWithContext(context.Context) PoolCertificateArrayOutput
}
type PoolCertificateArray []PoolCertificateInput
func (PoolCertificateArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolCertificate)(nil)).Elem()
}
func (i PoolCertificateArray) ToPoolCertificateArrayOutput() PoolCertificateArrayOutput {
return i.ToPoolCertificateArrayOutputWithContext(context.Background())
}
func (i PoolCertificateArray) ToPoolCertificateArrayOutputWithContext(ctx context.Context) PoolCertificateArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolCertificateArrayOutput)
}
type PoolCertificateOutput struct{ *pulumi.OutputState }
func (PoolCertificateOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolCertificate)(nil)).Elem()
}
func (o PoolCertificateOutput) ToPoolCertificateOutput() PoolCertificateOutput {
return o
}
func (o PoolCertificateOutput) ToPoolCertificateOutputWithContext(ctx context.Context) PoolCertificateOutput {
return o
}
// The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
func (o PoolCertificateOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v PoolCertificate) string { return v.Id }).(pulumi.StringOutput)
}
// The location of the certificate store on the compute node into which to install the certificate. Possible values are `CurrentUser` or `LocalMachine`.
func (o PoolCertificateOutput) StoreLocation() pulumi.StringOutput {
return o.ApplyT(func(v PoolCertificate) string { return v.StoreLocation }).(pulumi.StringOutput)
}
// The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: `My`, `Root`, `CA`, `Trust`, `Disallowed`, `TrustedPeople`, `TrustedPublisher`, `AuthRoot`, `AddressBook`, but any custom store name can also be used. The default value is `My`.
func (o PoolCertificateOutput) StoreName() pulumi.StringPtrOutput {
return o.ApplyT(func(v PoolCertificate) *string { return v.StoreName }).(pulumi.StringPtrOutput)
}
// Which user accounts on the compute node should have access to the private data of the certificate.
func (o PoolCertificateOutput) Visibilities() pulumi.StringArrayOutput {
return o.ApplyT(func(v PoolCertificate) []string { return v.Visibilities }).(pulumi.StringArrayOutput)
}
type PoolCertificateArrayOutput struct{ *pulumi.OutputState }
func (PoolCertificateArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolCertificate)(nil)).Elem()
}
func (o PoolCertificateArrayOutput) ToPoolCertificateArrayOutput() PoolCertificateArrayOutput {
return o
}
func (o PoolCertificateArrayOutput) ToPoolCertificateArrayOutputWithContext(ctx context.Context) PoolCertificateArrayOutput {
return o
}
func (o PoolCertificateArrayOutput) Index(i pulumi.IntInput) PoolCertificateOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) PoolCertificate {
return vs[0].([]PoolCertificate)[vs[1].(int)]
}).(PoolCertificateOutput)
}
type PoolContainerConfiguration struct {
// Additional container registries from which container images can be pulled by the pool's VMs.
ContainerRegistries []PoolContainerConfigurationContainerRegistry `pulumi:"containerRegistries"`
// The type of container configuration. Possible value is `DockerCompatible`.
Type *string `pulumi:"type"`
}
// PoolContainerConfigurationInput is an input type that accepts PoolContainerConfigurationArgs and PoolContainerConfigurationOutput values.
// You can construct a concrete instance of `PoolContainerConfigurationInput` via:
//
// PoolContainerConfigurationArgs{...}
//
type PoolContainerConfigurationInput interface {
pulumi.Input
ToPoolContainerConfigurationOutput() PoolContainerConfigurationOutput
ToPoolContainerConfigurationOutputWithContext(context.Context) PoolContainerConfigurationOutput
}
type PoolContainerConfigurationArgs struct {
// Additional container registries from which container images can be pulled by the pool's VMs.
ContainerRegistries PoolContainerConfigurationContainerRegistryArrayInput `pulumi:"containerRegistries"`
// The type of container configuration. Possible value is `DockerCompatible`.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (PoolContainerConfigurationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolContainerConfiguration)(nil)).Elem()
}
func (i PoolContainerConfigurationArgs) ToPoolContainerConfigurationOutput() PoolContainerConfigurationOutput {
return i.ToPoolContainerConfigurationOutputWithContext(context.Background())
}
func (i PoolContainerConfigurationArgs) ToPoolContainerConfigurationOutputWithContext(ctx context.Context) PoolContainerConfigurationOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolContainerConfigurationOutput)
}
func (i PoolContainerConfigurationArgs) ToPoolContainerConfigurationPtrOutput() PoolContainerConfigurationPtrOutput {
return i.ToPoolContainerConfigurationPtrOutputWithContext(context.Background())
}
func (i PoolContainerConfigurationArgs) ToPoolContainerConfigurationPtrOutputWithContext(ctx context.Context) PoolContainerConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolContainerConfigurationOutput).ToPoolContainerConfigurationPtrOutputWithContext(ctx)
}
// PoolContainerConfigurationPtrInput is an input type that accepts PoolContainerConfigurationArgs, PoolContainerConfigurationPtr and PoolContainerConfigurationPtrOutput values.
// You can construct a concrete instance of `PoolContainerConfigurationPtrInput` via:
//
// PoolContainerConfigurationArgs{...}
//
// or:
//
// nil
//
type PoolContainerConfigurationPtrInput interface {
pulumi.Input
ToPoolContainerConfigurationPtrOutput() PoolContainerConfigurationPtrOutput
ToPoolContainerConfigurationPtrOutputWithContext(context.Context) PoolContainerConfigurationPtrOutput
}
type poolContainerConfigurationPtrType PoolContainerConfigurationArgs
func PoolContainerConfigurationPtr(v *PoolContainerConfigurationArgs) PoolContainerConfigurationPtrInput {
return (*poolContainerConfigurationPtrType)(v)
}
func (*poolContainerConfigurationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**PoolContainerConfiguration)(nil)).Elem()
}
func (i *poolContainerConfigurationPtrType) ToPoolContainerConfigurationPtrOutput() PoolContainerConfigurationPtrOutput {
return i.ToPoolContainerConfigurationPtrOutputWithContext(context.Background())
}
func (i *poolContainerConfigurationPtrType) ToPoolContainerConfigurationPtrOutputWithContext(ctx context.Context) PoolContainerConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolContainerConfigurationPtrOutput)
}
type PoolContainerConfigurationOutput struct{ *pulumi.OutputState }
func (PoolContainerConfigurationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolContainerConfiguration)(nil)).Elem()
}
func (o PoolContainerConfigurationOutput) ToPoolContainerConfigurationOutput() PoolContainerConfigurationOutput {
return o
}
func (o PoolContainerConfigurationOutput) ToPoolContainerConfigurationOutputWithContext(ctx context.Context) PoolContainerConfigurationOutput {
return o
}
func (o PoolContainerConfigurationOutput) ToPoolContainerConfigurationPtrOutput() PoolContainerConfigurationPtrOutput {
return o.ToPoolContainerConfigurationPtrOutputWithContext(context.Background())
}
func (o PoolContainerConfigurationOutput) ToPoolContainerConfigurationPtrOutputWithContext(ctx context.Context) PoolContainerConfigurationPtrOutput {
return o.ApplyT(func(v PoolContainerConfiguration) *PoolContainerConfiguration {
return &v
}).(PoolContainerConfigurationPtrOutput)
}
// Additional container registries from which container images can be pulled by the pool's VMs.
func (o PoolContainerConfigurationOutput) ContainerRegistries() PoolContainerConfigurationContainerRegistryArrayOutput {
return o.ApplyT(func(v PoolContainerConfiguration) []PoolContainerConfigurationContainerRegistry {
return v.ContainerRegistries
}).(PoolContainerConfigurationContainerRegistryArrayOutput)
}
// The type of container configuration. Possible value is `DockerCompatible`.
func (o PoolContainerConfigurationOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v PoolContainerConfiguration) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type PoolContainerConfigurationPtrOutput struct{ *pulumi.OutputState }
func (PoolContainerConfigurationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PoolContainerConfiguration)(nil)).Elem()
}
func (o PoolContainerConfigurationPtrOutput) ToPoolContainerConfigurationPtrOutput() PoolContainerConfigurationPtrOutput {
return o
}
func (o PoolContainerConfigurationPtrOutput) ToPoolContainerConfigurationPtrOutputWithContext(ctx context.Context) PoolContainerConfigurationPtrOutput {
return o
}
func (o PoolContainerConfigurationPtrOutput) Elem() PoolContainerConfigurationOutput {
return o.ApplyT(func(v *PoolContainerConfiguration) PoolContainerConfiguration { return *v }).(PoolContainerConfigurationOutput)
}
// Additional container registries from which container images can be pulled by the pool's VMs.
func (o PoolContainerConfigurationPtrOutput) ContainerRegistries() PoolContainerConfigurationContainerRegistryArrayOutput {
return o.ApplyT(func(v *PoolContainerConfiguration) []PoolContainerConfigurationContainerRegistry {
if v == nil {
return nil
}
return v.ContainerRegistries
}).(PoolContainerConfigurationContainerRegistryArrayOutput)
}
// The type of container configuration. Possible value is `DockerCompatible`.
func (o PoolContainerConfigurationPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *PoolContainerConfiguration) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
type PoolContainerConfigurationContainerRegistry struct {
// The password to log into the registry server. Changing this forces a new resource to be created.
Password string `pulumi:"password"`
// The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
RegistryServer string `pulumi:"registryServer"`
// The user name to log into the registry server. Changing this forces a new resource to be created.
UserName string `pulumi:"userName"`
}
// PoolContainerConfigurationContainerRegistryInput is an input type that accepts PoolContainerConfigurationContainerRegistryArgs and PoolContainerConfigurationContainerRegistryOutput values.
// You can construct a concrete instance of `PoolContainerConfigurationContainerRegistryInput` via:
//
// PoolContainerConfigurationContainerRegistryArgs{...}
//
type PoolContainerConfigurationContainerRegistryInput interface {
pulumi.Input
ToPoolContainerConfigurationContainerRegistryOutput() PoolContainerConfigurationContainerRegistryOutput
ToPoolContainerConfigurationContainerRegistryOutputWithContext(context.Context) PoolContainerConfigurationContainerRegistryOutput
}
type PoolContainerConfigurationContainerRegistryArgs struct {
// The password to log into the registry server. Changing this forces a new resource to be created.
Password pulumi.StringInput `pulumi:"password"`
// The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
RegistryServer pulumi.StringInput `pulumi:"registryServer"`
// The user name to log into the registry server. Changing this forces a new resource to be created.
UserName pulumi.StringInput `pulumi:"userName"`
}
func (PoolContainerConfigurationContainerRegistryArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolContainerConfigurationContainerRegistry)(nil)).Elem()
}
func (i PoolContainerConfigurationContainerRegistryArgs) ToPoolContainerConfigurationContainerRegistryOutput() PoolContainerConfigurationContainerRegistryOutput {
return i.ToPoolContainerConfigurationContainerRegistryOutputWithContext(context.Background())
}
func (i PoolContainerConfigurationContainerRegistryArgs) ToPoolContainerConfigurationContainerRegistryOutputWithContext(ctx context.Context) PoolContainerConfigurationContainerRegistryOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolContainerConfigurationContainerRegistryOutput)
}
// PoolContainerConfigurationContainerRegistryArrayInput is an input type that accepts PoolContainerConfigurationContainerRegistryArray and PoolContainerConfigurationContainerRegistryArrayOutput values.
// You can construct a concrete instance of `PoolContainerConfigurationContainerRegistryArrayInput` via:
//
// PoolContainerConfigurationContainerRegistryArray{ PoolContainerConfigurationContainerRegistryArgs{...} }
//
type PoolContainerConfigurationContainerRegistryArrayInput interface {
pulumi.Input
ToPoolContainerConfigurationContainerRegistryArrayOutput() PoolContainerConfigurationContainerRegistryArrayOutput
ToPoolContainerConfigurationContainerRegistryArrayOutputWithContext(context.Context) PoolContainerConfigurationContainerRegistryArrayOutput
}
type PoolContainerConfigurationContainerRegistryArray []PoolContainerConfigurationContainerRegistryInput
func (PoolContainerConfigurationContainerRegistryArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolContainerConfigurationContainerRegistry)(nil)).Elem()
}
func (i PoolContainerConfigurationContainerRegistryArray) ToPoolContainerConfigurationContainerRegistryArrayOutput() PoolContainerConfigurationContainerRegistryArrayOutput {
return i.ToPoolContainerConfigurationContainerRegistryArrayOutputWithContext(context.Background())
}
func (i PoolContainerConfigurationContainerRegistryArray) ToPoolContainerConfigurationContainerRegistryArrayOutputWithContext(ctx context.Context) PoolContainerConfigurationContainerRegistryArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolContainerConfigurationContainerRegistryArrayOutput)
}
type PoolContainerConfigurationContainerRegistryOutput struct{ *pulumi.OutputState }
func (PoolContainerConfigurationContainerRegistryOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolContainerConfigurationContainerRegistry)(nil)).Elem()
}
func (o PoolContainerConfigurationContainerRegistryOutput) ToPoolContainerConfigurationContainerRegistryOutput() PoolContainerConfigurationContainerRegistryOutput {
return o
}
func (o PoolContainerConfigurationContainerRegistryOutput) ToPoolContainerConfigurationContainerRegistryOutputWithContext(ctx context.Context) PoolContainerConfigurationContainerRegistryOutput {
return o
}
// The password to log into the registry server. Changing this forces a new resource to be created.
func (o PoolContainerConfigurationContainerRegistryOutput) Password() pulumi.StringOutput {
return o.ApplyT(func(v PoolContainerConfigurationContainerRegistry) string { return v.Password }).(pulumi.StringOutput)
}
// The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
func (o PoolContainerConfigurationContainerRegistryOutput) RegistryServer() pulumi.StringOutput {
return o.ApplyT(func(v PoolContainerConfigurationContainerRegistry) string { return v.RegistryServer }).(pulumi.StringOutput)
}
// The user name to log into the registry server. Changing this forces a new resource to be created.
func (o PoolContainerConfigurationContainerRegistryOutput) UserName() pulumi.StringOutput {
return o.ApplyT(func(v PoolContainerConfigurationContainerRegistry) string { return v.UserName }).(pulumi.StringOutput)
}
type PoolContainerConfigurationContainerRegistryArrayOutput struct{ *pulumi.OutputState }
func (PoolContainerConfigurationContainerRegistryArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]PoolContainerConfigurationContainerRegistry)(nil)).Elem()
}
func (o PoolContainerConfigurationContainerRegistryArrayOutput) ToPoolContainerConfigurationContainerRegistryArrayOutput() PoolContainerConfigurationContainerRegistryArrayOutput {
return o
}
func (o PoolContainerConfigurationContainerRegistryArrayOutput) ToPoolContainerConfigurationContainerRegistryArrayOutputWithContext(ctx context.Context) PoolContainerConfigurationContainerRegistryArrayOutput {
return o
}
func (o PoolContainerConfigurationContainerRegistryArrayOutput) Index(i pulumi.IntInput) PoolContainerConfigurationContainerRegistryOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) PoolContainerConfigurationContainerRegistry {
return vs[0].([]PoolContainerConfigurationContainerRegistry)[vs[1].(int)]
}).(PoolContainerConfigurationContainerRegistryOutput)
}
type PoolFixedScale struct {
// The timeout for resize operations. Defaults to `PT15M`.
ResizeTimeout *string `pulumi:"resizeTimeout"`
// The number of nodes in the Batch pool. Defaults to `1`.
TargetDedicatedNodes *int `pulumi:"targetDedicatedNodes"`
// The number of low priority nodes in the Batch pool. Defaults to `0`.
TargetLowPriorityNodes *int `pulumi:"targetLowPriorityNodes"`
}
// PoolFixedScaleInput is an input type that accepts PoolFixedScaleArgs and PoolFixedScaleOutput values.
// You can construct a concrete instance of `PoolFixedScaleInput` via:
//
// PoolFixedScaleArgs{...}
//
type PoolFixedScaleInput interface {
pulumi.Input
ToPoolFixedScaleOutput() PoolFixedScaleOutput
ToPoolFixedScaleOutputWithContext(context.Context) PoolFixedScaleOutput
}
type PoolFixedScaleArgs struct {
// The timeout for resize operations. Defaults to `PT15M`.
ResizeTimeout pulumi.StringPtrInput `pulumi:"resizeTimeout"`
// The number of nodes in the Batch pool. Defaults to `1`.
TargetDedicatedNodes pulumi.IntPtrInput `pulumi:"targetDedicatedNodes"`
// The number of low priority nodes in the Batch pool. Defaults to `0`.
TargetLowPriorityNodes pulumi.IntPtrInput `pulumi:"targetLowPriorityNodes"`
}
func (PoolFixedScaleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolFixedScale)(nil)).Elem()
}
func (i PoolFixedScaleArgs) ToPoolFixedScaleOutput() PoolFixedScaleOutput {
return i.ToPoolFixedScaleOutputWithContext(context.Background())
}
func (i PoolFixedScaleArgs) ToPoolFixedScaleOutputWithContext(ctx context.Context) PoolFixedScaleOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolFixedScaleOutput)
}
func (i PoolFixedScaleArgs) ToPoolFixedScalePtrOutput() PoolFixedScalePtrOutput {
return i.ToPoolFixedScalePtrOutputWithContext(context.Background())
}
func (i PoolFixedScaleArgs) ToPoolFixedScalePtrOutputWithContext(ctx context.Context) PoolFixedScalePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolFixedScaleOutput).ToPoolFixedScalePtrOutputWithContext(ctx)
}
// PoolFixedScalePtrInput is an input type that accepts PoolFixedScaleArgs, PoolFixedScalePtr and PoolFixedScalePtrOutput values.
// You can construct a concrete instance of `PoolFixedScalePtrInput` via:
//
// PoolFixedScaleArgs{...}
//
// or:
//
// nil
//
type PoolFixedScalePtrInput interface {
pulumi.Input
ToPoolFixedScalePtrOutput() PoolFixedScalePtrOutput
ToPoolFixedScalePtrOutputWithContext(context.Context) PoolFixedScalePtrOutput
}
type poolFixedScalePtrType PoolFixedScaleArgs
func PoolFixedScalePtr(v *PoolFixedScaleArgs) PoolFixedScalePtrInput {
return (*poolFixedScalePtrType)(v)
}
func (*poolFixedScalePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**PoolFixedScale)(nil)).Elem()
}
func (i *poolFixedScalePtrType) ToPoolFixedScalePtrOutput() PoolFixedScalePtrOutput {
return i.ToPoolFixedScalePtrOutputWithContext(context.Background())
}
func (i *poolFixedScalePtrType) ToPoolFixedScalePtrOutputWithContext(ctx context.Context) PoolFixedScalePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolFixedScalePtrOutput)
}
type PoolFixedScaleOutput struct{ *pulumi.OutputState }
func (PoolFixedScaleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolFixedScale)(nil)).Elem()
}
func (o PoolFixedScaleOutput) ToPoolFixedScaleOutput() PoolFixedScaleOutput {
return o
}
func (o PoolFixedScaleOutput) ToPoolFixedScaleOutputWithContext(ctx context.Context) PoolFixedScaleOutput {
return o
}
func (o PoolFixedScaleOutput) ToPoolFixedScalePtrOutput() PoolFixedScalePtrOutput {
return o.ToPoolFixedScalePtrOutputWithContext(context.Background())
}
func (o PoolFixedScaleOutput) ToPoolFixedScalePtrOutputWithContext(ctx context.Context) PoolFixedScalePtrOutput {
return o.ApplyT(func(v PoolFixedScale) *PoolFixedScale {
return &v
}).(PoolFixedScalePtrOutput)
}
// The timeout for resize operations. Defaults to `PT15M`.
func (o PoolFixedScaleOutput) ResizeTimeout() pulumi.StringPtrOutput {
return o.ApplyT(func(v PoolFixedScale) *string { return v.ResizeTimeout }).(pulumi.StringPtrOutput)
}
// The number of nodes in the Batch pool. Defaults to `1`.
func (o PoolFixedScaleOutput) TargetDedicatedNodes() pulumi.IntPtrOutput {
return o.ApplyT(func(v PoolFixedScale) *int { return v.TargetDedicatedNodes }).(pulumi.IntPtrOutput)
}
// The number of low priority nodes in the Batch pool. Defaults to `0`.
func (o PoolFixedScaleOutput) TargetLowPriorityNodes() pulumi.IntPtrOutput {
return o.ApplyT(func(v PoolFixedScale) *int { return v.TargetLowPriorityNodes }).(pulumi.IntPtrOutput)
}
type PoolFixedScalePtrOutput struct{ *pulumi.OutputState }
func (PoolFixedScalePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**PoolFixedScale)(nil)).Elem()
}
func (o PoolFixedScalePtrOutput) ToPoolFixedScalePtrOutput() PoolFixedScalePtrOutput {
return o
}
func (o PoolFixedScalePtrOutput) ToPoolFixedScalePtrOutputWithContext(ctx context.Context) PoolFixedScalePtrOutput {
return o
}
func (o PoolFixedScalePtrOutput) Elem() PoolFixedScaleOutput {
return o.ApplyT(func(v *PoolFixedScale) PoolFixedScale { return *v }).(PoolFixedScaleOutput)
}
// The timeout for resize operations. Defaults to `PT15M`.
func (o PoolFixedScalePtrOutput) ResizeTimeout() pulumi.StringPtrOutput {
return o.ApplyT(func(v *PoolFixedScale) *string {
if v == nil {
return nil
}
return v.ResizeTimeout
}).(pulumi.StringPtrOutput)
}
// The number of nodes in the Batch pool. Defaults to `1`.
func (o PoolFixedScalePtrOutput) TargetDedicatedNodes() pulumi.IntPtrOutput {
return o.ApplyT(func(v *PoolFixedScale) *int {
if v == nil {
return nil
}
return v.TargetDedicatedNodes
}).(pulumi.IntPtrOutput)
}
// The number of low priority nodes in the Batch pool. Defaults to `0`.
func (o PoolFixedScalePtrOutput) TargetLowPriorityNodes() pulumi.IntPtrOutput {
return o.ApplyT(func(v *PoolFixedScale) *int {
if v == nil {
return nil
}
return v.TargetLowPriorityNodes
}).(pulumi.IntPtrOutput)
}
type PoolNetworkConfiguration struct {
// A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inboundNatPools block below. Changing this forces a new resource to be created.
EndpointConfigurations []PoolNetworkConfigurationEndpointConfiguration `pulumi:"endpointConfigurations"`
// A list of public ip ids that will be allocated to nodes. Changing this forces a new resource to be created.
PublicIps []string `pulumi:"publicIps"`
// The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
SubnetId string `pulumi:"subnetId"`
}
// PoolNetworkConfigurationInput is an input type that accepts PoolNetworkConfigurationArgs and PoolNetworkConfigurationOutput values.
// You can construct a concrete instance of `PoolNetworkConfigurationInput` via:
//
// PoolNetworkConfigurationArgs{...}
//
type PoolNetworkConfigurationInput interface {
pulumi.Input
ToPoolNetworkConfigurationOutput() PoolNetworkConfigurationOutput
ToPoolNetworkConfigurationOutputWithContext(context.Context) PoolNetworkConfigurationOutput
}
type PoolNetworkConfigurationArgs struct {
// A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inboundNatPools block below. Changing this forces a new resource to be created.
EndpointConfigurations PoolNetworkConfigurationEndpointConfigurationArrayInput `pulumi:"endpointConfigurations"`
// A list of public ip ids that will be allocated to nodes. Changing this forces a new resource to be created.
PublicIps pulumi.StringArrayInput `pulumi:"publicIps"`
// The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
SubnetId pulumi.StringInput `pulumi:"subnetId"`
}
func (PoolNetworkConfigurationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*PoolNetworkConfiguration)(nil)).Elem()
}
func (i PoolNetworkConfigurationArgs) ToPoolNetworkConfigurationOutput() PoolNetworkConfigurationOutput {
return i.ToPoolNetworkConfigurationOutputWithContext(context.Background())
}
func (i PoolNetworkConfigurationArgs) ToPoolNetworkConfigurationOutputWithContext(ctx context.Context) PoolNetworkConfigurationOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolNetworkConfigurationOutput)
}
func (i PoolNetworkConfigurationArgs) ToPoolNetworkConfigurationPtrOutput() PoolNetworkConfigurationPtrOutput {
return i.ToPoolNetworkConfigurationPtrOutputWithContext(context.Background())
}
func (i PoolNetworkConfigurationArgs) ToPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) PoolNetworkConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolNetworkConfigurationOutput).ToPoolNetworkConfigurationPtrOutputWithContext(ctx)
}
// PoolNetworkConfigurationPtrInput is an input type that accepts PoolNetworkConfigurationArgs, PoolNetworkConfigurationPtr and PoolNetworkConfigurationPtrOutput values.
// You can construct a concrete instance of `PoolNetworkConfigurationPtrInput` via:
//
// PoolNetworkConfigurationArgs{...}
//
// or:
//
// nil
//
type PoolNetworkConfigurationPtrInput interface {
pulumi.Input
ToPoolNetworkConfigurationPtrOutput() PoolNetworkConfigurationPtrOutput
ToPoolNetworkConfigurationPtrOutputWithContext(context.Context) PoolNetworkConfigurationPtrOutput
}
type poolNetworkConfigurationPtrType PoolNetworkConfigurationArgs
func PoolNetworkConfigurationPtr(v *PoolNetworkConfigurationArgs) PoolNetworkConfigurationPtrInput {
return (*poolNetworkConfigurationPtrType)(v)
}
func (*poolNetworkConfigurationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**PoolNetworkConfiguration)(nil)).Elem()
}
func (i *poolNetworkConfigurationPtrType) ToPoolNetworkConfigurationPtrOutput() PoolNetworkConfigurationPtrOutput {
return i.ToPoolNetworkConfigurationPtrOutputWithContext(context.Background())
}
func (i *poolNetworkConfigurationPtrType) ToPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) PoolNetworkConfigurationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(PoolNetworkConfigurationPtrOutput)
}
type PoolNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (PoolNetworkConfigurationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PoolNetworkConfiguration)(nil)).Elem()
}
func (o PoolNetworkConfigurationOutput) ToPoolNetworkConfigurationOutput() PoolNetworkConfigurationOutput {
return o
}
func (o PoolNetworkConfigurationOutput) ToPoolNetworkConfigurationOutputWithContext(ctx context.Context) PoolNetworkConfigurationOutput {
return o
}
func (o PoolNetworkConfigurationOutput) ToPoolNetworkConfigurationPtrOutput() PoolNetworkConfigurationPtrOutput {
return o.ToPoolNetworkConfigurationPtrOutputWithContext(context.Background())
}
func (o PoolNetworkConfigurationOutput) ToPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) PoolNetworkConfigurationPtrOutput {
return o.ApplyT(func(v PoolNetworkConfiguration) *PoolNetworkConfiguration {
return &v
}).(PoolNetworkConfigurationPtrOutput)
}
// A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inboundNatPools block below. Changing this forces a new resource to be created.
func (o PoolNetworkConfigurationOutput) EndpointConfigurations() PoolNetworkConfigurationEndpointConfigurationArrayOutput {
return o.ApplyT(func(v PoolNetworkConfiguration) []PoolNetworkConfigurationEndpointConfiguration {
return v.EndpointConfigurations
}).(PoolNetworkConfigurationEndpointConfigurationArrayOutput)
}
// A list of public ip ids that will be allocated to nodes. Changing this forces a new resource to be created.