This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pulumiTypes.go
1157 lines (921 loc) · 55.4 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 parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account.
type AddDataLakeStoreWithAccountParameters struct {
// The unique name of the Data Lake Store account to add.
Name string `pulumi:"name"`
// The optional suffix for the Data Lake Store account.
Suffix *string `pulumi:"suffix"`
}
// AddDataLakeStoreWithAccountParametersInput is an input type that accepts AddDataLakeStoreWithAccountParametersArgs and AddDataLakeStoreWithAccountParametersOutput values.
// You can construct a concrete instance of `AddDataLakeStoreWithAccountParametersInput` via:
//
// AddDataLakeStoreWithAccountParametersArgs{...}
type AddDataLakeStoreWithAccountParametersInput interface {
pulumi.Input
ToAddDataLakeStoreWithAccountParametersOutput() AddDataLakeStoreWithAccountParametersOutput
ToAddDataLakeStoreWithAccountParametersOutputWithContext(context.Context) AddDataLakeStoreWithAccountParametersOutput
}
// The parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account.
type AddDataLakeStoreWithAccountParametersArgs struct {
// The unique name of the Data Lake Store account to add.
Name pulumi.StringInput `pulumi:"name"`
// The optional suffix for the Data Lake Store account.
Suffix pulumi.StringPtrInput `pulumi:"suffix"`
}
func (AddDataLakeStoreWithAccountParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AddDataLakeStoreWithAccountParameters)(nil)).Elem()
}
func (i AddDataLakeStoreWithAccountParametersArgs) ToAddDataLakeStoreWithAccountParametersOutput() AddDataLakeStoreWithAccountParametersOutput {
return i.ToAddDataLakeStoreWithAccountParametersOutputWithContext(context.Background())
}
func (i AddDataLakeStoreWithAccountParametersArgs) ToAddDataLakeStoreWithAccountParametersOutputWithContext(ctx context.Context) AddDataLakeStoreWithAccountParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddDataLakeStoreWithAccountParametersOutput)
}
// AddDataLakeStoreWithAccountParametersArrayInput is an input type that accepts AddDataLakeStoreWithAccountParametersArray and AddDataLakeStoreWithAccountParametersArrayOutput values.
// You can construct a concrete instance of `AddDataLakeStoreWithAccountParametersArrayInput` via:
//
// AddDataLakeStoreWithAccountParametersArray{ AddDataLakeStoreWithAccountParametersArgs{...} }
type AddDataLakeStoreWithAccountParametersArrayInput interface {
pulumi.Input
ToAddDataLakeStoreWithAccountParametersArrayOutput() AddDataLakeStoreWithAccountParametersArrayOutput
ToAddDataLakeStoreWithAccountParametersArrayOutputWithContext(context.Context) AddDataLakeStoreWithAccountParametersArrayOutput
}
type AddDataLakeStoreWithAccountParametersArray []AddDataLakeStoreWithAccountParametersInput
func (AddDataLakeStoreWithAccountParametersArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AddDataLakeStoreWithAccountParameters)(nil)).Elem()
}
func (i AddDataLakeStoreWithAccountParametersArray) ToAddDataLakeStoreWithAccountParametersArrayOutput() AddDataLakeStoreWithAccountParametersArrayOutput {
return i.ToAddDataLakeStoreWithAccountParametersArrayOutputWithContext(context.Background())
}
func (i AddDataLakeStoreWithAccountParametersArray) ToAddDataLakeStoreWithAccountParametersArrayOutputWithContext(ctx context.Context) AddDataLakeStoreWithAccountParametersArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddDataLakeStoreWithAccountParametersArrayOutput)
}
// The parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account.
type AddDataLakeStoreWithAccountParametersOutput struct{ *pulumi.OutputState }
func (AddDataLakeStoreWithAccountParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AddDataLakeStoreWithAccountParameters)(nil)).Elem()
}
func (o AddDataLakeStoreWithAccountParametersOutput) ToAddDataLakeStoreWithAccountParametersOutput() AddDataLakeStoreWithAccountParametersOutput {
return o
}
func (o AddDataLakeStoreWithAccountParametersOutput) ToAddDataLakeStoreWithAccountParametersOutputWithContext(ctx context.Context) AddDataLakeStoreWithAccountParametersOutput {
return o
}
// The unique name of the Data Lake Store account to add.
func (o AddDataLakeStoreWithAccountParametersOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AddDataLakeStoreWithAccountParameters) string { return v.Name }).(pulumi.StringOutput)
}
// The optional suffix for the Data Lake Store account.
func (o AddDataLakeStoreWithAccountParametersOutput) Suffix() pulumi.StringPtrOutput {
return o.ApplyT(func(v AddDataLakeStoreWithAccountParameters) *string { return v.Suffix }).(pulumi.StringPtrOutput)
}
type AddDataLakeStoreWithAccountParametersArrayOutput struct{ *pulumi.OutputState }
func (AddDataLakeStoreWithAccountParametersArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AddDataLakeStoreWithAccountParameters)(nil)).Elem()
}
func (o AddDataLakeStoreWithAccountParametersArrayOutput) ToAddDataLakeStoreWithAccountParametersArrayOutput() AddDataLakeStoreWithAccountParametersArrayOutput {
return o
}
func (o AddDataLakeStoreWithAccountParametersArrayOutput) ToAddDataLakeStoreWithAccountParametersArrayOutputWithContext(ctx context.Context) AddDataLakeStoreWithAccountParametersArrayOutput {
return o
}
func (o AddDataLakeStoreWithAccountParametersArrayOutput) Index(i pulumi.IntInput) AddDataLakeStoreWithAccountParametersOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AddDataLakeStoreWithAccountParameters {
return vs[0].([]AddDataLakeStoreWithAccountParameters)[vs[1].(int)]
}).(AddDataLakeStoreWithAccountParametersOutput)
}
// The parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.
type AddStorageAccountWithAccountParameters struct {
// The access key associated with this Azure Storage account that will be used to connect to it.
AccessKey string `pulumi:"accessKey"`
// The unique name of the Azure Storage account to add.
Name string `pulumi:"name"`
// The optional suffix for the storage account.
Suffix *string `pulumi:"suffix"`
}
// AddStorageAccountWithAccountParametersInput is an input type that accepts AddStorageAccountWithAccountParametersArgs and AddStorageAccountWithAccountParametersOutput values.
// You can construct a concrete instance of `AddStorageAccountWithAccountParametersInput` via:
//
// AddStorageAccountWithAccountParametersArgs{...}
type AddStorageAccountWithAccountParametersInput interface {
pulumi.Input
ToAddStorageAccountWithAccountParametersOutput() AddStorageAccountWithAccountParametersOutput
ToAddStorageAccountWithAccountParametersOutputWithContext(context.Context) AddStorageAccountWithAccountParametersOutput
}
// The parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.
type AddStorageAccountWithAccountParametersArgs struct {
// The access key associated with this Azure Storage account that will be used to connect to it.
AccessKey pulumi.StringInput `pulumi:"accessKey"`
// The unique name of the Azure Storage account to add.
Name pulumi.StringInput `pulumi:"name"`
// The optional suffix for the storage account.
Suffix pulumi.StringPtrInput `pulumi:"suffix"`
}
func (AddStorageAccountWithAccountParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*AddStorageAccountWithAccountParameters)(nil)).Elem()
}
func (i AddStorageAccountWithAccountParametersArgs) ToAddStorageAccountWithAccountParametersOutput() AddStorageAccountWithAccountParametersOutput {
return i.ToAddStorageAccountWithAccountParametersOutputWithContext(context.Background())
}
func (i AddStorageAccountWithAccountParametersArgs) ToAddStorageAccountWithAccountParametersOutputWithContext(ctx context.Context) AddStorageAccountWithAccountParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddStorageAccountWithAccountParametersOutput)
}
// AddStorageAccountWithAccountParametersArrayInput is an input type that accepts AddStorageAccountWithAccountParametersArray and AddStorageAccountWithAccountParametersArrayOutput values.
// You can construct a concrete instance of `AddStorageAccountWithAccountParametersArrayInput` via:
//
// AddStorageAccountWithAccountParametersArray{ AddStorageAccountWithAccountParametersArgs{...} }
type AddStorageAccountWithAccountParametersArrayInput interface {
pulumi.Input
ToAddStorageAccountWithAccountParametersArrayOutput() AddStorageAccountWithAccountParametersArrayOutput
ToAddStorageAccountWithAccountParametersArrayOutputWithContext(context.Context) AddStorageAccountWithAccountParametersArrayOutput
}
type AddStorageAccountWithAccountParametersArray []AddStorageAccountWithAccountParametersInput
func (AddStorageAccountWithAccountParametersArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]AddStorageAccountWithAccountParameters)(nil)).Elem()
}
func (i AddStorageAccountWithAccountParametersArray) ToAddStorageAccountWithAccountParametersArrayOutput() AddStorageAccountWithAccountParametersArrayOutput {
return i.ToAddStorageAccountWithAccountParametersArrayOutputWithContext(context.Background())
}
func (i AddStorageAccountWithAccountParametersArray) ToAddStorageAccountWithAccountParametersArrayOutputWithContext(ctx context.Context) AddStorageAccountWithAccountParametersArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(AddStorageAccountWithAccountParametersArrayOutput)
}
// The parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.
type AddStorageAccountWithAccountParametersOutput struct{ *pulumi.OutputState }
func (AddStorageAccountWithAccountParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*AddStorageAccountWithAccountParameters)(nil)).Elem()
}
func (o AddStorageAccountWithAccountParametersOutput) ToAddStorageAccountWithAccountParametersOutput() AddStorageAccountWithAccountParametersOutput {
return o
}
func (o AddStorageAccountWithAccountParametersOutput) ToAddStorageAccountWithAccountParametersOutputWithContext(ctx context.Context) AddStorageAccountWithAccountParametersOutput {
return o
}
// The access key associated with this Azure Storage account that will be used to connect to it.
func (o AddStorageAccountWithAccountParametersOutput) AccessKey() pulumi.StringOutput {
return o.ApplyT(func(v AddStorageAccountWithAccountParameters) string { return v.AccessKey }).(pulumi.StringOutput)
}
// The unique name of the Azure Storage account to add.
func (o AddStorageAccountWithAccountParametersOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v AddStorageAccountWithAccountParameters) string { return v.Name }).(pulumi.StringOutput)
}
// The optional suffix for the storage account.
func (o AddStorageAccountWithAccountParametersOutput) Suffix() pulumi.StringPtrOutput {
return o.ApplyT(func(v AddStorageAccountWithAccountParameters) *string { return v.Suffix }).(pulumi.StringPtrOutput)
}
type AddStorageAccountWithAccountParametersArrayOutput struct{ *pulumi.OutputState }
func (AddStorageAccountWithAccountParametersArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]AddStorageAccountWithAccountParameters)(nil)).Elem()
}
func (o AddStorageAccountWithAccountParametersArrayOutput) ToAddStorageAccountWithAccountParametersArrayOutput() AddStorageAccountWithAccountParametersArrayOutput {
return o
}
func (o AddStorageAccountWithAccountParametersArrayOutput) ToAddStorageAccountWithAccountParametersArrayOutputWithContext(ctx context.Context) AddStorageAccountWithAccountParametersArrayOutput {
return o
}
func (o AddStorageAccountWithAccountParametersArrayOutput) Index(i pulumi.IntInput) AddStorageAccountWithAccountParametersOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) AddStorageAccountWithAccountParameters {
return vs[0].([]AddStorageAccountWithAccountParameters)[vs[1].(int)]
}).(AddStorageAccountWithAccountParametersOutput)
}
// Data Lake Analytics compute policy information.
type ComputePolicyResponse struct {
// The resource identifier.
Id string `pulumi:"id"`
// The maximum degree of parallelism per job this user can use to submit jobs.
MaxDegreeOfParallelismPerJob int `pulumi:"maxDegreeOfParallelismPerJob"`
// The minimum priority per job this user can use to submit jobs.
MinPriorityPerJob int `pulumi:"minPriorityPerJob"`
// The resource name.
Name string `pulumi:"name"`
// The AAD object identifier for the entity to create a policy for.
ObjectId string `pulumi:"objectId"`
// The type of AAD object the object identifier refers to.
ObjectType string `pulumi:"objectType"`
// The resource type.
Type string `pulumi:"type"`
}
// ComputePolicyResponseInput is an input type that accepts ComputePolicyResponseArgs and ComputePolicyResponseOutput values.
// You can construct a concrete instance of `ComputePolicyResponseInput` via:
//
// ComputePolicyResponseArgs{...}
type ComputePolicyResponseInput interface {
pulumi.Input
ToComputePolicyResponseOutput() ComputePolicyResponseOutput
ToComputePolicyResponseOutputWithContext(context.Context) ComputePolicyResponseOutput
}
// Data Lake Analytics compute policy information.
type ComputePolicyResponseArgs struct {
// The resource identifier.
Id pulumi.StringInput `pulumi:"id"`
// The maximum degree of parallelism per job this user can use to submit jobs.
MaxDegreeOfParallelismPerJob pulumi.IntInput `pulumi:"maxDegreeOfParallelismPerJob"`
// The minimum priority per job this user can use to submit jobs.
MinPriorityPerJob pulumi.IntInput `pulumi:"minPriorityPerJob"`
// The resource name.
Name pulumi.StringInput `pulumi:"name"`
// The AAD object identifier for the entity to create a policy for.
ObjectId pulumi.StringInput `pulumi:"objectId"`
// The type of AAD object the object identifier refers to.
ObjectType pulumi.StringInput `pulumi:"objectType"`
// The resource type.
Type pulumi.StringInput `pulumi:"type"`
}
func (ComputePolicyResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ComputePolicyResponse)(nil)).Elem()
}
func (i ComputePolicyResponseArgs) ToComputePolicyResponseOutput() ComputePolicyResponseOutput {
return i.ToComputePolicyResponseOutputWithContext(context.Background())
}
func (i ComputePolicyResponseArgs) ToComputePolicyResponseOutputWithContext(ctx context.Context) ComputePolicyResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ComputePolicyResponseOutput)
}
// ComputePolicyResponseArrayInput is an input type that accepts ComputePolicyResponseArray and ComputePolicyResponseArrayOutput values.
// You can construct a concrete instance of `ComputePolicyResponseArrayInput` via:
//
// ComputePolicyResponseArray{ ComputePolicyResponseArgs{...} }
type ComputePolicyResponseArrayInput interface {
pulumi.Input
ToComputePolicyResponseArrayOutput() ComputePolicyResponseArrayOutput
ToComputePolicyResponseArrayOutputWithContext(context.Context) ComputePolicyResponseArrayOutput
}
type ComputePolicyResponseArray []ComputePolicyResponseInput
func (ComputePolicyResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]ComputePolicyResponse)(nil)).Elem()
}
func (i ComputePolicyResponseArray) ToComputePolicyResponseArrayOutput() ComputePolicyResponseArrayOutput {
return i.ToComputePolicyResponseArrayOutputWithContext(context.Background())
}
func (i ComputePolicyResponseArray) ToComputePolicyResponseArrayOutputWithContext(ctx context.Context) ComputePolicyResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(ComputePolicyResponseArrayOutput)
}
// Data Lake Analytics compute policy information.
type ComputePolicyResponseOutput struct{ *pulumi.OutputState }
func (ComputePolicyResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ComputePolicyResponse)(nil)).Elem()
}
func (o ComputePolicyResponseOutput) ToComputePolicyResponseOutput() ComputePolicyResponseOutput {
return o
}
func (o ComputePolicyResponseOutput) ToComputePolicyResponseOutputWithContext(ctx context.Context) ComputePolicyResponseOutput {
return o
}
// The resource identifier.
func (o ComputePolicyResponseOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v ComputePolicyResponse) string { return v.Id }).(pulumi.StringOutput)
}
// The maximum degree of parallelism per job this user can use to submit jobs.
func (o ComputePolicyResponseOutput) MaxDegreeOfParallelismPerJob() pulumi.IntOutput {
return o.ApplyT(func(v ComputePolicyResponse) int { return v.MaxDegreeOfParallelismPerJob }).(pulumi.IntOutput)
}
// The minimum priority per job this user can use to submit jobs.
func (o ComputePolicyResponseOutput) MinPriorityPerJob() pulumi.IntOutput {
return o.ApplyT(func(v ComputePolicyResponse) int { return v.MinPriorityPerJob }).(pulumi.IntOutput)
}
// The resource name.
func (o ComputePolicyResponseOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v ComputePolicyResponse) string { return v.Name }).(pulumi.StringOutput)
}
// The AAD object identifier for the entity to create a policy for.
func (o ComputePolicyResponseOutput) ObjectId() pulumi.StringOutput {
return o.ApplyT(func(v ComputePolicyResponse) string { return v.ObjectId }).(pulumi.StringOutput)
}
// The type of AAD object the object identifier refers to.
func (o ComputePolicyResponseOutput) ObjectType() pulumi.StringOutput {
return o.ApplyT(func(v ComputePolicyResponse) string { return v.ObjectType }).(pulumi.StringOutput)
}
// The resource type.
func (o ComputePolicyResponseOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v ComputePolicyResponse) string { return v.Type }).(pulumi.StringOutput)
}
type ComputePolicyResponseArrayOutput struct{ *pulumi.OutputState }
func (ComputePolicyResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]ComputePolicyResponse)(nil)).Elem()
}
func (o ComputePolicyResponseArrayOutput) ToComputePolicyResponseArrayOutput() ComputePolicyResponseArrayOutput {
return o
}
func (o ComputePolicyResponseArrayOutput) ToComputePolicyResponseArrayOutputWithContext(ctx context.Context) ComputePolicyResponseArrayOutput {
return o
}
func (o ComputePolicyResponseArrayOutput) Index(i pulumi.IntInput) ComputePolicyResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComputePolicyResponse {
return vs[0].([]ComputePolicyResponse)[vs[1].(int)]
}).(ComputePolicyResponseOutput)
}
// The parameters used to create a new compute policy while creating a new Data Lake Analytics account.
type CreateComputePolicyWithAccountParameters struct {
// The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
MaxDegreeOfParallelismPerJob *int `pulumi:"maxDegreeOfParallelismPerJob"`
// The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
MinPriorityPerJob *int `pulumi:"minPriorityPerJob"`
// The unique name of the compute policy to create.
Name string `pulumi:"name"`
// The AAD object identifier for the entity to create a policy for.
ObjectId string `pulumi:"objectId"`
// The type of AAD object the object identifier refers to.
ObjectType string `pulumi:"objectType"`
}
// CreateComputePolicyWithAccountParametersInput is an input type that accepts CreateComputePolicyWithAccountParametersArgs and CreateComputePolicyWithAccountParametersOutput values.
// You can construct a concrete instance of `CreateComputePolicyWithAccountParametersInput` via:
//
// CreateComputePolicyWithAccountParametersArgs{...}
type CreateComputePolicyWithAccountParametersInput interface {
pulumi.Input
ToCreateComputePolicyWithAccountParametersOutput() CreateComputePolicyWithAccountParametersOutput
ToCreateComputePolicyWithAccountParametersOutputWithContext(context.Context) CreateComputePolicyWithAccountParametersOutput
}
// The parameters used to create a new compute policy while creating a new Data Lake Analytics account.
type CreateComputePolicyWithAccountParametersArgs struct {
// The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
MaxDegreeOfParallelismPerJob pulumi.IntPtrInput `pulumi:"maxDegreeOfParallelismPerJob"`
// The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
MinPriorityPerJob pulumi.IntPtrInput `pulumi:"minPriorityPerJob"`
// The unique name of the compute policy to create.
Name pulumi.StringInput `pulumi:"name"`
// The AAD object identifier for the entity to create a policy for.
ObjectId pulumi.StringInput `pulumi:"objectId"`
// The type of AAD object the object identifier refers to.
ObjectType pulumi.StringInput `pulumi:"objectType"`
}
func (CreateComputePolicyWithAccountParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CreateComputePolicyWithAccountParameters)(nil)).Elem()
}
func (i CreateComputePolicyWithAccountParametersArgs) ToCreateComputePolicyWithAccountParametersOutput() CreateComputePolicyWithAccountParametersOutput {
return i.ToCreateComputePolicyWithAccountParametersOutputWithContext(context.Background())
}
func (i CreateComputePolicyWithAccountParametersArgs) ToCreateComputePolicyWithAccountParametersOutputWithContext(ctx context.Context) CreateComputePolicyWithAccountParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreateComputePolicyWithAccountParametersOutput)
}
// CreateComputePolicyWithAccountParametersArrayInput is an input type that accepts CreateComputePolicyWithAccountParametersArray and CreateComputePolicyWithAccountParametersArrayOutput values.
// You can construct a concrete instance of `CreateComputePolicyWithAccountParametersArrayInput` via:
//
// CreateComputePolicyWithAccountParametersArray{ CreateComputePolicyWithAccountParametersArgs{...} }
type CreateComputePolicyWithAccountParametersArrayInput interface {
pulumi.Input
ToCreateComputePolicyWithAccountParametersArrayOutput() CreateComputePolicyWithAccountParametersArrayOutput
ToCreateComputePolicyWithAccountParametersArrayOutputWithContext(context.Context) CreateComputePolicyWithAccountParametersArrayOutput
}
type CreateComputePolicyWithAccountParametersArray []CreateComputePolicyWithAccountParametersInput
func (CreateComputePolicyWithAccountParametersArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]CreateComputePolicyWithAccountParameters)(nil)).Elem()
}
func (i CreateComputePolicyWithAccountParametersArray) ToCreateComputePolicyWithAccountParametersArrayOutput() CreateComputePolicyWithAccountParametersArrayOutput {
return i.ToCreateComputePolicyWithAccountParametersArrayOutputWithContext(context.Background())
}
func (i CreateComputePolicyWithAccountParametersArray) ToCreateComputePolicyWithAccountParametersArrayOutputWithContext(ctx context.Context) CreateComputePolicyWithAccountParametersArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreateComputePolicyWithAccountParametersArrayOutput)
}
// The parameters used to create a new compute policy while creating a new Data Lake Analytics account.
type CreateComputePolicyWithAccountParametersOutput struct{ *pulumi.OutputState }
func (CreateComputePolicyWithAccountParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CreateComputePolicyWithAccountParameters)(nil)).Elem()
}
func (o CreateComputePolicyWithAccountParametersOutput) ToCreateComputePolicyWithAccountParametersOutput() CreateComputePolicyWithAccountParametersOutput {
return o
}
func (o CreateComputePolicyWithAccountParametersOutput) ToCreateComputePolicyWithAccountParametersOutputWithContext(ctx context.Context) CreateComputePolicyWithAccountParametersOutput {
return o
}
// The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
func (o CreateComputePolicyWithAccountParametersOutput) MaxDegreeOfParallelismPerJob() pulumi.IntPtrOutput {
return o.ApplyT(func(v CreateComputePolicyWithAccountParameters) *int { return v.MaxDegreeOfParallelismPerJob }).(pulumi.IntPtrOutput)
}
// The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
func (o CreateComputePolicyWithAccountParametersOutput) MinPriorityPerJob() pulumi.IntPtrOutput {
return o.ApplyT(func(v CreateComputePolicyWithAccountParameters) *int { return v.MinPriorityPerJob }).(pulumi.IntPtrOutput)
}
// The unique name of the compute policy to create.
func (o CreateComputePolicyWithAccountParametersOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v CreateComputePolicyWithAccountParameters) string { return v.Name }).(pulumi.StringOutput)
}
// The AAD object identifier for the entity to create a policy for.
func (o CreateComputePolicyWithAccountParametersOutput) ObjectId() pulumi.StringOutput {
return o.ApplyT(func(v CreateComputePolicyWithAccountParameters) string { return v.ObjectId }).(pulumi.StringOutput)
}
// The type of AAD object the object identifier refers to.
func (o CreateComputePolicyWithAccountParametersOutput) ObjectType() pulumi.StringOutput {
return o.ApplyT(func(v CreateComputePolicyWithAccountParameters) string { return v.ObjectType }).(pulumi.StringOutput)
}
type CreateComputePolicyWithAccountParametersArrayOutput struct{ *pulumi.OutputState }
func (CreateComputePolicyWithAccountParametersArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]CreateComputePolicyWithAccountParameters)(nil)).Elem()
}
func (o CreateComputePolicyWithAccountParametersArrayOutput) ToCreateComputePolicyWithAccountParametersArrayOutput() CreateComputePolicyWithAccountParametersArrayOutput {
return o
}
func (o CreateComputePolicyWithAccountParametersArrayOutput) ToCreateComputePolicyWithAccountParametersArrayOutputWithContext(ctx context.Context) CreateComputePolicyWithAccountParametersArrayOutput {
return o
}
func (o CreateComputePolicyWithAccountParametersArrayOutput) Index(i pulumi.IntInput) CreateComputePolicyWithAccountParametersOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) CreateComputePolicyWithAccountParameters {
return vs[0].([]CreateComputePolicyWithAccountParameters)[vs[1].(int)]
}).(CreateComputePolicyWithAccountParametersOutput)
}
// The parameters used to create a new firewall rule while creating a new Data Lake Analytics account.
type CreateFirewallRuleWithAccountParameters struct {
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
EndIpAddress string `pulumi:"endIpAddress"`
// The unique name of the firewall rule to create.
Name string `pulumi:"name"`
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
StartIpAddress string `pulumi:"startIpAddress"`
}
// CreateFirewallRuleWithAccountParametersInput is an input type that accepts CreateFirewallRuleWithAccountParametersArgs and CreateFirewallRuleWithAccountParametersOutput values.
// You can construct a concrete instance of `CreateFirewallRuleWithAccountParametersInput` via:
//
// CreateFirewallRuleWithAccountParametersArgs{...}
type CreateFirewallRuleWithAccountParametersInput interface {
pulumi.Input
ToCreateFirewallRuleWithAccountParametersOutput() CreateFirewallRuleWithAccountParametersOutput
ToCreateFirewallRuleWithAccountParametersOutputWithContext(context.Context) CreateFirewallRuleWithAccountParametersOutput
}
// The parameters used to create a new firewall rule while creating a new Data Lake Analytics account.
type CreateFirewallRuleWithAccountParametersArgs struct {
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
EndIpAddress pulumi.StringInput `pulumi:"endIpAddress"`
// The unique name of the firewall rule to create.
Name pulumi.StringInput `pulumi:"name"`
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
StartIpAddress pulumi.StringInput `pulumi:"startIpAddress"`
}
func (CreateFirewallRuleWithAccountParametersArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CreateFirewallRuleWithAccountParameters)(nil)).Elem()
}
func (i CreateFirewallRuleWithAccountParametersArgs) ToCreateFirewallRuleWithAccountParametersOutput() CreateFirewallRuleWithAccountParametersOutput {
return i.ToCreateFirewallRuleWithAccountParametersOutputWithContext(context.Background())
}
func (i CreateFirewallRuleWithAccountParametersArgs) ToCreateFirewallRuleWithAccountParametersOutputWithContext(ctx context.Context) CreateFirewallRuleWithAccountParametersOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreateFirewallRuleWithAccountParametersOutput)
}
// CreateFirewallRuleWithAccountParametersArrayInput is an input type that accepts CreateFirewallRuleWithAccountParametersArray and CreateFirewallRuleWithAccountParametersArrayOutput values.
// You can construct a concrete instance of `CreateFirewallRuleWithAccountParametersArrayInput` via:
//
// CreateFirewallRuleWithAccountParametersArray{ CreateFirewallRuleWithAccountParametersArgs{...} }
type CreateFirewallRuleWithAccountParametersArrayInput interface {
pulumi.Input
ToCreateFirewallRuleWithAccountParametersArrayOutput() CreateFirewallRuleWithAccountParametersArrayOutput
ToCreateFirewallRuleWithAccountParametersArrayOutputWithContext(context.Context) CreateFirewallRuleWithAccountParametersArrayOutput
}
type CreateFirewallRuleWithAccountParametersArray []CreateFirewallRuleWithAccountParametersInput
func (CreateFirewallRuleWithAccountParametersArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]CreateFirewallRuleWithAccountParameters)(nil)).Elem()
}
func (i CreateFirewallRuleWithAccountParametersArray) ToCreateFirewallRuleWithAccountParametersArrayOutput() CreateFirewallRuleWithAccountParametersArrayOutput {
return i.ToCreateFirewallRuleWithAccountParametersArrayOutputWithContext(context.Background())
}
func (i CreateFirewallRuleWithAccountParametersArray) ToCreateFirewallRuleWithAccountParametersArrayOutputWithContext(ctx context.Context) CreateFirewallRuleWithAccountParametersArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(CreateFirewallRuleWithAccountParametersArrayOutput)
}
// The parameters used to create a new firewall rule while creating a new Data Lake Analytics account.
type CreateFirewallRuleWithAccountParametersOutput struct{ *pulumi.OutputState }
func (CreateFirewallRuleWithAccountParametersOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CreateFirewallRuleWithAccountParameters)(nil)).Elem()
}
func (o CreateFirewallRuleWithAccountParametersOutput) ToCreateFirewallRuleWithAccountParametersOutput() CreateFirewallRuleWithAccountParametersOutput {
return o
}
func (o CreateFirewallRuleWithAccountParametersOutput) ToCreateFirewallRuleWithAccountParametersOutputWithContext(ctx context.Context) CreateFirewallRuleWithAccountParametersOutput {
return o
}
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
func (o CreateFirewallRuleWithAccountParametersOutput) EndIpAddress() pulumi.StringOutput {
return o.ApplyT(func(v CreateFirewallRuleWithAccountParameters) string { return v.EndIpAddress }).(pulumi.StringOutput)
}
// The unique name of the firewall rule to create.
func (o CreateFirewallRuleWithAccountParametersOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v CreateFirewallRuleWithAccountParameters) string { return v.Name }).(pulumi.StringOutput)
}
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
func (o CreateFirewallRuleWithAccountParametersOutput) StartIpAddress() pulumi.StringOutput {
return o.ApplyT(func(v CreateFirewallRuleWithAccountParameters) string { return v.StartIpAddress }).(pulumi.StringOutput)
}
type CreateFirewallRuleWithAccountParametersArrayOutput struct{ *pulumi.OutputState }
func (CreateFirewallRuleWithAccountParametersArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]CreateFirewallRuleWithAccountParameters)(nil)).Elem()
}
func (o CreateFirewallRuleWithAccountParametersArrayOutput) ToCreateFirewallRuleWithAccountParametersArrayOutput() CreateFirewallRuleWithAccountParametersArrayOutput {
return o
}
func (o CreateFirewallRuleWithAccountParametersArrayOutput) ToCreateFirewallRuleWithAccountParametersArrayOutputWithContext(ctx context.Context) CreateFirewallRuleWithAccountParametersArrayOutput {
return o
}
func (o CreateFirewallRuleWithAccountParametersArrayOutput) Index(i pulumi.IntInput) CreateFirewallRuleWithAccountParametersOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) CreateFirewallRuleWithAccountParameters {
return vs[0].([]CreateFirewallRuleWithAccountParameters)[vs[1].(int)]
}).(CreateFirewallRuleWithAccountParametersOutput)
}
// Data Lake Store account information.
type DataLakeStoreAccountInformationResponse struct {
// The resource identifier.
Id string `pulumi:"id"`
// The resource name.
Name string `pulumi:"name"`
// The optional suffix for the Data Lake Store account.
Suffix string `pulumi:"suffix"`
// The resource type.
Type string `pulumi:"type"`
}
// DataLakeStoreAccountInformationResponseInput is an input type that accepts DataLakeStoreAccountInformationResponseArgs and DataLakeStoreAccountInformationResponseOutput values.
// You can construct a concrete instance of `DataLakeStoreAccountInformationResponseInput` via:
//
// DataLakeStoreAccountInformationResponseArgs{...}
type DataLakeStoreAccountInformationResponseInput interface {
pulumi.Input
ToDataLakeStoreAccountInformationResponseOutput() DataLakeStoreAccountInformationResponseOutput
ToDataLakeStoreAccountInformationResponseOutputWithContext(context.Context) DataLakeStoreAccountInformationResponseOutput
}
// Data Lake Store account information.
type DataLakeStoreAccountInformationResponseArgs struct {
// The resource identifier.
Id pulumi.StringInput `pulumi:"id"`
// The resource name.
Name pulumi.StringInput `pulumi:"name"`
// The optional suffix for the Data Lake Store account.
Suffix pulumi.StringInput `pulumi:"suffix"`
// The resource type.
Type pulumi.StringInput `pulumi:"type"`
}
func (DataLakeStoreAccountInformationResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*DataLakeStoreAccountInformationResponse)(nil)).Elem()
}
func (i DataLakeStoreAccountInformationResponseArgs) ToDataLakeStoreAccountInformationResponseOutput() DataLakeStoreAccountInformationResponseOutput {
return i.ToDataLakeStoreAccountInformationResponseOutputWithContext(context.Background())
}
func (i DataLakeStoreAccountInformationResponseArgs) ToDataLakeStoreAccountInformationResponseOutputWithContext(ctx context.Context) DataLakeStoreAccountInformationResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(DataLakeStoreAccountInformationResponseOutput)
}
// DataLakeStoreAccountInformationResponseArrayInput is an input type that accepts DataLakeStoreAccountInformationResponseArray and DataLakeStoreAccountInformationResponseArrayOutput values.
// You can construct a concrete instance of `DataLakeStoreAccountInformationResponseArrayInput` via:
//
// DataLakeStoreAccountInformationResponseArray{ DataLakeStoreAccountInformationResponseArgs{...} }
type DataLakeStoreAccountInformationResponseArrayInput interface {
pulumi.Input
ToDataLakeStoreAccountInformationResponseArrayOutput() DataLakeStoreAccountInformationResponseArrayOutput
ToDataLakeStoreAccountInformationResponseArrayOutputWithContext(context.Context) DataLakeStoreAccountInformationResponseArrayOutput
}
type DataLakeStoreAccountInformationResponseArray []DataLakeStoreAccountInformationResponseInput
func (DataLakeStoreAccountInformationResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]DataLakeStoreAccountInformationResponse)(nil)).Elem()
}
func (i DataLakeStoreAccountInformationResponseArray) ToDataLakeStoreAccountInformationResponseArrayOutput() DataLakeStoreAccountInformationResponseArrayOutput {
return i.ToDataLakeStoreAccountInformationResponseArrayOutputWithContext(context.Background())
}
func (i DataLakeStoreAccountInformationResponseArray) ToDataLakeStoreAccountInformationResponseArrayOutputWithContext(ctx context.Context) DataLakeStoreAccountInformationResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(DataLakeStoreAccountInformationResponseArrayOutput)
}
// Data Lake Store account information.
type DataLakeStoreAccountInformationResponseOutput struct{ *pulumi.OutputState }
func (DataLakeStoreAccountInformationResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*DataLakeStoreAccountInformationResponse)(nil)).Elem()
}
func (o DataLakeStoreAccountInformationResponseOutput) ToDataLakeStoreAccountInformationResponseOutput() DataLakeStoreAccountInformationResponseOutput {
return o
}
func (o DataLakeStoreAccountInformationResponseOutput) ToDataLakeStoreAccountInformationResponseOutputWithContext(ctx context.Context) DataLakeStoreAccountInformationResponseOutput {
return o
}
// The resource identifier.
func (o DataLakeStoreAccountInformationResponseOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v DataLakeStoreAccountInformationResponse) string { return v.Id }).(pulumi.StringOutput)
}
// The resource name.
func (o DataLakeStoreAccountInformationResponseOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v DataLakeStoreAccountInformationResponse) string { return v.Name }).(pulumi.StringOutput)
}
// The optional suffix for the Data Lake Store account.
func (o DataLakeStoreAccountInformationResponseOutput) Suffix() pulumi.StringOutput {
return o.ApplyT(func(v DataLakeStoreAccountInformationResponse) string { return v.Suffix }).(pulumi.StringOutput)
}
// The resource type.
func (o DataLakeStoreAccountInformationResponseOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v DataLakeStoreAccountInformationResponse) string { return v.Type }).(pulumi.StringOutput)
}
type DataLakeStoreAccountInformationResponseArrayOutput struct{ *pulumi.OutputState }
func (DataLakeStoreAccountInformationResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]DataLakeStoreAccountInformationResponse)(nil)).Elem()
}
func (o DataLakeStoreAccountInformationResponseArrayOutput) ToDataLakeStoreAccountInformationResponseArrayOutput() DataLakeStoreAccountInformationResponseArrayOutput {
return o
}
func (o DataLakeStoreAccountInformationResponseArrayOutput) ToDataLakeStoreAccountInformationResponseArrayOutputWithContext(ctx context.Context) DataLakeStoreAccountInformationResponseArrayOutput {
return o
}
func (o DataLakeStoreAccountInformationResponseArrayOutput) Index(i pulumi.IntInput) DataLakeStoreAccountInformationResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) DataLakeStoreAccountInformationResponse {
return vs[0].([]DataLakeStoreAccountInformationResponse)[vs[1].(int)]
}).(DataLakeStoreAccountInformationResponseOutput)
}
// Data Lake Analytics firewall rule information.
type FirewallRuleResponse struct {
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
EndIpAddress string `pulumi:"endIpAddress"`
// The resource identifier.
Id string `pulumi:"id"`
// The resource name.
Name string `pulumi:"name"`
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
StartIpAddress string `pulumi:"startIpAddress"`
// The resource type.
Type string `pulumi:"type"`
}
// FirewallRuleResponseInput is an input type that accepts FirewallRuleResponseArgs and FirewallRuleResponseOutput values.
// You can construct a concrete instance of `FirewallRuleResponseInput` via:
//
// FirewallRuleResponseArgs{...}
type FirewallRuleResponseInput interface {
pulumi.Input
ToFirewallRuleResponseOutput() FirewallRuleResponseOutput
ToFirewallRuleResponseOutputWithContext(context.Context) FirewallRuleResponseOutput
}
// Data Lake Analytics firewall rule information.
type FirewallRuleResponseArgs struct {
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
EndIpAddress pulumi.StringInput `pulumi:"endIpAddress"`
// The resource identifier.
Id pulumi.StringInput `pulumi:"id"`
// The resource name.
Name pulumi.StringInput `pulumi:"name"`
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
StartIpAddress pulumi.StringInput `pulumi:"startIpAddress"`
// The resource type.
Type pulumi.StringInput `pulumi:"type"`
}
func (FirewallRuleResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*FirewallRuleResponse)(nil)).Elem()
}
func (i FirewallRuleResponseArgs) ToFirewallRuleResponseOutput() FirewallRuleResponseOutput {
return i.ToFirewallRuleResponseOutputWithContext(context.Background())
}
func (i FirewallRuleResponseArgs) ToFirewallRuleResponseOutputWithContext(ctx context.Context) FirewallRuleResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(FirewallRuleResponseOutput)
}
// FirewallRuleResponseArrayInput is an input type that accepts FirewallRuleResponseArray and FirewallRuleResponseArrayOutput values.
// You can construct a concrete instance of `FirewallRuleResponseArrayInput` via:
//
// FirewallRuleResponseArray{ FirewallRuleResponseArgs{...} }
type FirewallRuleResponseArrayInput interface {
pulumi.Input
ToFirewallRuleResponseArrayOutput() FirewallRuleResponseArrayOutput
ToFirewallRuleResponseArrayOutputWithContext(context.Context) FirewallRuleResponseArrayOutput
}
type FirewallRuleResponseArray []FirewallRuleResponseInput
func (FirewallRuleResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]FirewallRuleResponse)(nil)).Elem()
}
func (i FirewallRuleResponseArray) ToFirewallRuleResponseArrayOutput() FirewallRuleResponseArrayOutput {
return i.ToFirewallRuleResponseArrayOutputWithContext(context.Background())
}
func (i FirewallRuleResponseArray) ToFirewallRuleResponseArrayOutputWithContext(ctx context.Context) FirewallRuleResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(FirewallRuleResponseArrayOutput)
}
// Data Lake Analytics firewall rule information.
type FirewallRuleResponseOutput struct{ *pulumi.OutputState }
func (FirewallRuleResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*FirewallRuleResponse)(nil)).Elem()
}
func (o FirewallRuleResponseOutput) ToFirewallRuleResponseOutput() FirewallRuleResponseOutput {
return o
}
func (o FirewallRuleResponseOutput) ToFirewallRuleResponseOutputWithContext(ctx context.Context) FirewallRuleResponseOutput {
return o
}
// The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
func (o FirewallRuleResponseOutput) EndIpAddress() pulumi.StringOutput {
return o.ApplyT(func(v FirewallRuleResponse) string { return v.EndIpAddress }).(pulumi.StringOutput)
}
// The resource identifier.
func (o FirewallRuleResponseOutput) Id() pulumi.StringOutput {
return o.ApplyT(func(v FirewallRuleResponse) string { return v.Id }).(pulumi.StringOutput)
}
// The resource name.
func (o FirewallRuleResponseOutput) Name() pulumi.StringOutput {
return o.ApplyT(func(v FirewallRuleResponse) string { return v.Name }).(pulumi.StringOutput)
}
// The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
func (o FirewallRuleResponseOutput) StartIpAddress() pulumi.StringOutput {
return o.ApplyT(func(v FirewallRuleResponse) string { return v.StartIpAddress }).(pulumi.StringOutput)
}
// The resource type.
func (o FirewallRuleResponseOutput) Type() pulumi.StringOutput {
return o.ApplyT(func(v FirewallRuleResponse) string { return v.Type }).(pulumi.StringOutput)
}
type FirewallRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]FirewallRuleResponse)(nil)).Elem()
}
func (o FirewallRuleResponseArrayOutput) ToFirewallRuleResponseArrayOutput() FirewallRuleResponseArrayOutput {
return o
}
func (o FirewallRuleResponseArrayOutput) ToFirewallRuleResponseArrayOutputWithContext(ctx context.Context) FirewallRuleResponseArrayOutput {
return o
}
func (o FirewallRuleResponseArrayOutput) Index(i pulumi.IntInput) FirewallRuleResponseOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallRuleResponse {
return vs[0].([]FirewallRuleResponse)[vs[1].(int)]
}).(FirewallRuleResponseOutput)
}
// SAS token information.
type SasTokenInformationResponse struct {
// The access token for the associated Azure Storage Container.
AccessToken string `pulumi:"accessToken"`
}
// SasTokenInformationResponseInput is an input type that accepts SasTokenInformationResponseArgs and SasTokenInformationResponseOutput values.
// You can construct a concrete instance of `SasTokenInformationResponseInput` via:
//
// SasTokenInformationResponseArgs{...}
type SasTokenInformationResponseInput interface {
pulumi.Input
ToSasTokenInformationResponseOutput() SasTokenInformationResponseOutput
ToSasTokenInformationResponseOutputWithContext(context.Context) SasTokenInformationResponseOutput
}
// SAS token information.
type SasTokenInformationResponseArgs struct {
// The access token for the associated Azure Storage Container.
AccessToken pulumi.StringInput `pulumi:"accessToken"`
}
func (SasTokenInformationResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*SasTokenInformationResponse)(nil)).Elem()
}
func (i SasTokenInformationResponseArgs) ToSasTokenInformationResponseOutput() SasTokenInformationResponseOutput {
return i.ToSasTokenInformationResponseOutputWithContext(context.Background())
}
func (i SasTokenInformationResponseArgs) ToSasTokenInformationResponseOutputWithContext(ctx context.Context) SasTokenInformationResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(SasTokenInformationResponseOutput)
}
// SasTokenInformationResponseArrayInput is an input type that accepts SasTokenInformationResponseArray and SasTokenInformationResponseArrayOutput values.
// You can construct a concrete instance of `SasTokenInformationResponseArrayInput` via:
//
// SasTokenInformationResponseArray{ SasTokenInformationResponseArgs{...} }
type SasTokenInformationResponseArrayInput interface {
pulumi.Input
ToSasTokenInformationResponseArrayOutput() SasTokenInformationResponseArrayOutput
ToSasTokenInformationResponseArrayOutputWithContext(context.Context) SasTokenInformationResponseArrayOutput
}
type SasTokenInformationResponseArray []SasTokenInformationResponseInput
func (SasTokenInformationResponseArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]SasTokenInformationResponse)(nil)).Elem()
}
func (i SasTokenInformationResponseArray) ToSasTokenInformationResponseArrayOutput() SasTokenInformationResponseArrayOutput {
return i.ToSasTokenInformationResponseArrayOutputWithContext(context.Background())
}
func (i SasTokenInformationResponseArray) ToSasTokenInformationResponseArrayOutputWithContext(ctx context.Context) SasTokenInformationResponseArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(SasTokenInformationResponseArrayOutput)
}
// SAS token information.
type SasTokenInformationResponseOutput struct{ *pulumi.OutputState }
func (SasTokenInformationResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*SasTokenInformationResponse)(nil)).Elem()
}
func (o SasTokenInformationResponseOutput) ToSasTokenInformationResponseOutput() SasTokenInformationResponseOutput {
return o
}
func (o SasTokenInformationResponseOutput) ToSasTokenInformationResponseOutputWithContext(ctx context.Context) SasTokenInformationResponseOutput {
return o
}
// The access token for the associated Azure Storage Container.
func (o SasTokenInformationResponseOutput) AccessToken() pulumi.StringOutput {
return o.ApplyT(func(v SasTokenInformationResponse) string { return v.AccessToken }).(pulumi.StringOutput)
}
type SasTokenInformationResponseArrayOutput struct{ *pulumi.OutputState }
func (SasTokenInformationResponseArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]SasTokenInformationResponse)(nil)).Elem()
}
func (o SasTokenInformationResponseArrayOutput) ToSasTokenInformationResponseArrayOutput() SasTokenInformationResponseArrayOutput {
return o
}