This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pulumiTypes.go
3531 lines (2841 loc) · 164 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
// *** 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 latest
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpace struct {
// A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes []string `pulumi:"addressPrefixes"`
}
// AddressSpaceInput is an input type that accepts AddressSpaceArgs and AddressSpaceOutput values.
// You can construct a concrete instance of `AddressSpaceInput` via:
//
// AddressSpaceArgs{...}
type AddressSpaceInput interface {
pulumi.Input
ToAddressSpaceOutput() AddressSpaceOutput
ToAddressSpaceOutputWithContext(context.Context) AddressSpaceOutput
}
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpaceArgs struct {
// A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
}
func (AddressSpaceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AddressSpace)(nil)).Elem()
}
func (i AddressSpaceArgs) ToAddressSpaceOutput() AddressSpaceOutput {
return i.ToAddressSpaceOutputWithContext(context.Background())
}
func (i AddressSpaceArgs) ToAddressSpaceOutputWithContext(ctx context.Context) AddressSpaceOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpaceOutput)
}
func (i AddressSpaceArgs) ToAddressSpacePtrOutput() AddressSpacePtrOutput {
return i.ToAddressSpacePtrOutputWithContext(context.Background())
}
func (i AddressSpaceArgs) ToAddressSpacePtrOutputWithContext(ctx context.Context) AddressSpacePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpaceOutput).ToAddressSpacePtrOutputWithContext(ctx)
}
// AddressSpacePtrInput is an input type that accepts AddressSpaceArgs, AddressSpacePtr and AddressSpacePtrOutput values.
// You can construct a concrete instance of `AddressSpacePtrInput` via:
//
// AddressSpaceArgs{...}
//
// or:
//
// nil
type AddressSpacePtrInput interface {
pulumi.Input
ToAddressSpacePtrOutput() AddressSpacePtrOutput
ToAddressSpacePtrOutputWithContext(context.Context) AddressSpacePtrOutput
}
type addressSpacePtrType AddressSpaceArgs
func AddressSpacePtr(v *AddressSpaceArgs) AddressSpacePtrInput {
return (*addressSpacePtrType)(v)
}
func (*addressSpacePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AddressSpace)(nil)).Elem()
}
func (i *addressSpacePtrType) ToAddressSpacePtrOutput() AddressSpacePtrOutput {
return i.ToAddressSpacePtrOutputWithContext(context.Background())
}
func (i *addressSpacePtrType) ToAddressSpacePtrOutputWithContext(ctx context.Context) AddressSpacePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpacePtrOutput)
}
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpaceOutput struct{ *pulumi.OutputState }
func (AddressSpaceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AddressSpace)(nil)).Elem()
}
func (o AddressSpaceOutput) ToAddressSpaceOutput() AddressSpaceOutput {
return o
}
func (o AddressSpaceOutput) ToAddressSpaceOutputWithContext(ctx context.Context) AddressSpaceOutput {
return o
}
func (o AddressSpaceOutput) ToAddressSpacePtrOutput() AddressSpacePtrOutput {
return o.ToAddressSpacePtrOutputWithContext(context.Background())
}
func (o AddressSpaceOutput) ToAddressSpacePtrOutputWithContext(ctx context.Context) AddressSpacePtrOutput {
return o.ApplyT(func(v AddressSpace) *AddressSpace {
return &v
}).(AddressSpacePtrOutput)
}
// A list of address blocks reserved for this virtual network in CIDR notation.
func (o AddressSpaceOutput) AddressPrefixes() pulumi.StringArrayOutput {
return o.ApplyT(func(v AddressSpace) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
type AddressSpacePtrOutput struct{ *pulumi.OutputState }
func (AddressSpacePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AddressSpace)(nil)).Elem()
}
func (o AddressSpacePtrOutput) ToAddressSpacePtrOutput() AddressSpacePtrOutput {
return o
}
func (o AddressSpacePtrOutput) ToAddressSpacePtrOutputWithContext(ctx context.Context) AddressSpacePtrOutput {
return o
}
func (o AddressSpacePtrOutput) Elem() AddressSpaceOutput {
return o.ApplyT(func(v *AddressSpace) AddressSpace { return *v }).(AddressSpaceOutput)
}
// A list of address blocks reserved for this virtual network in CIDR notation.
func (o AddressSpacePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AddressSpace) []string {
if v == nil {
return nil
}
return v.AddressPrefixes
}).(pulumi.StringArrayOutput)
}
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpaceResponse struct {
// A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes []string `pulumi:"addressPrefixes"`
}
// AddressSpaceResponseInput is an input type that accepts AddressSpaceResponseArgs and AddressSpaceResponseOutput values.
// You can construct a concrete instance of `AddressSpaceResponseInput` via:
//
// AddressSpaceResponseArgs{...}
type AddressSpaceResponseInput interface {
pulumi.Input
ToAddressSpaceResponseOutput() AddressSpaceResponseOutput
ToAddressSpaceResponseOutputWithContext(context.Context) AddressSpaceResponseOutput
}
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpaceResponseArgs struct {
// A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
}
func (AddressSpaceResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AddressSpaceResponse)(nil)).Elem()
}
func (i AddressSpaceResponseArgs) ToAddressSpaceResponseOutput() AddressSpaceResponseOutput {
return i.ToAddressSpaceResponseOutputWithContext(context.Background())
}
func (i AddressSpaceResponseArgs) ToAddressSpaceResponseOutputWithContext(ctx context.Context) AddressSpaceResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpaceResponseOutput)
}
func (i AddressSpaceResponseArgs) ToAddressSpaceResponsePtrOutput() AddressSpaceResponsePtrOutput {
return i.ToAddressSpaceResponsePtrOutputWithContext(context.Background())
}
func (i AddressSpaceResponseArgs) ToAddressSpaceResponsePtrOutputWithContext(ctx context.Context) AddressSpaceResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpaceResponseOutput).ToAddressSpaceResponsePtrOutputWithContext(ctx)
}
// AddressSpaceResponsePtrInput is an input type that accepts AddressSpaceResponseArgs, AddressSpaceResponsePtr and AddressSpaceResponsePtrOutput values.
// You can construct a concrete instance of `AddressSpaceResponsePtrInput` via:
//
// AddressSpaceResponseArgs{...}
//
// or:
//
// nil
type AddressSpaceResponsePtrInput interface {
pulumi.Input
ToAddressSpaceResponsePtrOutput() AddressSpaceResponsePtrOutput
ToAddressSpaceResponsePtrOutputWithContext(context.Context) AddressSpaceResponsePtrOutput
}
type addressSpaceResponsePtrType AddressSpaceResponseArgs
func AddressSpaceResponsePtr(v *AddressSpaceResponseArgs) AddressSpaceResponsePtrInput {
return (*addressSpaceResponsePtrType)(v)
}
func (*addressSpaceResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**AddressSpaceResponse)(nil)).Elem()
}
func (i *addressSpaceResponsePtrType) ToAddressSpaceResponsePtrOutput() AddressSpaceResponsePtrOutput {
return i.ToAddressSpaceResponsePtrOutputWithContext(context.Background())
}
func (i *addressSpaceResponsePtrType) ToAddressSpaceResponsePtrOutputWithContext(ctx context.Context) AddressSpaceResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddressSpaceResponsePtrOutput)
}
// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type AddressSpaceResponseOutput struct{ *pulumi.OutputState }
func (AddressSpaceResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AddressSpaceResponse)(nil)).Elem()
}
func (o AddressSpaceResponseOutput) ToAddressSpaceResponseOutput() AddressSpaceResponseOutput {
return o
}
func (o AddressSpaceResponseOutput) ToAddressSpaceResponseOutputWithContext(ctx context.Context) AddressSpaceResponseOutput {
return o
}
func (o AddressSpaceResponseOutput) ToAddressSpaceResponsePtrOutput() AddressSpaceResponsePtrOutput {
return o.ToAddressSpaceResponsePtrOutputWithContext(context.Background())
}
func (o AddressSpaceResponseOutput) ToAddressSpaceResponsePtrOutputWithContext(ctx context.Context) AddressSpaceResponsePtrOutput {
return o.ApplyT(func(v AddressSpaceResponse) *AddressSpaceResponse {
return &v
}).(AddressSpaceResponsePtrOutput)
}
// A list of address blocks reserved for this virtual network in CIDR notation.
func (o AddressSpaceResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
return o.ApplyT(func(v AddressSpaceResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
type AddressSpaceResponsePtrOutput struct{ *pulumi.OutputState }
func (AddressSpaceResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AddressSpaceResponse)(nil)).Elem()
}
func (o AddressSpaceResponsePtrOutput) ToAddressSpaceResponsePtrOutput() AddressSpaceResponsePtrOutput {
return o
}
func (o AddressSpaceResponsePtrOutput) ToAddressSpaceResponsePtrOutputWithContext(ctx context.Context) AddressSpaceResponsePtrOutput {
return o
}
func (o AddressSpaceResponsePtrOutput) Elem() AddressSpaceResponseOutput {
return o.ApplyT(func(v *AddressSpaceResponse) AddressSpaceResponse { return *v }).(AddressSpaceResponseOutput)
}
// A list of address blocks reserved for this virtual network in CIDR notation.
func (o AddressSpaceResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
return o.ApplyT(func(v *AddressSpaceResponse) []string {
if v == nil {
return nil
}
return v.AddressPrefixes
}).(pulumi.StringArrayOutput)
}
// Provides details of the entity that created/updated the workspace.
type CreatedByResponse struct {
// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
ApplicationId string `pulumi:"applicationId"`
// The Object ID that created the workspace.
Oid string `pulumi:"oid"`
// The Personal Object ID corresponding to the object ID above
Puid string `pulumi:"puid"`
}
// CreatedByResponseInput is an input type that accepts CreatedByResponseArgs and CreatedByResponseOutput values.
// You can construct a concrete instance of `CreatedByResponseInput` via:
//
// CreatedByResponseArgs{...}
type CreatedByResponseInput interface {
pulumi.Input
ToCreatedByResponseOutput() CreatedByResponseOutput
ToCreatedByResponseOutputWithContext(context.Context) CreatedByResponseOutput
}
// Provides details of the entity that created/updated the workspace.
type CreatedByResponseArgs struct {
// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
ApplicationId pulumi.StringInput `pulumi:"applicationId"`
// The Object ID that created the workspace.
Oid pulumi.StringInput `pulumi:"oid"`
// The Personal Object ID corresponding to the object ID above
Puid pulumi.StringInput `pulumi:"puid"`
}
func (CreatedByResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CreatedByResponse)(nil)).Elem()
}
func (i CreatedByResponseArgs) ToCreatedByResponseOutput() CreatedByResponseOutput {
return i.ToCreatedByResponseOutputWithContext(context.Background())
}
func (i CreatedByResponseArgs) ToCreatedByResponseOutputWithContext(ctx context.Context) CreatedByResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreatedByResponseOutput)
}
func (i CreatedByResponseArgs) ToCreatedByResponsePtrOutput() CreatedByResponsePtrOutput {
return i.ToCreatedByResponsePtrOutputWithContext(context.Background())
}
func (i CreatedByResponseArgs) ToCreatedByResponsePtrOutputWithContext(ctx context.Context) CreatedByResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreatedByResponseOutput).ToCreatedByResponsePtrOutputWithContext(ctx)
}
// CreatedByResponsePtrInput is an input type that accepts CreatedByResponseArgs, CreatedByResponsePtr and CreatedByResponsePtrOutput values.
// You can construct a concrete instance of `CreatedByResponsePtrInput` via:
//
// CreatedByResponseArgs{...}
//
// or:
//
// nil
type CreatedByResponsePtrInput interface {
pulumi.Input
ToCreatedByResponsePtrOutput() CreatedByResponsePtrOutput
ToCreatedByResponsePtrOutputWithContext(context.Context) CreatedByResponsePtrOutput
}
type createdByResponsePtrType CreatedByResponseArgs
func CreatedByResponsePtr(v *CreatedByResponseArgs) CreatedByResponsePtrInput {
return (*createdByResponsePtrType)(v)
}
func (*createdByResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CreatedByResponse)(nil)).Elem()
}
func (i *createdByResponsePtrType) ToCreatedByResponsePtrOutput() CreatedByResponsePtrOutput {
return i.ToCreatedByResponsePtrOutputWithContext(context.Background())
}
func (i *createdByResponsePtrType) ToCreatedByResponsePtrOutputWithContext(ctx context.Context) CreatedByResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreatedByResponsePtrOutput)
}
// Provides details of the entity that created/updated the workspace.
type CreatedByResponseOutput struct{ *pulumi.OutputState }
func (CreatedByResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CreatedByResponse)(nil)).Elem()
}
func (o CreatedByResponseOutput) ToCreatedByResponseOutput() CreatedByResponseOutput {
return o
}
func (o CreatedByResponseOutput) ToCreatedByResponseOutputWithContext(ctx context.Context) CreatedByResponseOutput {
return o
}
func (o CreatedByResponseOutput) ToCreatedByResponsePtrOutput() CreatedByResponsePtrOutput {
return o.ToCreatedByResponsePtrOutputWithContext(context.Background())
}
func (o CreatedByResponseOutput) ToCreatedByResponsePtrOutputWithContext(ctx context.Context) CreatedByResponsePtrOutput {
return o.ApplyT(func(v CreatedByResponse) *CreatedByResponse {
return &v
}).(CreatedByResponsePtrOutput)
}
// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
func (o CreatedByResponseOutput) ApplicationId() pulumi.StringOutput {
return o.ApplyT(func(v CreatedByResponse) string { return v.ApplicationId }).(pulumi.StringOutput)
}
// The Object ID that created the workspace.
func (o CreatedByResponseOutput) Oid() pulumi.StringOutput {
return o.ApplyT(func(v CreatedByResponse) string { return v.Oid }).(pulumi.StringOutput)
}
// The Personal Object ID corresponding to the object ID above
func (o CreatedByResponseOutput) Puid() pulumi.StringOutput {
return o.ApplyT(func(v CreatedByResponse) string { return v.Puid }).(pulumi.StringOutput)
}
type CreatedByResponsePtrOutput struct{ *pulumi.OutputState }
func (CreatedByResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CreatedByResponse)(nil)).Elem()
}
func (o CreatedByResponsePtrOutput) ToCreatedByResponsePtrOutput() CreatedByResponsePtrOutput {
return o
}
func (o CreatedByResponsePtrOutput) ToCreatedByResponsePtrOutputWithContext(ctx context.Context) CreatedByResponsePtrOutput {
return o
}
func (o CreatedByResponsePtrOutput) Elem() CreatedByResponseOutput {
return o.ApplyT(func(v *CreatedByResponse) CreatedByResponse { return *v }).(CreatedByResponseOutput)
}
// The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
func (o CreatedByResponsePtrOutput) ApplicationId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CreatedByResponse) *string {
if v == nil {
return nil
}
return &v.ApplicationId
}).(pulumi.StringPtrOutput)
}
// The Object ID that created the workspace.
func (o CreatedByResponsePtrOutput) Oid() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CreatedByResponse) *string {
if v == nil {
return nil
}
return &v.Oid
}).(pulumi.StringPtrOutput)
}
// The Personal Object ID corresponding to the object ID above
func (o CreatedByResponsePtrOutput) Puid() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CreatedByResponse) *string {
if v == nil {
return nil
}
return &v.Puid
}).(pulumi.StringPtrOutput)
}
// The object that contains details of encryption used on the workspace.
type Encryption struct {
// The name of KeyVault key.
KeyName *string `pulumi:"keyName"`
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
KeySource *string `pulumi:"keySource"`
// The Uri of KeyVault.
KeyVaultUri *string `pulumi:"keyVaultUri"`
// The version of KeyVault key.
KeyVersion *string `pulumi:"keyVersion"`
}
// EncryptionInput is an input type that accepts EncryptionArgs and EncryptionOutput values.
// You can construct a concrete instance of `EncryptionInput` via:
//
// EncryptionArgs{...}
type EncryptionInput interface {
pulumi.Input
ToEncryptionOutput() EncryptionOutput
ToEncryptionOutputWithContext(context.Context) EncryptionOutput
}
// The object that contains details of encryption used on the workspace.
type EncryptionArgs struct {
// The name of KeyVault key.
KeyName pulumi.StringPtrInput `pulumi:"keyName"`
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
KeySource pulumi.StringPtrInput `pulumi:"keySource"`
// The Uri of KeyVault.
KeyVaultUri pulumi.StringPtrInput `pulumi:"keyVaultUri"`
// The version of KeyVault key.
KeyVersion pulumi.StringPtrInput `pulumi:"keyVersion"`
}
func (EncryptionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*Encryption)(nil)).Elem()
}
func (i EncryptionArgs) ToEncryptionOutput() EncryptionOutput {
return i.ToEncryptionOutputWithContext(context.Background())
}
func (i EncryptionArgs) ToEncryptionOutputWithContext(ctx context.Context) EncryptionOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionOutput)
}
func (i EncryptionArgs) ToEncryptionPtrOutput() EncryptionPtrOutput {
return i.ToEncryptionPtrOutputWithContext(context.Background())
}
func (i EncryptionArgs) ToEncryptionPtrOutputWithContext(ctx context.Context) EncryptionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionOutput).ToEncryptionPtrOutputWithContext(ctx)
}
// EncryptionPtrInput is an input type that accepts EncryptionArgs, EncryptionPtr and EncryptionPtrOutput values.
// You can construct a concrete instance of `EncryptionPtrInput` via:
//
// EncryptionArgs{...}
//
// or:
//
// nil
type EncryptionPtrInput interface {
pulumi.Input
ToEncryptionPtrOutput() EncryptionPtrOutput
ToEncryptionPtrOutputWithContext(context.Context) EncryptionPtrOutput
}
type encryptionPtrType EncryptionArgs
func EncryptionPtr(v *EncryptionArgs) EncryptionPtrInput {
return (*encryptionPtrType)(v)
}
func (*encryptionPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**Encryption)(nil)).Elem()
}
func (i *encryptionPtrType) ToEncryptionPtrOutput() EncryptionPtrOutput {
return i.ToEncryptionPtrOutputWithContext(context.Background())
}
func (i *encryptionPtrType) ToEncryptionPtrOutputWithContext(ctx context.Context) EncryptionPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionPtrOutput)
}
// The object that contains details of encryption used on the workspace.
type EncryptionOutput struct{ *pulumi.OutputState }
func (EncryptionOutput) ElementType() reflect.Type {
return reflect.TypeOf((*Encryption)(nil)).Elem()
}
func (o EncryptionOutput) ToEncryptionOutput() EncryptionOutput {
return o
}
func (o EncryptionOutput) ToEncryptionOutputWithContext(ctx context.Context) EncryptionOutput {
return o
}
func (o EncryptionOutput) ToEncryptionPtrOutput() EncryptionPtrOutput {
return o.ToEncryptionPtrOutputWithContext(context.Background())
}
func (o EncryptionOutput) ToEncryptionPtrOutputWithContext(ctx context.Context) EncryptionPtrOutput {
return o.ApplyT(func(v Encryption) *Encryption {
return &v
}).(EncryptionPtrOutput)
}
// The name of KeyVault key.
func (o EncryptionOutput) KeyName() pulumi.StringPtrOutput {
return o.ApplyT(func(v Encryption) *string { return v.KeyName }).(pulumi.StringPtrOutput)
}
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
func (o EncryptionOutput) KeySource() pulumi.StringPtrOutput {
return o.ApplyT(func(v Encryption) *string { return v.KeySource }).(pulumi.StringPtrOutput)
}
// The Uri of KeyVault.
func (o EncryptionOutput) KeyVaultUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v Encryption) *string { return v.KeyVaultUri }).(pulumi.StringPtrOutput)
}
// The version of KeyVault key.
func (o EncryptionOutput) KeyVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v Encryption) *string { return v.KeyVersion }).(pulumi.StringPtrOutput)
}
type EncryptionPtrOutput struct{ *pulumi.OutputState }
func (EncryptionPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**Encryption)(nil)).Elem()
}
func (o EncryptionPtrOutput) ToEncryptionPtrOutput() EncryptionPtrOutput {
return o
}
func (o EncryptionPtrOutput) ToEncryptionPtrOutputWithContext(ctx context.Context) EncryptionPtrOutput {
return o
}
func (o EncryptionPtrOutput) Elem() EncryptionOutput {
return o.ApplyT(func(v *Encryption) Encryption { return *v }).(EncryptionOutput)
}
// The name of KeyVault key.
func (o EncryptionPtrOutput) KeyName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Encryption) *string {
if v == nil {
return nil
}
return v.KeyName
}).(pulumi.StringPtrOutput)
}
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
func (o EncryptionPtrOutput) KeySource() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Encryption) *string {
if v == nil {
return nil
}
return v.KeySource
}).(pulumi.StringPtrOutput)
}
// The Uri of KeyVault.
func (o EncryptionPtrOutput) KeyVaultUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Encryption) *string {
if v == nil {
return nil
}
return v.KeyVaultUri
}).(pulumi.StringPtrOutput)
}
// The version of KeyVault key.
func (o EncryptionPtrOutput) KeyVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *Encryption) *string {
if v == nil {
return nil
}
return v.KeyVersion
}).(pulumi.StringPtrOutput)
}
// The object that contains details of encryption used on the workspace.
type EncryptionResponse struct {
// The name of KeyVault key.
KeyName *string `pulumi:"keyName"`
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
KeySource *string `pulumi:"keySource"`
// The Uri of KeyVault.
KeyVaultUri *string `pulumi:"keyVaultUri"`
// The version of KeyVault key.
KeyVersion *string `pulumi:"keyVersion"`
}
// EncryptionResponseInput is an input type that accepts EncryptionResponseArgs and EncryptionResponseOutput values.
// You can construct a concrete instance of `EncryptionResponseInput` via:
//
// EncryptionResponseArgs{...}
type EncryptionResponseInput interface {
pulumi.Input
ToEncryptionResponseOutput() EncryptionResponseOutput
ToEncryptionResponseOutputWithContext(context.Context) EncryptionResponseOutput
}
// The object that contains details of encryption used on the workspace.
type EncryptionResponseArgs struct {
// The name of KeyVault key.
KeyName pulumi.StringPtrInput `pulumi:"keyName"`
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
KeySource pulumi.StringPtrInput `pulumi:"keySource"`
// The Uri of KeyVault.
KeyVaultUri pulumi.StringPtrInput `pulumi:"keyVaultUri"`
// The version of KeyVault key.
KeyVersion pulumi.StringPtrInput `pulumi:"keyVersion"`
}
func (EncryptionResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*EncryptionResponse)(nil)).Elem()
}
func (i EncryptionResponseArgs) ToEncryptionResponseOutput() EncryptionResponseOutput {
return i.ToEncryptionResponseOutputWithContext(context.Background())
}
func (i EncryptionResponseArgs) ToEncryptionResponseOutputWithContext(ctx context.Context) EncryptionResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionResponseOutput)
}
func (i EncryptionResponseArgs) ToEncryptionResponsePtrOutput() EncryptionResponsePtrOutput {
return i.ToEncryptionResponsePtrOutputWithContext(context.Background())
}
func (i EncryptionResponseArgs) ToEncryptionResponsePtrOutputWithContext(ctx context.Context) EncryptionResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionResponseOutput).ToEncryptionResponsePtrOutputWithContext(ctx)
}
// EncryptionResponsePtrInput is an input type that accepts EncryptionResponseArgs, EncryptionResponsePtr and EncryptionResponsePtrOutput values.
// You can construct a concrete instance of `EncryptionResponsePtrInput` via:
//
// EncryptionResponseArgs{...}
//
// or:
//
// nil
type EncryptionResponsePtrInput interface {
pulumi.Input
ToEncryptionResponsePtrOutput() EncryptionResponsePtrOutput
ToEncryptionResponsePtrOutputWithContext(context.Context) EncryptionResponsePtrOutput
}
type encryptionResponsePtrType EncryptionResponseArgs
func EncryptionResponsePtr(v *EncryptionResponseArgs) EncryptionResponsePtrInput {
return (*encryptionResponsePtrType)(v)
}
func (*encryptionResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**EncryptionResponse)(nil)).Elem()
}
func (i *encryptionResponsePtrType) ToEncryptionResponsePtrOutput() EncryptionResponsePtrOutput {
return i.ToEncryptionResponsePtrOutputWithContext(context.Background())
}
func (i *encryptionResponsePtrType) ToEncryptionResponsePtrOutputWithContext(ctx context.Context) EncryptionResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EncryptionResponsePtrOutput)
}
// The object that contains details of encryption used on the workspace.
type EncryptionResponseOutput struct{ *pulumi.OutputState }
func (EncryptionResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*EncryptionResponse)(nil)).Elem()
}
func (o EncryptionResponseOutput) ToEncryptionResponseOutput() EncryptionResponseOutput {
return o
}
func (o EncryptionResponseOutput) ToEncryptionResponseOutputWithContext(ctx context.Context) EncryptionResponseOutput {
return o
}
func (o EncryptionResponseOutput) ToEncryptionResponsePtrOutput() EncryptionResponsePtrOutput {
return o.ToEncryptionResponsePtrOutputWithContext(context.Background())
}
func (o EncryptionResponseOutput) ToEncryptionResponsePtrOutputWithContext(ctx context.Context) EncryptionResponsePtrOutput {
return o.ApplyT(func(v EncryptionResponse) *EncryptionResponse {
return &v
}).(EncryptionResponsePtrOutput)
}
// The name of KeyVault key.
func (o EncryptionResponseOutput) KeyName() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionResponse) *string { return v.KeyName }).(pulumi.StringPtrOutput)
}
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
func (o EncryptionResponseOutput) KeySource() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionResponse) *string { return v.KeySource }).(pulumi.StringPtrOutput)
}
// The Uri of KeyVault.
func (o EncryptionResponseOutput) KeyVaultUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionResponse) *string { return v.KeyVaultUri }).(pulumi.StringPtrOutput)
}
// The version of KeyVault key.
func (o EncryptionResponseOutput) KeyVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v EncryptionResponse) *string { return v.KeyVersion }).(pulumi.StringPtrOutput)
}
type EncryptionResponsePtrOutput struct{ *pulumi.OutputState }
func (EncryptionResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**EncryptionResponse)(nil)).Elem()
}
func (o EncryptionResponsePtrOutput) ToEncryptionResponsePtrOutput() EncryptionResponsePtrOutput {
return o
}
func (o EncryptionResponsePtrOutput) ToEncryptionResponsePtrOutputWithContext(ctx context.Context) EncryptionResponsePtrOutput {
return o
}
func (o EncryptionResponsePtrOutput) Elem() EncryptionResponseOutput {
return o.ApplyT(func(v *EncryptionResponse) EncryptionResponse { return *v }).(EncryptionResponseOutput)
}
// The name of KeyVault key.
func (o EncryptionResponsePtrOutput) KeyName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EncryptionResponse) *string {
if v == nil {
return nil
}
return v.KeyName
}).(pulumi.StringPtrOutput)
}
// The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault
func (o EncryptionResponsePtrOutput) KeySource() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EncryptionResponse) *string {
if v == nil {
return nil
}
return v.KeySource
}).(pulumi.StringPtrOutput)
}
// The Uri of KeyVault.
func (o EncryptionResponsePtrOutput) KeyVaultUri() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EncryptionResponse) *string {
if v == nil {
return nil
}
return v.KeyVaultUri
}).(pulumi.StringPtrOutput)
}
// The version of KeyVault key.
func (o EncryptionResponsePtrOutput) KeyVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EncryptionResponse) *string {
if v == nil {
return nil
}
return v.KeyVersion
}).(pulumi.StringPtrOutput)
}
// The Managed Identity details for storage account.
type ManagedIdentityConfigurationResponse struct {
// The objectId of the Managed Identity that is linked to the Managed Storage account.
PrincipalId string `pulumi:"principalId"`
// The tenant Id where the Managed Identity is created.
TenantId string `pulumi:"tenantId"`
// The type of Identity created. It can be either SystemAssigned or UserAssigned.
Type string `pulumi:"type"`
}
// ManagedIdentityConfigurationResponseInput is an input type that accepts ManagedIdentityConfigurationResponseArgs and ManagedIdentityConfigurationResponseOutput values.
// You can construct a concrete instance of `ManagedIdentityConfigurationResponseInput` via:
//
// ManagedIdentityConfigurationResponseArgs{...}
type ManagedIdentityConfigurationResponseInput interface {
pulumi.Input
ToManagedIdentityConfigurationResponseOutput() ManagedIdentityConfigurationResponseOutput
ToManagedIdentityConfigurationResponseOutputWithContext(context.Context) ManagedIdentityConfigurationResponseOutput
}
// The Managed Identity details for storage account.
type ManagedIdentityConfigurationResponseArgs struct {
// The objectId of the Managed Identity that is linked to the Managed Storage account.
PrincipalId pulumi.StringInput `pulumi:"principalId"`
// The tenant Id where the Managed Identity is created.
TenantId pulumi.StringInput `pulumi:"tenantId"`
// The type of Identity created. It can be either SystemAssigned or UserAssigned.
Type pulumi.StringInput `pulumi:"type"`
}
func (ManagedIdentityConfigurationResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ManagedIdentityConfigurationResponse)(nil)).Elem()
}
func (i ManagedIdentityConfigurationResponseArgs) ToManagedIdentityConfigurationResponseOutput() ManagedIdentityConfigurationResponseOutput {
return i.ToManagedIdentityConfigurationResponseOutputWithContext(context.Background())
}
func (i ManagedIdentityConfigurationResponseArgs) ToManagedIdentityConfigurationResponseOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityConfigurationResponseOutput)
}
func (i ManagedIdentityConfigurationResponseArgs) ToManagedIdentityConfigurationResponsePtrOutput() ManagedIdentityConfigurationResponsePtrOutput {
return i.ToManagedIdentityConfigurationResponsePtrOutputWithContext(context.Background())
}
func (i ManagedIdentityConfigurationResponseArgs) ToManagedIdentityConfigurationResponsePtrOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityConfigurationResponseOutput).ToManagedIdentityConfigurationResponsePtrOutputWithContext(ctx)
}
// ManagedIdentityConfigurationResponsePtrInput is an input type that accepts ManagedIdentityConfigurationResponseArgs, ManagedIdentityConfigurationResponsePtr and ManagedIdentityConfigurationResponsePtrOutput values.
// You can construct a concrete instance of `ManagedIdentityConfigurationResponsePtrInput` via:
//
// ManagedIdentityConfigurationResponseArgs{...}
//
// or:
//
// nil
type ManagedIdentityConfigurationResponsePtrInput interface {
pulumi.Input
ToManagedIdentityConfigurationResponsePtrOutput() ManagedIdentityConfigurationResponsePtrOutput
ToManagedIdentityConfigurationResponsePtrOutputWithContext(context.Context) ManagedIdentityConfigurationResponsePtrOutput
}
type managedIdentityConfigurationResponsePtrType ManagedIdentityConfigurationResponseArgs
func ManagedIdentityConfigurationResponsePtr(v *ManagedIdentityConfigurationResponseArgs) ManagedIdentityConfigurationResponsePtrInput {
return (*managedIdentityConfigurationResponsePtrType)(v)
}
func (*managedIdentityConfigurationResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ManagedIdentityConfigurationResponse)(nil)).Elem()
}
func (i *managedIdentityConfigurationResponsePtrType) ToManagedIdentityConfigurationResponsePtrOutput() ManagedIdentityConfigurationResponsePtrOutput {
return i.ToManagedIdentityConfigurationResponsePtrOutputWithContext(context.Background())
}
func (i *managedIdentityConfigurationResponsePtrType) ToManagedIdentityConfigurationResponsePtrOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ManagedIdentityConfigurationResponsePtrOutput)
}
// The Managed Identity details for storage account.
type ManagedIdentityConfigurationResponseOutput struct{ *pulumi.OutputState }
func (ManagedIdentityConfigurationResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ManagedIdentityConfigurationResponse)(nil)).Elem()
}
func (o ManagedIdentityConfigurationResponseOutput) ToManagedIdentityConfigurationResponseOutput() ManagedIdentityConfigurationResponseOutput {
return o
}
func (o ManagedIdentityConfigurationResponseOutput) ToManagedIdentityConfigurationResponseOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponseOutput {
return o
}
func (o ManagedIdentityConfigurationResponseOutput) ToManagedIdentityConfigurationResponsePtrOutput() ManagedIdentityConfigurationResponsePtrOutput {
return o.ToManagedIdentityConfigurationResponsePtrOutputWithContext(context.Background())
}
func (o ManagedIdentityConfigurationResponseOutput) ToManagedIdentityConfigurationResponsePtrOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponsePtrOutput {
return o.ApplyT(func(v ManagedIdentityConfigurationResponse) *ManagedIdentityConfigurationResponse {
return &v
}).(ManagedIdentityConfigurationResponsePtrOutput)
}
// The objectId of the Managed Identity that is linked to the Managed Storage account.
func (o ManagedIdentityConfigurationResponseOutput) PrincipalId() pulumi.StringOutput {
return o.ApplyT(func(v ManagedIdentityConfigurationResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
}
// The tenant Id where the Managed Identity is created.
func (o ManagedIdentityConfigurationResponseOutput) TenantId() pulumi.StringOutput {
return o.ApplyT(func(v ManagedIdentityConfigurationResponse) string { return v.TenantId }).(pulumi.StringOutput)
}
// The type of Identity created. It can be either SystemAssigned or UserAssigned.
func (o ManagedIdentityConfigurationResponseOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v ManagedIdentityConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
type ManagedIdentityConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
func (ManagedIdentityConfigurationResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ManagedIdentityConfigurationResponse)(nil)).Elem()
}
func (o ManagedIdentityConfigurationResponsePtrOutput) ToManagedIdentityConfigurationResponsePtrOutput() ManagedIdentityConfigurationResponsePtrOutput {
return o
}
func (o ManagedIdentityConfigurationResponsePtrOutput) ToManagedIdentityConfigurationResponsePtrOutputWithContext(ctx context.Context) ManagedIdentityConfigurationResponsePtrOutput {
return o
}
func (o ManagedIdentityConfigurationResponsePtrOutput) Elem() ManagedIdentityConfigurationResponseOutput {
return o.ApplyT(func(v *ManagedIdentityConfigurationResponse) ManagedIdentityConfigurationResponse { return *v }).(ManagedIdentityConfigurationResponseOutput)
}
// The objectId of the Managed Identity that is linked to the Managed Storage account.
func (o ManagedIdentityConfigurationResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ManagedIdentityConfigurationResponse) *string {
if v == nil {
return nil
}
return &v.PrincipalId
}).(pulumi.StringPtrOutput)
}
// The tenant Id where the Managed Identity is created.
func (o ManagedIdentityConfigurationResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ManagedIdentityConfigurationResponse) *string {
if v == nil {
return nil
}
return &v.TenantId
}).(pulumi.StringPtrOutput)
}
// The type of Identity created. It can be either SystemAssigned or UserAssigned.
func (o ManagedIdentityConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ManagedIdentityConfigurationResponse) *string {
if v == nil {