This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiTypes.go
618 lines (496 loc) · 24.1 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
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20191104preview
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type Provider struct {
// The provider's marketplace application display name.
ApplicationName *string `pulumi:"applicationName"`
// A Uri identifying the specific instance of this provider.
InstanceUri *string `pulumi:"instanceUri"`
// Unique id of this provider.
ProviderId *string `pulumi:"providerId"`
// The sku associated with pricing information for this provider.
ProviderSku *string `pulumi:"providerSku"`
// Provisioning status field
ProvisioningState *string `pulumi:"provisioningState"`
// Id to track resource usage for the provider.
ResourceUsageId *string `pulumi:"resourceUsageId"`
}
// ProviderInput is an input type that accepts ProviderArgs and ProviderOutput values.
// You can construct a concrete instance of `ProviderInput` via:
//
// ProviderArgs{...}
type ProviderInput interface {
pulumi.Input
ToProviderOutput() ProviderOutput
ToProviderOutputWithContext(context.Context) ProviderOutput
}
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type ProviderArgs struct {
// The provider's marketplace application display name.
ApplicationName pulumi.StringPtrInput `pulumi:"applicationName"`
// A Uri identifying the specific instance of this provider.
InstanceUri pulumi.StringPtrInput `pulumi:"instanceUri"`
// Unique id of this provider.
ProviderId pulumi.StringPtrInput `pulumi:"providerId"`
// The sku associated with pricing information for this provider.
ProviderSku pulumi.StringPtrInput `pulumi:"providerSku"`
// Provisioning status field
ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
// Id to track resource usage for the provider.
ResourceUsageId pulumi.StringPtrInput `pulumi:"resourceUsageId"`
}
func (ProviderArgs) ElementType() reflect.Type {
return reflect.TypeOf((*Provider)(nil)).Elem()
}
func (i ProviderArgs) ToProviderOutput() ProviderOutput {
return i.ToProviderOutputWithContext(context.Background())
}
func (i ProviderArgs) ToProviderOutputWithContext(ctx context.Context) ProviderOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput)
}
// ProviderArrayInput is an input type that accepts ProviderArray and ProviderArrayOutput values.
// You can construct a concrete instance of `ProviderArrayInput` via:
//
// ProviderArray{ ProviderArgs{...} }
type ProviderArrayInput interface {
pulumi.Input
ToProviderArrayOutput() ProviderArrayOutput
ToProviderArrayOutputWithContext(context.Context) ProviderArrayOutput
}
type ProviderArray []ProviderInput
func (ProviderArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]Provider)(nil)).Elem()
}
func (i ProviderArray) ToProviderArrayOutput() ProviderArrayOutput {
return i.ToProviderArrayOutputWithContext(context.Background())
}
func (i ProviderArray) ToProviderArrayOutputWithContext(ctx context.Context) ProviderArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderArrayOutput)
}
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType() reflect.Type {
return reflect.TypeOf((*Provider)(nil)).Elem()
}
func (o ProviderOutput) ToProviderOutput() ProviderOutput {
return o
}
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput {
return o
}
// The provider's marketplace application display name.
func (o ProviderOutput) ApplicationName() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.ApplicationName }).(pulumi.StringPtrOutput)
}
// A Uri identifying the specific instance of this provider.
func (o ProviderOutput) InstanceUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.InstanceUri }).(pulumi.StringPtrOutput)
}
// Unique id of this provider.
func (o ProviderOutput) ProviderId() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.ProviderId }).(pulumi.StringPtrOutput)
}
// The sku associated with pricing information for this provider.
func (o ProviderOutput) ProviderSku() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.ProviderSku }).(pulumi.StringPtrOutput)
}
// Provisioning status field
func (o ProviderOutput) ProvisioningState() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
// Id to track resource usage for the provider.
func (o ProviderOutput) ResourceUsageId() pulumi.StringPtrOutput {
return o.ApplyT(func(v Provider) *string { return v.ResourceUsageId }).(pulumi.StringPtrOutput)
}
type ProviderArrayOutput struct{ *pulumi.OutputState }
func (ProviderArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]Provider)(nil)).Elem()
}
func (o ProviderArrayOutput) ToProviderArrayOutput() ProviderArrayOutput {
return o
}
func (o ProviderArrayOutput) ToProviderArrayOutputWithContext(ctx context.Context) ProviderArrayOutput {
return o
}
func (o ProviderArrayOutput) Index(i pulumi.IntInput) ProviderOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) Provider {
return vs[0].([]Provider)[vs[1].(int)]
}).(ProviderOutput)
}
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type ProviderResponse struct {
// The provider's marketplace application display name.
ApplicationName *string `pulumi:"applicationName"`
// A Uri identifying the specific instance of this provider.
InstanceUri *string `pulumi:"instanceUri"`
// Unique id of this provider.
ProviderId *string `pulumi:"providerId"`
// The sku associated with pricing information for this provider.
ProviderSku *string `pulumi:"providerSku"`
// Provisioning status field
ProvisioningState *string `pulumi:"provisioningState"`
// Id to track resource usage for the provider.
ResourceUsageId *string `pulumi:"resourceUsageId"`
}
// ProviderResponseInput is an input type that accepts ProviderResponseArgs and ProviderResponseOutput values.
// You can construct a concrete instance of `ProviderResponseInput` via:
//
// ProviderResponseArgs{...}
type ProviderResponseInput interface {
pulumi.Input
ToProviderResponseOutput() ProviderResponseOutput
ToProviderResponseOutputWithContext(context.Context) ProviderResponseOutput
}
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type ProviderResponseArgs struct {
// The provider's marketplace application display name.
ApplicationName pulumi.StringPtrInput `pulumi:"applicationName"`
// A Uri identifying the specific instance of this provider.
InstanceUri pulumi.StringPtrInput `pulumi:"instanceUri"`
// Unique id of this provider.
ProviderId pulumi.StringPtrInput `pulumi:"providerId"`
// The sku associated with pricing information for this provider.
ProviderSku pulumi.StringPtrInput `pulumi:"providerSku"`
// Provisioning status field
ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
// Id to track resource usage for the provider.
ResourceUsageId pulumi.StringPtrInput `pulumi:"resourceUsageId"`
}
func (ProviderResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderResponse)(nil)).Elem()
}
func (i ProviderResponseArgs) ToProviderResponseOutput() ProviderResponseOutput {
return i.ToProviderResponseOutputWithContext(context.Background())
}
func (i ProviderResponseArgs) ToProviderResponseOutputWithContext(ctx context.Context) ProviderResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderResponseOutput)
}
// ProviderResponseArrayInput is an input type that accepts ProviderResponseArray and ProviderResponseArrayOutput values.
// You can construct a concrete instance of `ProviderResponseArrayInput` via:
//
// ProviderResponseArray{ ProviderResponseArgs{...} }
type ProviderResponseArrayInput interface {
pulumi.Input
ToProviderResponseArrayOutput() ProviderResponseArrayOutput
ToProviderResponseArrayOutputWithContext(context.Context) ProviderResponseArrayOutput
}
type ProviderResponseArray []ProviderResponseInput
func (ProviderResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderResponse)(nil)).Elem()
}
func (i ProviderResponseArray) ToProviderResponseArrayOutput() ProviderResponseArrayOutput {
return i.ToProviderResponseArrayOutputWithContext(context.Background())
}
func (i ProviderResponseArray) ToProviderResponseArrayOutputWithContext(ctx context.Context) ProviderResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ProviderResponseArrayOutput)
}
// Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
type ProviderResponseOutput struct{ *pulumi.OutputState }
func (ProviderResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ProviderResponse)(nil)).Elem()
}
func (o ProviderResponseOutput) ToProviderResponseOutput() ProviderResponseOutput {
return o
}
func (o ProviderResponseOutput) ToProviderResponseOutputWithContext(ctx context.Context) ProviderResponseOutput {
return o
}
// The provider's marketplace application display name.
func (o ProviderResponseOutput) ApplicationName() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.ApplicationName }).(pulumi.StringPtrOutput)
}
// A Uri identifying the specific instance of this provider.
func (o ProviderResponseOutput) InstanceUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.InstanceUri }).(pulumi.StringPtrOutput)
}
// Unique id of this provider.
func (o ProviderResponseOutput) ProviderId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.ProviderId }).(pulumi.StringPtrOutput)
}
// The sku associated with pricing information for this provider.
func (o ProviderResponseOutput) ProviderSku() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.ProviderSku }).(pulumi.StringPtrOutput)
}
// Provisioning status field
func (o ProviderResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
// Id to track resource usage for the provider.
func (o ProviderResponseOutput) ResourceUsageId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderResponse) *string { return v.ResourceUsageId }).(pulumi.StringPtrOutput)
}
type ProviderResponseArrayOutput struct{ *pulumi.OutputState }
func (ProviderResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ProviderResponse)(nil)).Elem()
}
func (o ProviderResponseArrayOutput) ToProviderResponseArrayOutput() ProviderResponseArrayOutput {
return o
}
func (o ProviderResponseArrayOutput) ToProviderResponseArrayOutputWithContext(ctx context.Context) ProviderResponseArrayOutput {
return o
}
func (o ProviderResponseArrayOutput) Index(i pulumi.IntInput) ProviderResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderResponse {
return vs[0].([]ProviderResponse)[vs[1].(int)]
}).(ProviderResponseOutput)
}
// Managed Identity information.
type QuantumWorkspaceIdentity struct {
// The identity type.
Type *string `pulumi:"type"`
}
// QuantumWorkspaceIdentityInput is an input type that accepts QuantumWorkspaceIdentityArgs and QuantumWorkspaceIdentityOutput values.
// You can construct a concrete instance of `QuantumWorkspaceIdentityInput` via:
//
// QuantumWorkspaceIdentityArgs{...}
type QuantumWorkspaceIdentityInput interface {
pulumi.Input
ToQuantumWorkspaceIdentityOutput() QuantumWorkspaceIdentityOutput
ToQuantumWorkspaceIdentityOutputWithContext(context.Context) QuantumWorkspaceIdentityOutput
}
// Managed Identity information.
type QuantumWorkspaceIdentityArgs struct {
// The identity type.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (QuantumWorkspaceIdentityArgs) ElementType() reflect.Type {
return reflect.TypeOf((*QuantumWorkspaceIdentity)(nil)).Elem()
}
func (i QuantumWorkspaceIdentityArgs) ToQuantumWorkspaceIdentityOutput() QuantumWorkspaceIdentityOutput {
return i.ToQuantumWorkspaceIdentityOutputWithContext(context.Background())
}
func (i QuantumWorkspaceIdentityArgs) ToQuantumWorkspaceIdentityOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceIdentityOutput)
}
func (i QuantumWorkspaceIdentityArgs) ToQuantumWorkspaceIdentityPtrOutput() QuantumWorkspaceIdentityPtrOutput {
return i.ToQuantumWorkspaceIdentityPtrOutputWithContext(context.Background())
}
func (i QuantumWorkspaceIdentityArgs) ToQuantumWorkspaceIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceIdentityOutput).ToQuantumWorkspaceIdentityPtrOutputWithContext(ctx)
}
// QuantumWorkspaceIdentityPtrInput is an input type that accepts QuantumWorkspaceIdentityArgs, QuantumWorkspaceIdentityPtr and QuantumWorkspaceIdentityPtrOutput values.
// You can construct a concrete instance of `QuantumWorkspaceIdentityPtrInput` via:
//
// QuantumWorkspaceIdentityArgs{...}
//
// or:
//
// nil
type QuantumWorkspaceIdentityPtrInput interface {
pulumi.Input
ToQuantumWorkspaceIdentityPtrOutput() QuantumWorkspaceIdentityPtrOutput
ToQuantumWorkspaceIdentityPtrOutputWithContext(context.Context) QuantumWorkspaceIdentityPtrOutput
}
type quantumWorkspaceIdentityPtrType QuantumWorkspaceIdentityArgs
func QuantumWorkspaceIdentityPtr(v *QuantumWorkspaceIdentityArgs) QuantumWorkspaceIdentityPtrInput {
return (*quantumWorkspaceIdentityPtrType)(v)
}
func (*quantumWorkspaceIdentityPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**QuantumWorkspaceIdentity)(nil)).Elem()
}
func (i *quantumWorkspaceIdentityPtrType) ToQuantumWorkspaceIdentityPtrOutput() QuantumWorkspaceIdentityPtrOutput {
return i.ToQuantumWorkspaceIdentityPtrOutputWithContext(context.Background())
}
func (i *quantumWorkspaceIdentityPtrType) ToQuantumWorkspaceIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceIdentityPtrOutput)
}
// Managed Identity information.
type QuantumWorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (QuantumWorkspaceIdentityOutput) ElementType() reflect.Type {
return reflect.TypeOf((*QuantumWorkspaceIdentity)(nil)).Elem()
}
func (o QuantumWorkspaceIdentityOutput) ToQuantumWorkspaceIdentityOutput() QuantumWorkspaceIdentityOutput {
return o
}
func (o QuantumWorkspaceIdentityOutput) ToQuantumWorkspaceIdentityOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityOutput {
return o
}
func (o QuantumWorkspaceIdentityOutput) ToQuantumWorkspaceIdentityPtrOutput() QuantumWorkspaceIdentityPtrOutput {
return o.ToQuantumWorkspaceIdentityPtrOutputWithContext(context.Background())
}
func (o QuantumWorkspaceIdentityOutput) ToQuantumWorkspaceIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityPtrOutput {
return o.ApplyT(func(v QuantumWorkspaceIdentity) *QuantumWorkspaceIdentity {
return &v
}).(QuantumWorkspaceIdentityPtrOutput)
}
// The identity type.
func (o QuantumWorkspaceIdentityOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v QuantumWorkspaceIdentity) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type QuantumWorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }
func (QuantumWorkspaceIdentityPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**QuantumWorkspaceIdentity)(nil)).Elem()
}
func (o QuantumWorkspaceIdentityPtrOutput) ToQuantumWorkspaceIdentityPtrOutput() QuantumWorkspaceIdentityPtrOutput {
return o
}
func (o QuantumWorkspaceIdentityPtrOutput) ToQuantumWorkspaceIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceIdentityPtrOutput {
return o
}
func (o QuantumWorkspaceIdentityPtrOutput) Elem() QuantumWorkspaceIdentityOutput {
return o.ApplyT(func(v *QuantumWorkspaceIdentity) QuantumWorkspaceIdentity { return *v }).(QuantumWorkspaceIdentityOutput)
}
// The identity type.
func (o QuantumWorkspaceIdentityPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *QuantumWorkspaceIdentity) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
// Managed Identity information.
type QuantumWorkspaceResponseIdentity struct {
// The principal ID of resource identity.
PrincipalId string `pulumi:"principalId"`
// The tenant ID of resource.
TenantId string `pulumi:"tenantId"`
// The identity type.
Type *string `pulumi:"type"`
}
// QuantumWorkspaceResponseIdentityInput is an input type that accepts QuantumWorkspaceResponseIdentityArgs and QuantumWorkspaceResponseIdentityOutput values.
// You can construct a concrete instance of `QuantumWorkspaceResponseIdentityInput` via:
//
// QuantumWorkspaceResponseIdentityArgs{...}
type QuantumWorkspaceResponseIdentityInput interface {
pulumi.Input
ToQuantumWorkspaceResponseIdentityOutput() QuantumWorkspaceResponseIdentityOutput
ToQuantumWorkspaceResponseIdentityOutputWithContext(context.Context) QuantumWorkspaceResponseIdentityOutput
}
// Managed Identity information.
type QuantumWorkspaceResponseIdentityArgs struct {
// The principal ID of resource identity.
PrincipalId pulumi.StringInput `pulumi:"principalId"`
// The tenant ID of resource.
TenantId pulumi.StringInput `pulumi:"tenantId"`
// The identity type.
Type pulumi.StringPtrInput `pulumi:"type"`
}
func (QuantumWorkspaceResponseIdentityArgs) ElementType() reflect.Type {
return reflect.TypeOf((*QuantumWorkspaceResponseIdentity)(nil)).Elem()
}
func (i QuantumWorkspaceResponseIdentityArgs) ToQuantumWorkspaceResponseIdentityOutput() QuantumWorkspaceResponseIdentityOutput {
return i.ToQuantumWorkspaceResponseIdentityOutputWithContext(context.Background())
}
func (i QuantumWorkspaceResponseIdentityArgs) ToQuantumWorkspaceResponseIdentityOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceResponseIdentityOutput)
}
func (i QuantumWorkspaceResponseIdentityArgs) ToQuantumWorkspaceResponseIdentityPtrOutput() QuantumWorkspaceResponseIdentityPtrOutput {
return i.ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(context.Background())
}
func (i QuantumWorkspaceResponseIdentityArgs) ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceResponseIdentityOutput).ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(ctx)
}
// QuantumWorkspaceResponseIdentityPtrInput is an input type that accepts QuantumWorkspaceResponseIdentityArgs, QuantumWorkspaceResponseIdentityPtr and QuantumWorkspaceResponseIdentityPtrOutput values.
// You can construct a concrete instance of `QuantumWorkspaceResponseIdentityPtrInput` via:
//
// QuantumWorkspaceResponseIdentityArgs{...}
//
// or:
//
// nil
type QuantumWorkspaceResponseIdentityPtrInput interface {
pulumi.Input
ToQuantumWorkspaceResponseIdentityPtrOutput() QuantumWorkspaceResponseIdentityPtrOutput
ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(context.Context) QuantumWorkspaceResponseIdentityPtrOutput
}
type quantumWorkspaceResponseIdentityPtrType QuantumWorkspaceResponseIdentityArgs
func QuantumWorkspaceResponseIdentityPtr(v *QuantumWorkspaceResponseIdentityArgs) QuantumWorkspaceResponseIdentityPtrInput {
return (*quantumWorkspaceResponseIdentityPtrType)(v)
}
func (*quantumWorkspaceResponseIdentityPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**QuantumWorkspaceResponseIdentity)(nil)).Elem()
}
func (i *quantumWorkspaceResponseIdentityPtrType) ToQuantumWorkspaceResponseIdentityPtrOutput() QuantumWorkspaceResponseIdentityPtrOutput {
return i.ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(context.Background())
}
func (i *quantumWorkspaceResponseIdentityPtrType) ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(QuantumWorkspaceResponseIdentityPtrOutput)
}
// Managed Identity information.
type QuantumWorkspaceResponseIdentityOutput struct{ *pulumi.OutputState }
func (QuantumWorkspaceResponseIdentityOutput) ElementType() reflect.Type {
return reflect.TypeOf((*QuantumWorkspaceResponseIdentity)(nil)).Elem()
}
func (o QuantumWorkspaceResponseIdentityOutput) ToQuantumWorkspaceResponseIdentityOutput() QuantumWorkspaceResponseIdentityOutput {
return o
}
func (o QuantumWorkspaceResponseIdentityOutput) ToQuantumWorkspaceResponseIdentityOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityOutput {
return o
}
func (o QuantumWorkspaceResponseIdentityOutput) ToQuantumWorkspaceResponseIdentityPtrOutput() QuantumWorkspaceResponseIdentityPtrOutput {
return o.ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(context.Background())
}
func (o QuantumWorkspaceResponseIdentityOutput) ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityPtrOutput {
return o.ApplyT(func(v QuantumWorkspaceResponseIdentity) *QuantumWorkspaceResponseIdentity {
return &v
}).(QuantumWorkspaceResponseIdentityPtrOutput)
}
// The principal ID of resource identity.
func (o QuantumWorkspaceResponseIdentityOutput) PrincipalId() pulumi.StringOutput {
return o.ApplyT(func(v QuantumWorkspaceResponseIdentity) string { return v.PrincipalId }).(pulumi.StringOutput)
}
// The tenant ID of resource.
func (o QuantumWorkspaceResponseIdentityOutput) TenantId() pulumi.StringOutput {
return o.ApplyT(func(v QuantumWorkspaceResponseIdentity) string { return v.TenantId }).(pulumi.StringOutput)
}
// The identity type.
func (o QuantumWorkspaceResponseIdentityOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v QuantumWorkspaceResponseIdentity) *string { return v.Type }).(pulumi.StringPtrOutput)
}
type QuantumWorkspaceResponseIdentityPtrOutput struct{ *pulumi.OutputState }
func (QuantumWorkspaceResponseIdentityPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**QuantumWorkspaceResponseIdentity)(nil)).Elem()
}
func (o QuantumWorkspaceResponseIdentityPtrOutput) ToQuantumWorkspaceResponseIdentityPtrOutput() QuantumWorkspaceResponseIdentityPtrOutput {
return o
}
func (o QuantumWorkspaceResponseIdentityPtrOutput) ToQuantumWorkspaceResponseIdentityPtrOutputWithContext(ctx context.Context) QuantumWorkspaceResponseIdentityPtrOutput {
return o
}
func (o QuantumWorkspaceResponseIdentityPtrOutput) Elem() QuantumWorkspaceResponseIdentityOutput {
return o.ApplyT(func(v *QuantumWorkspaceResponseIdentity) QuantumWorkspaceResponseIdentity { return *v }).(QuantumWorkspaceResponseIdentityOutput)
}
// The principal ID of resource identity.
func (o QuantumWorkspaceResponseIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *QuantumWorkspaceResponseIdentity) *string {
if v == nil {
return nil
}
return &v.PrincipalId
}).(pulumi.StringPtrOutput)
}
// The tenant ID of resource.
func (o QuantumWorkspaceResponseIdentityPtrOutput) TenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *QuantumWorkspaceResponseIdentity) *string {
if v == nil {
return nil
}
return &v.TenantId
}).(pulumi.StringPtrOutput)
}
// The identity type.
func (o QuantumWorkspaceResponseIdentityPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *QuantumWorkspaceResponseIdentity) *string {
if v == nil {
return nil
}
return v.Type
}).(pulumi.StringPtrOutput)
}
func init() {
pulumi.RegisterOutputType(ProviderOutput{})
pulumi.RegisterOutputType(ProviderArrayOutput{})
pulumi.RegisterOutputType(ProviderResponseOutput{})
pulumi.RegisterOutputType(ProviderResponseArrayOutput{})
pulumi.RegisterOutputType(QuantumWorkspaceIdentityOutput{})
pulumi.RegisterOutputType(QuantumWorkspaceIdentityPtrOutput{})
pulumi.RegisterOutputType(QuantumWorkspaceResponseIdentityOutput{})
pulumi.RegisterOutputType(QuantumWorkspaceResponseIdentityPtrOutput{})
}