generated from pulumi/pulumi-tf-provider-boilerplate
/
pulumiTypes.go
1356 lines (1108 loc) · 60.5 KB
/
pulumiTypes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package ehpc
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type ClusterAdditionalVolume struct {
// The queue of the nodes to which the additional file system is attached.
JobQueue *string `pulumi:"jobQueue"`
// The local directory on which the additional file system is mounted.
LocalDirectory *string `pulumi:"localDirectory"`
// The type of the cluster. Valid value: `PublicCloud`.
Location *string `pulumi:"location"`
// The remote directory to which the additional file system is mounted.
RemoteDirectory *string `pulumi:"remoteDirectory"`
// The roles. See the following `Block roles`.
Roles []ClusterAdditionalVolumeRole `pulumi:"roles"`
// The ID of the additional file system.
VolumeId *string `pulumi:"volumeId"`
// The mount options of the file system.
VolumeMountOption *string `pulumi:"volumeMountOption"`
// The mount target of the additional file system.
VolumeMountpoint *string `pulumi:"volumeMountpoint"`
// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
VolumeProtocol *string `pulumi:"volumeProtocol"`
// The type of the additional shared storage. Only NAS file systems are supported.
VolumeType *string `pulumi:"volumeType"`
}
// ClusterAdditionalVolumeInput is an input type that accepts ClusterAdditionalVolumeArgs and ClusterAdditionalVolumeOutput values.
// You can construct a concrete instance of `ClusterAdditionalVolumeInput` via:
//
// ClusterAdditionalVolumeArgs{...}
type ClusterAdditionalVolumeInput interface {
pulumi.Input
ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
ToClusterAdditionalVolumeOutputWithContext(context.Context) ClusterAdditionalVolumeOutput
}
type ClusterAdditionalVolumeArgs struct {
// The queue of the nodes to which the additional file system is attached.
JobQueue pulumi.StringPtrInput `pulumi:"jobQueue"`
// The local directory on which the additional file system is mounted.
LocalDirectory pulumi.StringPtrInput `pulumi:"localDirectory"`
// The type of the cluster. Valid value: `PublicCloud`.
Location pulumi.StringPtrInput `pulumi:"location"`
// The remote directory to which the additional file system is mounted.
RemoteDirectory pulumi.StringPtrInput `pulumi:"remoteDirectory"`
// The roles. See the following `Block roles`.
Roles ClusterAdditionalVolumeRoleArrayInput `pulumi:"roles"`
// The ID of the additional file system.
VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
// The mount options of the file system.
VolumeMountOption pulumi.StringPtrInput `pulumi:"volumeMountOption"`
// The mount target of the additional file system.
VolumeMountpoint pulumi.StringPtrInput `pulumi:"volumeMountpoint"`
// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
VolumeProtocol pulumi.StringPtrInput `pulumi:"volumeProtocol"`
// The type of the additional shared storage. Only NAS file systems are supported.
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (ClusterAdditionalVolumeArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterAdditionalVolume)(nil)).Elem()
}
func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput {
return i.ToClusterAdditionalVolumeOutputWithContext(context.Background())
}
func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterAdditionalVolumeOutput)
}
// ClusterAdditionalVolumeArrayInput is an input type that accepts ClusterAdditionalVolumeArray and ClusterAdditionalVolumeArrayOutput values.
// You can construct a concrete instance of `ClusterAdditionalVolumeArrayInput` via:
//
// ClusterAdditionalVolumeArray{ ClusterAdditionalVolumeArgs{...} }
type ClusterAdditionalVolumeArrayInput interface {
pulumi.Input
ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
ToClusterAdditionalVolumeArrayOutputWithContext(context.Context) ClusterAdditionalVolumeArrayOutput
}
type ClusterAdditionalVolumeArray []ClusterAdditionalVolumeInput
func (ClusterAdditionalVolumeArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterAdditionalVolume)(nil)).Elem()
}
func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput {
return i.ToClusterAdditionalVolumeArrayOutputWithContext(context.Background())
}
func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterAdditionalVolumeArrayOutput)
}
type ClusterAdditionalVolumeOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterAdditionalVolume)(nil)).Elem()
}
func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput {
return o
}
func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput {
return o
}
// The queue of the nodes to which the additional file system is attached.
func (o ClusterAdditionalVolumeOutput) JobQueue() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.JobQueue }).(pulumi.StringPtrOutput)
}
// The local directory on which the additional file system is mounted.
func (o ClusterAdditionalVolumeOutput) LocalDirectory() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.LocalDirectory }).(pulumi.StringPtrOutput)
}
// The type of the cluster. Valid value: `PublicCloud`.
func (o ClusterAdditionalVolumeOutput) Location() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.Location }).(pulumi.StringPtrOutput)
}
// The remote directory to which the additional file system is mounted.
func (o ClusterAdditionalVolumeOutput) RemoteDirectory() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.RemoteDirectory }).(pulumi.StringPtrOutput)
}
// The roles. See the following `Block roles`.
func (o ClusterAdditionalVolumeOutput) Roles() ClusterAdditionalVolumeRoleArrayOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) []ClusterAdditionalVolumeRole { return v.Roles }).(ClusterAdditionalVolumeRoleArrayOutput)
}
// The ID of the additional file system.
func (o ClusterAdditionalVolumeOutput) VolumeId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.VolumeId }).(pulumi.StringPtrOutput)
}
// The mount options of the file system.
func (o ClusterAdditionalVolumeOutput) VolumeMountOption() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.VolumeMountOption }).(pulumi.StringPtrOutput)
}
// The mount target of the additional file system.
func (o ClusterAdditionalVolumeOutput) VolumeMountpoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.VolumeMountpoint }).(pulumi.StringPtrOutput)
}
// The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
func (o ClusterAdditionalVolumeOutput) VolumeProtocol() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.VolumeProtocol }).(pulumi.StringPtrOutput)
}
// The type of the additional shared storage. Only NAS file systems are supported.
func (o ClusterAdditionalVolumeOutput) VolumeType() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolume) *string { return v.VolumeType }).(pulumi.StringPtrOutput)
}
type ClusterAdditionalVolumeArrayOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterAdditionalVolume)(nil)).Elem()
}
func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput {
return o
}
func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput {
return o
}
func (o ClusterAdditionalVolumeArrayOutput) Index(i pulumi.IntInput) ClusterAdditionalVolumeOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterAdditionalVolume {
return vs[0].([]ClusterAdditionalVolume)[vs[1].(int)]
}).(ClusterAdditionalVolumeOutput)
}
type ClusterAdditionalVolumeRole struct {
// The type of the nodes to which the additional file system is attached.
Name *string `pulumi:"name"`
}
// ClusterAdditionalVolumeRoleInput is an input type that accepts ClusterAdditionalVolumeRoleArgs and ClusterAdditionalVolumeRoleOutput values.
// You can construct a concrete instance of `ClusterAdditionalVolumeRoleInput` via:
//
// ClusterAdditionalVolumeRoleArgs{...}
type ClusterAdditionalVolumeRoleInput interface {
pulumi.Input
ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
ToClusterAdditionalVolumeRoleOutputWithContext(context.Context) ClusterAdditionalVolumeRoleOutput
}
type ClusterAdditionalVolumeRoleArgs struct {
// The type of the nodes to which the additional file system is attached.
Name pulumi.StringPtrInput `pulumi:"name"`
}
func (ClusterAdditionalVolumeRoleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterAdditionalVolumeRole)(nil)).Elem()
}
func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput {
return i.ToClusterAdditionalVolumeRoleOutputWithContext(context.Background())
}
func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterAdditionalVolumeRoleOutput)
}
// ClusterAdditionalVolumeRoleArrayInput is an input type that accepts ClusterAdditionalVolumeRoleArray and ClusterAdditionalVolumeRoleArrayOutput values.
// You can construct a concrete instance of `ClusterAdditionalVolumeRoleArrayInput` via:
//
// ClusterAdditionalVolumeRoleArray{ ClusterAdditionalVolumeRoleArgs{...} }
type ClusterAdditionalVolumeRoleArrayInput interface {
pulumi.Input
ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
ToClusterAdditionalVolumeRoleArrayOutputWithContext(context.Context) ClusterAdditionalVolumeRoleArrayOutput
}
type ClusterAdditionalVolumeRoleArray []ClusterAdditionalVolumeRoleInput
func (ClusterAdditionalVolumeRoleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterAdditionalVolumeRole)(nil)).Elem()
}
func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput {
return i.ToClusterAdditionalVolumeRoleArrayOutputWithContext(context.Background())
}
func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterAdditionalVolumeRoleArrayOutput)
}
type ClusterAdditionalVolumeRoleOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeRoleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterAdditionalVolumeRole)(nil)).Elem()
}
func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput {
return o
}
func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput {
return o
}
// The type of the nodes to which the additional file system is attached.
func (o ClusterAdditionalVolumeRoleOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterAdditionalVolumeRole) *string { return v.Name }).(pulumi.StringPtrOutput)
}
type ClusterAdditionalVolumeRoleArrayOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeRoleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterAdditionalVolumeRole)(nil)).Elem()
}
func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput {
return o
}
func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput {
return o
}
func (o ClusterAdditionalVolumeRoleArrayOutput) Index(i pulumi.IntInput) ClusterAdditionalVolumeRoleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterAdditionalVolumeRole {
return vs[0].([]ClusterAdditionalVolumeRole)[vs[1].(int)]
}).(ClusterAdditionalVolumeRoleOutput)
}
type ClusterApplication struct {
// The tag of the software.
Tag *string `pulumi:"tag"`
}
// ClusterApplicationInput is an input type that accepts ClusterApplicationArgs and ClusterApplicationOutput values.
// You can construct a concrete instance of `ClusterApplicationInput` via:
//
// ClusterApplicationArgs{...}
type ClusterApplicationInput interface {
pulumi.Input
ToClusterApplicationOutput() ClusterApplicationOutput
ToClusterApplicationOutputWithContext(context.Context) ClusterApplicationOutput
}
type ClusterApplicationArgs struct {
// The tag of the software.
Tag pulumi.StringPtrInput `pulumi:"tag"`
}
func (ClusterApplicationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterApplication)(nil)).Elem()
}
func (i ClusterApplicationArgs) ToClusterApplicationOutput() ClusterApplicationOutput {
return i.ToClusterApplicationOutputWithContext(context.Background())
}
func (i ClusterApplicationArgs) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterApplicationOutput)
}
// ClusterApplicationArrayInput is an input type that accepts ClusterApplicationArray and ClusterApplicationArrayOutput values.
// You can construct a concrete instance of `ClusterApplicationArrayInput` via:
//
// ClusterApplicationArray{ ClusterApplicationArgs{...} }
type ClusterApplicationArrayInput interface {
pulumi.Input
ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
ToClusterApplicationArrayOutputWithContext(context.Context) ClusterApplicationArrayOutput
}
type ClusterApplicationArray []ClusterApplicationInput
func (ClusterApplicationArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterApplication)(nil)).Elem()
}
func (i ClusterApplicationArray) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput {
return i.ToClusterApplicationArrayOutputWithContext(context.Background())
}
func (i ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterApplicationArrayOutput)
}
type ClusterApplicationOutput struct{ *pulumi.OutputState }
func (ClusterApplicationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterApplication)(nil)).Elem()
}
func (o ClusterApplicationOutput) ToClusterApplicationOutput() ClusterApplicationOutput {
return o
}
func (o ClusterApplicationOutput) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput {
return o
}
// The tag of the software.
func (o ClusterApplicationOutput) Tag() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterApplication) *string { return v.Tag }).(pulumi.StringPtrOutput)
}
type ClusterApplicationArrayOutput struct{ *pulumi.OutputState }
func (ClusterApplicationArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterApplication)(nil)).Elem()
}
func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput {
return o
}
func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput {
return o
}
func (o ClusterApplicationArrayOutput) Index(i pulumi.IntInput) ClusterApplicationOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterApplication {
return vs[0].([]ClusterApplication)[vs[1].(int)]
}).(ClusterApplicationOutput)
}
type ClusterPostInstallScript struct {
// The parameter that is used to run the script after the cluster is created.
Args *string `pulumi:"args"`
// The URL that is used to download the script after the cluster is created.
Url *string `pulumi:"url"`
}
// ClusterPostInstallScriptInput is an input type that accepts ClusterPostInstallScriptArgs and ClusterPostInstallScriptOutput values.
// You can construct a concrete instance of `ClusterPostInstallScriptInput` via:
//
// ClusterPostInstallScriptArgs{...}
type ClusterPostInstallScriptInput interface {
pulumi.Input
ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
ToClusterPostInstallScriptOutputWithContext(context.Context) ClusterPostInstallScriptOutput
}
type ClusterPostInstallScriptArgs struct {
// The parameter that is used to run the script after the cluster is created.
Args pulumi.StringPtrInput `pulumi:"args"`
// The URL that is used to download the script after the cluster is created.
Url pulumi.StringPtrInput `pulumi:"url"`
}
func (ClusterPostInstallScriptArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterPostInstallScript)(nil)).Elem()
}
func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput {
return i.ToClusterPostInstallScriptOutputWithContext(context.Background())
}
func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterPostInstallScriptOutput)
}
// ClusterPostInstallScriptArrayInput is an input type that accepts ClusterPostInstallScriptArray and ClusterPostInstallScriptArrayOutput values.
// You can construct a concrete instance of `ClusterPostInstallScriptArrayInput` via:
//
// ClusterPostInstallScriptArray{ ClusterPostInstallScriptArgs{...} }
type ClusterPostInstallScriptArrayInput interface {
pulumi.Input
ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
ToClusterPostInstallScriptArrayOutputWithContext(context.Context) ClusterPostInstallScriptArrayOutput
}
type ClusterPostInstallScriptArray []ClusterPostInstallScriptInput
func (ClusterPostInstallScriptArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterPostInstallScript)(nil)).Elem()
}
func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput {
return i.ToClusterPostInstallScriptArrayOutputWithContext(context.Background())
}
func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ClusterPostInstallScriptArrayOutput)
}
type ClusterPostInstallScriptOutput struct{ *pulumi.OutputState }
func (ClusterPostInstallScriptOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ClusterPostInstallScript)(nil)).Elem()
}
func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput {
return o
}
func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput {
return o
}
// The parameter that is used to run the script after the cluster is created.
func (o ClusterPostInstallScriptOutput) Args() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterPostInstallScript) *string { return v.Args }).(pulumi.StringPtrOutput)
}
// The URL that is used to download the script after the cluster is created.
func (o ClusterPostInstallScriptOutput) Url() pulumi.StringPtrOutput {
return o.ApplyT(func(v ClusterPostInstallScript) *string { return v.Url }).(pulumi.StringPtrOutput)
}
type ClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }
func (ClusterPostInstallScriptArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ClusterPostInstallScript)(nil)).Elem()
}
func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput {
return o
}
func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput {
return o
}
func (o ClusterPostInstallScriptArrayOutput) Index(i pulumi.IntInput) ClusterPostInstallScriptOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterPostInstallScript {
return vs[0].([]ClusterPostInstallScript)[vs[1].(int)]
}).(ClusterPostInstallScriptOutput)
}
type GetClustersCluster struct {
// The server type of the account.
AccountType string `pulumi:"accountType"`
Applications []GetClustersClusterApplication `pulumi:"applications"`
// The version number of the client used by the cluster.
ClientVersion string `pulumi:"clientVersion"`
// The id of E-HPC Cluster.
ClusterId string `pulumi:"clusterId"`
// The name of E-HPC cluster.
ClusterName string `pulumi:"clusterName"`
// The number of compute nodes in the cluster.
ComputeCount int `pulumi:"computeCount"`
// Cluster compute node specifications.
ComputeInstanceType string `pulumi:"computeInstanceType"`
// The creation time of the resource.
CreateTime string `pulumi:"createTime"`
// Cluster deployment mode. Possible values:
// - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes.
// - Advanced:HA mode deployment.
// - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately.
// - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately.
// - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
DeployMode string `pulumi:"deployMode"`
// The description of E-HPC cluster.
Description string `pulumi:"description"`
// Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
HaEnable bool `pulumi:"haEnable"`
// The ID of the Cluster.
Id string `pulumi:"id"`
// The ID of the Image.
ImageId string `pulumi:"imageId"`
// The type of the image.
ImageOwnerAlias string `pulumi:"imageOwnerAlias"`
// The number of cluster login nodes. Only configuration 1 is supported.
LoginCount int `pulumi:"loginCount"`
// Cluster login node specifications.
LoginInstanceType string `pulumi:"loginInstanceType"`
ManagerCount int `pulumi:"managerCount"`
// The instance type of manager nodes.
ManagerInstanceType string `pulumi:"managerInstanceType"`
// The image tag of the operating system.
OsTag string `pulumi:"osTag"`
PostInstallScripts []GetClustersClusterPostInstallScript `pulumi:"postInstallScripts"`
// Mount the remote directory of the shared storage.
RemoteDirectory string `pulumi:"remoteDirectory"`
// The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
SccClusterId string `pulumi:"sccClusterId"`
// Dispatch server type.
SchedulerType string `pulumi:"schedulerType"`
// The ID of the security group.
SecurityGroupId string `pulumi:"securityGroupId"`
// The status of the resource.
Status string `pulumi:"status"`
// The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
VolumeId string `pulumi:"volumeId"`
// The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
VolumeMountpoint string `pulumi:"volumeMountpoint"`
// The type of the protocol that is used by the file system.
VolumeProtocol string `pulumi:"volumeProtocol"`
// The type of the network shared storage. Valid value: NAS.
VolumeType string `pulumi:"volumeType"`
// The ID of the VPC network.
VpcId string `pulumi:"vpcId"`
// The vswitch id.
VswitchId string `pulumi:"vswitchId"`
ZoneId string `pulumi:"zoneId"`
}
// GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values.
// You can construct a concrete instance of `GetClustersClusterInput` via:
//
// GetClustersClusterArgs{...}
type GetClustersClusterInput interface {
pulumi.Input
ToGetClustersClusterOutput() GetClustersClusterOutput
ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}
type GetClustersClusterArgs struct {
// The server type of the account.
AccountType pulumi.StringInput `pulumi:"accountType"`
Applications GetClustersClusterApplicationArrayInput `pulumi:"applications"`
// The version number of the client used by the cluster.
ClientVersion pulumi.StringInput `pulumi:"clientVersion"`
// The id of E-HPC Cluster.
ClusterId pulumi.StringInput `pulumi:"clusterId"`
// The name of E-HPC cluster.
ClusterName pulumi.StringInput `pulumi:"clusterName"`
// The number of compute nodes in the cluster.
ComputeCount pulumi.IntInput `pulumi:"computeCount"`
// Cluster compute node specifications.
ComputeInstanceType pulumi.StringInput `pulumi:"computeInstanceType"`
// The creation time of the resource.
CreateTime pulumi.StringInput `pulumi:"createTime"`
// Cluster deployment mode. Possible values:
// - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes.
// - Advanced:HA mode deployment.
// - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately.
// - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately.
// - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
DeployMode pulumi.StringInput `pulumi:"deployMode"`
// The description of E-HPC cluster.
Description pulumi.StringInput `pulumi:"description"`
// Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
HaEnable pulumi.BoolInput `pulumi:"haEnable"`
// The ID of the Cluster.
Id pulumi.StringInput `pulumi:"id"`
// The ID of the Image.
ImageId pulumi.StringInput `pulumi:"imageId"`
// The type of the image.
ImageOwnerAlias pulumi.StringInput `pulumi:"imageOwnerAlias"`
// The number of cluster login nodes. Only configuration 1 is supported.
LoginCount pulumi.IntInput `pulumi:"loginCount"`
// Cluster login node specifications.
LoginInstanceType pulumi.StringInput `pulumi:"loginInstanceType"`
ManagerCount pulumi.IntInput `pulumi:"managerCount"`
// The instance type of manager nodes.
ManagerInstanceType pulumi.StringInput `pulumi:"managerInstanceType"`
// The image tag of the operating system.
OsTag pulumi.StringInput `pulumi:"osTag"`
PostInstallScripts GetClustersClusterPostInstallScriptArrayInput `pulumi:"postInstallScripts"`
// Mount the remote directory of the shared storage.
RemoteDirectory pulumi.StringInput `pulumi:"remoteDirectory"`
// The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
SccClusterId pulumi.StringInput `pulumi:"sccClusterId"`
// Dispatch server type.
SchedulerType pulumi.StringInput `pulumi:"schedulerType"`
// The ID of the security group.
SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
// The status of the resource.
Status pulumi.StringInput `pulumi:"status"`
// The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
VolumeId pulumi.StringInput `pulumi:"volumeId"`
// The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
VolumeMountpoint pulumi.StringInput `pulumi:"volumeMountpoint"`
// The type of the protocol that is used by the file system.
VolumeProtocol pulumi.StringInput `pulumi:"volumeProtocol"`
// The type of the network shared storage. Valid value: NAS.
VolumeType pulumi.StringInput `pulumi:"volumeType"`
// The ID of the VPC network.
VpcId pulumi.StringInput `pulumi:"vpcId"`
// The vswitch id.
VswitchId pulumi.StringInput `pulumi:"vswitchId"`
ZoneId pulumi.StringInput `pulumi:"zoneId"`
}
func (GetClustersClusterArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetClustersCluster)(nil)).Elem()
}
func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput {
return i.ToGetClustersClusterOutputWithContext(context.Background())
}
func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterOutput)
}
// GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values.
// You can construct a concrete instance of `GetClustersClusterArrayInput` via:
//
// GetClustersClusterArray{ GetClustersClusterArgs{...} }
type GetClustersClusterArrayInput interface {
pulumi.Input
ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}
type GetClustersClusterArray []GetClustersClusterInput
func (GetClustersClusterArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem()
}
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput {
return i.ToGetClustersClusterArrayOutputWithContext(context.Background())
}
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterArrayOutput)
}
type GetClustersClusterOutput struct{ *pulumi.OutputState }
func (GetClustersClusterOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetClustersCluster)(nil)).Elem()
}
func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput {
return o
}
func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput {
return o
}
// The server type of the account.
func (o GetClustersClusterOutput) AccountType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.AccountType }).(pulumi.StringOutput)
}
func (o GetClustersClusterOutput) Applications() GetClustersClusterApplicationArrayOutput {
return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterApplication { return v.Applications }).(GetClustersClusterApplicationArrayOutput)
}
// The version number of the client used by the cluster.
func (o GetClustersClusterOutput) ClientVersion() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ClientVersion }).(pulumi.StringOutput)
}
// The id of E-HPC Cluster.
func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ClusterId }).(pulumi.StringOutput)
}
// The name of E-HPC cluster.
func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ClusterName }).(pulumi.StringOutput)
}
// The number of compute nodes in the cluster.
func (o GetClustersClusterOutput) ComputeCount() pulumi.IntOutput {
return o.ApplyT(func(v GetClustersCluster) int { return v.ComputeCount }).(pulumi.IntOutput)
}
// Cluster compute node specifications.
func (o GetClustersClusterOutput) ComputeInstanceType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ComputeInstanceType }).(pulumi.StringOutput)
}
// The creation time of the resource.
func (o GetClustersClusterOutput) CreateTime() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.CreateTime }).(pulumi.StringOutput)
}
// Cluster deployment mode. Possible values:
// - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes.
// - Advanced:HA mode deployment.
// - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately.
// - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately.
// - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
func (o GetClustersClusterOutput) DeployMode() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.DeployMode }).(pulumi.StringOutput)
}
// The description of E-HPC cluster.
func (o GetClustersClusterOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.Description }).(pulumi.StringOutput)
}
// Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
func (o GetClustersClusterOutput) HaEnable() pulumi.BoolOutput {
return o.ApplyT(func(v GetClustersCluster) bool { return v.HaEnable }).(pulumi.BoolOutput)
}
// The ID of the Cluster.
func (o GetClustersClusterOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.Id }).(pulumi.StringOutput)
}
// The ID of the Image.
func (o GetClustersClusterOutput) ImageId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ImageId }).(pulumi.StringOutput)
}
// The type of the image.
func (o GetClustersClusterOutput) ImageOwnerAlias() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ImageOwnerAlias }).(pulumi.StringOutput)
}
// The number of cluster login nodes. Only configuration 1 is supported.
func (o GetClustersClusterOutput) LoginCount() pulumi.IntOutput {
return o.ApplyT(func(v GetClustersCluster) int { return v.LoginCount }).(pulumi.IntOutput)
}
// Cluster login node specifications.
func (o GetClustersClusterOutput) LoginInstanceType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.LoginInstanceType }).(pulumi.StringOutput)
}
func (o GetClustersClusterOutput) ManagerCount() pulumi.IntOutput {
return o.ApplyT(func(v GetClustersCluster) int { return v.ManagerCount }).(pulumi.IntOutput)
}
// The instance type of manager nodes.
func (o GetClustersClusterOutput) ManagerInstanceType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ManagerInstanceType }).(pulumi.StringOutput)
}
// The image tag of the operating system.
func (o GetClustersClusterOutput) OsTag() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.OsTag }).(pulumi.StringOutput)
}
func (o GetClustersClusterOutput) PostInstallScripts() GetClustersClusterPostInstallScriptArrayOutput {
return o.ApplyT(func(v GetClustersCluster) []GetClustersClusterPostInstallScript { return v.PostInstallScripts }).(GetClustersClusterPostInstallScriptArrayOutput)
}
// Mount the remote directory of the shared storage.
func (o GetClustersClusterOutput) RemoteDirectory() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.RemoteDirectory }).(pulumi.StringOutput)
}
// The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
func (o GetClustersClusterOutput) SccClusterId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.SccClusterId }).(pulumi.StringOutput)
}
// Dispatch server type.
func (o GetClustersClusterOutput) SchedulerType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.SchedulerType }).(pulumi.StringOutput)
}
// The ID of the security group.
func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.SecurityGroupId }).(pulumi.StringOutput)
}
// The status of the resource.
func (o GetClustersClusterOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.Status }).(pulumi.StringOutput)
}
// The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
func (o GetClustersClusterOutput) VolumeId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VolumeId }).(pulumi.StringOutput)
}
// The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
func (o GetClustersClusterOutput) VolumeMountpoint() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VolumeMountpoint }).(pulumi.StringOutput)
}
// The type of the protocol that is used by the file system.
func (o GetClustersClusterOutput) VolumeProtocol() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VolumeProtocol }).(pulumi.StringOutput)
}
// The type of the network shared storage. Valid value: NAS.
func (o GetClustersClusterOutput) VolumeType() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VolumeType }).(pulumi.StringOutput)
}
// The ID of the VPC network.
func (o GetClustersClusterOutput) VpcId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VpcId }).(pulumi.StringOutput)
}
// The vswitch id.
func (o GetClustersClusterOutput) VswitchId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.VswitchId }).(pulumi.StringOutput)
}
func (o GetClustersClusterOutput) ZoneId() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersCluster) string { return v.ZoneId }).(pulumi.StringOutput)
}
type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetClustersCluster)(nil)).Elem()
}
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput {
return o
}
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput {
return o
}
func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersCluster {
return vs[0].([]GetClustersCluster)[vs[1].(int)]
}).(GetClustersClusterOutput)
}
type GetClustersClusterApplication struct {
Tag string `pulumi:"tag"`
}
// GetClustersClusterApplicationInput is an input type that accepts GetClustersClusterApplicationArgs and GetClustersClusterApplicationOutput values.
// You can construct a concrete instance of `GetClustersClusterApplicationInput` via:
//
// GetClustersClusterApplicationArgs{...}
type GetClustersClusterApplicationInput interface {
pulumi.Input
ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
ToGetClustersClusterApplicationOutputWithContext(context.Context) GetClustersClusterApplicationOutput
}
type GetClustersClusterApplicationArgs struct {
Tag pulumi.StringInput `pulumi:"tag"`
}
func (GetClustersClusterApplicationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetClustersClusterApplication)(nil)).Elem()
}
func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput {
return i.ToGetClustersClusterApplicationOutputWithContext(context.Background())
}
func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterApplicationOutput)
}
// GetClustersClusterApplicationArrayInput is an input type that accepts GetClustersClusterApplicationArray and GetClustersClusterApplicationArrayOutput values.
// You can construct a concrete instance of `GetClustersClusterApplicationArrayInput` via:
//
// GetClustersClusterApplicationArray{ GetClustersClusterApplicationArgs{...} }
type GetClustersClusterApplicationArrayInput interface {
pulumi.Input
ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
ToGetClustersClusterApplicationArrayOutputWithContext(context.Context) GetClustersClusterApplicationArrayOutput
}
type GetClustersClusterApplicationArray []GetClustersClusterApplicationInput
func (GetClustersClusterApplicationArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetClustersClusterApplication)(nil)).Elem()
}
func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput {
return i.ToGetClustersClusterApplicationArrayOutputWithContext(context.Background())
}
func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterApplicationArrayOutput)
}
type GetClustersClusterApplicationOutput struct{ *pulumi.OutputState }
func (GetClustersClusterApplicationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetClustersClusterApplication)(nil)).Elem()
}
func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput {
return o
}
func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput {
return o
}
func (o GetClustersClusterApplicationOutput) Tag() pulumi.StringOutput {
return o.ApplyT(func(v GetClustersClusterApplication) string { return v.Tag }).(pulumi.StringOutput)
}
type GetClustersClusterApplicationArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterApplicationArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetClustersClusterApplication)(nil)).Elem()
}
func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput {
return o
}
func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput {
return o
}
func (o GetClustersClusterApplicationArrayOutput) Index(i pulumi.IntInput) GetClustersClusterApplicationOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClustersClusterApplication {
return vs[0].([]GetClustersClusterApplication)[vs[1].(int)]
}).(GetClustersClusterApplicationOutput)
}
type GetClustersClusterPostInstallScript struct {
Args string `pulumi:"args"`
Url string `pulumi:"url"`
}
// GetClustersClusterPostInstallScriptInput is an input type that accepts GetClustersClusterPostInstallScriptArgs and GetClustersClusterPostInstallScriptOutput values.
// You can construct a concrete instance of `GetClustersClusterPostInstallScriptInput` via:
//
// GetClustersClusterPostInstallScriptArgs{...}
type GetClustersClusterPostInstallScriptInput interface {
pulumi.Input
ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
ToGetClustersClusterPostInstallScriptOutputWithContext(context.Context) GetClustersClusterPostInstallScriptOutput
}
type GetClustersClusterPostInstallScriptArgs struct {
Args pulumi.StringInput `pulumi:"args"`
Url pulumi.StringInput `pulumi:"url"`
}
func (GetClustersClusterPostInstallScriptArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetClustersClusterPostInstallScript)(nil)).Elem()
}
func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput {
return i.ToGetClustersClusterPostInstallScriptOutputWithContext(context.Background())
}
func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetClustersClusterPostInstallScriptOutput)
}
// GetClustersClusterPostInstallScriptArrayInput is an input type that accepts GetClustersClusterPostInstallScriptArray and GetClustersClusterPostInstallScriptArrayOutput values.
// You can construct a concrete instance of `GetClustersClusterPostInstallScriptArrayInput` via:
//
// GetClustersClusterPostInstallScriptArray{ GetClustersClusterPostInstallScriptArgs{...} }