generated from pulumi/pulumi-tf-provider-boilerplate
/
pulumiTypes.go
1759 lines (1451 loc) · 74.6 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 bastionhost
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type InstanceAdAuthServer struct {
// The username of the account that is used for the LDAP server.
Account string `pulumi:"account"`
// The Base distinguished name (DN).
BaseDn string `pulumi:"baseDn"`
// The domain on the AD server.
Domain string `pulumi:"domain"`
// The field that is used to indicate the email address of a user on the LDAP server.
EmailMapping *string `pulumi:"emailMapping"`
// The condition that is used to filter users.
Filter *string `pulumi:"filter"`
// Specifies whether to support SSL.
IsSsl bool `pulumi:"isSsl"`
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
MobileMapping *string `pulumi:"mobileMapping"`
// The field that is used to indicate the name of a user on the LDAP server.
NameMapping *string `pulumi:"nameMapping"`
// The password of the account that is used for the LDAP server.
Password string `pulumi:"password"`
// The port that is used to access the LDAP server.
Port int `pulumi:"port"`
// The address of the LDAP server.
Server string `pulumi:"server"`
// The address of the secondary LDAP server.
StandbyServer *string `pulumi:"standbyServer"`
}
// InstanceAdAuthServerInput is an input type that accepts InstanceAdAuthServerArgs and InstanceAdAuthServerOutput values.
// You can construct a concrete instance of `InstanceAdAuthServerInput` via:
//
// InstanceAdAuthServerArgs{...}
type InstanceAdAuthServerInput interface {
pulumi.Input
ToInstanceAdAuthServerOutput() InstanceAdAuthServerOutput
ToInstanceAdAuthServerOutputWithContext(context.Context) InstanceAdAuthServerOutput
}
type InstanceAdAuthServerArgs struct {
// The username of the account that is used for the LDAP server.
Account pulumi.StringInput `pulumi:"account"`
// The Base distinguished name (DN).
BaseDn pulumi.StringInput `pulumi:"baseDn"`
// The domain on the AD server.
Domain pulumi.StringInput `pulumi:"domain"`
// The field that is used to indicate the email address of a user on the LDAP server.
EmailMapping pulumi.StringPtrInput `pulumi:"emailMapping"`
// The condition that is used to filter users.
Filter pulumi.StringPtrInput `pulumi:"filter"`
// Specifies whether to support SSL.
IsSsl pulumi.BoolInput `pulumi:"isSsl"`
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
MobileMapping pulumi.StringPtrInput `pulumi:"mobileMapping"`
// The field that is used to indicate the name of a user on the LDAP server.
NameMapping pulumi.StringPtrInput `pulumi:"nameMapping"`
// The password of the account that is used for the LDAP server.
Password pulumi.StringInput `pulumi:"password"`
// The port that is used to access the LDAP server.
Port pulumi.IntInput `pulumi:"port"`
// The address of the LDAP server.
Server pulumi.StringInput `pulumi:"server"`
// The address of the secondary LDAP server.
StandbyServer pulumi.StringPtrInput `pulumi:"standbyServer"`
}
func (InstanceAdAuthServerArgs) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceAdAuthServer)(nil)).Elem()
}
func (i InstanceAdAuthServerArgs) ToInstanceAdAuthServerOutput() InstanceAdAuthServerOutput {
return i.ToInstanceAdAuthServerOutputWithContext(context.Background())
}
func (i InstanceAdAuthServerArgs) ToInstanceAdAuthServerOutputWithContext(ctx context.Context) InstanceAdAuthServerOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceAdAuthServerOutput)
}
// InstanceAdAuthServerArrayInput is an input type that accepts InstanceAdAuthServerArray and InstanceAdAuthServerArrayOutput values.
// You can construct a concrete instance of `InstanceAdAuthServerArrayInput` via:
//
// InstanceAdAuthServerArray{ InstanceAdAuthServerArgs{...} }
type InstanceAdAuthServerArrayInput interface {
pulumi.Input
ToInstanceAdAuthServerArrayOutput() InstanceAdAuthServerArrayOutput
ToInstanceAdAuthServerArrayOutputWithContext(context.Context) InstanceAdAuthServerArrayOutput
}
type InstanceAdAuthServerArray []InstanceAdAuthServerInput
func (InstanceAdAuthServerArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]InstanceAdAuthServer)(nil)).Elem()
}
func (i InstanceAdAuthServerArray) ToInstanceAdAuthServerArrayOutput() InstanceAdAuthServerArrayOutput {
return i.ToInstanceAdAuthServerArrayOutputWithContext(context.Background())
}
func (i InstanceAdAuthServerArray) ToInstanceAdAuthServerArrayOutputWithContext(ctx context.Context) InstanceAdAuthServerArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceAdAuthServerArrayOutput)
}
type InstanceAdAuthServerOutput struct{ *pulumi.OutputState }
func (InstanceAdAuthServerOutput) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceAdAuthServer)(nil)).Elem()
}
func (o InstanceAdAuthServerOutput) ToInstanceAdAuthServerOutput() InstanceAdAuthServerOutput {
return o
}
func (o InstanceAdAuthServerOutput) ToInstanceAdAuthServerOutputWithContext(ctx context.Context) InstanceAdAuthServerOutput {
return o
}
// The username of the account that is used for the LDAP server.
func (o InstanceAdAuthServerOutput) Account() pulumi.StringOutput {
return o.ApplyT(func(v InstanceAdAuthServer) string { return v.Account }).(pulumi.StringOutput)
}
// The Base distinguished name (DN).
func (o InstanceAdAuthServerOutput) BaseDn() pulumi.StringOutput {
return o.ApplyT(func(v InstanceAdAuthServer) string { return v.BaseDn }).(pulumi.StringOutput)
}
// The domain on the AD server.
func (o InstanceAdAuthServerOutput) Domain() pulumi.StringOutput {
return o.ApplyT(func(v InstanceAdAuthServer) string { return v.Domain }).(pulumi.StringOutput)
}
// The field that is used to indicate the email address of a user on the LDAP server.
func (o InstanceAdAuthServerOutput) EmailMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceAdAuthServer) *string { return v.EmailMapping }).(pulumi.StringPtrOutput)
}
// The condition that is used to filter users.
func (o InstanceAdAuthServerOutput) Filter() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceAdAuthServer) *string { return v.Filter }).(pulumi.StringPtrOutput)
}
// Specifies whether to support SSL.
func (o InstanceAdAuthServerOutput) IsSsl() pulumi.BoolOutput {
return o.ApplyT(func(v InstanceAdAuthServer) bool { return v.IsSsl }).(pulumi.BoolOutput)
}
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
func (o InstanceAdAuthServerOutput) MobileMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceAdAuthServer) *string { return v.MobileMapping }).(pulumi.StringPtrOutput)
}
// The field that is used to indicate the name of a user on the LDAP server.
func (o InstanceAdAuthServerOutput) NameMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceAdAuthServer) *string { return v.NameMapping }).(pulumi.StringPtrOutput)
}
// The password of the account that is used for the LDAP server.
func (o InstanceAdAuthServerOutput) Password() pulumi.StringOutput {
return o.ApplyT(func(v InstanceAdAuthServer) string { return v.Password }).(pulumi.StringOutput)
}
// The port that is used to access the LDAP server.
func (o InstanceAdAuthServerOutput) Port() pulumi.IntOutput {
return o.ApplyT(func(v InstanceAdAuthServer) int { return v.Port }).(pulumi.IntOutput)
}
// The address of the LDAP server.
func (o InstanceAdAuthServerOutput) Server() pulumi.StringOutput {
return o.ApplyT(func(v InstanceAdAuthServer) string { return v.Server }).(pulumi.StringOutput)
}
// The address of the secondary LDAP server.
func (o InstanceAdAuthServerOutput) StandbyServer() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceAdAuthServer) *string { return v.StandbyServer }).(pulumi.StringPtrOutput)
}
type InstanceAdAuthServerArrayOutput struct{ *pulumi.OutputState }
func (InstanceAdAuthServerArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]InstanceAdAuthServer)(nil)).Elem()
}
func (o InstanceAdAuthServerArrayOutput) ToInstanceAdAuthServerArrayOutput() InstanceAdAuthServerArrayOutput {
return o
}
func (o InstanceAdAuthServerArrayOutput) ToInstanceAdAuthServerArrayOutputWithContext(ctx context.Context) InstanceAdAuthServerArrayOutput {
return o
}
func (o InstanceAdAuthServerArrayOutput) Index(i pulumi.IntInput) InstanceAdAuthServerOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceAdAuthServer {
return vs[0].([]InstanceAdAuthServer)[vs[1].(int)]
}).(InstanceAdAuthServerOutput)
}
type InstanceLdapAuthServer struct {
// The username of the account that is used for the LDAP server.
Account string `pulumi:"account"`
// The Base distinguished name (DN).
BaseDn string `pulumi:"baseDn"`
// The field that is used to indicate the email address of a user on the LDAP server.
EmailMapping *string `pulumi:"emailMapping"`
// The condition that is used to filter users.
Filter *string `pulumi:"filter"`
// Specifies whether to support SSL.
IsSsl *bool `pulumi:"isSsl"`
// The field that is used to indicate the logon name of a user on the LDAP server.
LoginNameMapping *string `pulumi:"loginNameMapping"`
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
MobileMapping *string `pulumi:"mobileMapping"`
// The field that is used to indicate the name of a user on the LDAP server.
NameMapping *string `pulumi:"nameMapping"`
// The password of the account that is used for the LDAP server.
Password string `pulumi:"password"`
// The port that is used to access the LDAP server.
Port int `pulumi:"port"`
// The address of the LDAP server.
Server string `pulumi:"server"`
// The address of the secondary LDAP server.
StandbyServer *string `pulumi:"standbyServer"`
}
// InstanceLdapAuthServerInput is an input type that accepts InstanceLdapAuthServerArgs and InstanceLdapAuthServerOutput values.
// You can construct a concrete instance of `InstanceLdapAuthServerInput` via:
//
// InstanceLdapAuthServerArgs{...}
type InstanceLdapAuthServerInput interface {
pulumi.Input
ToInstanceLdapAuthServerOutput() InstanceLdapAuthServerOutput
ToInstanceLdapAuthServerOutputWithContext(context.Context) InstanceLdapAuthServerOutput
}
type InstanceLdapAuthServerArgs struct {
// The username of the account that is used for the LDAP server.
Account pulumi.StringInput `pulumi:"account"`
// The Base distinguished name (DN).
BaseDn pulumi.StringInput `pulumi:"baseDn"`
// The field that is used to indicate the email address of a user on the LDAP server.
EmailMapping pulumi.StringPtrInput `pulumi:"emailMapping"`
// The condition that is used to filter users.
Filter pulumi.StringPtrInput `pulumi:"filter"`
// Specifies whether to support SSL.
IsSsl pulumi.BoolPtrInput `pulumi:"isSsl"`
// The field that is used to indicate the logon name of a user on the LDAP server.
LoginNameMapping pulumi.StringPtrInput `pulumi:"loginNameMapping"`
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
MobileMapping pulumi.StringPtrInput `pulumi:"mobileMapping"`
// The field that is used to indicate the name of a user on the LDAP server.
NameMapping pulumi.StringPtrInput `pulumi:"nameMapping"`
// The password of the account that is used for the LDAP server.
Password pulumi.StringInput `pulumi:"password"`
// The port that is used to access the LDAP server.
Port pulumi.IntInput `pulumi:"port"`
// The address of the LDAP server.
Server pulumi.StringInput `pulumi:"server"`
// The address of the secondary LDAP server.
StandbyServer pulumi.StringPtrInput `pulumi:"standbyServer"`
}
func (InstanceLdapAuthServerArgs) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceLdapAuthServer)(nil)).Elem()
}
func (i InstanceLdapAuthServerArgs) ToInstanceLdapAuthServerOutput() InstanceLdapAuthServerOutput {
return i.ToInstanceLdapAuthServerOutputWithContext(context.Background())
}
func (i InstanceLdapAuthServerArgs) ToInstanceLdapAuthServerOutputWithContext(ctx context.Context) InstanceLdapAuthServerOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceLdapAuthServerOutput)
}
// InstanceLdapAuthServerArrayInput is an input type that accepts InstanceLdapAuthServerArray and InstanceLdapAuthServerArrayOutput values.
// You can construct a concrete instance of `InstanceLdapAuthServerArrayInput` via:
//
// InstanceLdapAuthServerArray{ InstanceLdapAuthServerArgs{...} }
type InstanceLdapAuthServerArrayInput interface {
pulumi.Input
ToInstanceLdapAuthServerArrayOutput() InstanceLdapAuthServerArrayOutput
ToInstanceLdapAuthServerArrayOutputWithContext(context.Context) InstanceLdapAuthServerArrayOutput
}
type InstanceLdapAuthServerArray []InstanceLdapAuthServerInput
func (InstanceLdapAuthServerArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]InstanceLdapAuthServer)(nil)).Elem()
}
func (i InstanceLdapAuthServerArray) ToInstanceLdapAuthServerArrayOutput() InstanceLdapAuthServerArrayOutput {
return i.ToInstanceLdapAuthServerArrayOutputWithContext(context.Background())
}
func (i InstanceLdapAuthServerArray) ToInstanceLdapAuthServerArrayOutputWithContext(ctx context.Context) InstanceLdapAuthServerArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(InstanceLdapAuthServerArrayOutput)
}
type InstanceLdapAuthServerOutput struct{ *pulumi.OutputState }
func (InstanceLdapAuthServerOutput) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceLdapAuthServer)(nil)).Elem()
}
func (o InstanceLdapAuthServerOutput) ToInstanceLdapAuthServerOutput() InstanceLdapAuthServerOutput {
return o
}
func (o InstanceLdapAuthServerOutput) ToInstanceLdapAuthServerOutputWithContext(ctx context.Context) InstanceLdapAuthServerOutput {
return o
}
// The username of the account that is used for the LDAP server.
func (o InstanceLdapAuthServerOutput) Account() pulumi.StringOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) string { return v.Account }).(pulumi.StringOutput)
}
// The Base distinguished name (DN).
func (o InstanceLdapAuthServerOutput) BaseDn() pulumi.StringOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) string { return v.BaseDn }).(pulumi.StringOutput)
}
// The field that is used to indicate the email address of a user on the LDAP server.
func (o InstanceLdapAuthServerOutput) EmailMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.EmailMapping }).(pulumi.StringPtrOutput)
}
// The condition that is used to filter users.
func (o InstanceLdapAuthServerOutput) Filter() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.Filter }).(pulumi.StringPtrOutput)
}
// Specifies whether to support SSL.
func (o InstanceLdapAuthServerOutput) IsSsl() pulumi.BoolPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *bool { return v.IsSsl }).(pulumi.BoolPtrOutput)
}
// The field that is used to indicate the logon name of a user on the LDAP server.
func (o InstanceLdapAuthServerOutput) LoginNameMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.LoginNameMapping }).(pulumi.StringPtrOutput)
}
// The field that is used to indicate the mobile phone number of a user on the LDAP server.
func (o InstanceLdapAuthServerOutput) MobileMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.MobileMapping }).(pulumi.StringPtrOutput)
}
// The field that is used to indicate the name of a user on the LDAP server.
func (o InstanceLdapAuthServerOutput) NameMapping() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.NameMapping }).(pulumi.StringPtrOutput)
}
// The password of the account that is used for the LDAP server.
func (o InstanceLdapAuthServerOutput) Password() pulumi.StringOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) string { return v.Password }).(pulumi.StringOutput)
}
// The port that is used to access the LDAP server.
func (o InstanceLdapAuthServerOutput) Port() pulumi.IntOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) int { return v.Port }).(pulumi.IntOutput)
}
// The address of the LDAP server.
func (o InstanceLdapAuthServerOutput) Server() pulumi.StringOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) string { return v.Server }).(pulumi.StringOutput)
}
// The address of the secondary LDAP server.
func (o InstanceLdapAuthServerOutput) StandbyServer() pulumi.StringPtrOutput {
return o.ApplyT(func(v InstanceLdapAuthServer) *string { return v.StandbyServer }).(pulumi.StringPtrOutput)
}
type InstanceLdapAuthServerArrayOutput struct{ *pulumi.OutputState }
func (InstanceLdapAuthServerArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]InstanceLdapAuthServer)(nil)).Elem()
}
func (o InstanceLdapAuthServerArrayOutput) ToInstanceLdapAuthServerArrayOutput() InstanceLdapAuthServerArrayOutput {
return o
}
func (o InstanceLdapAuthServerArrayOutput) ToInstanceLdapAuthServerArrayOutputWithContext(ctx context.Context) InstanceLdapAuthServerArrayOutput {
return o
}
func (o InstanceLdapAuthServerArrayOutput) Index(i pulumi.IntInput) InstanceLdapAuthServerOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceLdapAuthServer {
return vs[0].([]InstanceLdapAuthServer)[vs[1].(int)]
}).(InstanceLdapAuthServerOutput)
}
type GetHostAccountsAccount struct {
// Whether to set a new password.
HasPassword bool `pulumi:"hasPassword"`
// Hosting account ID.
HostAccountId string `pulumi:"hostAccountId"`
// Specify the new hosting account's name, support the longest 128 characters.
HostAccountName string `pulumi:"hostAccountName"`
// Specifies the database where you want to create your hosting account's host ID.
HostId string `pulumi:"hostId"`
// The ID of the Host Account.
Id string `pulumi:"id"`
// Specifies the database where you want to create your hosting account's host bastion host ID of.
InstanceId string `pulumi:"instanceId"`
// The situation where the private keys of the fingerprint information.
PrivateKeyFingerprint string `pulumi:"privateKeyFingerprint"`
// Specify the new hosting account of the agreement name. Valid values: USING SSH and RDP.
ProtocolName string `pulumi:"protocolName"`
}
// GetHostAccountsAccountInput is an input type that accepts GetHostAccountsAccountArgs and GetHostAccountsAccountOutput values.
// You can construct a concrete instance of `GetHostAccountsAccountInput` via:
//
// GetHostAccountsAccountArgs{...}
type GetHostAccountsAccountInput interface {
pulumi.Input
ToGetHostAccountsAccountOutput() GetHostAccountsAccountOutput
ToGetHostAccountsAccountOutputWithContext(context.Context) GetHostAccountsAccountOutput
}
type GetHostAccountsAccountArgs struct {
// Whether to set a new password.
HasPassword pulumi.BoolInput `pulumi:"hasPassword"`
// Hosting account ID.
HostAccountId pulumi.StringInput `pulumi:"hostAccountId"`
// Specify the new hosting account's name, support the longest 128 characters.
HostAccountName pulumi.StringInput `pulumi:"hostAccountName"`
// Specifies the database where you want to create your hosting account's host ID.
HostId pulumi.StringInput `pulumi:"hostId"`
// The ID of the Host Account.
Id pulumi.StringInput `pulumi:"id"`
// Specifies the database where you want to create your hosting account's host bastion host ID of.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
// The situation where the private keys of the fingerprint information.
PrivateKeyFingerprint pulumi.StringInput `pulumi:"privateKeyFingerprint"`
// Specify the new hosting account of the agreement name. Valid values: USING SSH and RDP.
ProtocolName pulumi.StringInput `pulumi:"protocolName"`
}
func (GetHostAccountsAccountArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostAccountsAccount)(nil)).Elem()
}
func (i GetHostAccountsAccountArgs) ToGetHostAccountsAccountOutput() GetHostAccountsAccountOutput {
return i.ToGetHostAccountsAccountOutputWithContext(context.Background())
}
func (i GetHostAccountsAccountArgs) ToGetHostAccountsAccountOutputWithContext(ctx context.Context) GetHostAccountsAccountOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostAccountsAccountOutput)
}
// GetHostAccountsAccountArrayInput is an input type that accepts GetHostAccountsAccountArray and GetHostAccountsAccountArrayOutput values.
// You can construct a concrete instance of `GetHostAccountsAccountArrayInput` via:
//
// GetHostAccountsAccountArray{ GetHostAccountsAccountArgs{...} }
type GetHostAccountsAccountArrayInput interface {
pulumi.Input
ToGetHostAccountsAccountArrayOutput() GetHostAccountsAccountArrayOutput
ToGetHostAccountsAccountArrayOutputWithContext(context.Context) GetHostAccountsAccountArrayOutput
}
type GetHostAccountsAccountArray []GetHostAccountsAccountInput
func (GetHostAccountsAccountArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostAccountsAccount)(nil)).Elem()
}
func (i GetHostAccountsAccountArray) ToGetHostAccountsAccountArrayOutput() GetHostAccountsAccountArrayOutput {
return i.ToGetHostAccountsAccountArrayOutputWithContext(context.Background())
}
func (i GetHostAccountsAccountArray) ToGetHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetHostAccountsAccountArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostAccountsAccountArrayOutput)
}
type GetHostAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetHostAccountsAccountOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostAccountsAccount)(nil)).Elem()
}
func (o GetHostAccountsAccountOutput) ToGetHostAccountsAccountOutput() GetHostAccountsAccountOutput {
return o
}
func (o GetHostAccountsAccountOutput) ToGetHostAccountsAccountOutputWithContext(ctx context.Context) GetHostAccountsAccountOutput {
return o
}
// Whether to set a new password.
func (o GetHostAccountsAccountOutput) HasPassword() pulumi.BoolOutput {
return o.ApplyT(func(v GetHostAccountsAccount) bool { return v.HasPassword }).(pulumi.BoolOutput)
}
// Hosting account ID.
func (o GetHostAccountsAccountOutput) HostAccountId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.HostAccountId }).(pulumi.StringOutput)
}
// Specify the new hosting account's name, support the longest 128 characters.
func (o GetHostAccountsAccountOutput) HostAccountName() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.HostAccountName }).(pulumi.StringOutput)
}
// Specifies the database where you want to create your hosting account's host ID.
func (o GetHostAccountsAccountOutput) HostId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.HostId }).(pulumi.StringOutput)
}
// The ID of the Host Account.
func (o GetHostAccountsAccountOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.Id }).(pulumi.StringOutput)
}
// Specifies the database where you want to create your hosting account's host bastion host ID of.
func (o GetHostAccountsAccountOutput) InstanceId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.InstanceId }).(pulumi.StringOutput)
}
// The situation where the private keys of the fingerprint information.
func (o GetHostAccountsAccountOutput) PrivateKeyFingerprint() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.PrivateKeyFingerprint }).(pulumi.StringOutput)
}
// Specify the new hosting account of the agreement name. Valid values: USING SSH and RDP.
func (o GetHostAccountsAccountOutput) ProtocolName() pulumi.StringOutput {
return o.ApplyT(func(v GetHostAccountsAccount) string { return v.ProtocolName }).(pulumi.StringOutput)
}
type GetHostAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetHostAccountsAccountArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostAccountsAccount)(nil)).Elem()
}
func (o GetHostAccountsAccountArrayOutput) ToGetHostAccountsAccountArrayOutput() GetHostAccountsAccountArrayOutput {
return o
}
func (o GetHostAccountsAccountArrayOutput) ToGetHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetHostAccountsAccountArrayOutput {
return o
}
func (o GetHostAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetHostAccountsAccountOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetHostAccountsAccount {
return vs[0].([]GetHostAccountsAccount)[vs[1].(int)]
}).(GetHostAccountsAccountOutput)
}
type GetHostGroupsGroup struct {
// Specify the New Host Group of Notes, Supports up to 500 Characters.
Comment string `pulumi:"comment"`
// Host Group ID.
HostGroupId string `pulumi:"hostGroupId"`
// Specify the New Host Group Name, Supports up to 128 Characters.
HostGroupName string `pulumi:"hostGroupName"`
// The ID of the Host Group.
Id string `pulumi:"id"`
// Specify the New Host Group Where the Bastion Host ID of.
InstanceId string `pulumi:"instanceId"`
}
// GetHostGroupsGroupInput is an input type that accepts GetHostGroupsGroupArgs and GetHostGroupsGroupOutput values.
// You can construct a concrete instance of `GetHostGroupsGroupInput` via:
//
// GetHostGroupsGroupArgs{...}
type GetHostGroupsGroupInput interface {
pulumi.Input
ToGetHostGroupsGroupOutput() GetHostGroupsGroupOutput
ToGetHostGroupsGroupOutputWithContext(context.Context) GetHostGroupsGroupOutput
}
type GetHostGroupsGroupArgs struct {
// Specify the New Host Group of Notes, Supports up to 500 Characters.
Comment pulumi.StringInput `pulumi:"comment"`
// Host Group ID.
HostGroupId pulumi.StringInput `pulumi:"hostGroupId"`
// Specify the New Host Group Name, Supports up to 128 Characters.
HostGroupName pulumi.StringInput `pulumi:"hostGroupName"`
// The ID of the Host Group.
Id pulumi.StringInput `pulumi:"id"`
// Specify the New Host Group Where the Bastion Host ID of.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
}
func (GetHostGroupsGroupArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostGroupsGroup)(nil)).Elem()
}
func (i GetHostGroupsGroupArgs) ToGetHostGroupsGroupOutput() GetHostGroupsGroupOutput {
return i.ToGetHostGroupsGroupOutputWithContext(context.Background())
}
func (i GetHostGroupsGroupArgs) ToGetHostGroupsGroupOutputWithContext(ctx context.Context) GetHostGroupsGroupOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostGroupsGroupOutput)
}
// GetHostGroupsGroupArrayInput is an input type that accepts GetHostGroupsGroupArray and GetHostGroupsGroupArrayOutput values.
// You can construct a concrete instance of `GetHostGroupsGroupArrayInput` via:
//
// GetHostGroupsGroupArray{ GetHostGroupsGroupArgs{...} }
type GetHostGroupsGroupArrayInput interface {
pulumi.Input
ToGetHostGroupsGroupArrayOutput() GetHostGroupsGroupArrayOutput
ToGetHostGroupsGroupArrayOutputWithContext(context.Context) GetHostGroupsGroupArrayOutput
}
type GetHostGroupsGroupArray []GetHostGroupsGroupInput
func (GetHostGroupsGroupArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostGroupsGroup)(nil)).Elem()
}
func (i GetHostGroupsGroupArray) ToGetHostGroupsGroupArrayOutput() GetHostGroupsGroupArrayOutput {
return i.ToGetHostGroupsGroupArrayOutputWithContext(context.Background())
}
func (i GetHostGroupsGroupArray) ToGetHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetHostGroupsGroupArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostGroupsGroupArrayOutput)
}
type GetHostGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetHostGroupsGroupOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostGroupsGroup)(nil)).Elem()
}
func (o GetHostGroupsGroupOutput) ToGetHostGroupsGroupOutput() GetHostGroupsGroupOutput {
return o
}
func (o GetHostGroupsGroupOutput) ToGetHostGroupsGroupOutputWithContext(ctx context.Context) GetHostGroupsGroupOutput {
return o
}
// Specify the New Host Group of Notes, Supports up to 500 Characters.
func (o GetHostGroupsGroupOutput) Comment() pulumi.StringOutput {
return o.ApplyT(func(v GetHostGroupsGroup) string { return v.Comment }).(pulumi.StringOutput)
}
// Host Group ID.
func (o GetHostGroupsGroupOutput) HostGroupId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostGroupsGroup) string { return v.HostGroupId }).(pulumi.StringOutput)
}
// Specify the New Host Group Name, Supports up to 128 Characters.
func (o GetHostGroupsGroupOutput) HostGroupName() pulumi.StringOutput {
return o.ApplyT(func(v GetHostGroupsGroup) string { return v.HostGroupName }).(pulumi.StringOutput)
}
// The ID of the Host Group.
func (o GetHostGroupsGroupOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetHostGroupsGroup) string { return v.Id }).(pulumi.StringOutput)
}
// Specify the New Host Group Where the Bastion Host ID of.
func (o GetHostGroupsGroupOutput) InstanceId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostGroupsGroup) string { return v.InstanceId }).(pulumi.StringOutput)
}
type GetHostGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetHostGroupsGroupArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostGroupsGroup)(nil)).Elem()
}
func (o GetHostGroupsGroupArrayOutput) ToGetHostGroupsGroupArrayOutput() GetHostGroupsGroupArrayOutput {
return o
}
func (o GetHostGroupsGroupArrayOutput) ToGetHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetHostGroupsGroupArrayOutput {
return o
}
func (o GetHostGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetHostGroupsGroupOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetHostGroupsGroup {
return vs[0].([]GetHostGroupsGroup)[vs[1].(int)]
}).(GetHostGroupsGroupOutput)
}
type GetHostShareKeysKey struct {
// The first ID of the resource.
HostShareKeyId string `pulumi:"hostShareKeyId"`
// The name of the host shared key.
HostShareKeyName string `pulumi:"hostShareKeyName"`
// The ID of the Host Share Key.
Id string `pulumi:"id"`
// The ID of the Bastion instance.
InstanceId string `pulumi:"instanceId"`
// The fingerprint of the private key.
PrivateKeyFingerPrint string `pulumi:"privateKeyFingerPrint"`
}
// GetHostShareKeysKeyInput is an input type that accepts GetHostShareKeysKeyArgs and GetHostShareKeysKeyOutput values.
// You can construct a concrete instance of `GetHostShareKeysKeyInput` via:
//
// GetHostShareKeysKeyArgs{...}
type GetHostShareKeysKeyInput interface {
pulumi.Input
ToGetHostShareKeysKeyOutput() GetHostShareKeysKeyOutput
ToGetHostShareKeysKeyOutputWithContext(context.Context) GetHostShareKeysKeyOutput
}
type GetHostShareKeysKeyArgs struct {
// The first ID of the resource.
HostShareKeyId pulumi.StringInput `pulumi:"hostShareKeyId"`
// The name of the host shared key.
HostShareKeyName pulumi.StringInput `pulumi:"hostShareKeyName"`
// The ID of the Host Share Key.
Id pulumi.StringInput `pulumi:"id"`
// The ID of the Bastion instance.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
// The fingerprint of the private key.
PrivateKeyFingerPrint pulumi.StringInput `pulumi:"privateKeyFingerPrint"`
}
func (GetHostShareKeysKeyArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostShareKeysKey)(nil)).Elem()
}
func (i GetHostShareKeysKeyArgs) ToGetHostShareKeysKeyOutput() GetHostShareKeysKeyOutput {
return i.ToGetHostShareKeysKeyOutputWithContext(context.Background())
}
func (i GetHostShareKeysKeyArgs) ToGetHostShareKeysKeyOutputWithContext(ctx context.Context) GetHostShareKeysKeyOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostShareKeysKeyOutput)
}
// GetHostShareKeysKeyArrayInput is an input type that accepts GetHostShareKeysKeyArray and GetHostShareKeysKeyArrayOutput values.
// You can construct a concrete instance of `GetHostShareKeysKeyArrayInput` via:
//
// GetHostShareKeysKeyArray{ GetHostShareKeysKeyArgs{...} }
type GetHostShareKeysKeyArrayInput interface {
pulumi.Input
ToGetHostShareKeysKeyArrayOutput() GetHostShareKeysKeyArrayOutput
ToGetHostShareKeysKeyArrayOutputWithContext(context.Context) GetHostShareKeysKeyArrayOutput
}
type GetHostShareKeysKeyArray []GetHostShareKeysKeyInput
func (GetHostShareKeysKeyArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostShareKeysKey)(nil)).Elem()
}
func (i GetHostShareKeysKeyArray) ToGetHostShareKeysKeyArrayOutput() GetHostShareKeysKeyArrayOutput {
return i.ToGetHostShareKeysKeyArrayOutputWithContext(context.Background())
}
func (i GetHostShareKeysKeyArray) ToGetHostShareKeysKeyArrayOutputWithContext(ctx context.Context) GetHostShareKeysKeyArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostShareKeysKeyArrayOutput)
}
type GetHostShareKeysKeyOutput struct{ *pulumi.OutputState }
func (GetHostShareKeysKeyOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostShareKeysKey)(nil)).Elem()
}
func (o GetHostShareKeysKeyOutput) ToGetHostShareKeysKeyOutput() GetHostShareKeysKeyOutput {
return o
}
func (o GetHostShareKeysKeyOutput) ToGetHostShareKeysKeyOutputWithContext(ctx context.Context) GetHostShareKeysKeyOutput {
return o
}
// The first ID of the resource.
func (o GetHostShareKeysKeyOutput) HostShareKeyId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostShareKeysKey) string { return v.HostShareKeyId }).(pulumi.StringOutput)
}
// The name of the host shared key.
func (o GetHostShareKeysKeyOutput) HostShareKeyName() pulumi.StringOutput {
return o.ApplyT(func(v GetHostShareKeysKey) string { return v.HostShareKeyName }).(pulumi.StringOutput)
}
// The ID of the Host Share Key.
func (o GetHostShareKeysKeyOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetHostShareKeysKey) string { return v.Id }).(pulumi.StringOutput)
}
// The ID of the Bastion instance.
func (o GetHostShareKeysKeyOutput) InstanceId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostShareKeysKey) string { return v.InstanceId }).(pulumi.StringOutput)
}
// The fingerprint of the private key.
func (o GetHostShareKeysKeyOutput) PrivateKeyFingerPrint() pulumi.StringOutput {
return o.ApplyT(func(v GetHostShareKeysKey) string { return v.PrivateKeyFingerPrint }).(pulumi.StringOutput)
}
type GetHostShareKeysKeyArrayOutput struct{ *pulumi.OutputState }
func (GetHostShareKeysKeyArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostShareKeysKey)(nil)).Elem()
}
func (o GetHostShareKeysKeyArrayOutput) ToGetHostShareKeysKeyArrayOutput() GetHostShareKeysKeyArrayOutput {
return o
}
func (o GetHostShareKeysKeyArrayOutput) ToGetHostShareKeysKeyArrayOutputWithContext(ctx context.Context) GetHostShareKeysKeyArrayOutput {
return o
}
func (o GetHostShareKeysKeyArrayOutput) Index(i pulumi.IntInput) GetHostShareKeysKeyOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetHostShareKeysKey {
return vs[0].([]GetHostShareKeysKey)[vs[1].(int)]
}).(GetHostShareKeysKeyOutput)
}
type GetHostsHost struct {
// Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
ActiveAddressType string `pulumi:"activeAddressType"`
// Specify a host of notes, supports up to 500 characters.
Comment string `pulumi:"comment"`
// The host ID.
HostId string `pulumi:"hostId"`
// Specify the new create a host name of the supports up to 128 characters.
HostName string `pulumi:"hostName"`
// Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
HostPrivateAddress string `pulumi:"hostPrivateAddress"`
// Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
HostPublicAddress string `pulumi:"hostPublicAddress"`
// The ID of the Host.
Id string `pulumi:"id"`
// Specify the new create a host where the Bastion host ID of.
InstanceId string `pulumi:"instanceId"`
// Specify the new create the host's operating system. Valid values: Linux Windows.
OsType string `pulumi:"osType"`
// The host of the protocol information.
Protocols []GetHostsHostProtocol `pulumi:"protocols"`
// Specify the new create a host of source. Valid values: Local: localhost Ecs:ECS instance Rds:RDS exclusive cluster host.
Source string `pulumi:"source"`
// Specify the newly created ECS instance ID or dedicated cluster host ID.
SourceInstanceId string `pulumi:"sourceInstanceId"`
}
// GetHostsHostInput is an input type that accepts GetHostsHostArgs and GetHostsHostOutput values.
// You can construct a concrete instance of `GetHostsHostInput` via:
//
// GetHostsHostArgs{...}
type GetHostsHostInput interface {
pulumi.Input
ToGetHostsHostOutput() GetHostsHostOutput
ToGetHostsHostOutputWithContext(context.Context) GetHostsHostOutput
}
type GetHostsHostArgs struct {
// Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
ActiveAddressType pulumi.StringInput `pulumi:"activeAddressType"`
// Specify a host of notes, supports up to 500 characters.
Comment pulumi.StringInput `pulumi:"comment"`
// The host ID.
HostId pulumi.StringInput `pulumi:"hostId"`
// Specify the new create a host name of the supports up to 128 characters.
HostName pulumi.StringInput `pulumi:"hostName"`
// Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
HostPrivateAddress pulumi.StringInput `pulumi:"hostPrivateAddress"`
// Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
HostPublicAddress pulumi.StringInput `pulumi:"hostPublicAddress"`
// The ID of the Host.
Id pulumi.StringInput `pulumi:"id"`
// Specify the new create a host where the Bastion host ID of.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
// Specify the new create the host's operating system. Valid values: Linux Windows.
OsType pulumi.StringInput `pulumi:"osType"`
// The host of the protocol information.
Protocols GetHostsHostProtocolArrayInput `pulumi:"protocols"`
// Specify the new create a host of source. Valid values: Local: localhost Ecs:ECS instance Rds:RDS exclusive cluster host.
Source pulumi.StringInput `pulumi:"source"`
// Specify the newly created ECS instance ID or dedicated cluster host ID.
SourceInstanceId pulumi.StringInput `pulumi:"sourceInstanceId"`
}
func (GetHostsHostArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostsHost)(nil)).Elem()
}
func (i GetHostsHostArgs) ToGetHostsHostOutput() GetHostsHostOutput {
return i.ToGetHostsHostOutputWithContext(context.Background())
}
func (i GetHostsHostArgs) ToGetHostsHostOutputWithContext(ctx context.Context) GetHostsHostOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostsHostOutput)
}
// GetHostsHostArrayInput is an input type that accepts GetHostsHostArray and GetHostsHostArrayOutput values.
// You can construct a concrete instance of `GetHostsHostArrayInput` via:
//
// GetHostsHostArray{ GetHostsHostArgs{...} }
type GetHostsHostArrayInput interface {
pulumi.Input
ToGetHostsHostArrayOutput() GetHostsHostArrayOutput
ToGetHostsHostArrayOutputWithContext(context.Context) GetHostsHostArrayOutput
}
type GetHostsHostArray []GetHostsHostInput
func (GetHostsHostArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetHostsHost)(nil)).Elem()
}
func (i GetHostsHostArray) ToGetHostsHostArrayOutput() GetHostsHostArrayOutput {
return i.ToGetHostsHostArrayOutputWithContext(context.Background())
}
func (i GetHostsHostArray) ToGetHostsHostArrayOutputWithContext(ctx context.Context) GetHostsHostArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetHostsHostArrayOutput)
}
type GetHostsHostOutput struct{ *pulumi.OutputState }
func (GetHostsHostOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetHostsHost)(nil)).Elem()
}
func (o GetHostsHostOutput) ToGetHostsHostOutput() GetHostsHostOutput {
return o
}
func (o GetHostsHostOutput) ToGetHostsHostOutputWithContext(ctx context.Context) GetHostsHostOutput {
return o
}
// Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
func (o GetHostsHostOutput) ActiveAddressType() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.ActiveAddressType }).(pulumi.StringOutput)
}
// Specify a host of notes, supports up to 500 characters.
func (o GetHostsHostOutput) Comment() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.Comment }).(pulumi.StringOutput)
}
// The host ID.
func (o GetHostsHostOutput) HostId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.HostId }).(pulumi.StringOutput)
}
// Specify the new create a host name of the supports up to 128 characters.
func (o GetHostsHostOutput) HostName() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.HostName }).(pulumi.StringOutput)
}
// Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
func (o GetHostsHostOutput) HostPrivateAddress() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.HostPrivateAddress }).(pulumi.StringOutput)
}
// Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
func (o GetHostsHostOutput) HostPublicAddress() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.HostPublicAddress }).(pulumi.StringOutput)
}
// The ID of the Host.
func (o GetHostsHostOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.Id }).(pulumi.StringOutput)
}
// Specify the new create a host where the Bastion host ID of.
func (o GetHostsHostOutput) InstanceId() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.InstanceId }).(pulumi.StringOutput)
}
// Specify the new create the host's operating system. Valid values: Linux Windows.
func (o GetHostsHostOutput) OsType() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.OsType }).(pulumi.StringOutput)
}
// The host of the protocol information.
func (o GetHostsHostOutput) Protocols() GetHostsHostProtocolArrayOutput {
return o.ApplyT(func(v GetHostsHost) []GetHostsHostProtocol { return v.Protocols }).(GetHostsHostProtocolArrayOutput)
}
// Specify the new create a host of source. Valid values: Local: localhost Ecs:ECS instance Rds:RDS exclusive cluster host.
func (o GetHostsHostOutput) Source() pulumi.StringOutput {
return o.ApplyT(func(v GetHostsHost) string { return v.Source }).(pulumi.StringOutput)
}