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
4252 lines (3422 loc) · 167 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 v20190901
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The destination information for the delivery of the export.
type ExportDeliveryDestination struct {
// The name of the container where exports will be uploaded.
Container string `pulumi:"container"`
// The resource id of the storage account where exports will be delivered.
ResourceId string `pulumi:"resourceId"`
// The name of the directory where exports will be uploaded.
RootFolderPath *string `pulumi:"rootFolderPath"`
}
// ExportDeliveryDestinationInput is an input type that accepts ExportDeliveryDestinationArgs and ExportDeliveryDestinationOutput values.
// You can construct a concrete instance of `ExportDeliveryDestinationInput` via:
//
// ExportDeliveryDestinationArgs{...}
type ExportDeliveryDestinationInput interface {
pulumi.Input
ToExportDeliveryDestinationOutput() ExportDeliveryDestinationOutput
ToExportDeliveryDestinationOutputWithContext(context.Context) ExportDeliveryDestinationOutput
}
// The destination information for the delivery of the export.
type ExportDeliveryDestinationArgs struct {
// The name of the container where exports will be uploaded.
Container pulumi.StringInput `pulumi:"container"`
// The resource id of the storage account where exports will be delivered.
ResourceId pulumi.StringInput `pulumi:"resourceId"`
// The name of the directory where exports will be uploaded.
RootFolderPath pulumi.StringPtrInput `pulumi:"rootFolderPath"`
}
func (ExportDeliveryDestinationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryDestination)(nil)).Elem()
}
func (i ExportDeliveryDestinationArgs) ToExportDeliveryDestinationOutput() ExportDeliveryDestinationOutput {
return i.ToExportDeliveryDestinationOutputWithContext(context.Background())
}
func (i ExportDeliveryDestinationArgs) ToExportDeliveryDestinationOutputWithContext(ctx context.Context) ExportDeliveryDestinationOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationOutput)
}
func (i ExportDeliveryDestinationArgs) ToExportDeliveryDestinationPtrOutput() ExportDeliveryDestinationPtrOutput {
return i.ToExportDeliveryDestinationPtrOutputWithContext(context.Background())
}
func (i ExportDeliveryDestinationArgs) ToExportDeliveryDestinationPtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationOutput).ToExportDeliveryDestinationPtrOutputWithContext(ctx)
}
// ExportDeliveryDestinationPtrInput is an input type that accepts ExportDeliveryDestinationArgs, ExportDeliveryDestinationPtr and ExportDeliveryDestinationPtrOutput values.
// You can construct a concrete instance of `ExportDeliveryDestinationPtrInput` via:
//
// ExportDeliveryDestinationArgs{...}
//
// or:
//
// nil
type ExportDeliveryDestinationPtrInput interface {
pulumi.Input
ToExportDeliveryDestinationPtrOutput() ExportDeliveryDestinationPtrOutput
ToExportDeliveryDestinationPtrOutputWithContext(context.Context) ExportDeliveryDestinationPtrOutput
}
type exportDeliveryDestinationPtrType ExportDeliveryDestinationArgs
func ExportDeliveryDestinationPtr(v *ExportDeliveryDestinationArgs) ExportDeliveryDestinationPtrInput {
return (*exportDeliveryDestinationPtrType)(v)
}
func (*exportDeliveryDestinationPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryDestination)(nil)).Elem()
}
func (i *exportDeliveryDestinationPtrType) ToExportDeliveryDestinationPtrOutput() ExportDeliveryDestinationPtrOutput {
return i.ToExportDeliveryDestinationPtrOutputWithContext(context.Background())
}
func (i *exportDeliveryDestinationPtrType) ToExportDeliveryDestinationPtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationPtrOutput)
}
// The destination information for the delivery of the export.
type ExportDeliveryDestinationOutput struct{ *pulumi.OutputState }
func (ExportDeliveryDestinationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryDestination)(nil)).Elem()
}
func (o ExportDeliveryDestinationOutput) ToExportDeliveryDestinationOutput() ExportDeliveryDestinationOutput {
return o
}
func (o ExportDeliveryDestinationOutput) ToExportDeliveryDestinationOutputWithContext(ctx context.Context) ExportDeliveryDestinationOutput {
return o
}
func (o ExportDeliveryDestinationOutput) ToExportDeliveryDestinationPtrOutput() ExportDeliveryDestinationPtrOutput {
return o.ToExportDeliveryDestinationPtrOutputWithContext(context.Background())
}
func (o ExportDeliveryDestinationOutput) ToExportDeliveryDestinationPtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationPtrOutput {
return o.ApplyT(func(v ExportDeliveryDestination) *ExportDeliveryDestination {
return &v
}).(ExportDeliveryDestinationPtrOutput)
}
// The name of the container where exports will be uploaded.
func (o ExportDeliveryDestinationOutput) Container() pulumi.StringOutput {
return o.ApplyT(func(v ExportDeliveryDestination) string { return v.Container }).(pulumi.StringOutput)
}
// The resource id of the storage account where exports will be delivered.
func (o ExportDeliveryDestinationOutput) ResourceId() pulumi.StringOutput {
return o.ApplyT(func(v ExportDeliveryDestination) string { return v.ResourceId }).(pulumi.StringOutput)
}
// The name of the directory where exports will be uploaded.
func (o ExportDeliveryDestinationOutput) RootFolderPath() pulumi.StringPtrOutput {
return o.ApplyT(func(v ExportDeliveryDestination) *string { return v.RootFolderPath }).(pulumi.StringPtrOutput)
}
type ExportDeliveryDestinationPtrOutput struct{ *pulumi.OutputState }
func (ExportDeliveryDestinationPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryDestination)(nil)).Elem()
}
func (o ExportDeliveryDestinationPtrOutput) ToExportDeliveryDestinationPtrOutput() ExportDeliveryDestinationPtrOutput {
return o
}
func (o ExportDeliveryDestinationPtrOutput) ToExportDeliveryDestinationPtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationPtrOutput {
return o
}
func (o ExportDeliveryDestinationPtrOutput) Elem() ExportDeliveryDestinationOutput {
return o.ApplyT(func(v *ExportDeliveryDestination) ExportDeliveryDestination { return *v }).(ExportDeliveryDestinationOutput)
}
// The name of the container where exports will be uploaded.
func (o ExportDeliveryDestinationPtrOutput) Container() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestination) *string {
if v == nil {
return nil
}
return &v.Container
}).(pulumi.StringPtrOutput)
}
// The resource id of the storage account where exports will be delivered.
func (o ExportDeliveryDestinationPtrOutput) ResourceId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestination) *string {
if v == nil {
return nil
}
return &v.ResourceId
}).(pulumi.StringPtrOutput)
}
// The name of the directory where exports will be uploaded.
func (o ExportDeliveryDestinationPtrOutput) RootFolderPath() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestination) *string {
if v == nil {
return nil
}
return v.RootFolderPath
}).(pulumi.StringPtrOutput)
}
// The destination information for the delivery of the export.
type ExportDeliveryDestinationResponse struct {
// The name of the container where exports will be uploaded.
Container string `pulumi:"container"`
// The resource id of the storage account where exports will be delivered.
ResourceId string `pulumi:"resourceId"`
// The name of the directory where exports will be uploaded.
RootFolderPath *string `pulumi:"rootFolderPath"`
}
// ExportDeliveryDestinationResponseInput is an input type that accepts ExportDeliveryDestinationResponseArgs and ExportDeliveryDestinationResponseOutput values.
// You can construct a concrete instance of `ExportDeliveryDestinationResponseInput` via:
//
// ExportDeliveryDestinationResponseArgs{...}
type ExportDeliveryDestinationResponseInput interface {
pulumi.Input
ToExportDeliveryDestinationResponseOutput() ExportDeliveryDestinationResponseOutput
ToExportDeliveryDestinationResponseOutputWithContext(context.Context) ExportDeliveryDestinationResponseOutput
}
// The destination information for the delivery of the export.
type ExportDeliveryDestinationResponseArgs struct {
// The name of the container where exports will be uploaded.
Container pulumi.StringInput `pulumi:"container"`
// The resource id of the storage account where exports will be delivered.
ResourceId pulumi.StringInput `pulumi:"resourceId"`
// The name of the directory where exports will be uploaded.
RootFolderPath pulumi.StringPtrInput `pulumi:"rootFolderPath"`
}
func (ExportDeliveryDestinationResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryDestinationResponse)(nil)).Elem()
}
func (i ExportDeliveryDestinationResponseArgs) ToExportDeliveryDestinationResponseOutput() ExportDeliveryDestinationResponseOutput {
return i.ToExportDeliveryDestinationResponseOutputWithContext(context.Background())
}
func (i ExportDeliveryDestinationResponseArgs) ToExportDeliveryDestinationResponseOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationResponseOutput)
}
func (i ExportDeliveryDestinationResponseArgs) ToExportDeliveryDestinationResponsePtrOutput() ExportDeliveryDestinationResponsePtrOutput {
return i.ToExportDeliveryDestinationResponsePtrOutputWithContext(context.Background())
}
func (i ExportDeliveryDestinationResponseArgs) ToExportDeliveryDestinationResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationResponseOutput).ToExportDeliveryDestinationResponsePtrOutputWithContext(ctx)
}
// ExportDeliveryDestinationResponsePtrInput is an input type that accepts ExportDeliveryDestinationResponseArgs, ExportDeliveryDestinationResponsePtr and ExportDeliveryDestinationResponsePtrOutput values.
// You can construct a concrete instance of `ExportDeliveryDestinationResponsePtrInput` via:
//
// ExportDeliveryDestinationResponseArgs{...}
//
// or:
//
// nil
type ExportDeliveryDestinationResponsePtrInput interface {
pulumi.Input
ToExportDeliveryDestinationResponsePtrOutput() ExportDeliveryDestinationResponsePtrOutput
ToExportDeliveryDestinationResponsePtrOutputWithContext(context.Context) ExportDeliveryDestinationResponsePtrOutput
}
type exportDeliveryDestinationResponsePtrType ExportDeliveryDestinationResponseArgs
func ExportDeliveryDestinationResponsePtr(v *ExportDeliveryDestinationResponseArgs) ExportDeliveryDestinationResponsePtrInput {
return (*exportDeliveryDestinationResponsePtrType)(v)
}
func (*exportDeliveryDestinationResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryDestinationResponse)(nil)).Elem()
}
func (i *exportDeliveryDestinationResponsePtrType) ToExportDeliveryDestinationResponsePtrOutput() ExportDeliveryDestinationResponsePtrOutput {
return i.ToExportDeliveryDestinationResponsePtrOutputWithContext(context.Background())
}
func (i *exportDeliveryDestinationResponsePtrType) ToExportDeliveryDestinationResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryDestinationResponsePtrOutput)
}
// The destination information for the delivery of the export.
type ExportDeliveryDestinationResponseOutput struct{ *pulumi.OutputState }
func (ExportDeliveryDestinationResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryDestinationResponse)(nil)).Elem()
}
func (o ExportDeliveryDestinationResponseOutput) ToExportDeliveryDestinationResponseOutput() ExportDeliveryDestinationResponseOutput {
return o
}
func (o ExportDeliveryDestinationResponseOutput) ToExportDeliveryDestinationResponseOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponseOutput {
return o
}
func (o ExportDeliveryDestinationResponseOutput) ToExportDeliveryDestinationResponsePtrOutput() ExportDeliveryDestinationResponsePtrOutput {
return o.ToExportDeliveryDestinationResponsePtrOutputWithContext(context.Background())
}
func (o ExportDeliveryDestinationResponseOutput) ToExportDeliveryDestinationResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponsePtrOutput {
return o.ApplyT(func(v ExportDeliveryDestinationResponse) *ExportDeliveryDestinationResponse {
return &v
}).(ExportDeliveryDestinationResponsePtrOutput)
}
// The name of the container where exports will be uploaded.
func (o ExportDeliveryDestinationResponseOutput) Container() pulumi.StringOutput {
return o.ApplyT(func(v ExportDeliveryDestinationResponse) string { return v.Container }).(pulumi.StringOutput)
}
// The resource id of the storage account where exports will be delivered.
func (o ExportDeliveryDestinationResponseOutput) ResourceId() pulumi.StringOutput {
return o.ApplyT(func(v ExportDeliveryDestinationResponse) string { return v.ResourceId }).(pulumi.StringOutput)
}
// The name of the directory where exports will be uploaded.
func (o ExportDeliveryDestinationResponseOutput) RootFolderPath() pulumi.StringPtrOutput {
return o.ApplyT(func(v ExportDeliveryDestinationResponse) *string { return v.RootFolderPath }).(pulumi.StringPtrOutput)
}
type ExportDeliveryDestinationResponsePtrOutput struct{ *pulumi.OutputState }
func (ExportDeliveryDestinationResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryDestinationResponse)(nil)).Elem()
}
func (o ExportDeliveryDestinationResponsePtrOutput) ToExportDeliveryDestinationResponsePtrOutput() ExportDeliveryDestinationResponsePtrOutput {
return o
}
func (o ExportDeliveryDestinationResponsePtrOutput) ToExportDeliveryDestinationResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryDestinationResponsePtrOutput {
return o
}
func (o ExportDeliveryDestinationResponsePtrOutput) Elem() ExportDeliveryDestinationResponseOutput {
return o.ApplyT(func(v *ExportDeliveryDestinationResponse) ExportDeliveryDestinationResponse { return *v }).(ExportDeliveryDestinationResponseOutput)
}
// The name of the container where exports will be uploaded.
func (o ExportDeliveryDestinationResponsePtrOutput) Container() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestinationResponse) *string {
if v == nil {
return nil
}
return &v.Container
}).(pulumi.StringPtrOutput)
}
// The resource id of the storage account where exports will be delivered.
func (o ExportDeliveryDestinationResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestinationResponse) *string {
if v == nil {
return nil
}
return &v.ResourceId
}).(pulumi.StringPtrOutput)
}
// The name of the directory where exports will be uploaded.
func (o ExportDeliveryDestinationResponsePtrOutput) RootFolderPath() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportDeliveryDestinationResponse) *string {
if v == nil {
return nil
}
return v.RootFolderPath
}).(pulumi.StringPtrOutput)
}
// The delivery information associated with a export.
type ExportDeliveryInfo struct {
// Has destination for the export being delivered.
Destination ExportDeliveryDestination `pulumi:"destination"`
}
// ExportDeliveryInfoInput is an input type that accepts ExportDeliveryInfoArgs and ExportDeliveryInfoOutput values.
// You can construct a concrete instance of `ExportDeliveryInfoInput` via:
//
// ExportDeliveryInfoArgs{...}
type ExportDeliveryInfoInput interface {
pulumi.Input
ToExportDeliveryInfoOutput() ExportDeliveryInfoOutput
ToExportDeliveryInfoOutputWithContext(context.Context) ExportDeliveryInfoOutput
}
// The delivery information associated with a export.
type ExportDeliveryInfoArgs struct {
// Has destination for the export being delivered.
Destination ExportDeliveryDestinationInput `pulumi:"destination"`
}
func (ExportDeliveryInfoArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryInfo)(nil)).Elem()
}
func (i ExportDeliveryInfoArgs) ToExportDeliveryInfoOutput() ExportDeliveryInfoOutput {
return i.ToExportDeliveryInfoOutputWithContext(context.Background())
}
func (i ExportDeliveryInfoArgs) ToExportDeliveryInfoOutputWithContext(ctx context.Context) ExportDeliveryInfoOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoOutput)
}
func (i ExportDeliveryInfoArgs) ToExportDeliveryInfoPtrOutput() ExportDeliveryInfoPtrOutput {
return i.ToExportDeliveryInfoPtrOutputWithContext(context.Background())
}
func (i ExportDeliveryInfoArgs) ToExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ExportDeliveryInfoPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoOutput).ToExportDeliveryInfoPtrOutputWithContext(ctx)
}
// ExportDeliveryInfoPtrInput is an input type that accepts ExportDeliveryInfoArgs, ExportDeliveryInfoPtr and ExportDeliveryInfoPtrOutput values.
// You can construct a concrete instance of `ExportDeliveryInfoPtrInput` via:
//
// ExportDeliveryInfoArgs{...}
//
// or:
//
// nil
type ExportDeliveryInfoPtrInput interface {
pulumi.Input
ToExportDeliveryInfoPtrOutput() ExportDeliveryInfoPtrOutput
ToExportDeliveryInfoPtrOutputWithContext(context.Context) ExportDeliveryInfoPtrOutput
}
type exportDeliveryInfoPtrType ExportDeliveryInfoArgs
func ExportDeliveryInfoPtr(v *ExportDeliveryInfoArgs) ExportDeliveryInfoPtrInput {
return (*exportDeliveryInfoPtrType)(v)
}
func (*exportDeliveryInfoPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryInfo)(nil)).Elem()
}
func (i *exportDeliveryInfoPtrType) ToExportDeliveryInfoPtrOutput() ExportDeliveryInfoPtrOutput {
return i.ToExportDeliveryInfoPtrOutputWithContext(context.Background())
}
func (i *exportDeliveryInfoPtrType) ToExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ExportDeliveryInfoPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoPtrOutput)
}
// The delivery information associated with a export.
type ExportDeliveryInfoOutput struct{ *pulumi.OutputState }
func (ExportDeliveryInfoOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryInfo)(nil)).Elem()
}
func (o ExportDeliveryInfoOutput) ToExportDeliveryInfoOutput() ExportDeliveryInfoOutput {
return o
}
func (o ExportDeliveryInfoOutput) ToExportDeliveryInfoOutputWithContext(ctx context.Context) ExportDeliveryInfoOutput {
return o
}
func (o ExportDeliveryInfoOutput) ToExportDeliveryInfoPtrOutput() ExportDeliveryInfoPtrOutput {
return o.ToExportDeliveryInfoPtrOutputWithContext(context.Background())
}
func (o ExportDeliveryInfoOutput) ToExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ExportDeliveryInfoPtrOutput {
return o.ApplyT(func(v ExportDeliveryInfo) *ExportDeliveryInfo {
return &v
}).(ExportDeliveryInfoPtrOutput)
}
// Has destination for the export being delivered.
func (o ExportDeliveryInfoOutput) Destination() ExportDeliveryDestinationOutput {
return o.ApplyT(func(v ExportDeliveryInfo) ExportDeliveryDestination { return v.Destination }).(ExportDeliveryDestinationOutput)
}
type ExportDeliveryInfoPtrOutput struct{ *pulumi.OutputState }
func (ExportDeliveryInfoPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryInfo)(nil)).Elem()
}
func (o ExportDeliveryInfoPtrOutput) ToExportDeliveryInfoPtrOutput() ExportDeliveryInfoPtrOutput {
return o
}
func (o ExportDeliveryInfoPtrOutput) ToExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ExportDeliveryInfoPtrOutput {
return o
}
func (o ExportDeliveryInfoPtrOutput) Elem() ExportDeliveryInfoOutput {
return o.ApplyT(func(v *ExportDeliveryInfo) ExportDeliveryInfo { return *v }).(ExportDeliveryInfoOutput)
}
// Has destination for the export being delivered.
func (o ExportDeliveryInfoPtrOutput) Destination() ExportDeliveryDestinationPtrOutput {
return o.ApplyT(func(v *ExportDeliveryInfo) *ExportDeliveryDestination {
if v == nil {
return nil
}
return &v.Destination
}).(ExportDeliveryDestinationPtrOutput)
}
// The delivery information associated with a export.
type ExportDeliveryInfoResponse struct {
// Has destination for the export being delivered.
Destination ExportDeliveryDestinationResponse `pulumi:"destination"`
}
// ExportDeliveryInfoResponseInput is an input type that accepts ExportDeliveryInfoResponseArgs and ExportDeliveryInfoResponseOutput values.
// You can construct a concrete instance of `ExportDeliveryInfoResponseInput` via:
//
// ExportDeliveryInfoResponseArgs{...}
type ExportDeliveryInfoResponseInput interface {
pulumi.Input
ToExportDeliveryInfoResponseOutput() ExportDeliveryInfoResponseOutput
ToExportDeliveryInfoResponseOutputWithContext(context.Context) ExportDeliveryInfoResponseOutput
}
// The delivery information associated with a export.
type ExportDeliveryInfoResponseArgs struct {
// Has destination for the export being delivered.
Destination ExportDeliveryDestinationResponseInput `pulumi:"destination"`
}
func (ExportDeliveryInfoResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryInfoResponse)(nil)).Elem()
}
func (i ExportDeliveryInfoResponseArgs) ToExportDeliveryInfoResponseOutput() ExportDeliveryInfoResponseOutput {
return i.ToExportDeliveryInfoResponseOutputWithContext(context.Background())
}
func (i ExportDeliveryInfoResponseArgs) ToExportDeliveryInfoResponseOutputWithContext(ctx context.Context) ExportDeliveryInfoResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoResponseOutput)
}
func (i ExportDeliveryInfoResponseArgs) ToExportDeliveryInfoResponsePtrOutput() ExportDeliveryInfoResponsePtrOutput {
return i.ToExportDeliveryInfoResponsePtrOutputWithContext(context.Background())
}
func (i ExportDeliveryInfoResponseArgs) ToExportDeliveryInfoResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryInfoResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoResponseOutput).ToExportDeliveryInfoResponsePtrOutputWithContext(ctx)
}
// ExportDeliveryInfoResponsePtrInput is an input type that accepts ExportDeliveryInfoResponseArgs, ExportDeliveryInfoResponsePtr and ExportDeliveryInfoResponsePtrOutput values.
// You can construct a concrete instance of `ExportDeliveryInfoResponsePtrInput` via:
//
// ExportDeliveryInfoResponseArgs{...}
//
// or:
//
// nil
type ExportDeliveryInfoResponsePtrInput interface {
pulumi.Input
ToExportDeliveryInfoResponsePtrOutput() ExportDeliveryInfoResponsePtrOutput
ToExportDeliveryInfoResponsePtrOutputWithContext(context.Context) ExportDeliveryInfoResponsePtrOutput
}
type exportDeliveryInfoResponsePtrType ExportDeliveryInfoResponseArgs
func ExportDeliveryInfoResponsePtr(v *ExportDeliveryInfoResponseArgs) ExportDeliveryInfoResponsePtrInput {
return (*exportDeliveryInfoResponsePtrType)(v)
}
func (*exportDeliveryInfoResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryInfoResponse)(nil)).Elem()
}
func (i *exportDeliveryInfoResponsePtrType) ToExportDeliveryInfoResponsePtrOutput() ExportDeliveryInfoResponsePtrOutput {
return i.ToExportDeliveryInfoResponsePtrOutputWithContext(context.Background())
}
func (i *exportDeliveryInfoResponsePtrType) ToExportDeliveryInfoResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryInfoResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportDeliveryInfoResponsePtrOutput)
}
// The delivery information associated with a export.
type ExportDeliveryInfoResponseOutput struct{ *pulumi.OutputState }
func (ExportDeliveryInfoResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportDeliveryInfoResponse)(nil)).Elem()
}
func (o ExportDeliveryInfoResponseOutput) ToExportDeliveryInfoResponseOutput() ExportDeliveryInfoResponseOutput {
return o
}
func (o ExportDeliveryInfoResponseOutput) ToExportDeliveryInfoResponseOutputWithContext(ctx context.Context) ExportDeliveryInfoResponseOutput {
return o
}
func (o ExportDeliveryInfoResponseOutput) ToExportDeliveryInfoResponsePtrOutput() ExportDeliveryInfoResponsePtrOutput {
return o.ToExportDeliveryInfoResponsePtrOutputWithContext(context.Background())
}
func (o ExportDeliveryInfoResponseOutput) ToExportDeliveryInfoResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryInfoResponsePtrOutput {
return o.ApplyT(func(v ExportDeliveryInfoResponse) *ExportDeliveryInfoResponse {
return &v
}).(ExportDeliveryInfoResponsePtrOutput)
}
// Has destination for the export being delivered.
func (o ExportDeliveryInfoResponseOutput) Destination() ExportDeliveryDestinationResponseOutput {
return o.ApplyT(func(v ExportDeliveryInfoResponse) ExportDeliveryDestinationResponse { return v.Destination }).(ExportDeliveryDestinationResponseOutput)
}
type ExportDeliveryInfoResponsePtrOutput struct{ *pulumi.OutputState }
func (ExportDeliveryInfoResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportDeliveryInfoResponse)(nil)).Elem()
}
func (o ExportDeliveryInfoResponsePtrOutput) ToExportDeliveryInfoResponsePtrOutput() ExportDeliveryInfoResponsePtrOutput {
return o
}
func (o ExportDeliveryInfoResponsePtrOutput) ToExportDeliveryInfoResponsePtrOutputWithContext(ctx context.Context) ExportDeliveryInfoResponsePtrOutput {
return o
}
func (o ExportDeliveryInfoResponsePtrOutput) Elem() ExportDeliveryInfoResponseOutput {
return o.ApplyT(func(v *ExportDeliveryInfoResponse) ExportDeliveryInfoResponse { return *v }).(ExportDeliveryInfoResponseOutput)
}
// Has destination for the export being delivered.
func (o ExportDeliveryInfoResponsePtrOutput) Destination() ExportDeliveryDestinationResponsePtrOutput {
return o.ApplyT(func(v *ExportDeliveryInfoResponse) *ExportDeliveryDestinationResponse {
if v == nil {
return nil
}
return &v.Destination
}).(ExportDeliveryDestinationResponsePtrOutput)
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriod struct {
// The start date of recurrence.
From string `pulumi:"from"`
// The end date of recurrence.
To *string `pulumi:"to"`
}
// ExportRecurrencePeriodInput is an input type that accepts ExportRecurrencePeriodArgs and ExportRecurrencePeriodOutput values.
// You can construct a concrete instance of `ExportRecurrencePeriodInput` via:
//
// ExportRecurrencePeriodArgs{...}
type ExportRecurrencePeriodInput interface {
pulumi.Input
ToExportRecurrencePeriodOutput() ExportRecurrencePeriodOutput
ToExportRecurrencePeriodOutputWithContext(context.Context) ExportRecurrencePeriodOutput
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriodArgs struct {
// The start date of recurrence.
From pulumi.StringInput `pulumi:"from"`
// The end date of recurrence.
To pulumi.StringPtrInput `pulumi:"to"`
}
func (ExportRecurrencePeriodArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportRecurrencePeriod)(nil)).Elem()
}
func (i ExportRecurrencePeriodArgs) ToExportRecurrencePeriodOutput() ExportRecurrencePeriodOutput {
return i.ToExportRecurrencePeriodOutputWithContext(context.Background())
}
func (i ExportRecurrencePeriodArgs) ToExportRecurrencePeriodOutputWithContext(ctx context.Context) ExportRecurrencePeriodOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodOutput)
}
func (i ExportRecurrencePeriodArgs) ToExportRecurrencePeriodPtrOutput() ExportRecurrencePeriodPtrOutput {
return i.ToExportRecurrencePeriodPtrOutputWithContext(context.Background())
}
func (i ExportRecurrencePeriodArgs) ToExportRecurrencePeriodPtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodOutput).ToExportRecurrencePeriodPtrOutputWithContext(ctx)
}
// ExportRecurrencePeriodPtrInput is an input type that accepts ExportRecurrencePeriodArgs, ExportRecurrencePeriodPtr and ExportRecurrencePeriodPtrOutput values.
// You can construct a concrete instance of `ExportRecurrencePeriodPtrInput` via:
//
// ExportRecurrencePeriodArgs{...}
//
// or:
//
// nil
type ExportRecurrencePeriodPtrInput interface {
pulumi.Input
ToExportRecurrencePeriodPtrOutput() ExportRecurrencePeriodPtrOutput
ToExportRecurrencePeriodPtrOutputWithContext(context.Context) ExportRecurrencePeriodPtrOutput
}
type exportRecurrencePeriodPtrType ExportRecurrencePeriodArgs
func ExportRecurrencePeriodPtr(v *ExportRecurrencePeriodArgs) ExportRecurrencePeriodPtrInput {
return (*exportRecurrencePeriodPtrType)(v)
}
func (*exportRecurrencePeriodPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportRecurrencePeriod)(nil)).Elem()
}
func (i *exportRecurrencePeriodPtrType) ToExportRecurrencePeriodPtrOutput() ExportRecurrencePeriodPtrOutput {
return i.ToExportRecurrencePeriodPtrOutputWithContext(context.Background())
}
func (i *exportRecurrencePeriodPtrType) ToExportRecurrencePeriodPtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodPtrOutput)
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriodOutput struct{ *pulumi.OutputState }
func (ExportRecurrencePeriodOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportRecurrencePeriod)(nil)).Elem()
}
func (o ExportRecurrencePeriodOutput) ToExportRecurrencePeriodOutput() ExportRecurrencePeriodOutput {
return o
}
func (o ExportRecurrencePeriodOutput) ToExportRecurrencePeriodOutputWithContext(ctx context.Context) ExportRecurrencePeriodOutput {
return o
}
func (o ExportRecurrencePeriodOutput) ToExportRecurrencePeriodPtrOutput() ExportRecurrencePeriodPtrOutput {
return o.ToExportRecurrencePeriodPtrOutputWithContext(context.Background())
}
func (o ExportRecurrencePeriodOutput) ToExportRecurrencePeriodPtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodPtrOutput {
return o.ApplyT(func(v ExportRecurrencePeriod) *ExportRecurrencePeriod {
return &v
}).(ExportRecurrencePeriodPtrOutput)
}
// The start date of recurrence.
func (o ExportRecurrencePeriodOutput) From() pulumi.StringOutput {
return o.ApplyT(func(v ExportRecurrencePeriod) string { return v.From }).(pulumi.StringOutput)
}
// The end date of recurrence.
func (o ExportRecurrencePeriodOutput) To() pulumi.StringPtrOutput {
return o.ApplyT(func(v ExportRecurrencePeriod) *string { return v.To }).(pulumi.StringPtrOutput)
}
type ExportRecurrencePeriodPtrOutput struct{ *pulumi.OutputState }
func (ExportRecurrencePeriodPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportRecurrencePeriod)(nil)).Elem()
}
func (o ExportRecurrencePeriodPtrOutput) ToExportRecurrencePeriodPtrOutput() ExportRecurrencePeriodPtrOutput {
return o
}
func (o ExportRecurrencePeriodPtrOutput) ToExportRecurrencePeriodPtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodPtrOutput {
return o
}
func (o ExportRecurrencePeriodPtrOutput) Elem() ExportRecurrencePeriodOutput {
return o.ApplyT(func(v *ExportRecurrencePeriod) ExportRecurrencePeriod { return *v }).(ExportRecurrencePeriodOutput)
}
// The start date of recurrence.
func (o ExportRecurrencePeriodPtrOutput) From() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportRecurrencePeriod) *string {
if v == nil {
return nil
}
return &v.From
}).(pulumi.StringPtrOutput)
}
// The end date of recurrence.
func (o ExportRecurrencePeriodPtrOutput) To() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportRecurrencePeriod) *string {
if v == nil {
return nil
}
return v.To
}).(pulumi.StringPtrOutput)
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriodResponse struct {
// The start date of recurrence.
From string `pulumi:"from"`
// The end date of recurrence.
To *string `pulumi:"to"`
}
// ExportRecurrencePeriodResponseInput is an input type that accepts ExportRecurrencePeriodResponseArgs and ExportRecurrencePeriodResponseOutput values.
// You can construct a concrete instance of `ExportRecurrencePeriodResponseInput` via:
//
// ExportRecurrencePeriodResponseArgs{...}
type ExportRecurrencePeriodResponseInput interface {
pulumi.Input
ToExportRecurrencePeriodResponseOutput() ExportRecurrencePeriodResponseOutput
ToExportRecurrencePeriodResponseOutputWithContext(context.Context) ExportRecurrencePeriodResponseOutput
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriodResponseArgs struct {
// The start date of recurrence.
From pulumi.StringInput `pulumi:"from"`
// The end date of recurrence.
To pulumi.StringPtrInput `pulumi:"to"`
}
func (ExportRecurrencePeriodResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportRecurrencePeriodResponse)(nil)).Elem()
}
func (i ExportRecurrencePeriodResponseArgs) ToExportRecurrencePeriodResponseOutput() ExportRecurrencePeriodResponseOutput {
return i.ToExportRecurrencePeriodResponseOutputWithContext(context.Background())
}
func (i ExportRecurrencePeriodResponseArgs) ToExportRecurrencePeriodResponseOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodResponseOutput)
}
func (i ExportRecurrencePeriodResponseArgs) ToExportRecurrencePeriodResponsePtrOutput() ExportRecurrencePeriodResponsePtrOutput {
return i.ToExportRecurrencePeriodResponsePtrOutputWithContext(context.Background())
}
func (i ExportRecurrencePeriodResponseArgs) ToExportRecurrencePeriodResponsePtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodResponseOutput).ToExportRecurrencePeriodResponsePtrOutputWithContext(ctx)
}
// ExportRecurrencePeriodResponsePtrInput is an input type that accepts ExportRecurrencePeriodResponseArgs, ExportRecurrencePeriodResponsePtr and ExportRecurrencePeriodResponsePtrOutput values.
// You can construct a concrete instance of `ExportRecurrencePeriodResponsePtrInput` via:
//
// ExportRecurrencePeriodResponseArgs{...}
//
// or:
//
// nil
type ExportRecurrencePeriodResponsePtrInput interface {
pulumi.Input
ToExportRecurrencePeriodResponsePtrOutput() ExportRecurrencePeriodResponsePtrOutput
ToExportRecurrencePeriodResponsePtrOutputWithContext(context.Context) ExportRecurrencePeriodResponsePtrOutput
}
type exportRecurrencePeriodResponsePtrType ExportRecurrencePeriodResponseArgs
func ExportRecurrencePeriodResponsePtr(v *ExportRecurrencePeriodResponseArgs) ExportRecurrencePeriodResponsePtrInput {
return (*exportRecurrencePeriodResponsePtrType)(v)
}
func (*exportRecurrencePeriodResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**ExportRecurrencePeriodResponse)(nil)).Elem()
}
func (i *exportRecurrencePeriodResponsePtrType) ToExportRecurrencePeriodResponsePtrOutput() ExportRecurrencePeriodResponsePtrOutput {
return i.ToExportRecurrencePeriodResponsePtrOutputWithContext(context.Background())
}
func (i *exportRecurrencePeriodResponsePtrType) ToExportRecurrencePeriodResponsePtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportRecurrencePeriodResponsePtrOutput)
}
// The start and end date for recurrence schedule.
type ExportRecurrencePeriodResponseOutput struct{ *pulumi.OutputState }
func (ExportRecurrencePeriodResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*ExportRecurrencePeriodResponse)(nil)).Elem()
}
func (o ExportRecurrencePeriodResponseOutput) ToExportRecurrencePeriodResponseOutput() ExportRecurrencePeriodResponseOutput {
return o
}
func (o ExportRecurrencePeriodResponseOutput) ToExportRecurrencePeriodResponseOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponseOutput {
return o
}
func (o ExportRecurrencePeriodResponseOutput) ToExportRecurrencePeriodResponsePtrOutput() ExportRecurrencePeriodResponsePtrOutput {
return o.ToExportRecurrencePeriodResponsePtrOutputWithContext(context.Background())
}
func (o ExportRecurrencePeriodResponseOutput) ToExportRecurrencePeriodResponsePtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponsePtrOutput {
return o.ApplyT(func(v ExportRecurrencePeriodResponse) *ExportRecurrencePeriodResponse {
return &v
}).(ExportRecurrencePeriodResponsePtrOutput)
}
// The start date of recurrence.
func (o ExportRecurrencePeriodResponseOutput) From() pulumi.StringOutput {
return o.ApplyT(func(v ExportRecurrencePeriodResponse) string { return v.From }).(pulumi.StringOutput)
}
// The end date of recurrence.
func (o ExportRecurrencePeriodResponseOutput) To() pulumi.StringPtrOutput {
return o.ApplyT(func(v ExportRecurrencePeriodResponse) *string { return v.To }).(pulumi.StringPtrOutput)
}
type ExportRecurrencePeriodResponsePtrOutput struct{ *pulumi.OutputState }
func (ExportRecurrencePeriodResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**ExportRecurrencePeriodResponse)(nil)).Elem()
}
func (o ExportRecurrencePeriodResponsePtrOutput) ToExportRecurrencePeriodResponsePtrOutput() ExportRecurrencePeriodResponsePtrOutput {
return o
}
func (o ExportRecurrencePeriodResponsePtrOutput) ToExportRecurrencePeriodResponsePtrOutputWithContext(ctx context.Context) ExportRecurrencePeriodResponsePtrOutput {
return o
}
func (o ExportRecurrencePeriodResponsePtrOutput) Elem() ExportRecurrencePeriodResponseOutput {
return o.ApplyT(func(v *ExportRecurrencePeriodResponse) ExportRecurrencePeriodResponse { return *v }).(ExportRecurrencePeriodResponseOutput)
}
// The start date of recurrence.
func (o ExportRecurrencePeriodResponsePtrOutput) From() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportRecurrencePeriodResponse) *string {
if v == nil {
return nil
}
return &v.From
}).(pulumi.StringPtrOutput)
}
// The end date of recurrence.
func (o ExportRecurrencePeriodResponsePtrOutput) To() pulumi.StringPtrOutput {
return o.ApplyT(func(v *ExportRecurrencePeriodResponse) *string {
if v == nil {
return nil
}
return v.To
}).(pulumi.StringPtrOutput)
}
// The schedule associated with a export.
type ExportSchedule struct {
// The schedule recurrence.
Recurrence string `pulumi:"recurrence"`
// Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
RecurrencePeriod *ExportRecurrencePeriod `pulumi:"recurrencePeriod"`
// The status of the schedule. Whether active or not. If inactive, the export's scheduled execution is paused.
Status *string `pulumi:"status"`
}
// ExportScheduleInput is an input type that accepts ExportScheduleArgs and ExportScheduleOutput values.
// You can construct a concrete instance of `ExportScheduleInput` via:
//
// ExportScheduleArgs{...}
type ExportScheduleInput interface {
pulumi.Input
ToExportScheduleOutput() ExportScheduleOutput
ToExportScheduleOutputWithContext(context.Context) ExportScheduleOutput
}
// The schedule associated with a export.
type ExportScheduleArgs struct {
// The schedule recurrence.
Recurrence pulumi.StringInput `pulumi:"recurrence"`
// Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
RecurrencePeriod ExportRecurrencePeriodPtrInput `pulumi:"recurrencePeriod"`
// The status of the schedule. Whether active or not. If inactive, the export's scheduled execution is paused.
Status pulumi.StringPtrInput `pulumi:"status"`
}
func (ExportScheduleArgs) ElementType() reflect.Type {
return reflect.TypeOf((*ExportSchedule)(nil)).Elem()
}
func (i ExportScheduleArgs) ToExportScheduleOutput() ExportScheduleOutput {
return i.ToExportScheduleOutputWithContext(context.Background())
}
func (i ExportScheduleArgs) ToExportScheduleOutputWithContext(ctx context.Context) ExportScheduleOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportScheduleOutput)
}
func (i ExportScheduleArgs) ToExportSchedulePtrOutput() ExportSchedulePtrOutput {
return i.ToExportSchedulePtrOutputWithContext(context.Background())
}
func (i ExportScheduleArgs) ToExportSchedulePtrOutputWithContext(ctx context.Context) ExportSchedulePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(ExportScheduleOutput).ToExportSchedulePtrOutputWithContext(ctx)
}
// ExportSchedulePtrInput is an input type that accepts ExportScheduleArgs, ExportSchedulePtr and ExportSchedulePtrOutput values.
// You can construct a concrete instance of `ExportSchedulePtrInput` via:
//
// ExportScheduleArgs{...}
//
// or:
//
// nil
type ExportSchedulePtrInput interface {
pulumi.Input
ToExportSchedulePtrOutput() ExportSchedulePtrOutput
ToExportSchedulePtrOutputWithContext(context.Context) ExportSchedulePtrOutput
}
type exportSchedulePtrType ExportScheduleArgs
func ExportSchedulePtr(v *ExportScheduleArgs) ExportSchedulePtrInput {
return (*exportSchedulePtrType)(v)