/
pulumiEnums.go
556 lines (435 loc) · 21.6 KB
/
pulumiEnums.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
// Code generated by the Pulumi SDK Generator DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1beta1
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// The log type that this config enables.
type AuditLogConfigLogType string
const (
// Default case. Should never be this.
AuditLogConfigLogTypeLogTypeUnspecified = AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")
// Admin reads. Example: CloudIAM getIamPolicy
AuditLogConfigLogTypeAdminRead = AuditLogConfigLogType("ADMIN_READ")
// Data writes. Example: CloudSQL Users create
AuditLogConfigLogTypeDataWrite = AuditLogConfigLogType("DATA_WRITE")
// Data reads. Example: CloudSQL Users list
AuditLogConfigLogTypeDataRead = AuditLogConfigLogType("DATA_READ")
)
func (AuditLogConfigLogType) ElementType() reflect.Type {
return reflect.TypeOf((*AuditLogConfigLogType)(nil)).Elem()
}
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput {
return pulumi.ToOutput(e).(AuditLogConfigLogTypeOutput)
}
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput {
return pulumi.ToOutputWithContext(ctx, e).(AuditLogConfigLogTypeOutput)
}
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput {
return e.ToAuditLogConfigLogTypePtrOutputWithContext(context.Background())
}
func (e AuditLogConfigLogType) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput {
return AuditLogConfigLogType(e).ToAuditLogConfigLogTypeOutputWithContext(ctx).ToAuditLogConfigLogTypePtrOutputWithContext(ctx)
}
func (e AuditLogConfigLogType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e AuditLogConfigLogType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e AuditLogConfigLogType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e AuditLogConfigLogType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type AuditLogConfigLogTypeOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AuditLogConfigLogType)(nil)).Elem()
}
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput {
return o
}
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypeOutputWithContext(ctx context.Context) AuditLogConfigLogTypeOutput {
return o
}
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput {
return o.ToAuditLogConfigLogTypePtrOutputWithContext(context.Background())
}
func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v AuditLogConfigLogType) *AuditLogConfigLogType {
return &v
}).(AuditLogConfigLogTypePtrOutput)
}
func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o AuditLogConfigLogTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e AuditLogConfigLogType) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o AuditLogConfigLogTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e AuditLogConfigLogType) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type AuditLogConfigLogTypePtrOutput struct{ *pulumi.OutputState }
func (AuditLogConfigLogTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AuditLogConfigLogType)(nil)).Elem()
}
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput {
return o
}
func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput {
return o
}
func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput {
return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType {
if v != nil {
return *v
}
var ret AuditLogConfigLogType
return ret
}).(AuditLogConfigLogTypeOutput)
}
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o AuditLogConfigLogTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *AuditLogConfigLogType) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// AuditLogConfigLogTypeInput is an input type that accepts AuditLogConfigLogTypeArgs and AuditLogConfigLogTypeOutput values.
// You can construct a concrete instance of `AuditLogConfigLogTypeInput` via:
//
// AuditLogConfigLogTypeArgs{...}
type AuditLogConfigLogTypeInput interface {
pulumi.Input
ToAuditLogConfigLogTypeOutput() AuditLogConfigLogTypeOutput
ToAuditLogConfigLogTypeOutputWithContext(context.Context) AuditLogConfigLogTypeOutput
}
var auditLogConfigLogTypePtrType = reflect.TypeOf((**AuditLogConfigLogType)(nil)).Elem()
type AuditLogConfigLogTypePtrInput interface {
pulumi.Input
ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput
ToAuditLogConfigLogTypePtrOutputWithContext(context.Context) AuditLogConfigLogTypePtrOutput
}
type auditLogConfigLogTypePtr string
func AuditLogConfigLogTypePtr(v string) AuditLogConfigLogTypePtrInput {
return (*auditLogConfigLogTypePtr)(&v)
}
func (*auditLogConfigLogTypePtr) ElementType() reflect.Type {
return auditLogConfigLogTypePtrType
}
func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutput() AuditLogConfigLogTypePtrOutput {
return pulumi.ToOutput(in).(AuditLogConfigLogTypePtrOutput)
}
func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext(ctx context.Context) AuditLogConfigLogTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput)
}
func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] {
return pulumix.Output[*AuditLogConfigLogType]{
OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState,
}
}
// Required. Instance type.
type InstanceType string
const (
// No type specified. The instance creation will fail.
InstanceTypeTypeUnspecified = InstanceType("TYPE_UNSPECIFIED")
// Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.
InstanceTypeBasic = InstanceType("BASIC")
// Enterprise Data Fusion instance. In Enterprise type, the user will have all features available, such as support for streaming pipelines, unlimited number of concurrent pipelines, etc.
InstanceTypeEnterprise = InstanceType("ENTERPRISE")
// Developer Data Fusion instance. In Developer type, the user will have all features available but with restrictive capabilities. This is to help enterprises design and develop their data ingestion and integration pipelines at low cost.
InstanceTypeDeveloper = InstanceType("DEVELOPER")
)
func (InstanceType) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceType)(nil)).Elem()
}
func (e InstanceType) ToInstanceTypeOutput() InstanceTypeOutput {
return pulumi.ToOutput(e).(InstanceTypeOutput)
}
func (e InstanceType) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput {
return pulumi.ToOutputWithContext(ctx, e).(InstanceTypeOutput)
}
func (e InstanceType) ToInstanceTypePtrOutput() InstanceTypePtrOutput {
return e.ToInstanceTypePtrOutputWithContext(context.Background())
}
func (e InstanceType) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput {
return InstanceType(e).ToInstanceTypeOutputWithContext(ctx).ToInstanceTypePtrOutputWithContext(ctx)
}
func (e InstanceType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e InstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e InstanceType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e InstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type InstanceTypeOutput struct{ *pulumi.OutputState }
func (InstanceTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*InstanceType)(nil)).Elem()
}
func (o InstanceTypeOutput) ToInstanceTypeOutput() InstanceTypeOutput {
return o
}
func (o InstanceTypeOutput) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput {
return o
}
func (o InstanceTypeOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput {
return o.ToInstanceTypePtrOutputWithContext(context.Background())
}
func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v InstanceType) *InstanceType {
return &v
}).(InstanceTypePtrOutput)
}
func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o InstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e InstanceType) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o InstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o InstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e InstanceType) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type InstanceTypePtrOutput struct{ *pulumi.OutputState }
func (InstanceTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**InstanceType)(nil)).Elem()
}
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput {
return o
}
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput {
return o
}
func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput {
return o.ApplyT(func(v *InstanceType) InstanceType {
if v != nil {
return *v
}
var ret InstanceType
return ret
}).(InstanceTypeOutput)
}
func (o InstanceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o InstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *InstanceType) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// InstanceTypeInput is an input type that accepts InstanceTypeArgs and InstanceTypeOutput values.
// You can construct a concrete instance of `InstanceTypeInput` via:
//
// InstanceTypeArgs{...}
type InstanceTypeInput interface {
pulumi.Input
ToInstanceTypeOutput() InstanceTypeOutput
ToInstanceTypeOutputWithContext(context.Context) InstanceTypeOutput
}
var instanceTypePtrType = reflect.TypeOf((**InstanceType)(nil)).Elem()
type InstanceTypePtrInput interface {
pulumi.Input
ToInstanceTypePtrOutput() InstanceTypePtrOutput
ToInstanceTypePtrOutputWithContext(context.Context) InstanceTypePtrOutput
}
type instanceTypePtr string
func InstanceTypePtr(v string) InstanceTypePtrInput {
return (*instanceTypePtr)(&v)
}
func (*instanceTypePtr) ElementType() reflect.Type {
return instanceTypePtrType
}
func (in *instanceTypePtr) ToInstanceTypePtrOutput() InstanceTypePtrOutput {
return pulumi.ToOutput(in).(InstanceTypePtrOutput)
}
func (in *instanceTypePtr) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(InstanceTypePtrOutput)
}
func (in *instanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] {
return pulumix.Output[*InstanceType]{
OutputState: in.ToInstanceTypePtrOutputWithContext(ctx).OutputState,
}
}
// Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and the corresponding tenant project from a predefined list of available connection modes. If this field is unspecified for a private instance, VPC peering is used.
type NetworkConfigConnectionType string
const (
// No specific connection type was requested, the default value of VPC_PEERING is chosen.
NetworkConfigConnectionTypeConnectionTypeUnspecified = NetworkConfigConnectionType("CONNECTION_TYPE_UNSPECIFIED")
// Requests the use of VPC peerings for connecting the consumer and tenant projects.
NetworkConfigConnectionTypeVpcPeering = NetworkConfigConnectionType("VPC_PEERING")
// Requests the use of Private Service Connect Interfaces for connecting the consumer and tenant projects.
NetworkConfigConnectionTypePrivateServiceConnectInterfaces = NetworkConfigConnectionType("PRIVATE_SERVICE_CONNECT_INTERFACES")
)
func (NetworkConfigConnectionType) ElementType() reflect.Type {
return reflect.TypeOf((*NetworkConfigConnectionType)(nil)).Elem()
}
func (e NetworkConfigConnectionType) ToNetworkConfigConnectionTypeOutput() NetworkConfigConnectionTypeOutput {
return pulumi.ToOutput(e).(NetworkConfigConnectionTypeOutput)
}
func (e NetworkConfigConnectionType) ToNetworkConfigConnectionTypeOutputWithContext(ctx context.Context) NetworkConfigConnectionTypeOutput {
return pulumi.ToOutputWithContext(ctx, e).(NetworkConfigConnectionTypeOutput)
}
func (e NetworkConfigConnectionType) ToNetworkConfigConnectionTypePtrOutput() NetworkConfigConnectionTypePtrOutput {
return e.ToNetworkConfigConnectionTypePtrOutputWithContext(context.Background())
}
func (e NetworkConfigConnectionType) ToNetworkConfigConnectionTypePtrOutputWithContext(ctx context.Context) NetworkConfigConnectionTypePtrOutput {
return NetworkConfigConnectionType(e).ToNetworkConfigConnectionTypeOutputWithContext(ctx).ToNetworkConfigConnectionTypePtrOutputWithContext(ctx)
}
func (e NetworkConfigConnectionType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e NetworkConfigConnectionType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e NetworkConfigConnectionType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e NetworkConfigConnectionType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type NetworkConfigConnectionTypeOutput struct{ *pulumi.OutputState }
func (NetworkConfigConnectionTypeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*NetworkConfigConnectionType)(nil)).Elem()
}
func (o NetworkConfigConnectionTypeOutput) ToNetworkConfigConnectionTypeOutput() NetworkConfigConnectionTypeOutput {
return o
}
func (o NetworkConfigConnectionTypeOutput) ToNetworkConfigConnectionTypeOutputWithContext(ctx context.Context) NetworkConfigConnectionTypeOutput {
return o
}
func (o NetworkConfigConnectionTypeOutput) ToNetworkConfigConnectionTypePtrOutput() NetworkConfigConnectionTypePtrOutput {
return o.ToNetworkConfigConnectionTypePtrOutputWithContext(context.Background())
}
func (o NetworkConfigConnectionTypeOutput) ToNetworkConfigConnectionTypePtrOutputWithContext(ctx context.Context) NetworkConfigConnectionTypePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkConfigConnectionType) *NetworkConfigConnectionType {
return &v
}).(NetworkConfigConnectionTypePtrOutput)
}
func (o NetworkConfigConnectionTypeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o NetworkConfigConnectionTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e NetworkConfigConnectionType) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o NetworkConfigConnectionTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o NetworkConfigConnectionTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e NetworkConfigConnectionType) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type NetworkConfigConnectionTypePtrOutput struct{ *pulumi.OutputState }
func (NetworkConfigConnectionTypePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**NetworkConfigConnectionType)(nil)).Elem()
}
func (o NetworkConfigConnectionTypePtrOutput) ToNetworkConfigConnectionTypePtrOutput() NetworkConfigConnectionTypePtrOutput {
return o
}
func (o NetworkConfigConnectionTypePtrOutput) ToNetworkConfigConnectionTypePtrOutputWithContext(ctx context.Context) NetworkConfigConnectionTypePtrOutput {
return o
}
func (o NetworkConfigConnectionTypePtrOutput) Elem() NetworkConfigConnectionTypeOutput {
return o.ApplyT(func(v *NetworkConfigConnectionType) NetworkConfigConnectionType {
if v != nil {
return *v
}
var ret NetworkConfigConnectionType
return ret
}).(NetworkConfigConnectionTypeOutput)
}
func (o NetworkConfigConnectionTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o NetworkConfigConnectionTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *NetworkConfigConnectionType) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// NetworkConfigConnectionTypeInput is an input type that accepts NetworkConfigConnectionTypeArgs and NetworkConfigConnectionTypeOutput values.
// You can construct a concrete instance of `NetworkConfigConnectionTypeInput` via:
//
// NetworkConfigConnectionTypeArgs{...}
type NetworkConfigConnectionTypeInput interface {
pulumi.Input
ToNetworkConfigConnectionTypeOutput() NetworkConfigConnectionTypeOutput
ToNetworkConfigConnectionTypeOutputWithContext(context.Context) NetworkConfigConnectionTypeOutput
}
var networkConfigConnectionTypePtrType = reflect.TypeOf((**NetworkConfigConnectionType)(nil)).Elem()
type NetworkConfigConnectionTypePtrInput interface {
pulumi.Input
ToNetworkConfigConnectionTypePtrOutput() NetworkConfigConnectionTypePtrOutput
ToNetworkConfigConnectionTypePtrOutputWithContext(context.Context) NetworkConfigConnectionTypePtrOutput
}
type networkConfigConnectionTypePtr string
func NetworkConfigConnectionTypePtr(v string) NetworkConfigConnectionTypePtrInput {
return (*networkConfigConnectionTypePtr)(&v)
}
func (*networkConfigConnectionTypePtr) ElementType() reflect.Type {
return networkConfigConnectionTypePtrType
}
func (in *networkConfigConnectionTypePtr) ToNetworkConfigConnectionTypePtrOutput() NetworkConfigConnectionTypePtrOutput {
return pulumi.ToOutput(in).(NetworkConfigConnectionTypePtrOutput)
}
func (in *networkConfigConnectionTypePtr) ToNetworkConfigConnectionTypePtrOutputWithContext(ctx context.Context) NetworkConfigConnectionTypePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigConnectionTypePtrOutput)
}
func (in *networkConfigConnectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigConnectionType] {
return pulumix.Output[*NetworkConfigConnectionType]{
OutputState: in.ToNetworkConfigConnectionTypePtrOutputWithContext(ctx).OutputState,
}
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*InstanceTypeInput)(nil)).Elem(), InstanceType("TYPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*InstanceTypePtrInput)(nil)).Elem(), InstanceType("TYPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*NetworkConfigConnectionTypeInput)(nil)).Elem(), NetworkConfigConnectionType("CONNECTION_TYPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*NetworkConfigConnectionTypePtrInput)(nil)).Elem(), NetworkConfigConnectionType("CONNECTION_TYPE_UNSPECIFIED"))
pulumi.RegisterOutputType(AuditLogConfigLogTypeOutput{})
pulumi.RegisterOutputType(AuditLogConfigLogTypePtrOutput{})
pulumi.RegisterOutputType(InstanceTypeOutput{})
pulumi.RegisterOutputType(InstanceTypePtrOutput{})
pulumi.RegisterOutputType(NetworkConfigConnectionTypeOutput{})
pulumi.RegisterOutputType(NetworkConfigConnectionTypePtrOutput{})
}