/
pulumiTypes.go
2324 lines (1849 loc) · 85.8 KB
/
pulumiTypes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// 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 cr
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/internal"
)
var _ = internal.GetEnvOrDefault
type AuthorizationTokensToken struct {
// The expiration time of the temporary access token.
ExpireTime string `pulumi:"expireTime"`
// The Temporary access token.
Token string `pulumi:"token"`
// The username for login repository instance.
Username string `pulumi:"username"`
}
// AuthorizationTokensTokenInput is an input type that accepts AuthorizationTokensTokenArgs and AuthorizationTokensTokenOutput values.
// You can construct a concrete instance of `AuthorizationTokensTokenInput` via:
//
// AuthorizationTokensTokenArgs{...}
type AuthorizationTokensTokenInput interface {
pulumi.Input
ToAuthorizationTokensTokenOutput() AuthorizationTokensTokenOutput
ToAuthorizationTokensTokenOutputWithContext(context.Context) AuthorizationTokensTokenOutput
}
type AuthorizationTokensTokenArgs struct {
// The expiration time of the temporary access token.
ExpireTime pulumi.StringInput `pulumi:"expireTime"`
// The Temporary access token.
Token pulumi.StringInput `pulumi:"token"`
// The username for login repository instance.
Username pulumi.StringInput `pulumi:"username"`
}
func (AuthorizationTokensTokenArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AuthorizationTokensToken)(nil)).Elem()
}
func (i AuthorizationTokensTokenArgs) ToAuthorizationTokensTokenOutput() AuthorizationTokensTokenOutput {
return i.ToAuthorizationTokensTokenOutputWithContext(context.Background())
}
func (i AuthorizationTokensTokenArgs) ToAuthorizationTokensTokenOutputWithContext(ctx context.Context) AuthorizationTokensTokenOutput {
return pulumi.ToOutputWithContext(ctx, i).(AuthorizationTokensTokenOutput)
}
// AuthorizationTokensTokenArrayInput is an input type that accepts AuthorizationTokensTokenArray and AuthorizationTokensTokenArrayOutput values.
// You can construct a concrete instance of `AuthorizationTokensTokenArrayInput` via:
//
// AuthorizationTokensTokenArray{ AuthorizationTokensTokenArgs{...} }
type AuthorizationTokensTokenArrayInput interface {
pulumi.Input
ToAuthorizationTokensTokenArrayOutput() AuthorizationTokensTokenArrayOutput
ToAuthorizationTokensTokenArrayOutputWithContext(context.Context) AuthorizationTokensTokenArrayOutput
}
type AuthorizationTokensTokenArray []AuthorizationTokensTokenInput
func (AuthorizationTokensTokenArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AuthorizationTokensToken)(nil)).Elem()
}
func (i AuthorizationTokensTokenArray) ToAuthorizationTokensTokenArrayOutput() AuthorizationTokensTokenArrayOutput {
return i.ToAuthorizationTokensTokenArrayOutputWithContext(context.Background())
}
func (i AuthorizationTokensTokenArray) ToAuthorizationTokensTokenArrayOutputWithContext(ctx context.Context) AuthorizationTokensTokenArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AuthorizationTokensTokenArrayOutput)
}
type AuthorizationTokensTokenOutput struct{ *pulumi.OutputState }
func (AuthorizationTokensTokenOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AuthorizationTokensToken)(nil)).Elem()
}
func (o AuthorizationTokensTokenOutput) ToAuthorizationTokensTokenOutput() AuthorizationTokensTokenOutput {
return o
}
func (o AuthorizationTokensTokenOutput) ToAuthorizationTokensTokenOutputWithContext(ctx context.Context) AuthorizationTokensTokenOutput {
return o
}
// The expiration time of the temporary access token.
func (o AuthorizationTokensTokenOutput) ExpireTime() pulumi.StringOutput {
return o.ApplyT(func(v AuthorizationTokensToken) string { return v.ExpireTime }).(pulumi.StringOutput)
}
// The Temporary access token.
func (o AuthorizationTokensTokenOutput) Token() pulumi.StringOutput {
return o.ApplyT(func(v AuthorizationTokensToken) string { return v.Token }).(pulumi.StringOutput)
}
// The username for login repository instance.
func (o AuthorizationTokensTokenOutput) Username() pulumi.StringOutput {
return o.ApplyT(func(v AuthorizationTokensToken) string { return v.Username }).(pulumi.StringOutput)
}
type AuthorizationTokensTokenArrayOutput struct{ *pulumi.OutputState }
func (AuthorizationTokensTokenArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AuthorizationTokensToken)(nil)).Elem()
}
func (o AuthorizationTokensTokenArrayOutput) ToAuthorizationTokensTokenArrayOutput() AuthorizationTokensTokenArrayOutput {
return o
}
func (o AuthorizationTokensTokenArrayOutput) ToAuthorizationTokensTokenArrayOutputWithContext(ctx context.Context) AuthorizationTokensTokenArrayOutput {
return o
}
func (o AuthorizationTokensTokenArrayOutput) Index(i pulumi.IntInput) AuthorizationTokensTokenOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthorizationTokensToken {
return vs[0].([]AuthorizationTokensToken)[vs[1].(int)]
}).(AuthorizationTokensTokenOutput)
}
type EndpointsEndpoint struct {
// Whether public endpoint is enabled.
Enabled bool `pulumi:"enabled"`
// The CR instance name.
Registry string `pulumi:"registry"`
// The status of public endpoint.
Status string `pulumi:"status"`
}
// EndpointsEndpointInput is an input type that accepts EndpointsEndpointArgs and EndpointsEndpointOutput values.
// You can construct a concrete instance of `EndpointsEndpointInput` via:
//
// EndpointsEndpointArgs{...}
type EndpointsEndpointInput interface {
pulumi.Input
ToEndpointsEndpointOutput() EndpointsEndpointOutput
ToEndpointsEndpointOutputWithContext(context.Context) EndpointsEndpointOutput
}
type EndpointsEndpointArgs struct {
// Whether public endpoint is enabled.
Enabled pulumi.BoolInput `pulumi:"enabled"`
// The CR instance name.
Registry pulumi.StringInput `pulumi:"registry"`
// The status of public endpoint.
Status pulumi.StringInput `pulumi:"status"`
}
func (EndpointsEndpointArgs) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointsEndpoint)(nil)).Elem()
}
func (i EndpointsEndpointArgs) ToEndpointsEndpointOutput() EndpointsEndpointOutput {
return i.ToEndpointsEndpointOutputWithContext(context.Background())
}
func (i EndpointsEndpointArgs) ToEndpointsEndpointOutputWithContext(ctx context.Context) EndpointsEndpointOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointsEndpointOutput)
}
// EndpointsEndpointArrayInput is an input type that accepts EndpointsEndpointArray and EndpointsEndpointArrayOutput values.
// You can construct a concrete instance of `EndpointsEndpointArrayInput` via:
//
// EndpointsEndpointArray{ EndpointsEndpointArgs{...} }
type EndpointsEndpointArrayInput interface {
pulumi.Input
ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput
ToEndpointsEndpointArrayOutputWithContext(context.Context) EndpointsEndpointArrayOutput
}
type EndpointsEndpointArray []EndpointsEndpointInput
func (EndpointsEndpointArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]EndpointsEndpoint)(nil)).Elem()
}
func (i EndpointsEndpointArray) ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput {
return i.ToEndpointsEndpointArrayOutputWithContext(context.Background())
}
func (i EndpointsEndpointArray) ToEndpointsEndpointArrayOutputWithContext(ctx context.Context) EndpointsEndpointArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointsEndpointArrayOutput)
}
type EndpointsEndpointOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointOutput) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointsEndpoint)(nil)).Elem()
}
func (o EndpointsEndpointOutput) ToEndpointsEndpointOutput() EndpointsEndpointOutput {
return o
}
func (o EndpointsEndpointOutput) ToEndpointsEndpointOutputWithContext(ctx context.Context) EndpointsEndpointOutput {
return o
}
// Whether public endpoint is enabled.
func (o EndpointsEndpointOutput) Enabled() pulumi.BoolOutput {
return o.ApplyT(func(v EndpointsEndpoint) bool { return v.Enabled }).(pulumi.BoolOutput)
}
// The CR instance name.
func (o EndpointsEndpointOutput) Registry() pulumi.StringOutput {
return o.ApplyT(func(v EndpointsEndpoint) string { return v.Registry }).(pulumi.StringOutput)
}
// The status of public endpoint.
func (o EndpointsEndpointOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v EndpointsEndpoint) string { return v.Status }).(pulumi.StringOutput)
}
type EndpointsEndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointsEndpointArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]EndpointsEndpoint)(nil)).Elem()
}
func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutput() EndpointsEndpointArrayOutput {
return o
}
func (o EndpointsEndpointArrayOutput) ToEndpointsEndpointArrayOutputWithContext(ctx context.Context) EndpointsEndpointArrayOutput {
return o
}
func (o EndpointsEndpointArrayOutput) Index(i pulumi.IntInput) EndpointsEndpointOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointsEndpoint {
return vs[0].([]EndpointsEndpoint)[vs[1].(int)]
}).(EndpointsEndpointOutput)
}
type NamespacesNamespace struct {
// The time when namespace created.
CreateTime string `pulumi:"createTime"`
// The name of OCI repository.
Name string `pulumi:"name"`
}
// NamespacesNamespaceInput is an input type that accepts NamespacesNamespaceArgs and NamespacesNamespaceOutput values.
// You can construct a concrete instance of `NamespacesNamespaceInput` via:
//
// NamespacesNamespaceArgs{...}
type NamespacesNamespaceInput interface {
pulumi.Input
ToNamespacesNamespaceOutput() NamespacesNamespaceOutput
ToNamespacesNamespaceOutputWithContext(context.Context) NamespacesNamespaceOutput
}
type NamespacesNamespaceArgs struct {
// The time when namespace created.
CreateTime pulumi.StringInput `pulumi:"createTime"`
// The name of OCI repository.
Name pulumi.StringInput `pulumi:"name"`
}
func (NamespacesNamespaceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*NamespacesNamespace)(nil)).Elem()
}
func (i NamespacesNamespaceArgs) ToNamespacesNamespaceOutput() NamespacesNamespaceOutput {
return i.ToNamespacesNamespaceOutputWithContext(context.Background())
}
func (i NamespacesNamespaceArgs) ToNamespacesNamespaceOutputWithContext(ctx context.Context) NamespacesNamespaceOutput {
return pulumi.ToOutputWithContext(ctx, i).(NamespacesNamespaceOutput)
}
// NamespacesNamespaceArrayInput is an input type that accepts NamespacesNamespaceArray and NamespacesNamespaceArrayOutput values.
// You can construct a concrete instance of `NamespacesNamespaceArrayInput` via:
//
// NamespacesNamespaceArray{ NamespacesNamespaceArgs{...} }
type NamespacesNamespaceArrayInput interface {
pulumi.Input
ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput
ToNamespacesNamespaceArrayOutputWithContext(context.Context) NamespacesNamespaceArrayOutput
}
type NamespacesNamespaceArray []NamespacesNamespaceInput
func (NamespacesNamespaceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]NamespacesNamespace)(nil)).Elem()
}
func (i NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput {
return i.ToNamespacesNamespaceArrayOutputWithContext(context.Background())
}
func (i NamespacesNamespaceArray) ToNamespacesNamespaceArrayOutputWithContext(ctx context.Context) NamespacesNamespaceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(NamespacesNamespaceArrayOutput)
}
type NamespacesNamespaceOutput struct{ *pulumi.OutputState }
func (NamespacesNamespaceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*NamespacesNamespace)(nil)).Elem()
}
func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutput() NamespacesNamespaceOutput {
return o
}
func (o NamespacesNamespaceOutput) ToNamespacesNamespaceOutputWithContext(ctx context.Context) NamespacesNamespaceOutput {
return o
}
// The time when namespace created.
func (o NamespacesNamespaceOutput) CreateTime() pulumi.StringOutput {
return o.ApplyT(func(v NamespacesNamespace) string { return v.CreateTime }).(pulumi.StringOutput)
}
// The name of OCI repository.
func (o NamespacesNamespaceOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v NamespacesNamespace) string { return v.Name }).(pulumi.StringOutput)
}
type NamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }
func (NamespacesNamespaceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]NamespacesNamespace)(nil)).Elem()
}
func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutput() NamespacesNamespaceArrayOutput {
return o
}
func (o NamespacesNamespaceArrayOutput) ToNamespacesNamespaceArrayOutputWithContext(ctx context.Context) NamespacesNamespaceArrayOutput {
return o
}
func (o NamespacesNamespaceArrayOutput) Index(i pulumi.IntInput) NamespacesNamespaceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespacesNamespace {
return vs[0].([]NamespacesNamespace)[vs[1].(int)]
}).(NamespacesNamespaceOutput)
}
type RegistriesRegistry struct {
// The charge type of registry.
ChargeType string `pulumi:"chargeType"`
// The creation time of registry.
CreateTime string `pulumi:"createTime"`
// The domain of registry.
Domains []RegistriesRegistryDomain `pulumi:"domains"`
// The name of registry.
Name string `pulumi:"name"`
// The status of registry.
Status RegistriesRegistryStatus `pulumi:"status"`
// The type of registry.
Type string `pulumi:"type"`
// The status of user.
UserStatus string `pulumi:"userStatus"`
// The username of cr instance.
Username string `pulumi:"username"`
}
// RegistriesRegistryInput is an input type that accepts RegistriesRegistryArgs and RegistriesRegistryOutput values.
// You can construct a concrete instance of `RegistriesRegistryInput` via:
//
// RegistriesRegistryArgs{...}
type RegistriesRegistryInput interface {
pulumi.Input
ToRegistriesRegistryOutput() RegistriesRegistryOutput
ToRegistriesRegistryOutputWithContext(context.Context) RegistriesRegistryOutput
}
type RegistriesRegistryArgs struct {
// The charge type of registry.
ChargeType pulumi.StringInput `pulumi:"chargeType"`
// The creation time of registry.
CreateTime pulumi.StringInput `pulumi:"createTime"`
// The domain of registry.
Domains RegistriesRegistryDomainArrayInput `pulumi:"domains"`
// The name of registry.
Name pulumi.StringInput `pulumi:"name"`
// The status of registry.
Status RegistriesRegistryStatusInput `pulumi:"status"`
// The type of registry.
Type pulumi.StringInput `pulumi:"type"`
// The status of user.
UserStatus pulumi.StringInput `pulumi:"userStatus"`
// The username of cr instance.
Username pulumi.StringInput `pulumi:"username"`
}
func (RegistriesRegistryArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistry)(nil)).Elem()
}
func (i RegistriesRegistryArgs) ToRegistriesRegistryOutput() RegistriesRegistryOutput {
return i.ToRegistriesRegistryOutputWithContext(context.Background())
}
func (i RegistriesRegistryArgs) ToRegistriesRegistryOutputWithContext(ctx context.Context) RegistriesRegistryOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesRegistryOutput)
}
// RegistriesRegistryArrayInput is an input type that accepts RegistriesRegistryArray and RegistriesRegistryArrayOutput values.
// You can construct a concrete instance of `RegistriesRegistryArrayInput` via:
//
// RegistriesRegistryArray{ RegistriesRegistryArgs{...} }
type RegistriesRegistryArrayInput interface {
pulumi.Input
ToRegistriesRegistryArrayOutput() RegistriesRegistryArrayOutput
ToRegistriesRegistryArrayOutputWithContext(context.Context) RegistriesRegistryArrayOutput
}
type RegistriesRegistryArray []RegistriesRegistryInput
func (RegistriesRegistryArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesRegistry)(nil)).Elem()
}
func (i RegistriesRegistryArray) ToRegistriesRegistryArrayOutput() RegistriesRegistryArrayOutput {
return i.ToRegistriesRegistryArrayOutputWithContext(context.Background())
}
func (i RegistriesRegistryArray) ToRegistriesRegistryArrayOutputWithContext(ctx context.Context) RegistriesRegistryArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesRegistryArrayOutput)
}
type RegistriesRegistryOutput struct{ *pulumi.OutputState }
func (RegistriesRegistryOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistry)(nil)).Elem()
}
func (o RegistriesRegistryOutput) ToRegistriesRegistryOutput() RegistriesRegistryOutput {
return o
}
func (o RegistriesRegistryOutput) ToRegistriesRegistryOutputWithContext(ctx context.Context) RegistriesRegistryOutput {
return o
}
// The charge type of registry.
func (o RegistriesRegistryOutput) ChargeType() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.ChargeType }).(pulumi.StringOutput)
}
// The creation time of registry.
func (o RegistriesRegistryOutput) CreateTime() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.CreateTime }).(pulumi.StringOutput)
}
// The domain of registry.
func (o RegistriesRegistryOutput) Domains() RegistriesRegistryDomainArrayOutput {
return o.ApplyT(func(v RegistriesRegistry) []RegistriesRegistryDomain { return v.Domains }).(RegistriesRegistryDomainArrayOutput)
}
// The name of registry.
func (o RegistriesRegistryOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.Name }).(pulumi.StringOutput)
}
// The status of registry.
func (o RegistriesRegistryOutput) Status() RegistriesRegistryStatusOutput {
return o.ApplyT(func(v RegistriesRegistry) RegistriesRegistryStatus { return v.Status }).(RegistriesRegistryStatusOutput)
}
// The type of registry.
func (o RegistriesRegistryOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.Type }).(pulumi.StringOutput)
}
// The status of user.
func (o RegistriesRegistryOutput) UserStatus() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.UserStatus }).(pulumi.StringOutput)
}
// The username of cr instance.
func (o RegistriesRegistryOutput) Username() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistry) string { return v.Username }).(pulumi.StringOutput)
}
type RegistriesRegistryArrayOutput struct{ *pulumi.OutputState }
func (RegistriesRegistryArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesRegistry)(nil)).Elem()
}
func (o RegistriesRegistryArrayOutput) ToRegistriesRegistryArrayOutput() RegistriesRegistryArrayOutput {
return o
}
func (o RegistriesRegistryArrayOutput) ToRegistriesRegistryArrayOutputWithContext(ctx context.Context) RegistriesRegistryArrayOutput {
return o
}
func (o RegistriesRegistryArrayOutput) Index(i pulumi.IntInput) RegistriesRegistryOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistriesRegistry {
return vs[0].([]RegistriesRegistry)[vs[1].(int)]
}).(RegistriesRegistryOutput)
}
type RegistriesRegistryDomain struct {
// The domain of registry.
Domain string `pulumi:"domain"`
// The type of registry.
Type string `pulumi:"type"`
}
// RegistriesRegistryDomainInput is an input type that accepts RegistriesRegistryDomainArgs and RegistriesRegistryDomainOutput values.
// You can construct a concrete instance of `RegistriesRegistryDomainInput` via:
//
// RegistriesRegistryDomainArgs{...}
type RegistriesRegistryDomainInput interface {
pulumi.Input
ToRegistriesRegistryDomainOutput() RegistriesRegistryDomainOutput
ToRegistriesRegistryDomainOutputWithContext(context.Context) RegistriesRegistryDomainOutput
}
type RegistriesRegistryDomainArgs struct {
// The domain of registry.
Domain pulumi.StringInput `pulumi:"domain"`
// The type of registry.
Type pulumi.StringInput `pulumi:"type"`
}
func (RegistriesRegistryDomainArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistryDomain)(nil)).Elem()
}
func (i RegistriesRegistryDomainArgs) ToRegistriesRegistryDomainOutput() RegistriesRegistryDomainOutput {
return i.ToRegistriesRegistryDomainOutputWithContext(context.Background())
}
func (i RegistriesRegistryDomainArgs) ToRegistriesRegistryDomainOutputWithContext(ctx context.Context) RegistriesRegistryDomainOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesRegistryDomainOutput)
}
// RegistriesRegistryDomainArrayInput is an input type that accepts RegistriesRegistryDomainArray and RegistriesRegistryDomainArrayOutput values.
// You can construct a concrete instance of `RegistriesRegistryDomainArrayInput` via:
//
// RegistriesRegistryDomainArray{ RegistriesRegistryDomainArgs{...} }
type RegistriesRegistryDomainArrayInput interface {
pulumi.Input
ToRegistriesRegistryDomainArrayOutput() RegistriesRegistryDomainArrayOutput
ToRegistriesRegistryDomainArrayOutputWithContext(context.Context) RegistriesRegistryDomainArrayOutput
}
type RegistriesRegistryDomainArray []RegistriesRegistryDomainInput
func (RegistriesRegistryDomainArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesRegistryDomain)(nil)).Elem()
}
func (i RegistriesRegistryDomainArray) ToRegistriesRegistryDomainArrayOutput() RegistriesRegistryDomainArrayOutput {
return i.ToRegistriesRegistryDomainArrayOutputWithContext(context.Background())
}
func (i RegistriesRegistryDomainArray) ToRegistriesRegistryDomainArrayOutputWithContext(ctx context.Context) RegistriesRegistryDomainArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesRegistryDomainArrayOutput)
}
type RegistriesRegistryDomainOutput struct{ *pulumi.OutputState }
func (RegistriesRegistryDomainOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistryDomain)(nil)).Elem()
}
func (o RegistriesRegistryDomainOutput) ToRegistriesRegistryDomainOutput() RegistriesRegistryDomainOutput {
return o
}
func (o RegistriesRegistryDomainOutput) ToRegistriesRegistryDomainOutputWithContext(ctx context.Context) RegistriesRegistryDomainOutput {
return o
}
// The domain of registry.
func (o RegistriesRegistryDomainOutput) Domain() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistryDomain) string { return v.Domain }).(pulumi.StringOutput)
}
// The type of registry.
func (o RegistriesRegistryDomainOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistryDomain) string { return v.Type }).(pulumi.StringOutput)
}
type RegistriesRegistryDomainArrayOutput struct{ *pulumi.OutputState }
func (RegistriesRegistryDomainArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesRegistryDomain)(nil)).Elem()
}
func (o RegistriesRegistryDomainArrayOutput) ToRegistriesRegistryDomainArrayOutput() RegistriesRegistryDomainArrayOutput {
return o
}
func (o RegistriesRegistryDomainArrayOutput) ToRegistriesRegistryDomainArrayOutputWithContext(ctx context.Context) RegistriesRegistryDomainArrayOutput {
return o
}
func (o RegistriesRegistryDomainArrayOutput) Index(i pulumi.IntInput) RegistriesRegistryDomainOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistriesRegistryDomain {
return vs[0].([]RegistriesRegistryDomain)[vs[1].(int)]
}).(RegistriesRegistryDomainOutput)
}
type RegistriesRegistryStatus struct {
// The condition of registry.
Conditions []string `pulumi:"conditions"`
// The phase of status.
Phase string `pulumi:"phase"`
}
// RegistriesRegistryStatusInput is an input type that accepts RegistriesRegistryStatusArgs and RegistriesRegistryStatusOutput values.
// You can construct a concrete instance of `RegistriesRegistryStatusInput` via:
//
// RegistriesRegistryStatusArgs{...}
type RegistriesRegistryStatusInput interface {
pulumi.Input
ToRegistriesRegistryStatusOutput() RegistriesRegistryStatusOutput
ToRegistriesRegistryStatusOutputWithContext(context.Context) RegistriesRegistryStatusOutput
}
type RegistriesRegistryStatusArgs struct {
// The condition of registry.
Conditions pulumi.StringArrayInput `pulumi:"conditions"`
// The phase of status.
Phase pulumi.StringInput `pulumi:"phase"`
}
func (RegistriesRegistryStatusArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistryStatus)(nil)).Elem()
}
func (i RegistriesRegistryStatusArgs) ToRegistriesRegistryStatusOutput() RegistriesRegistryStatusOutput {
return i.ToRegistriesRegistryStatusOutputWithContext(context.Background())
}
func (i RegistriesRegistryStatusArgs) ToRegistriesRegistryStatusOutputWithContext(ctx context.Context) RegistriesRegistryStatusOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesRegistryStatusOutput)
}
type RegistriesRegistryStatusOutput struct{ *pulumi.OutputState }
func (RegistriesRegistryStatusOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesRegistryStatus)(nil)).Elem()
}
func (o RegistriesRegistryStatusOutput) ToRegistriesRegistryStatusOutput() RegistriesRegistryStatusOutput {
return o
}
func (o RegistriesRegistryStatusOutput) ToRegistriesRegistryStatusOutputWithContext(ctx context.Context) RegistriesRegistryStatusOutput {
return o
}
// The condition of registry.
func (o RegistriesRegistryStatusOutput) Conditions() pulumi.StringArrayOutput {
return o.ApplyT(func(v RegistriesRegistryStatus) []string { return v.Conditions }).(pulumi.StringArrayOutput)
}
// The phase of status.
func (o RegistriesRegistryStatusOutput) Phase() pulumi.StringOutput {
return o.ApplyT(func(v RegistriesRegistryStatus) string { return v.Phase }).(pulumi.StringOutput)
}
type RegistriesStatus struct {
// The condition of registry.
Condition *string `pulumi:"condition"`
// The phase of status.
Phase *string `pulumi:"phase"`
}
// RegistriesStatusInput is an input type that accepts RegistriesStatusArgs and RegistriesStatusOutput values.
// You can construct a concrete instance of `RegistriesStatusInput` via:
//
// RegistriesStatusArgs{...}
type RegistriesStatusInput interface {
pulumi.Input
ToRegistriesStatusOutput() RegistriesStatusOutput
ToRegistriesStatusOutputWithContext(context.Context) RegistriesStatusOutput
}
type RegistriesStatusArgs struct {
// The condition of registry.
Condition pulumi.StringPtrInput `pulumi:"condition"`
// The phase of status.
Phase pulumi.StringPtrInput `pulumi:"phase"`
}
func (RegistriesStatusArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesStatus)(nil)).Elem()
}
func (i RegistriesStatusArgs) ToRegistriesStatusOutput() RegistriesStatusOutput {
return i.ToRegistriesStatusOutputWithContext(context.Background())
}
func (i RegistriesStatusArgs) ToRegistriesStatusOutputWithContext(ctx context.Context) RegistriesStatusOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesStatusOutput)
}
// RegistriesStatusArrayInput is an input type that accepts RegistriesStatusArray and RegistriesStatusArrayOutput values.
// You can construct a concrete instance of `RegistriesStatusArrayInput` via:
//
// RegistriesStatusArray{ RegistriesStatusArgs{...} }
type RegistriesStatusArrayInput interface {
pulumi.Input
ToRegistriesStatusArrayOutput() RegistriesStatusArrayOutput
ToRegistriesStatusArrayOutputWithContext(context.Context) RegistriesStatusArrayOutput
}
type RegistriesStatusArray []RegistriesStatusInput
func (RegistriesStatusArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesStatus)(nil)).Elem()
}
func (i RegistriesStatusArray) ToRegistriesStatusArrayOutput() RegistriesStatusArrayOutput {
return i.ToRegistriesStatusArrayOutputWithContext(context.Background())
}
func (i RegistriesStatusArray) ToRegistriesStatusArrayOutputWithContext(ctx context.Context) RegistriesStatusArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistriesStatusArrayOutput)
}
type RegistriesStatusOutput struct{ *pulumi.OutputState }
func (RegistriesStatusOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistriesStatus)(nil)).Elem()
}
func (o RegistriesStatusOutput) ToRegistriesStatusOutput() RegistriesStatusOutput {
return o
}
func (o RegistriesStatusOutput) ToRegistriesStatusOutputWithContext(ctx context.Context) RegistriesStatusOutput {
return o
}
// The condition of registry.
func (o RegistriesStatusOutput) Condition() pulumi.StringPtrOutput {
return o.ApplyT(func(v RegistriesStatus) *string { return v.Condition }).(pulumi.StringPtrOutput)
}
// The phase of status.
func (o RegistriesStatusOutput) Phase() pulumi.StringPtrOutput {
return o.ApplyT(func(v RegistriesStatus) *string { return v.Phase }).(pulumi.StringPtrOutput)
}
type RegistriesStatusArrayOutput struct{ *pulumi.OutputState }
func (RegistriesStatusArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistriesStatus)(nil)).Elem()
}
func (o RegistriesStatusArrayOutput) ToRegistriesStatusArrayOutput() RegistriesStatusArrayOutput {
return o
}
func (o RegistriesStatusArrayOutput) ToRegistriesStatusArrayOutputWithContext(ctx context.Context) RegistriesStatusArrayOutput {
return o
}
func (o RegistriesStatusArrayOutput) Index(i pulumi.IntInput) RegistriesStatusOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistriesStatus {
return vs[0].([]RegistriesStatus)[vs[1].(int)]
}).(RegistriesStatusOutput)
}
type RegistryDomain struct {
// The domain of registry.
Domain *string `pulumi:"domain"`
// The type of registry.
Type *string `pulumi:"type"`
}
// RegistryDomainInput is an input type that accepts RegistryDomainArgs and RegistryDomainOutput values.
// You can construct a concrete instance of `RegistryDomainInput` via:
//
// RegistryDomainArgs{...}
type RegistryDomainInput interface {
pulumi.Input
ToRegistryDomainOutput() RegistryDomainOutput
ToRegistryDomainOutputWithContext(context.Context) RegistryDomainOutput
}
type RegistryDomainArgs struct {
// The domain of registry.
Domain pulumi.StringPtrInput `pulumi:"domain"`
// The type of registry.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (RegistryDomainArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistryDomain)(nil)).Elem()
}
func (i RegistryDomainArgs) ToRegistryDomainOutput() RegistryDomainOutput {
return i.ToRegistryDomainOutputWithContext(context.Background())
}
func (i RegistryDomainArgs) ToRegistryDomainOutputWithContext(ctx context.Context) RegistryDomainOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistryDomainOutput)
}
// RegistryDomainArrayInput is an input type that accepts RegistryDomainArray and RegistryDomainArrayOutput values.
// You can construct a concrete instance of `RegistryDomainArrayInput` via:
//
// RegistryDomainArray{ RegistryDomainArgs{...} }
type RegistryDomainArrayInput interface {
pulumi.Input
ToRegistryDomainArrayOutput() RegistryDomainArrayOutput
ToRegistryDomainArrayOutputWithContext(context.Context) RegistryDomainArrayOutput
}
type RegistryDomainArray []RegistryDomainInput
func (RegistryDomainArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistryDomain)(nil)).Elem()
}
func (i RegistryDomainArray) ToRegistryDomainArrayOutput() RegistryDomainArrayOutput {
return i.ToRegistryDomainArrayOutputWithContext(context.Background())
}
func (i RegistryDomainArray) ToRegistryDomainArrayOutputWithContext(ctx context.Context) RegistryDomainArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistryDomainArrayOutput)
}
type RegistryDomainOutput struct{ *pulumi.OutputState }
func (RegistryDomainOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistryDomain)(nil)).Elem()
}
func (o RegistryDomainOutput) ToRegistryDomainOutput() RegistryDomainOutput {
return o
}
func (o RegistryDomainOutput) ToRegistryDomainOutputWithContext(ctx context.Context) RegistryDomainOutput {
return o
}
// The domain of registry.
func (o RegistryDomainOutput) Domain() pulumi.StringPtrOutput {
return o.ApplyT(func(v RegistryDomain) *string { return v.Domain }).(pulumi.StringPtrOutput)
}
// The type of registry.
func (o RegistryDomainOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v RegistryDomain) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type RegistryDomainArrayOutput struct{ *pulumi.OutputState }
func (RegistryDomainArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistryDomain)(nil)).Elem()
}
func (o RegistryDomainArrayOutput) ToRegistryDomainArrayOutput() RegistryDomainArrayOutput {
return o
}
func (o RegistryDomainArrayOutput) ToRegistryDomainArrayOutputWithContext(ctx context.Context) RegistryDomainArrayOutput {
return o
}
func (o RegistryDomainArrayOutput) Index(i pulumi.IntInput) RegistryDomainOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryDomain {
return vs[0].([]RegistryDomain)[vs[1].(int)]
}).(RegistryDomainOutput)
}
type RegistryStatus struct {
// The condition of registry.
Conditions []string `pulumi:"conditions"`
// The phase status of registry.
Phase *string `pulumi:"phase"`
}
// RegistryStatusInput is an input type that accepts RegistryStatusArgs and RegistryStatusOutput values.
// You can construct a concrete instance of `RegistryStatusInput` via:
//
// RegistryStatusArgs{...}
type RegistryStatusInput interface {
pulumi.Input
ToRegistryStatusOutput() RegistryStatusOutput
ToRegistryStatusOutputWithContext(context.Context) RegistryStatusOutput
}
type RegistryStatusArgs struct {
// The condition of registry.
Conditions pulumi.StringArrayInput `pulumi:"conditions"`
// The phase status of registry.
Phase pulumi.StringPtrInput `pulumi:"phase"`
}
func (RegistryStatusArgs) ElementType() reflect.Type {
return reflect.TypeOf((*RegistryStatus)(nil)).Elem()
}
func (i RegistryStatusArgs) ToRegistryStatusOutput() RegistryStatusOutput {
return i.ToRegistryStatusOutputWithContext(context.Background())
}
func (i RegistryStatusArgs) ToRegistryStatusOutputWithContext(ctx context.Context) RegistryStatusOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistryStatusOutput)
}
// RegistryStatusArrayInput is an input type that accepts RegistryStatusArray and RegistryStatusArrayOutput values.
// You can construct a concrete instance of `RegistryStatusArrayInput` via:
//
// RegistryStatusArray{ RegistryStatusArgs{...} }
type RegistryStatusArrayInput interface {
pulumi.Input
ToRegistryStatusArrayOutput() RegistryStatusArrayOutput
ToRegistryStatusArrayOutputWithContext(context.Context) RegistryStatusArrayOutput
}
type RegistryStatusArray []RegistryStatusInput
func (RegistryStatusArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistryStatus)(nil)).Elem()
}
func (i RegistryStatusArray) ToRegistryStatusArrayOutput() RegistryStatusArrayOutput {
return i.ToRegistryStatusArrayOutputWithContext(context.Background())
}
func (i RegistryStatusArray) ToRegistryStatusArrayOutputWithContext(ctx context.Context) RegistryStatusArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(RegistryStatusArrayOutput)
}
type RegistryStatusOutput struct{ *pulumi.OutputState }
func (RegistryStatusOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RegistryStatus)(nil)).Elem()
}
func (o RegistryStatusOutput) ToRegistryStatusOutput() RegistryStatusOutput {
return o
}
func (o RegistryStatusOutput) ToRegistryStatusOutputWithContext(ctx context.Context) RegistryStatusOutput {
return o
}
// The condition of registry.
func (o RegistryStatusOutput) Conditions() pulumi.StringArrayOutput {
return o.ApplyT(func(v RegistryStatus) []string { return v.Conditions }).(pulumi.StringArrayOutput)
}
// The phase status of registry.
func (o RegistryStatusOutput) Phase() pulumi.StringPtrOutput {
return o.ApplyT(func(v RegistryStatus) *string { return v.Phase }).(pulumi.StringPtrOutput)
}
type RegistryStatusArrayOutput struct{ *pulumi.OutputState }
func (RegistryStatusArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]RegistryStatus)(nil)).Elem()
}
func (o RegistryStatusArrayOutput) ToRegistryStatusArrayOutput() RegistryStatusArrayOutput {
return o
}
func (o RegistryStatusArrayOutput) ToRegistryStatusArrayOutputWithContext(ctx context.Context) RegistryStatusArrayOutput {
return o
}
func (o RegistryStatusArrayOutput) Index(i pulumi.IntInput) RegistryStatusOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryStatus {
return vs[0].([]RegistryStatus)[vs[1].(int)]
}).(RegistryStatusOutput)
}
type RepositoriesRepository struct {
// The access level of repository.
AccessLevel string `pulumi:"accessLevel"`
// The creation time of repository.