This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiTypes.go
4841 lines (3917 loc) · 205 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"
)
// The api properties for special APIs.
type CognitiveServicesAccountApiProperties struct {
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
AadClientId *string `pulumi:"aadClientId"`
// (Metrics Advisor Only) The Azure AD Tenant Id.
AadTenantId *string `pulumi:"aadTenantId"`
// (Personalization Only) The flag to enable statistics of Bing Search.
EventHubConnectionString *string `pulumi:"eventHubConnectionString"`
// (QnAMaker Only) The runtime endpoint of QnAMaker.
QnaRuntimeEndpoint *string `pulumi:"qnaRuntimeEndpoint"`
// (Bing Search Only) The flag to enable statistics of Bing Search.
StatisticsEnabled *bool `pulumi:"statisticsEnabled"`
// (Personalization Only) The storage account connection string.
StorageAccountConnectionString *string `pulumi:"storageAccountConnectionString"`
// (Metrics Advisor Only) The super user of Metrics Advisor.
SuperUser *string `pulumi:"superUser"`
// (Metrics Advisor Only) The website name of Metrics Advisor.
WebsiteName *string `pulumi:"websiteName"`
}
// CognitiveServicesAccountApiPropertiesInput is an input type that accepts CognitiveServicesAccountApiPropertiesArgs and CognitiveServicesAccountApiPropertiesOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountApiPropertiesInput` via:
//
// CognitiveServicesAccountApiPropertiesArgs{...}
type CognitiveServicesAccountApiPropertiesInput interface {
pulumi.Input
ToCognitiveServicesAccountApiPropertiesOutput() CognitiveServicesAccountApiPropertiesOutput
ToCognitiveServicesAccountApiPropertiesOutputWithContext(context.Context) CognitiveServicesAccountApiPropertiesOutput
}
// The api properties for special APIs.
type CognitiveServicesAccountApiPropertiesArgs struct {
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
AadClientId pulumi.StringPtrInput `pulumi:"aadClientId"`
// (Metrics Advisor Only) The Azure AD Tenant Id.
AadTenantId pulumi.StringPtrInput `pulumi:"aadTenantId"`
// (Personalization Only) The flag to enable statistics of Bing Search.
EventHubConnectionString pulumi.StringPtrInput `pulumi:"eventHubConnectionString"`
// (QnAMaker Only) The runtime endpoint of QnAMaker.
QnaRuntimeEndpoint pulumi.StringPtrInput `pulumi:"qnaRuntimeEndpoint"`
// (Bing Search Only) The flag to enable statistics of Bing Search.
StatisticsEnabled pulumi.BoolPtrInput `pulumi:"statisticsEnabled"`
// (Personalization Only) The storage account connection string.
StorageAccountConnectionString pulumi.StringPtrInput `pulumi:"storageAccountConnectionString"`
// (Metrics Advisor Only) The super user of Metrics Advisor.
SuperUser pulumi.StringPtrInput `pulumi:"superUser"`
// (Metrics Advisor Only) The website name of Metrics Advisor.
WebsiteName pulumi.StringPtrInput `pulumi:"websiteName"`
}
func (CognitiveServicesAccountApiPropertiesArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountApiProperties)(nil)).Elem()
}
func (i CognitiveServicesAccountApiPropertiesArgs) ToCognitiveServicesAccountApiPropertiesOutput() CognitiveServicesAccountApiPropertiesOutput {
return i.ToCognitiveServicesAccountApiPropertiesOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountApiPropertiesArgs) ToCognitiveServicesAccountApiPropertiesOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesOutput)
}
func (i CognitiveServicesAccountApiPropertiesArgs) ToCognitiveServicesAccountApiPropertiesPtrOutput() CognitiveServicesAccountApiPropertiesPtrOutput {
return i.ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountApiPropertiesArgs) ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesOutput).ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(ctx)
}
// CognitiveServicesAccountApiPropertiesPtrInput is an input type that accepts CognitiveServicesAccountApiPropertiesArgs, CognitiveServicesAccountApiPropertiesPtr and CognitiveServicesAccountApiPropertiesPtrOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountApiPropertiesPtrInput` via:
//
// CognitiveServicesAccountApiPropertiesArgs{...}
//
// or:
//
// nil
type CognitiveServicesAccountApiPropertiesPtrInput interface {
pulumi.Input
ToCognitiveServicesAccountApiPropertiesPtrOutput() CognitiveServicesAccountApiPropertiesPtrOutput
ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(context.Context) CognitiveServicesAccountApiPropertiesPtrOutput
}
type cognitiveServicesAccountApiPropertiesPtrType CognitiveServicesAccountApiPropertiesArgs
func CognitiveServicesAccountApiPropertiesPtr(v *CognitiveServicesAccountApiPropertiesArgs) CognitiveServicesAccountApiPropertiesPtrInput {
return (*cognitiveServicesAccountApiPropertiesPtrType)(v)
}
func (*cognitiveServicesAccountApiPropertiesPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountApiProperties)(nil)).Elem()
}
func (i *cognitiveServicesAccountApiPropertiesPtrType) ToCognitiveServicesAccountApiPropertiesPtrOutput() CognitiveServicesAccountApiPropertiesPtrOutput {
return i.ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(context.Background())
}
func (i *cognitiveServicesAccountApiPropertiesPtrType) ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesPtrOutput)
}
// The api properties for special APIs.
type CognitiveServicesAccountApiPropertiesOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountApiPropertiesOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountApiProperties)(nil)).Elem()
}
func (o CognitiveServicesAccountApiPropertiesOutput) ToCognitiveServicesAccountApiPropertiesOutput() CognitiveServicesAccountApiPropertiesOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesOutput) ToCognitiveServicesAccountApiPropertiesOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesOutput) ToCognitiveServicesAccountApiPropertiesPtrOutput() CognitiveServicesAccountApiPropertiesPtrOutput {
return o.ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(context.Background())
}
func (o CognitiveServicesAccountApiPropertiesOutput) ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *CognitiveServicesAccountApiProperties {
return &v
}).(CognitiveServicesAccountApiPropertiesPtrOutput)
}
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
func (o CognitiveServicesAccountApiPropertiesOutput) AadClientId() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.AadClientId }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The Azure AD Tenant Id.
func (o CognitiveServicesAccountApiPropertiesOutput) AadTenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.AadTenantId }).(pulumi.StringPtrOutput)
}
// (Personalization Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesOutput) EventHubConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.EventHubConnectionString }).(pulumi.StringPtrOutput)
}
// (QnAMaker Only) The runtime endpoint of QnAMaker.
func (o CognitiveServicesAccountApiPropertiesOutput) QnaRuntimeEndpoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.QnaRuntimeEndpoint }).(pulumi.StringPtrOutput)
}
// (Bing Search Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesOutput) StatisticsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *bool { return v.StatisticsEnabled }).(pulumi.BoolPtrOutput)
}
// (Personalization Only) The storage account connection string.
func (o CognitiveServicesAccountApiPropertiesOutput) StorageAccountConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.StorageAccountConnectionString }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The super user of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesOutput) SuperUser() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.SuperUser }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The website name of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesOutput) WebsiteName() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiProperties) *string { return v.WebsiteName }).(pulumi.StringPtrOutput)
}
type CognitiveServicesAccountApiPropertiesPtrOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountApiPropertiesPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountApiProperties)(nil)).Elem()
}
func (o CognitiveServicesAccountApiPropertiesPtrOutput) ToCognitiveServicesAccountApiPropertiesPtrOutput() CognitiveServicesAccountApiPropertiesPtrOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesPtrOutput) ToCognitiveServicesAccountApiPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesPtrOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesPtrOutput) Elem() CognitiveServicesAccountApiPropertiesOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) CognitiveServicesAccountApiProperties { return *v }).(CognitiveServicesAccountApiPropertiesOutput)
}
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
func (o CognitiveServicesAccountApiPropertiesPtrOutput) AadClientId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.AadClientId
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The Azure AD Tenant Id.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) AadTenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.AadTenantId
}).(pulumi.StringPtrOutput)
}
// (Personalization Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) EventHubConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.EventHubConnectionString
}).(pulumi.StringPtrOutput)
}
// (QnAMaker Only) The runtime endpoint of QnAMaker.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) QnaRuntimeEndpoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.QnaRuntimeEndpoint
}).(pulumi.StringPtrOutput)
}
// (Bing Search Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) StatisticsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *bool {
if v == nil {
return nil
}
return v.StatisticsEnabled
}).(pulumi.BoolPtrOutput)
}
// (Personalization Only) The storage account connection string.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) StorageAccountConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.StorageAccountConnectionString
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The super user of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) SuperUser() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.SuperUser
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The website name of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesPtrOutput) WebsiteName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiProperties) *string {
if v == nil {
return nil
}
return v.WebsiteName
}).(pulumi.StringPtrOutput)
}
// The api properties for special APIs.
type CognitiveServicesAccountApiPropertiesResponse struct {
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
AadClientId *string `pulumi:"aadClientId"`
// (Metrics Advisor Only) The Azure AD Tenant Id.
AadTenantId *string `pulumi:"aadTenantId"`
// (Personalization Only) The flag to enable statistics of Bing Search.
EventHubConnectionString *string `pulumi:"eventHubConnectionString"`
// (QnAMaker Only) The runtime endpoint of QnAMaker.
QnaRuntimeEndpoint *string `pulumi:"qnaRuntimeEndpoint"`
// (Bing Search Only) The flag to enable statistics of Bing Search.
StatisticsEnabled *bool `pulumi:"statisticsEnabled"`
// (Personalization Only) The storage account connection string.
StorageAccountConnectionString *string `pulumi:"storageAccountConnectionString"`
// (Metrics Advisor Only) The super user of Metrics Advisor.
SuperUser *string `pulumi:"superUser"`
// (Metrics Advisor Only) The website name of Metrics Advisor.
WebsiteName *string `pulumi:"websiteName"`
}
// CognitiveServicesAccountApiPropertiesResponseInput is an input type that accepts CognitiveServicesAccountApiPropertiesResponseArgs and CognitiveServicesAccountApiPropertiesResponseOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountApiPropertiesResponseInput` via:
//
// CognitiveServicesAccountApiPropertiesResponseArgs{...}
type CognitiveServicesAccountApiPropertiesResponseInput interface {
pulumi.Input
ToCognitiveServicesAccountApiPropertiesResponseOutput() CognitiveServicesAccountApiPropertiesResponseOutput
ToCognitiveServicesAccountApiPropertiesResponseOutputWithContext(context.Context) CognitiveServicesAccountApiPropertiesResponseOutput
}
// The api properties for special APIs.
type CognitiveServicesAccountApiPropertiesResponseArgs struct {
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
AadClientId pulumi.StringPtrInput `pulumi:"aadClientId"`
// (Metrics Advisor Only) The Azure AD Tenant Id.
AadTenantId pulumi.StringPtrInput `pulumi:"aadTenantId"`
// (Personalization Only) The flag to enable statistics of Bing Search.
EventHubConnectionString pulumi.StringPtrInput `pulumi:"eventHubConnectionString"`
// (QnAMaker Only) The runtime endpoint of QnAMaker.
QnaRuntimeEndpoint pulumi.StringPtrInput `pulumi:"qnaRuntimeEndpoint"`
// (Bing Search Only) The flag to enable statistics of Bing Search.
StatisticsEnabled pulumi.BoolPtrInput `pulumi:"statisticsEnabled"`
// (Personalization Only) The storage account connection string.
StorageAccountConnectionString pulumi.StringPtrInput `pulumi:"storageAccountConnectionString"`
// (Metrics Advisor Only) The super user of Metrics Advisor.
SuperUser pulumi.StringPtrInput `pulumi:"superUser"`
// (Metrics Advisor Only) The website name of Metrics Advisor.
WebsiteName pulumi.StringPtrInput `pulumi:"websiteName"`
}
func (CognitiveServicesAccountApiPropertiesResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountApiPropertiesResponse)(nil)).Elem()
}
func (i CognitiveServicesAccountApiPropertiesResponseArgs) ToCognitiveServicesAccountApiPropertiesResponseOutput() CognitiveServicesAccountApiPropertiesResponseOutput {
return i.ToCognitiveServicesAccountApiPropertiesResponseOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountApiPropertiesResponseArgs) ToCognitiveServicesAccountApiPropertiesResponseOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesResponseOutput)
}
func (i CognitiveServicesAccountApiPropertiesResponseArgs) ToCognitiveServicesAccountApiPropertiesResponsePtrOutput() CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return i.ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountApiPropertiesResponseArgs) ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesResponseOutput).ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(ctx)
}
// CognitiveServicesAccountApiPropertiesResponsePtrInput is an input type that accepts CognitiveServicesAccountApiPropertiesResponseArgs, CognitiveServicesAccountApiPropertiesResponsePtr and CognitiveServicesAccountApiPropertiesResponsePtrOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountApiPropertiesResponsePtrInput` via:
//
// CognitiveServicesAccountApiPropertiesResponseArgs{...}
//
// or:
//
// nil
type CognitiveServicesAccountApiPropertiesResponsePtrInput interface {
pulumi.Input
ToCognitiveServicesAccountApiPropertiesResponsePtrOutput() CognitiveServicesAccountApiPropertiesResponsePtrOutput
ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(context.Context) CognitiveServicesAccountApiPropertiesResponsePtrOutput
}
type cognitiveServicesAccountApiPropertiesResponsePtrType CognitiveServicesAccountApiPropertiesResponseArgs
func CognitiveServicesAccountApiPropertiesResponsePtr(v *CognitiveServicesAccountApiPropertiesResponseArgs) CognitiveServicesAccountApiPropertiesResponsePtrInput {
return (*cognitiveServicesAccountApiPropertiesResponsePtrType)(v)
}
func (*cognitiveServicesAccountApiPropertiesResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountApiPropertiesResponse)(nil)).Elem()
}
func (i *cognitiveServicesAccountApiPropertiesResponsePtrType) ToCognitiveServicesAccountApiPropertiesResponsePtrOutput() CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return i.ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(context.Background())
}
func (i *cognitiveServicesAccountApiPropertiesResponsePtrType) ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountApiPropertiesResponsePtrOutput)
}
// The api properties for special APIs.
type CognitiveServicesAccountApiPropertiesResponseOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountApiPropertiesResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountApiPropertiesResponse)(nil)).Elem()
}
func (o CognitiveServicesAccountApiPropertiesResponseOutput) ToCognitiveServicesAccountApiPropertiesResponseOutput() CognitiveServicesAccountApiPropertiesResponseOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesResponseOutput) ToCognitiveServicesAccountApiPropertiesResponseOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponseOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesResponseOutput) ToCognitiveServicesAccountApiPropertiesResponsePtrOutput() CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return o.ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(context.Background())
}
func (o CognitiveServicesAccountApiPropertiesResponseOutput) ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *CognitiveServicesAccountApiPropertiesResponse {
return &v
}).(CognitiveServicesAccountApiPropertiesResponsePtrOutput)
}
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
func (o CognitiveServicesAccountApiPropertiesResponseOutput) AadClientId() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.AadClientId }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The Azure AD Tenant Id.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) AadTenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.AadTenantId }).(pulumi.StringPtrOutput)
}
// (Personalization Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) EventHubConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.EventHubConnectionString }).(pulumi.StringPtrOutput)
}
// (QnAMaker Only) The runtime endpoint of QnAMaker.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) QnaRuntimeEndpoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.QnaRuntimeEndpoint }).(pulumi.StringPtrOutput)
}
// (Bing Search Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) StatisticsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *bool { return v.StatisticsEnabled }).(pulumi.BoolPtrOutput)
}
// (Personalization Only) The storage account connection string.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) StorageAccountConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.StorageAccountConnectionString }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The super user of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) SuperUser() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.SuperUser }).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The website name of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesResponseOutput) WebsiteName() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountApiPropertiesResponse) *string { return v.WebsiteName }).(pulumi.StringPtrOutput)
}
type CognitiveServicesAccountApiPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountApiPropertiesResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountApiPropertiesResponse)(nil)).Elem()
}
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) ToCognitiveServicesAccountApiPropertiesResponsePtrOutput() CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) ToCognitiveServicesAccountApiPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return o
}
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) Elem() CognitiveServicesAccountApiPropertiesResponseOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) CognitiveServicesAccountApiPropertiesResponse {
return *v
}).(CognitiveServicesAccountApiPropertiesResponseOutput)
}
// (Metrics Advisor Only) The Azure AD Client Id (Application Id).
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) AadClientId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.AadClientId
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The Azure AD Tenant Id.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) AadTenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.AadTenantId
}).(pulumi.StringPtrOutput)
}
// (Personalization Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) EventHubConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.EventHubConnectionString
}).(pulumi.StringPtrOutput)
}
// (QnAMaker Only) The runtime endpoint of QnAMaker.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) QnaRuntimeEndpoint() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.QnaRuntimeEndpoint
}).(pulumi.StringPtrOutput)
}
// (Bing Search Only) The flag to enable statistics of Bing Search.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) StatisticsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *bool {
if v == nil {
return nil
}
return v.StatisticsEnabled
}).(pulumi.BoolPtrOutput)
}
// (Personalization Only) The storage account connection string.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) StorageAccountConnectionString() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.StorageAccountConnectionString
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The super user of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) SuperUser() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.SuperUser
}).(pulumi.StringPtrOutput)
}
// (Metrics Advisor Only) The website name of Metrics Advisor.
func (o CognitiveServicesAccountApiPropertiesResponsePtrOutput) WebsiteName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountApiPropertiesResponse) *string {
if v == nil {
return nil
}
return v.WebsiteName
}).(pulumi.StringPtrOutput)
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountProperties struct {
// The api properties for special APIs.
ApiProperties *CognitiveServicesAccountApiProperties `pulumi:"apiProperties"`
// Optional subdomain name used for token-based authentication.
CustomSubDomainName *string `pulumi:"customSubDomainName"`
// The encryption properties for this resource.
Encryption *Encryption `pulumi:"encryption"`
// A collection of rules governing the accessibility from specific network locations.
NetworkAcls *NetworkRuleSet `pulumi:"networkAcls"`
// The private endpoint connection associated with the Cognitive Services account.
PrivateEndpointConnections []PrivateEndpointConnectionType `pulumi:"privateEndpointConnections"`
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
PublicNetworkAccess *string `pulumi:"publicNetworkAccess"`
// The storage accounts for this resource.
UserOwnedStorage []UserOwnedStorage `pulumi:"userOwnedStorage"`
}
// CognitiveServicesAccountPropertiesInput is an input type that accepts CognitiveServicesAccountPropertiesArgs and CognitiveServicesAccountPropertiesOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountPropertiesInput` via:
//
// CognitiveServicesAccountPropertiesArgs{...}
type CognitiveServicesAccountPropertiesInput interface {
pulumi.Input
ToCognitiveServicesAccountPropertiesOutput() CognitiveServicesAccountPropertiesOutput
ToCognitiveServicesAccountPropertiesOutputWithContext(context.Context) CognitiveServicesAccountPropertiesOutput
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountPropertiesArgs struct {
// The api properties for special APIs.
ApiProperties CognitiveServicesAccountApiPropertiesPtrInput `pulumi:"apiProperties"`
// Optional subdomain name used for token-based authentication.
CustomSubDomainName pulumi.StringPtrInput `pulumi:"customSubDomainName"`
// The encryption properties for this resource.
Encryption EncryptionPtrInput `pulumi:"encryption"`
// A collection of rules governing the accessibility from specific network locations.
NetworkAcls NetworkRuleSetPtrInput `pulumi:"networkAcls"`
// The private endpoint connection associated with the Cognitive Services account.
PrivateEndpointConnections PrivateEndpointConnectionTypeArrayInput `pulumi:"privateEndpointConnections"`
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"`
// The storage accounts for this resource.
UserOwnedStorage UserOwnedStorageArrayInput `pulumi:"userOwnedStorage"`
}
func (CognitiveServicesAccountPropertiesArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountProperties)(nil)).Elem()
}
func (i CognitiveServicesAccountPropertiesArgs) ToCognitiveServicesAccountPropertiesOutput() CognitiveServicesAccountPropertiesOutput {
return i.ToCognitiveServicesAccountPropertiesOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountPropertiesArgs) ToCognitiveServicesAccountPropertiesOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesOutput)
}
func (i CognitiveServicesAccountPropertiesArgs) ToCognitiveServicesAccountPropertiesPtrOutput() CognitiveServicesAccountPropertiesPtrOutput {
return i.ToCognitiveServicesAccountPropertiesPtrOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountPropertiesArgs) ToCognitiveServicesAccountPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesOutput).ToCognitiveServicesAccountPropertiesPtrOutputWithContext(ctx)
}
// CognitiveServicesAccountPropertiesPtrInput is an input type that accepts CognitiveServicesAccountPropertiesArgs, CognitiveServicesAccountPropertiesPtr and CognitiveServicesAccountPropertiesPtrOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountPropertiesPtrInput` via:
//
// CognitiveServicesAccountPropertiesArgs{...}
//
// or:
//
// nil
type CognitiveServicesAccountPropertiesPtrInput interface {
pulumi.Input
ToCognitiveServicesAccountPropertiesPtrOutput() CognitiveServicesAccountPropertiesPtrOutput
ToCognitiveServicesAccountPropertiesPtrOutputWithContext(context.Context) CognitiveServicesAccountPropertiesPtrOutput
}
type cognitiveServicesAccountPropertiesPtrType CognitiveServicesAccountPropertiesArgs
func CognitiveServicesAccountPropertiesPtr(v *CognitiveServicesAccountPropertiesArgs) CognitiveServicesAccountPropertiesPtrInput {
return (*cognitiveServicesAccountPropertiesPtrType)(v)
}
func (*cognitiveServicesAccountPropertiesPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountProperties)(nil)).Elem()
}
func (i *cognitiveServicesAccountPropertiesPtrType) ToCognitiveServicesAccountPropertiesPtrOutput() CognitiveServicesAccountPropertiesPtrOutput {
return i.ToCognitiveServicesAccountPropertiesPtrOutputWithContext(context.Background())
}
func (i *cognitiveServicesAccountPropertiesPtrType) ToCognitiveServicesAccountPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesPtrOutput)
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountPropertiesOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountPropertiesOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountProperties)(nil)).Elem()
}
func (o CognitiveServicesAccountPropertiesOutput) ToCognitiveServicesAccountPropertiesOutput() CognitiveServicesAccountPropertiesOutput {
return o
}
func (o CognitiveServicesAccountPropertiesOutput) ToCognitiveServicesAccountPropertiesOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesOutput {
return o
}
func (o CognitiveServicesAccountPropertiesOutput) ToCognitiveServicesAccountPropertiesPtrOutput() CognitiveServicesAccountPropertiesPtrOutput {
return o.ToCognitiveServicesAccountPropertiesPtrOutputWithContext(context.Background())
}
func (o CognitiveServicesAccountPropertiesOutput) ToCognitiveServicesAccountPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *CognitiveServicesAccountProperties {
return &v
}).(CognitiveServicesAccountPropertiesPtrOutput)
}
// The api properties for special APIs.
func (o CognitiveServicesAccountPropertiesOutput) ApiProperties() CognitiveServicesAccountApiPropertiesPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *CognitiveServicesAccountApiProperties {
return v.ApiProperties
}).(CognitiveServicesAccountApiPropertiesPtrOutput)
}
// Optional subdomain name used for token-based authentication.
func (o CognitiveServicesAccountPropertiesOutput) CustomSubDomainName() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *string { return v.CustomSubDomainName }).(pulumi.StringPtrOutput)
}
// The encryption properties for this resource.
func (o CognitiveServicesAccountPropertiesOutput) Encryption() EncryptionPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *Encryption { return v.Encryption }).(EncryptionPtrOutput)
}
// A collection of rules governing the accessibility from specific network locations.
func (o CognitiveServicesAccountPropertiesOutput) NetworkAcls() NetworkRuleSetPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *NetworkRuleSet { return v.NetworkAcls }).(NetworkRuleSetPtrOutput)
}
// The private endpoint connection associated with the Cognitive Services account.
func (o CognitiveServicesAccountPropertiesOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) []PrivateEndpointConnectionType {
return v.PrivateEndpointConnections
}).(PrivateEndpointConnectionTypeArrayOutput)
}
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
func (o CognitiveServicesAccountPropertiesOutput) PublicNetworkAccess() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) *string { return v.PublicNetworkAccess }).(pulumi.StringPtrOutput)
}
// The storage accounts for this resource.
func (o CognitiveServicesAccountPropertiesOutput) UserOwnedStorage() UserOwnedStorageArrayOutput {
return o.ApplyT(func(v CognitiveServicesAccountProperties) []UserOwnedStorage { return v.UserOwnedStorage }).(UserOwnedStorageArrayOutput)
}
type CognitiveServicesAccountPropertiesPtrOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountPropertiesPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountProperties)(nil)).Elem()
}
func (o CognitiveServicesAccountPropertiesPtrOutput) ToCognitiveServicesAccountPropertiesPtrOutput() CognitiveServicesAccountPropertiesPtrOutput {
return o
}
func (o CognitiveServicesAccountPropertiesPtrOutput) ToCognitiveServicesAccountPropertiesPtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesPtrOutput {
return o
}
func (o CognitiveServicesAccountPropertiesPtrOutput) Elem() CognitiveServicesAccountPropertiesOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) CognitiveServicesAccountProperties { return *v }).(CognitiveServicesAccountPropertiesOutput)
}
// The api properties for special APIs.
func (o CognitiveServicesAccountPropertiesPtrOutput) ApiProperties() CognitiveServicesAccountApiPropertiesPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) *CognitiveServicesAccountApiProperties {
if v == nil {
return nil
}
return v.ApiProperties
}).(CognitiveServicesAccountApiPropertiesPtrOutput)
}
// Optional subdomain name used for token-based authentication.
func (o CognitiveServicesAccountPropertiesPtrOutput) CustomSubDomainName() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) *string {
if v == nil {
return nil
}
return v.CustomSubDomainName
}).(pulumi.StringPtrOutput)
}
// The encryption properties for this resource.
func (o CognitiveServicesAccountPropertiesPtrOutput) Encryption() EncryptionPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) *Encryption {
if v == nil {
return nil
}
return v.Encryption
}).(EncryptionPtrOutput)
}
// A collection of rules governing the accessibility from specific network locations.
func (o CognitiveServicesAccountPropertiesPtrOutput) NetworkAcls() NetworkRuleSetPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) *NetworkRuleSet {
if v == nil {
return nil
}
return v.NetworkAcls
}).(NetworkRuleSetPtrOutput)
}
// The private endpoint connection associated with the Cognitive Services account.
func (o CognitiveServicesAccountPropertiesPtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionTypeArrayOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) []PrivateEndpointConnectionType {
if v == nil {
return nil
}
return v.PrivateEndpointConnections
}).(PrivateEndpointConnectionTypeArrayOutput)
}
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
func (o CognitiveServicesAccountPropertiesPtrOutput) PublicNetworkAccess() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) *string {
if v == nil {
return nil
}
return v.PublicNetworkAccess
}).(pulumi.StringPtrOutput)
}
// The storage accounts for this resource.
func (o CognitiveServicesAccountPropertiesPtrOutput) UserOwnedStorage() UserOwnedStorageArrayOutput {
return o.ApplyT(func(v *CognitiveServicesAccountProperties) []UserOwnedStorage {
if v == nil {
return nil
}
return v.UserOwnedStorage
}).(UserOwnedStorageArrayOutput)
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountPropertiesResponse struct {
// The api properties for special APIs.
ApiProperties *CognitiveServicesAccountApiPropertiesResponse `pulumi:"apiProperties"`
// Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
Capabilities []SkuCapabilityResponse `pulumi:"capabilities"`
// Optional subdomain name used for token-based authentication.
CustomSubDomainName *string `pulumi:"customSubDomainName"`
// Gets the date of cognitive services account creation.
DateCreated string `pulumi:"dateCreated"`
// The encryption properties for this resource.
Encryption *EncryptionResponse `pulumi:"encryption"`
// Endpoint of the created account.
Endpoint string `pulumi:"endpoint"`
// The internal identifier.
InternalId string `pulumi:"internalId"`
// A collection of rules governing the accessibility from specific network locations.
NetworkAcls *NetworkRuleSetResponse `pulumi:"networkAcls"`
// The private endpoint connection associated with the Cognitive Services account.
PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"`
// Gets the status of the cognitive services account at the time the operation was called.
ProvisioningState string `pulumi:"provisioningState"`
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
PublicNetworkAccess *string `pulumi:"publicNetworkAccess"`
// The storage accounts for this resource.
UserOwnedStorage []UserOwnedStorageResponse `pulumi:"userOwnedStorage"`
}
// CognitiveServicesAccountPropertiesResponseInput is an input type that accepts CognitiveServicesAccountPropertiesResponseArgs and CognitiveServicesAccountPropertiesResponseOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountPropertiesResponseInput` via:
//
// CognitiveServicesAccountPropertiesResponseArgs{...}
type CognitiveServicesAccountPropertiesResponseInput interface {
pulumi.Input
ToCognitiveServicesAccountPropertiesResponseOutput() CognitiveServicesAccountPropertiesResponseOutput
ToCognitiveServicesAccountPropertiesResponseOutputWithContext(context.Context) CognitiveServicesAccountPropertiesResponseOutput
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountPropertiesResponseArgs struct {
// The api properties for special APIs.
ApiProperties CognitiveServicesAccountApiPropertiesResponsePtrInput `pulumi:"apiProperties"`
// Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
Capabilities SkuCapabilityResponseArrayInput `pulumi:"capabilities"`
// Optional subdomain name used for token-based authentication.
CustomSubDomainName pulumi.StringPtrInput `pulumi:"customSubDomainName"`
// Gets the date of cognitive services account creation.
DateCreated pulumi.StringInput `pulumi:"dateCreated"`
// The encryption properties for this resource.
Encryption EncryptionResponsePtrInput `pulumi:"encryption"`
// Endpoint of the created account.
Endpoint pulumi.StringInput `pulumi:"endpoint"`
// The internal identifier.
InternalId pulumi.StringInput `pulumi:"internalId"`
// A collection of rules governing the accessibility from specific network locations.
NetworkAcls NetworkRuleSetResponsePtrInput `pulumi:"networkAcls"`
// The private endpoint connection associated with the Cognitive Services account.
PrivateEndpointConnections PrivateEndpointConnectionResponseArrayInput `pulumi:"privateEndpointConnections"`
// Gets the status of the cognitive services account at the time the operation was called.
ProvisioningState pulumi.StringInput `pulumi:"provisioningState"`
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
PublicNetworkAccess pulumi.StringPtrInput `pulumi:"publicNetworkAccess"`
// The storage accounts for this resource.
UserOwnedStorage UserOwnedStorageResponseArrayInput `pulumi:"userOwnedStorage"`
}
func (CognitiveServicesAccountPropertiesResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountPropertiesResponse)(nil)).Elem()
}
func (i CognitiveServicesAccountPropertiesResponseArgs) ToCognitiveServicesAccountPropertiesResponseOutput() CognitiveServicesAccountPropertiesResponseOutput {
return i.ToCognitiveServicesAccountPropertiesResponseOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountPropertiesResponseArgs) ToCognitiveServicesAccountPropertiesResponseOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesResponseOutput)
}
func (i CognitiveServicesAccountPropertiesResponseArgs) ToCognitiveServicesAccountPropertiesResponsePtrOutput() CognitiveServicesAccountPropertiesResponsePtrOutput {
return i.ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(context.Background())
}
func (i CognitiveServicesAccountPropertiesResponseArgs) ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesResponseOutput).ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(ctx)
}
// CognitiveServicesAccountPropertiesResponsePtrInput is an input type that accepts CognitiveServicesAccountPropertiesResponseArgs, CognitiveServicesAccountPropertiesResponsePtr and CognitiveServicesAccountPropertiesResponsePtrOutput values.
// You can construct a concrete instance of `CognitiveServicesAccountPropertiesResponsePtrInput` via:
//
// CognitiveServicesAccountPropertiesResponseArgs{...}
//
// or:
//
// nil
type CognitiveServicesAccountPropertiesResponsePtrInput interface {
pulumi.Input
ToCognitiveServicesAccountPropertiesResponsePtrOutput() CognitiveServicesAccountPropertiesResponsePtrOutput
ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(context.Context) CognitiveServicesAccountPropertiesResponsePtrOutput
}
type cognitiveServicesAccountPropertiesResponsePtrType CognitiveServicesAccountPropertiesResponseArgs
func CognitiveServicesAccountPropertiesResponsePtr(v *CognitiveServicesAccountPropertiesResponseArgs) CognitiveServicesAccountPropertiesResponsePtrInput {
return (*cognitiveServicesAccountPropertiesResponsePtrType)(v)
}
func (*cognitiveServicesAccountPropertiesResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CognitiveServicesAccountPropertiesResponse)(nil)).Elem()
}
func (i *cognitiveServicesAccountPropertiesResponsePtrType) ToCognitiveServicesAccountPropertiesResponsePtrOutput() CognitiveServicesAccountPropertiesResponsePtrOutput {
return i.ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(context.Background())
}
func (i *cognitiveServicesAccountPropertiesResponsePtrType) ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CognitiveServicesAccountPropertiesResponsePtrOutput)
}
// Properties of Cognitive Services account.
type CognitiveServicesAccountPropertiesResponseOutput struct{ *pulumi.OutputState }
func (CognitiveServicesAccountPropertiesResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CognitiveServicesAccountPropertiesResponse)(nil)).Elem()
}
func (o CognitiveServicesAccountPropertiesResponseOutput) ToCognitiveServicesAccountPropertiesResponseOutput() CognitiveServicesAccountPropertiesResponseOutput {
return o
}
func (o CognitiveServicesAccountPropertiesResponseOutput) ToCognitiveServicesAccountPropertiesResponseOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesResponseOutput {
return o
}
func (o CognitiveServicesAccountPropertiesResponseOutput) ToCognitiveServicesAccountPropertiesResponsePtrOutput() CognitiveServicesAccountPropertiesResponsePtrOutput {
return o.ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(context.Background())
}
func (o CognitiveServicesAccountPropertiesResponseOutput) ToCognitiveServicesAccountPropertiesResponsePtrOutputWithContext(ctx context.Context) CognitiveServicesAccountPropertiesResponsePtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) *CognitiveServicesAccountPropertiesResponse {
return &v
}).(CognitiveServicesAccountPropertiesResponsePtrOutput)
}
// The api properties for special APIs.
func (o CognitiveServicesAccountPropertiesResponseOutput) ApiProperties() CognitiveServicesAccountApiPropertiesResponsePtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) *CognitiveServicesAccountApiPropertiesResponse {
return v.ApiProperties
}).(CognitiveServicesAccountApiPropertiesResponsePtrOutput)
}
// Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
func (o CognitiveServicesAccountPropertiesResponseOutput) Capabilities() SkuCapabilityResponseArrayOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) []SkuCapabilityResponse { return v.Capabilities }).(SkuCapabilityResponseArrayOutput)
}
// Optional subdomain name used for token-based authentication.
func (o CognitiveServicesAccountPropertiesResponseOutput) CustomSubDomainName() pulumi.StringPtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) *string { return v.CustomSubDomainName }).(pulumi.StringPtrOutput)
}
// Gets the date of cognitive services account creation.
func (o CognitiveServicesAccountPropertiesResponseOutput) DateCreated() pulumi.StringOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) string { return v.DateCreated }).(pulumi.StringOutput)
}
// The encryption properties for this resource.
func (o CognitiveServicesAccountPropertiesResponseOutput) Encryption() EncryptionResponsePtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) *EncryptionResponse { return v.Encryption }).(EncryptionResponsePtrOutput)
}
// Endpoint of the created account.
func (o CognitiveServicesAccountPropertiesResponseOutput) Endpoint() pulumi.StringOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) string { return v.Endpoint }).(pulumi.StringOutput)
}
// The internal identifier.
func (o CognitiveServicesAccountPropertiesResponseOutput) InternalId() pulumi.StringOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) string { return v.InternalId }).(pulumi.StringOutput)
}
// A collection of rules governing the accessibility from specific network locations.
func (o CognitiveServicesAccountPropertiesResponseOutput) NetworkAcls() NetworkRuleSetResponsePtrOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) *NetworkRuleSetResponse { return v.NetworkAcls }).(NetworkRuleSetResponsePtrOutput)
}
// The private endpoint connection associated with the Cognitive Services account.
func (o CognitiveServicesAccountPropertiesResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) []PrivateEndpointConnectionResponse {
return v.PrivateEndpointConnections
}).(PrivateEndpointConnectionResponseArrayOutput)
}
// Gets the status of the cognitive services account at the time the operation was called.
func (o CognitiveServicesAccountPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
return o.ApplyT(func(v CognitiveServicesAccountPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'