/
pulumiTypes.go
1140 lines (928 loc) · 47.5 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
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package signalr
import (
"context"
"reflect"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
var _ = internal.GetEnvOrDefault
type ServiceCor struct {
// A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
AllowedOrigins []string `pulumi:"allowedOrigins"`
}
// ServiceCorInput is an input type that accepts ServiceCorArgs and ServiceCorOutput values.
// You can construct a concrete instance of `ServiceCorInput` via:
//
// ServiceCorArgs{...}
type ServiceCorInput interface {
pulumi.Input
ToServiceCorOutput() ServiceCorOutput
ToServiceCorOutputWithContext(context.Context) ServiceCorOutput
}
type ServiceCorArgs struct {
// A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
}
func (ServiceCorArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceCor)(nil)).Elem()
}
func (i ServiceCorArgs) ToServiceCorOutput() ServiceCorOutput {
return i.ToServiceCorOutputWithContext(context.Background())
}
func (i ServiceCorArgs) ToServiceCorOutputWithContext(ctx context.Context) ServiceCorOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceCorOutput)
}
// ServiceCorArrayInput is an input type that accepts ServiceCorArray and ServiceCorArrayOutput values.
// You can construct a concrete instance of `ServiceCorArrayInput` via:
//
// ServiceCorArray{ ServiceCorArgs{...} }
type ServiceCorArrayInput interface {
pulumi.Input
ToServiceCorArrayOutput() ServiceCorArrayOutput
ToServiceCorArrayOutputWithContext(context.Context) ServiceCorArrayOutput
}
type ServiceCorArray []ServiceCorInput
func (ServiceCorArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ServiceCor)(nil)).Elem()
}
func (i ServiceCorArray) ToServiceCorArrayOutput() ServiceCorArrayOutput {
return i.ToServiceCorArrayOutputWithContext(context.Background())
}
func (i ServiceCorArray) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceCorArrayOutput)
}
type ServiceCorOutput struct{ *pulumi.OutputState }
func (ServiceCorOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceCor)(nil)).Elem()
}
func (o ServiceCorOutput) ToServiceCorOutput() ServiceCorOutput {
return o
}
func (o ServiceCorOutput) ToServiceCorOutputWithContext(ctx context.Context) ServiceCorOutput {
return o
}
// A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
func (o ServiceCorOutput) AllowedOrigins() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceCor) []string { return v.AllowedOrigins }).(pulumi.StringArrayOutput)
}
type ServiceCorArrayOutput struct{ *pulumi.OutputState }
func (ServiceCorArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ServiceCor)(nil)).Elem()
}
func (o ServiceCorArrayOutput) ToServiceCorArrayOutput() ServiceCorArrayOutput {
return o
}
func (o ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput {
return o
}
func (o ServiceCorArrayOutput) Index(i pulumi.IntInput) ServiceCorOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceCor {
return vs[0].([]ServiceCor)[vs[1].(int)]
}).(ServiceCorOutput)
}
type ServiceIdentity struct {
// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
//
// > **NOTE:** This is required when `type` is set to `UserAssigned`
IdentityIds []string `pulumi:"identityIds"`
PrincipalId *string `pulumi:"principalId"`
TenantId *string `pulumi:"tenantId"`
// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
Type string `pulumi:"type"`
}
// ServiceIdentityInput is an input type that accepts ServiceIdentityArgs and ServiceIdentityOutput values.
// You can construct a concrete instance of `ServiceIdentityInput` via:
//
// ServiceIdentityArgs{...}
type ServiceIdentityInput interface {
pulumi.Input
ToServiceIdentityOutput() ServiceIdentityOutput
ToServiceIdentityOutputWithContext(context.Context) ServiceIdentityOutput
}
type ServiceIdentityArgs struct {
// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
//
// > **NOTE:** This is required when `type` is set to `UserAssigned`
IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
Type pulumi.StringInput `pulumi:"type"`
}
func (ServiceIdentityArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceIdentity)(nil)).Elem()
}
func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput {
return i.ToServiceIdentityOutputWithContext(context.Background())
}
func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceIdentityOutput)
}
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput {
return i.ToServiceIdentityPtrOutputWithContext(context.Background())
}
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceIdentityOutput).ToServiceIdentityPtrOutputWithContext(ctx)
}
// ServiceIdentityPtrInput is an input type that accepts ServiceIdentityArgs, ServiceIdentityPtr and ServiceIdentityPtrOutput values.
// You can construct a concrete instance of `ServiceIdentityPtrInput` via:
//
// ServiceIdentityArgs{...}
//
// or:
//
// nil
type ServiceIdentityPtrInput interface {
pulumi.Input
ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
ToServiceIdentityPtrOutputWithContext(context.Context) ServiceIdentityPtrOutput
}
type serviceIdentityPtrType ServiceIdentityArgs
func ServiceIdentityPtr(v *ServiceIdentityArgs) ServiceIdentityPtrInput {
return (*serviceIdentityPtrType)(v)
}
func (*serviceIdentityPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceIdentity)(nil)).Elem()
}
func (i *serviceIdentityPtrType) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput {
return i.ToServiceIdentityPtrOutputWithContext(context.Background())
}
func (i *serviceIdentityPtrType) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceIdentityPtrOutput)
}
type ServiceIdentityOutput struct{ *pulumi.OutputState }
func (ServiceIdentityOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceIdentity)(nil)).Elem()
}
func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput {
return o
}
func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput {
return o
}
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput {
return o.ToServiceIdentityPtrOutputWithContext(context.Background())
}
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceIdentity) *ServiceIdentity {
return &v
}).(ServiceIdentityPtrOutput)
}
// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
//
// > **NOTE:** This is required when `type` is set to `UserAssigned`
func (o ServiceIdentityOutput) IdentityIds() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceIdentity) []string { return v.IdentityIds }).(pulumi.StringArrayOutput)
}
func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceIdentity) *string { return v.PrincipalId }).(pulumi.StringPtrOutput)
}
func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v ServiceIdentity) *string { return v.TenantId }).(pulumi.StringPtrOutput)
}
// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
func (o ServiceIdentityOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v ServiceIdentity) string { return v.Type }).(pulumi.StringOutput)
}
type ServiceIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServiceIdentityPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceIdentity)(nil)).Elem()
}
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput {
return o
}
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput {
return o
}
func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput {
return o.ApplyT(func(v *ServiceIdentity) ServiceIdentity {
if v != nil {
return *v
}
var ret ServiceIdentity
return ret
}).(ServiceIdentityOutput)
}
// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
//
// > **NOTE:** This is required when `type` is set to `UserAssigned`
func (o ServiceIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput {
return o.ApplyT(func(v *ServiceIdentity) []string {
if v == nil {
return nil
}
return v.IdentityIds
}).(pulumi.StringArrayOutput)
}
func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceIdentity) *string {
if v == nil {
return nil
}
return v.PrincipalId
}).(pulumi.StringPtrOutput)
}
func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceIdentity) *string {
if v == nil {
return nil
}
return v.TenantId
}).(pulumi.StringPtrOutput)
}
// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceIdentity) *string {
if v == nil {
return nil
}
return &v.Type
}).(pulumi.StringPtrOutput)
}
type ServiceLiveTrace struct {
// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
ConnectivityLogsEnabled *bool `pulumi:"connectivityLogsEnabled"`
// Whether the live trace is enabled? Defaults to `true`.
Enabled *bool `pulumi:"enabled"`
// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
HttpRequestLogsEnabled *bool `pulumi:"httpRequestLogsEnabled"`
// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
MessagingLogsEnabled *bool `pulumi:"messagingLogsEnabled"`
}
// ServiceLiveTraceInput is an input type that accepts ServiceLiveTraceArgs and ServiceLiveTraceOutput values.
// You can construct a concrete instance of `ServiceLiveTraceInput` via:
//
// ServiceLiveTraceArgs{...}
type ServiceLiveTraceInput interface {
pulumi.Input
ToServiceLiveTraceOutput() ServiceLiveTraceOutput
ToServiceLiveTraceOutputWithContext(context.Context) ServiceLiveTraceOutput
}
type ServiceLiveTraceArgs struct {
// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
ConnectivityLogsEnabled pulumi.BoolPtrInput `pulumi:"connectivityLogsEnabled"`
// Whether the live trace is enabled? Defaults to `true`.
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
HttpRequestLogsEnabled pulumi.BoolPtrInput `pulumi:"httpRequestLogsEnabled"`
// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
MessagingLogsEnabled pulumi.BoolPtrInput `pulumi:"messagingLogsEnabled"`
}
func (ServiceLiveTraceArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceLiveTrace)(nil)).Elem()
}
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutput() ServiceLiveTraceOutput {
return i.ToServiceLiveTraceOutputWithContext(context.Background())
}
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceLiveTraceOutput)
}
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput {
return i.ToServiceLiveTracePtrOutputWithContext(context.Background())
}
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceLiveTraceOutput).ToServiceLiveTracePtrOutputWithContext(ctx)
}
// ServiceLiveTracePtrInput is an input type that accepts ServiceLiveTraceArgs, ServiceLiveTracePtr and ServiceLiveTracePtrOutput values.
// You can construct a concrete instance of `ServiceLiveTracePtrInput` via:
//
// ServiceLiveTraceArgs{...}
//
// or:
//
// nil
type ServiceLiveTracePtrInput interface {
pulumi.Input
ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
ToServiceLiveTracePtrOutputWithContext(context.Context) ServiceLiveTracePtrOutput
}
type serviceLiveTracePtrType ServiceLiveTraceArgs
func ServiceLiveTracePtr(v *ServiceLiveTraceArgs) ServiceLiveTracePtrInput {
return (*serviceLiveTracePtrType)(v)
}
func (*serviceLiveTracePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceLiveTrace)(nil)).Elem()
}
func (i *serviceLiveTracePtrType) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput {
return i.ToServiceLiveTracePtrOutputWithContext(context.Background())
}
func (i *serviceLiveTracePtrType) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceLiveTracePtrOutput)
}
type ServiceLiveTraceOutput struct{ *pulumi.OutputState }
func (ServiceLiveTraceOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceLiveTrace)(nil)).Elem()
}
func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutput() ServiceLiveTraceOutput {
return o
}
func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput {
return o
}
func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput {
return o.ToServiceLiveTracePtrOutputWithContext(context.Background())
}
func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceLiveTrace) *ServiceLiveTrace {
return &v
}).(ServiceLiveTracePtrOutput)
}
// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
func (o ServiceLiveTraceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ServiceLiveTrace) *bool { return v.ConnectivityLogsEnabled }).(pulumi.BoolPtrOutput)
}
// Whether the live trace is enabled? Defaults to `true`.
func (o ServiceLiveTraceOutput) Enabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ServiceLiveTrace) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
func (o ServiceLiveTraceOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ServiceLiveTrace) *bool { return v.HttpRequestLogsEnabled }).(pulumi.BoolPtrOutput)
}
// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
func (o ServiceLiveTraceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ServiceLiveTrace) *bool { return v.MessagingLogsEnabled }).(pulumi.BoolPtrOutput)
}
type ServiceLiveTracePtrOutput struct{ *pulumi.OutputState }
func (ServiceLiveTracePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceLiveTrace)(nil)).Elem()
}
func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput {
return o
}
func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput {
return o
}
func (o ServiceLiveTracePtrOutput) Elem() ServiceLiveTraceOutput {
return o.ApplyT(func(v *ServiceLiveTrace) ServiceLiveTrace {
if v != nil {
return *v
}
var ret ServiceLiveTrace
return ret
}).(ServiceLiveTraceOutput)
}
// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
func (o ServiceLiveTracePtrOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ServiceLiveTrace) *bool {
if v == nil {
return nil
}
return v.ConnectivityLogsEnabled
}).(pulumi.BoolPtrOutput)
}
// Whether the live trace is enabled? Defaults to `true`.
func (o ServiceLiveTracePtrOutput) Enabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ServiceLiveTrace) *bool {
if v == nil {
return nil
}
return v.Enabled
}).(pulumi.BoolPtrOutput)
}
// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
func (o ServiceLiveTracePtrOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ServiceLiveTrace) *bool {
if v == nil {
return nil
}
return v.HttpRequestLogsEnabled
}).(pulumi.BoolPtrOutput)
}
// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
func (o ServiceLiveTracePtrOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ServiceLiveTrace) *bool {
if v == nil {
return nil
}
return v.MessagingLogsEnabled
}).(pulumi.BoolPtrOutput)
}
type ServiceNetworkAclPrivateEndpoint struct {
// The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
DeniedRequestTypes []string `pulumi:"deniedRequestTypes"`
// The ID of the Private Endpoint which is based on the SignalR service.
Id string `pulumi:"id"`
}
// ServiceNetworkAclPrivateEndpointInput is an input type that accepts ServiceNetworkAclPrivateEndpointArgs and ServiceNetworkAclPrivateEndpointOutput values.
// You can construct a concrete instance of `ServiceNetworkAclPrivateEndpointInput` via:
//
// ServiceNetworkAclPrivateEndpointArgs{...}
type ServiceNetworkAclPrivateEndpointInput interface {
pulumi.Input
ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput
ToServiceNetworkAclPrivateEndpointOutputWithContext(context.Context) ServiceNetworkAclPrivateEndpointOutput
}
type ServiceNetworkAclPrivateEndpointArgs struct {
// The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"`
// The ID of the Private Endpoint which is based on the SignalR service.
Id pulumi.StringInput `pulumi:"id"`
}
func (ServiceNetworkAclPrivateEndpointArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceNetworkAclPrivateEndpoint)(nil)).Elem()
}
func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput {
return i.ToServiceNetworkAclPrivateEndpointOutputWithContext(context.Background())
}
func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkAclPrivateEndpointOutput)
}
// ServiceNetworkAclPrivateEndpointArrayInput is an input type that accepts ServiceNetworkAclPrivateEndpointArray and ServiceNetworkAclPrivateEndpointArrayOutput values.
// You can construct a concrete instance of `ServiceNetworkAclPrivateEndpointArrayInput` via:
//
// ServiceNetworkAclPrivateEndpointArray{ ServiceNetworkAclPrivateEndpointArgs{...} }
type ServiceNetworkAclPrivateEndpointArrayInput interface {
pulumi.Input
ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput
ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(context.Context) ServiceNetworkAclPrivateEndpointArrayOutput
}
type ServiceNetworkAclPrivateEndpointArray []ServiceNetworkAclPrivateEndpointInput
func (ServiceNetworkAclPrivateEndpointArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ServiceNetworkAclPrivateEndpoint)(nil)).Elem()
}
func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput {
return i.ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(context.Background())
}
func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkAclPrivateEndpointArrayOutput)
}
type ServiceNetworkAclPrivateEndpointOutput struct{ *pulumi.OutputState }
func (ServiceNetworkAclPrivateEndpointOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceNetworkAclPrivateEndpoint)(nil)).Elem()
}
func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput {
return o
}
func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput {
return o
}
// The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
func (o ServiceNetworkAclPrivateEndpointOutput) AllowedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceNetworkAclPrivateEndpoint) []string { return v.AllowedRequestTypes }).(pulumi.StringArrayOutput)
}
// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
func (o ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceNetworkAclPrivateEndpoint) []string { return v.DeniedRequestTypes }).(pulumi.StringArrayOutput)
}
// The ID of the Private Endpoint which is based on the SignalR service.
func (o ServiceNetworkAclPrivateEndpointOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v ServiceNetworkAclPrivateEndpoint) string { return v.Id }).(pulumi.StringOutput)
}
type ServiceNetworkAclPrivateEndpointArrayOutput struct{ *pulumi.OutputState }
func (ServiceNetworkAclPrivateEndpointArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ServiceNetworkAclPrivateEndpoint)(nil)).Elem()
}
func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput {
return o
}
func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput {
return o
}
func (o ServiceNetworkAclPrivateEndpointArrayOutput) Index(i pulumi.IntInput) ServiceNetworkAclPrivateEndpointOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceNetworkAclPrivateEndpoint {
return vs[0].([]ServiceNetworkAclPrivateEndpoint)[vs[1].(int)]
}).(ServiceNetworkAclPrivateEndpointOutput)
}
type ServiceNetworkAclPublicNetwork struct {
// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
DeniedRequestTypes []string `pulumi:"deniedRequestTypes"`
}
// ServiceNetworkAclPublicNetworkInput is an input type that accepts ServiceNetworkAclPublicNetworkArgs and ServiceNetworkAclPublicNetworkOutput values.
// You can construct a concrete instance of `ServiceNetworkAclPublicNetworkInput` via:
//
// ServiceNetworkAclPublicNetworkArgs{...}
type ServiceNetworkAclPublicNetworkInput interface {
pulumi.Input
ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput
ToServiceNetworkAclPublicNetworkOutputWithContext(context.Context) ServiceNetworkAclPublicNetworkOutput
}
type ServiceNetworkAclPublicNetworkArgs struct {
// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"`
}
func (ServiceNetworkAclPublicNetworkArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceNetworkAclPublicNetwork)(nil)).Elem()
}
func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput {
return i.ToServiceNetworkAclPublicNetworkOutputWithContext(context.Background())
}
func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkAclPublicNetworkOutput)
}
func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput {
return i.ToServiceNetworkAclPublicNetworkPtrOutputWithContext(context.Background())
}
func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkAclPublicNetworkOutput).ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx)
}
// ServiceNetworkAclPublicNetworkPtrInput is an input type that accepts ServiceNetworkAclPublicNetworkArgs, ServiceNetworkAclPublicNetworkPtr and ServiceNetworkAclPublicNetworkPtrOutput values.
// You can construct a concrete instance of `ServiceNetworkAclPublicNetworkPtrInput` via:
//
// ServiceNetworkAclPublicNetworkArgs{...}
//
// or:
//
// nil
type ServiceNetworkAclPublicNetworkPtrInput interface {
pulumi.Input
ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
ToServiceNetworkAclPublicNetworkPtrOutputWithContext(context.Context) ServiceNetworkAclPublicNetworkPtrOutput
}
type serviceNetworkAclPublicNetworkPtrType ServiceNetworkAclPublicNetworkArgs
func ServiceNetworkAclPublicNetworkPtr(v *ServiceNetworkAclPublicNetworkArgs) ServiceNetworkAclPublicNetworkPtrInput {
return (*serviceNetworkAclPublicNetworkPtrType)(v)
}
func (*serviceNetworkAclPublicNetworkPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceNetworkAclPublicNetwork)(nil)).Elem()
}
func (i *serviceNetworkAclPublicNetworkPtrType) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput {
return i.ToServiceNetworkAclPublicNetworkPtrOutputWithContext(context.Background())
}
func (i *serviceNetworkAclPublicNetworkPtrType) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkAclPublicNetworkPtrOutput)
}
type ServiceNetworkAclPublicNetworkOutput struct{ *pulumi.OutputState }
func (ServiceNetworkAclPublicNetworkOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceNetworkAclPublicNetwork)(nil)).Elem()
}
func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput {
return o
}
func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput {
return o
}
func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput {
return o.ToServiceNetworkAclPublicNetworkPtrOutputWithContext(context.Background())
}
func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceNetworkAclPublicNetwork) *ServiceNetworkAclPublicNetwork {
return &v
}).(ServiceNetworkAclPublicNetworkPtrOutput)
}
// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
func (o ServiceNetworkAclPublicNetworkOutput) AllowedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceNetworkAclPublicNetwork) []string { return v.AllowedRequestTypes }).(pulumi.StringArrayOutput)
}
// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
func (o ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v ServiceNetworkAclPublicNetwork) []string { return v.DeniedRequestTypes }).(pulumi.StringArrayOutput)
}
type ServiceNetworkAclPublicNetworkPtrOutput struct{ *pulumi.OutputState }
func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceNetworkAclPublicNetwork)(nil)).Elem()
}
func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput {
return o
}
func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput {
return o
}
func (o ServiceNetworkAclPublicNetworkPtrOutput) Elem() ServiceNetworkAclPublicNetworkOutput {
return o.ApplyT(func(v *ServiceNetworkAclPublicNetwork) ServiceNetworkAclPublicNetwork {
if v != nil {
return *v
}
var ret ServiceNetworkAclPublicNetwork
return ret
}).(ServiceNetworkAclPublicNetworkOutput)
}
// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
func (o ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v *ServiceNetworkAclPublicNetwork) []string {
if v == nil {
return nil
}
return v.AllowedRequestTypes
}).(pulumi.StringArrayOutput)
}
// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
//
// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
//
// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
func (o ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes() pulumi.StringArrayOutput {
return o.ApplyT(func(v *ServiceNetworkAclPublicNetwork) []string {
if v == nil {
return nil
}
return v.DeniedRequestTypes
}).(pulumi.StringArrayOutput)
}
type ServiceSku struct {
// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900` and `1000`.
//
// > **NOTE:** The valid capacity range for sku `Free_F1` is `1`, for sku `Premium_P2` is from `100` to `1000`, and from `1` to `100` for sku `Standard_S1` and `Premium_P1`.
Capacity int `pulumi:"capacity"`
// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1`, `Premium_P1` and `Premium_P2`.
Name string `pulumi:"name"`
}
// ServiceSkuInput is an input type that accepts ServiceSkuArgs and ServiceSkuOutput values.
// You can construct a concrete instance of `ServiceSkuInput` via:
//
// ServiceSkuArgs{...}
type ServiceSkuInput interface {
pulumi.Input
ToServiceSkuOutput() ServiceSkuOutput
ToServiceSkuOutputWithContext(context.Context) ServiceSkuOutput
}
type ServiceSkuArgs struct {
// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900` and `1000`.
//
// > **NOTE:** The valid capacity range for sku `Free_F1` is `1`, for sku `Premium_P2` is from `100` to `1000`, and from `1` to `100` for sku `Standard_S1` and `Premium_P1`.
Capacity pulumi.IntInput `pulumi:"capacity"`
// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1`, `Premium_P1` and `Premium_P2`.
Name pulumi.StringInput `pulumi:"name"`
}
func (ServiceSkuArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceSku)(nil)).Elem()
}
func (i ServiceSkuArgs) ToServiceSkuOutput() ServiceSkuOutput {
return i.ToServiceSkuOutputWithContext(context.Background())
}
func (i ServiceSkuArgs) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceSkuOutput)
}
func (i ServiceSkuArgs) ToServiceSkuPtrOutput() ServiceSkuPtrOutput {
return i.ToServiceSkuPtrOutputWithContext(context.Background())
}
func (i ServiceSkuArgs) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceSkuOutput).ToServiceSkuPtrOutputWithContext(ctx)
}
// ServiceSkuPtrInput is an input type that accepts ServiceSkuArgs, ServiceSkuPtr and ServiceSkuPtrOutput values.
// You can construct a concrete instance of `ServiceSkuPtrInput` via:
//
// ServiceSkuArgs{...}
//
// or:
//
// nil
type ServiceSkuPtrInput interface {
pulumi.Input
ToServiceSkuPtrOutput() ServiceSkuPtrOutput
ToServiceSkuPtrOutputWithContext(context.Context) ServiceSkuPtrOutput
}
type serviceSkuPtrType ServiceSkuArgs
func ServiceSkuPtr(v *ServiceSkuArgs) ServiceSkuPtrInput {
return (*serviceSkuPtrType)(v)
}
func (*serviceSkuPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceSku)(nil)).Elem()
}
func (i *serviceSkuPtrType) ToServiceSkuPtrOutput() ServiceSkuPtrOutput {
return i.ToServiceSkuPtrOutputWithContext(context.Background())
}
func (i *serviceSkuPtrType) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ServiceSkuPtrOutput)
}
type ServiceSkuOutput struct{ *pulumi.OutputState }
func (ServiceSkuOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ServiceSku)(nil)).Elem()
}
func (o ServiceSkuOutput) ToServiceSkuOutput() ServiceSkuOutput {
return o
}
func (o ServiceSkuOutput) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput {
return o
}
func (o ServiceSkuOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput {
return o.ToServiceSkuPtrOutputWithContext(context.Background())
}
func (o ServiceSkuOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceSku) *ServiceSku {
return &v
}).(ServiceSkuPtrOutput)
}
// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900` and `1000`.
//
// > **NOTE:** The valid capacity range for sku `Free_F1` is `1`, for sku `Premium_P2` is from `100` to `1000`, and from `1` to `100` for sku `Standard_S1` and `Premium_P1`.
func (o ServiceSkuOutput) Capacity() pulumi.IntOutput {
return o.ApplyT(func(v ServiceSku) int { return v.Capacity }).(pulumi.IntOutput)
}
// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1`, `Premium_P1` and `Premium_P2`.
func (o ServiceSkuOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ServiceSku) string { return v.Name }).(pulumi.StringOutput)
}
type ServiceSkuPtrOutput struct{ *pulumi.OutputState }
func (ServiceSkuPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ServiceSku)(nil)).Elem()
}
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput {
return o
}
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput {
return o
}
func (o ServiceSkuPtrOutput) Elem() ServiceSkuOutput {
return o.ApplyT(func(v *ServiceSku) ServiceSku {
if v != nil {
return *v
}
var ret ServiceSku
return ret
}).(ServiceSkuOutput)
}
// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900` and `1000`.
//
// > **NOTE:** The valid capacity range for sku `Free_F1` is `1`, for sku `Premium_P2` is from `100` to `1000`, and from `1` to `100` for sku `Standard_S1` and `Premium_P1`.
func (o ServiceSkuPtrOutput) Capacity() pulumi.IntPtrOutput {
return o.ApplyT(func(v *ServiceSku) *int {
if v == nil {
return nil
}
return &v.Capacity
}).(pulumi.IntPtrOutput)
}
// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1`, `Premium_P1` and `Premium_P2`.
func (o ServiceSkuPtrOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ServiceSku) *string {
if v == nil {
return nil
}
return &v.Name
}).(pulumi.StringPtrOutput)
}
type ServiceUpstreamEndpoint struct {
// The categories to match on, or `*` for all.
CategoryPatterns []string `pulumi:"categoryPatterns"`
// The events to match on, or `*` for all.
EventPatterns []string `pulumi:"eventPatterns"`
// The hubs to match on, or `*` for all.
HubPatterns []string `pulumi:"hubPatterns"`
// The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`.
UrlTemplate string `pulumi:"urlTemplate"`
// Specifies the Managed Identity IDs to be assigned to this signalR upstream setting by using resource uuid as both system assigned and user assigned identity is supported.
UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}
// ServiceUpstreamEndpointInput is an input type that accepts ServiceUpstreamEndpointArgs and ServiceUpstreamEndpointOutput values.
// You can construct a concrete instance of `ServiceUpstreamEndpointInput` via:
//
// ServiceUpstreamEndpointArgs{...}
type ServiceUpstreamEndpointInput interface {
pulumi.Input
ToServiceUpstreamEndpointOutput() ServiceUpstreamEndpointOutput
ToServiceUpstreamEndpointOutputWithContext(context.Context) ServiceUpstreamEndpointOutput
}