generated from pulumi/pulumi-tf-provider-boilerplate
/
pulumiTypes.go
838 lines (696 loc) · 34.3 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
// 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 sddp
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type GetConfigsConfig struct {
// Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
Code string `pulumi:"code"`
// Configure the Number.
ConfigId string `pulumi:"configId"`
// Default Value.
DefaultValue string `pulumi:"defaultValue"`
// Abnormal Alarm General Description of the Configuration Item.
Description string `pulumi:"description"`
// The ID of the Config.
Id string `pulumi:"id"`
// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different.
// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
Value string `pulumi:"value"`
}
// GetConfigsConfigInput is an input type that accepts GetConfigsConfigArgs and GetConfigsConfigOutput values.
// You can construct a concrete instance of `GetConfigsConfigInput` via:
//
// GetConfigsConfigArgs{...}
type GetConfigsConfigInput interface {
pulumi.Input
ToGetConfigsConfigOutput() GetConfigsConfigOutput
ToGetConfigsConfigOutputWithContext(context.Context) GetConfigsConfigOutput
}
type GetConfigsConfigArgs struct {
// Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
Code pulumi.StringInput `pulumi:"code"`
// Configure the Number.
ConfigId pulumi.StringInput `pulumi:"configId"`
// Default Value.
DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
// Abnormal Alarm General Description of the Configuration Item.
Description pulumi.StringInput `pulumi:"description"`
// The ID of the Config.
Id pulumi.StringInput `pulumi:"id"`
// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different.
// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
Value pulumi.StringInput `pulumi:"value"`
}
func (GetConfigsConfigArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetConfigsConfig)(nil)).Elem()
}
func (i GetConfigsConfigArgs) ToGetConfigsConfigOutput() GetConfigsConfigOutput {
return i.ToGetConfigsConfigOutputWithContext(context.Background())
}
func (i GetConfigsConfigArgs) ToGetConfigsConfigOutputWithContext(ctx context.Context) GetConfigsConfigOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConfigsConfigOutput)
}
// GetConfigsConfigArrayInput is an input type that accepts GetConfigsConfigArray and GetConfigsConfigArrayOutput values.
// You can construct a concrete instance of `GetConfigsConfigArrayInput` via:
//
// GetConfigsConfigArray{ GetConfigsConfigArgs{...} }
type GetConfigsConfigArrayInput interface {
pulumi.Input
ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput
ToGetConfigsConfigArrayOutputWithContext(context.Context) GetConfigsConfigArrayOutput
}
type GetConfigsConfigArray []GetConfigsConfigInput
func (GetConfigsConfigArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConfigsConfig)(nil)).Elem()
}
func (i GetConfigsConfigArray) ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput {
return i.ToGetConfigsConfigArrayOutputWithContext(context.Background())
}
func (i GetConfigsConfigArray) ToGetConfigsConfigArrayOutputWithContext(ctx context.Context) GetConfigsConfigArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetConfigsConfigArrayOutput)
}
type GetConfigsConfigOutput struct{ *pulumi.OutputState }
func (GetConfigsConfigOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetConfigsConfig)(nil)).Elem()
}
func (o GetConfigsConfigOutput) ToGetConfigsConfigOutput() GetConfigsConfigOutput {
return o
}
func (o GetConfigsConfigOutput) ToGetConfigsConfigOutputWithContext(ctx context.Context) GetConfigsConfigOutput {
return o
}
// Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
func (o GetConfigsConfigOutput) Code() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.Code }).(pulumi.StringOutput)
}
// Configure the Number.
func (o GetConfigsConfigOutput) ConfigId() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.ConfigId }).(pulumi.StringOutput)
}
// Default Value.
func (o GetConfigsConfigOutput) DefaultValue() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.DefaultValue }).(pulumi.StringOutput)
}
// Abnormal Alarm General Description of the Configuration Item.
func (o GetConfigsConfigOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.Description }).(pulumi.StringOutput)
}
// The ID of the Config.
func (o GetConfigsConfigOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.Id }).(pulumi.StringOutput)
}
// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different.
// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
func (o GetConfigsConfigOutput) Value() pulumi.StringOutput {
return o.ApplyT(func(v GetConfigsConfig) string { return v.Value }).(pulumi.StringOutput)
}
type GetConfigsConfigArrayOutput struct{ *pulumi.OutputState }
func (GetConfigsConfigArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetConfigsConfig)(nil)).Elem()
}
func (o GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput {
return o
}
func (o GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutputWithContext(ctx context.Context) GetConfigsConfigArrayOutput {
return o
}
func (o GetConfigsConfigArrayOutput) Index(i pulumi.IntInput) GetConfigsConfigOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConfigsConfig {
return vs[0].([]GetConfigsConfig)[vs[1].(int)]
}).(GetConfigsConfigOutput)
}
type GetDataLimitsLimit struct {
// Whether to enable the log auditing feature.
AuditStatus int `pulumi:"auditStatus"`
// The status of the connectivity test between the data asset and SDDP.
CheckStatus int `pulumi:"checkStatus"`
// The first ID of the resource.
DataLimitId string `pulumi:"dataLimitId"`
// -The type of the database.
EngineType string `pulumi:"engineType"`
// The ID of the Data Limit.
Id string `pulumi:"id"`
// The name of the service to which the data asset belongs.
LocalName string `pulumi:"localName"`
// The retention period of raw logs after you enable the log auditing feature.
LogStoreDay int `pulumi:"logStoreDay"`
// The ID of the data asset.
ParentId string `pulumi:"parentId"`
// The port that is used to connect to the database.
Port int `pulumi:"port"`
// The type of the service to which the data asset belongs.
ResourceType string `pulumi:"resourceType"`
// The name of the user who owns the data asset.
UserName string `pulumi:"userName"`
}
// GetDataLimitsLimitInput is an input type that accepts GetDataLimitsLimitArgs and GetDataLimitsLimitOutput values.
// You can construct a concrete instance of `GetDataLimitsLimitInput` via:
//
// GetDataLimitsLimitArgs{...}
type GetDataLimitsLimitInput interface {
pulumi.Input
ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput
ToGetDataLimitsLimitOutputWithContext(context.Context) GetDataLimitsLimitOutput
}
type GetDataLimitsLimitArgs struct {
// Whether to enable the log auditing feature.
AuditStatus pulumi.IntInput `pulumi:"auditStatus"`
// The status of the connectivity test between the data asset and SDDP.
CheckStatus pulumi.IntInput `pulumi:"checkStatus"`
// The first ID of the resource.
DataLimitId pulumi.StringInput `pulumi:"dataLimitId"`
// -The type of the database.
EngineType pulumi.StringInput `pulumi:"engineType"`
// The ID of the Data Limit.
Id pulumi.StringInput `pulumi:"id"`
// The name of the service to which the data asset belongs.
LocalName pulumi.StringInput `pulumi:"localName"`
// The retention period of raw logs after you enable the log auditing feature.
LogStoreDay pulumi.IntInput `pulumi:"logStoreDay"`
// The ID of the data asset.
ParentId pulumi.StringInput `pulumi:"parentId"`
// The port that is used to connect to the database.
Port pulumi.IntInput `pulumi:"port"`
// The type of the service to which the data asset belongs.
ResourceType pulumi.StringInput `pulumi:"resourceType"`
// The name of the user who owns the data asset.
UserName pulumi.StringInput `pulumi:"userName"`
}
func (GetDataLimitsLimitArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetDataLimitsLimit)(nil)).Elem()
}
func (i GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput {
return i.ToGetDataLimitsLimitOutputWithContext(context.Background())
}
func (i GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutputWithContext(ctx context.Context) GetDataLimitsLimitOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetDataLimitsLimitOutput)
}
// GetDataLimitsLimitArrayInput is an input type that accepts GetDataLimitsLimitArray and GetDataLimitsLimitArrayOutput values.
// You can construct a concrete instance of `GetDataLimitsLimitArrayInput` via:
//
// GetDataLimitsLimitArray{ GetDataLimitsLimitArgs{...} }
type GetDataLimitsLimitArrayInput interface {
pulumi.Input
ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput
ToGetDataLimitsLimitArrayOutputWithContext(context.Context) GetDataLimitsLimitArrayOutput
}
type GetDataLimitsLimitArray []GetDataLimitsLimitInput
func (GetDataLimitsLimitArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetDataLimitsLimit)(nil)).Elem()
}
func (i GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput {
return i.ToGetDataLimitsLimitArrayOutputWithContext(context.Background())
}
func (i GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutputWithContext(ctx context.Context) GetDataLimitsLimitArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetDataLimitsLimitArrayOutput)
}
type GetDataLimitsLimitOutput struct{ *pulumi.OutputState }
func (GetDataLimitsLimitOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetDataLimitsLimit)(nil)).Elem()
}
func (o GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput {
return o
}
func (o GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutputWithContext(ctx context.Context) GetDataLimitsLimitOutput {
return o
}
// Whether to enable the log auditing feature.
func (o GetDataLimitsLimitOutput) AuditStatus() pulumi.IntOutput {
return o.ApplyT(func(v GetDataLimitsLimit) int { return v.AuditStatus }).(pulumi.IntOutput)
}
// The status of the connectivity test between the data asset and SDDP.
func (o GetDataLimitsLimitOutput) CheckStatus() pulumi.IntOutput {
return o.ApplyT(func(v GetDataLimitsLimit) int { return v.CheckStatus }).(pulumi.IntOutput)
}
// The first ID of the resource.
func (o GetDataLimitsLimitOutput) DataLimitId() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.DataLimitId }).(pulumi.StringOutput)
}
// -The type of the database.
func (o GetDataLimitsLimitOutput) EngineType() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.EngineType }).(pulumi.StringOutput)
}
// The ID of the Data Limit.
func (o GetDataLimitsLimitOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.Id }).(pulumi.StringOutput)
}
// The name of the service to which the data asset belongs.
func (o GetDataLimitsLimitOutput) LocalName() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.LocalName }).(pulumi.StringOutput)
}
// The retention period of raw logs after you enable the log auditing feature.
func (o GetDataLimitsLimitOutput) LogStoreDay() pulumi.IntOutput {
return o.ApplyT(func(v GetDataLimitsLimit) int { return v.LogStoreDay }).(pulumi.IntOutput)
}
// The ID of the data asset.
func (o GetDataLimitsLimitOutput) ParentId() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.ParentId }).(pulumi.StringOutput)
}
// The port that is used to connect to the database.
func (o GetDataLimitsLimitOutput) Port() pulumi.IntOutput {
return o.ApplyT(func(v GetDataLimitsLimit) int { return v.Port }).(pulumi.IntOutput)
}
// The type of the service to which the data asset belongs.
func (o GetDataLimitsLimitOutput) ResourceType() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.ResourceType }).(pulumi.StringOutput)
}
// The name of the user who owns the data asset.
func (o GetDataLimitsLimitOutput) UserName() pulumi.StringOutput {
return o.ApplyT(func(v GetDataLimitsLimit) string { return v.UserName }).(pulumi.StringOutput)
}
type GetDataLimitsLimitArrayOutput struct{ *pulumi.OutputState }
func (GetDataLimitsLimitArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetDataLimitsLimit)(nil)).Elem()
}
func (o GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput {
return o
}
func (o GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutputWithContext(ctx context.Context) GetDataLimitsLimitArrayOutput {
return o
}
func (o GetDataLimitsLimitArrayOutput) Index(i pulumi.IntInput) GetDataLimitsLimitOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDataLimitsLimit {
return vs[0].([]GetDataLimitsLimit)[vs[1].(int)]
}).(GetDataLimitsLimitOutput)
}
type GetInstancesInstance struct {
// Whether the required RAM authorization is configured.
Authed bool `pulumi:"authed"`
Id string `pulumi:"id"`
// The ID of the instance.
InstanceId string `pulumi:"instanceId"`
// The number of instances.
InstanceNum string `pulumi:"instanceNum"`
// Whether the authorized MaxCompute (ODPS) assets.
OdpsSet bool `pulumi:"odpsSet"`
// Whether the authorized oss assets.
OssBucketSet bool `pulumi:"ossBucketSet"`
// The OSS size of the instance.
OssSize string `pulumi:"ossSize"`
// The payment type of the resource. Valid values: `Subscription`.
PaymentType string `pulumi:"paymentType"`
// Whether the authorized rds assets.
RdsSet bool `pulumi:"rdsSet"`
// The status of the resource.
Status string `pulumi:"status"`
}
// GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values.
// You can construct a concrete instance of `GetInstancesInstanceInput` via:
//
// GetInstancesInstanceArgs{...}
type GetInstancesInstanceInput interface {
pulumi.Input
ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}
type GetInstancesInstanceArgs struct {
// Whether the required RAM authorization is configured.
Authed pulumi.BoolInput `pulumi:"authed"`
Id pulumi.StringInput `pulumi:"id"`
// The ID of the instance.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
// The number of instances.
InstanceNum pulumi.StringInput `pulumi:"instanceNum"`
// Whether the authorized MaxCompute (ODPS) assets.
OdpsSet pulumi.BoolInput `pulumi:"odpsSet"`
// Whether the authorized oss assets.
OssBucketSet pulumi.BoolInput `pulumi:"ossBucketSet"`
// The OSS size of the instance.
OssSize pulumi.StringInput `pulumi:"ossSize"`
// The payment type of the resource. Valid values: `Subscription`.
PaymentType pulumi.StringInput `pulumi:"paymentType"`
// Whether the authorized rds assets.
RdsSet pulumi.BoolInput `pulumi:"rdsSet"`
// The status of the resource.
Status pulumi.StringInput `pulumi:"status"`
}
func (GetInstancesInstanceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetInstancesInstance)(nil)).Elem()
}
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput {
return i.ToGetInstancesInstanceOutputWithContext(context.Background())
}
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceOutput)
}
// GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values.
// You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
//
// GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayInput interface {
pulumi.Input
ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetInstancesInstance)(nil)).Elem()
}
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput {
return i.ToGetInstancesInstanceArrayOutputWithContext(context.Background())
}
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetInstancesInstanceArrayOutput)
}
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetInstancesInstance)(nil)).Elem()
}
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput {
return o
}
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput {
return o
}
// Whether the required RAM authorization is configured.
func (o GetInstancesInstanceOutput) Authed() pulumi.BoolOutput {
return o.ApplyT(func(v GetInstancesInstance) bool { return v.Authed }).(pulumi.BoolOutput)
}
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.Id }).(pulumi.StringOutput)
}
// The ID of the instance.
func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.InstanceId }).(pulumi.StringOutput)
}
// The number of instances.
func (o GetInstancesInstanceOutput) InstanceNum() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.InstanceNum }).(pulumi.StringOutput)
}
// Whether the authorized MaxCompute (ODPS) assets.
func (o GetInstancesInstanceOutput) OdpsSet() pulumi.BoolOutput {
return o.ApplyT(func(v GetInstancesInstance) bool { return v.OdpsSet }).(pulumi.BoolOutput)
}
// Whether the authorized oss assets.
func (o GetInstancesInstanceOutput) OssBucketSet() pulumi.BoolOutput {
return o.ApplyT(func(v GetInstancesInstance) bool { return v.OssBucketSet }).(pulumi.BoolOutput)
}
// The OSS size of the instance.
func (o GetInstancesInstanceOutput) OssSize() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.OssSize }).(pulumi.StringOutput)
}
// The payment type of the resource. Valid values: `Subscription`.
func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.PaymentType }).(pulumi.StringOutput)
}
// Whether the authorized rds assets.
func (o GetInstancesInstanceOutput) RdsSet() pulumi.BoolOutput {
return o.ApplyT(func(v GetInstancesInstance) bool { return v.RdsSet }).(pulumi.BoolOutput)
}
// The status of the resource.
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput {
return o.ApplyT(func(v GetInstancesInstance) string { return v.Status }).(pulumi.StringOutput)
}
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetInstancesInstance)(nil)).Elem()
}
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput {
return o
}
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput {
return o
}
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInstancesInstance {
return vs[0].([]GetInstancesInstance)[vs[1].(int)]
}).(GetInstancesInstanceOutput)
}
type GetRulesRule struct {
// Sensitive Data Identification Rules for the Type of.
Category int `pulumi:"category"`
// Sensitive Data Identification Rules Belongs Type Name.
CategoryName string `pulumi:"categoryName"`
// Sensitive Data Identification Rules the Content.
Content string `pulumi:"content"`
// The Content Classification.
ContentCategory string `pulumi:"contentCategory"`
// Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.
CreateTime string `pulumi:"createTime"`
// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
CustomType int `pulumi:"customType"`
// Sensitive Data Identification a Description of the Rule Information.
Description string `pulumi:"description"`
// Sensitive Data Identification Rules, Founder of Account Display Name.
DisplayName string `pulumi:"displayName"`
// Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.
GmtModified string `pulumi:"gmtModified"`
// The ID of the Rule.
Id string `pulumi:"id"`
// Sensitive Data Identification Rules, Founder Of Account Login.
LoginName string `pulumi:"loginName"`
// The Primary Key.
MajorKey string `pulumi:"majorKey"`
// The name of rule.
Name string `pulumi:"name"`
// Product Code.
ProductCode string `pulumi:"productCode"`
// Product ID.
ProductId string `pulumi:"productId"`
// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
RiskLevelId string `pulumi:"riskLevelId"`
// Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.
RiskLevelName string `pulumi:"riskLevelName"`
// The first ID of the resource.
RuleId string `pulumi:"ruleId"`
// Triggered the Alarm Conditions.
StatExpress string `pulumi:"statExpress"`
// Sensitive Data Identification Rules Detection State of.
Status int `pulumi:"status"`
// The Target.
Target string `pulumi:"target"`
// The User ID.
UserId string `pulumi:"userId"`
// The Level of Risk.
WarnLevel int `pulumi:"warnLevel"`
}
// GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values.
// You can construct a concrete instance of `GetRulesRuleInput` via:
//
// GetRulesRuleArgs{...}
type GetRulesRuleInput interface {
pulumi.Input
ToGetRulesRuleOutput() GetRulesRuleOutput
ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput
}
type GetRulesRuleArgs struct {
// Sensitive Data Identification Rules for the Type of.
Category pulumi.IntInput `pulumi:"category"`
// Sensitive Data Identification Rules Belongs Type Name.
CategoryName pulumi.StringInput `pulumi:"categoryName"`
// Sensitive Data Identification Rules the Content.
Content pulumi.StringInput `pulumi:"content"`
// The Content Classification.
ContentCategory pulumi.StringInput `pulumi:"contentCategory"`
// Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.
CreateTime pulumi.StringInput `pulumi:"createTime"`
// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
CustomType pulumi.IntInput `pulumi:"customType"`
// Sensitive Data Identification a Description of the Rule Information.
Description pulumi.StringInput `pulumi:"description"`
// Sensitive Data Identification Rules, Founder of Account Display Name.
DisplayName pulumi.StringInput `pulumi:"displayName"`
// Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.
GmtModified pulumi.StringInput `pulumi:"gmtModified"`
// The ID of the Rule.
Id pulumi.StringInput `pulumi:"id"`
// Sensitive Data Identification Rules, Founder Of Account Login.
LoginName pulumi.StringInput `pulumi:"loginName"`
// The Primary Key.
MajorKey pulumi.StringInput `pulumi:"majorKey"`
// The name of rule.
Name pulumi.StringInput `pulumi:"name"`
// Product Code.
ProductCode pulumi.StringInput `pulumi:"productCode"`
// Product ID.
ProductId pulumi.StringInput `pulumi:"productId"`
// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
RiskLevelId pulumi.StringInput `pulumi:"riskLevelId"`
// Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.
RiskLevelName pulumi.StringInput `pulumi:"riskLevelName"`
// The first ID of the resource.
RuleId pulumi.StringInput `pulumi:"ruleId"`
// Triggered the Alarm Conditions.
StatExpress pulumi.StringInput `pulumi:"statExpress"`
// Sensitive Data Identification Rules Detection State of.
Status pulumi.IntInput `pulumi:"status"`
// The Target.
Target pulumi.StringInput `pulumi:"target"`
// The User ID.
UserId pulumi.StringInput `pulumi:"userId"`
// The Level of Risk.
WarnLevel pulumi.IntInput `pulumi:"warnLevel"`
}
func (GetRulesRuleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*GetRulesRule)(nil)).Elem()
}
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput {
return i.ToGetRulesRuleOutputWithContext(context.Background())
}
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetRulesRuleOutput)
}
// GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values.
// You can construct a concrete instance of `GetRulesRuleArrayInput` via:
//
// GetRulesRuleArray{ GetRulesRuleArgs{...} }
type GetRulesRuleArrayInput interface {
pulumi.Input
ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput
}
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetRulesRule)(nil)).Elem()
}
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput {
return i.ToGetRulesRuleArrayOutputWithContext(context.Background())
}
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(GetRulesRuleArrayOutput)
}
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GetRulesRule)(nil)).Elem()
}
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput {
return o
}
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput {
return o
}
// Sensitive Data Identification Rules for the Type of.
func (o GetRulesRuleOutput) Category() pulumi.IntOutput {
return o.ApplyT(func(v GetRulesRule) int { return v.Category }).(pulumi.IntOutput)
}
// Sensitive Data Identification Rules Belongs Type Name.
func (o GetRulesRuleOutput) CategoryName() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.CategoryName }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules the Content.
func (o GetRulesRuleOutput) Content() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.Content }).(pulumi.StringOutput)
}
// The Content Classification.
func (o GetRulesRuleOutput) ContentCategory() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.ContentCategory }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.
func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.CreateTime }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
func (o GetRulesRuleOutput) CustomType() pulumi.IntOutput {
return o.ApplyT(func(v GetRulesRule) int { return v.CustomType }).(pulumi.IntOutput)
}
// Sensitive Data Identification a Description of the Rule Information.
func (o GetRulesRuleOutput) Description() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.Description }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules, Founder of Account Display Name.
func (o GetRulesRuleOutput) DisplayName() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.DisplayName }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.
func (o GetRulesRuleOutput) GmtModified() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.GmtModified }).(pulumi.StringOutput)
}
// The ID of the Rule.
func (o GetRulesRuleOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.Id }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules, Founder Of Account Login.
func (o GetRulesRuleOutput) LoginName() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.LoginName }).(pulumi.StringOutput)
}
// The Primary Key.
func (o GetRulesRuleOutput) MajorKey() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.MajorKey }).(pulumi.StringOutput)
}
// The name of rule.
func (o GetRulesRuleOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.Name }).(pulumi.StringOutput)
}
// Product Code.
func (o GetRulesRuleOutput) ProductCode() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.ProductCode }).(pulumi.StringOutput)
}
// Product ID.
func (o GetRulesRuleOutput) ProductId() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.ProductId }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
func (o GetRulesRuleOutput) RiskLevelId() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.RiskLevelId }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.
func (o GetRulesRuleOutput) RiskLevelName() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.RiskLevelName }).(pulumi.StringOutput)
}
// The first ID of the resource.
func (o GetRulesRuleOutput) RuleId() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.RuleId }).(pulumi.StringOutput)
}
// Triggered the Alarm Conditions.
func (o GetRulesRuleOutput) StatExpress() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.StatExpress }).(pulumi.StringOutput)
}
// Sensitive Data Identification Rules Detection State of.
func (o GetRulesRuleOutput) Status() pulumi.IntOutput {
return o.ApplyT(func(v GetRulesRule) int { return v.Status }).(pulumi.IntOutput)
}
// The Target.
func (o GetRulesRuleOutput) Target() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.Target }).(pulumi.StringOutput)
}
// The User ID.
func (o GetRulesRuleOutput) UserId() pulumi.StringOutput {
return o.ApplyT(func(v GetRulesRule) string { return v.UserId }).(pulumi.StringOutput)
}
// The Level of Risk.
func (o GetRulesRuleOutput) WarnLevel() pulumi.IntOutput {
return o.ApplyT(func(v GetRulesRule) int { return v.WarnLevel }).(pulumi.IntOutput)
}
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]GetRulesRule)(nil)).Elem()
}
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput {
return o
}
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput {
return o
}
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRulesRule {
return vs[0].([]GetRulesRule)[vs[1].(int)]
}).(GetRulesRuleOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsConfigInput)(nil)).Elem(), GetConfigsConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetConfigsConfigArrayInput)(nil)).Elem(), GetConfigsConfigArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetDataLimitsLimitInput)(nil)).Elem(), GetDataLimitsLimitArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetDataLimitsLimitArrayInput)(nil)).Elem(), GetDataLimitsLimitArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceInput)(nil)).Elem(), GetInstancesInstanceArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesInstanceArrayInput)(nil)).Elem(), GetInstancesInstanceArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetRulesRuleInput)(nil)).Elem(), GetRulesRuleArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetRulesRuleArrayInput)(nil)).Elem(), GetRulesRuleArray{})
pulumi.RegisterOutputType(GetConfigsConfigOutput{})
pulumi.RegisterOutputType(GetConfigsConfigArrayOutput{})
pulumi.RegisterOutputType(GetDataLimitsLimitOutput{})
pulumi.RegisterOutputType(GetDataLimitsLimitArrayOutput{})
pulumi.RegisterOutputType(GetInstancesInstanceOutput{})
pulumi.RegisterOutputType(GetInstancesInstanceArrayOutput{})
pulumi.RegisterOutputType(GetRulesRuleOutput{})
pulumi.RegisterOutputType(GetRulesRuleArrayOutput{})
}