forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
1582 lines (1353 loc) · 94 KB
/
enums.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
package media
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AacAudioProfile enumerates the values for aac audio profile.
type AacAudioProfile string
const (
// AacAudioProfileAacLc Specifies that the output audio is to be encoded into AAC Low Complexity profile
// (AAC-LC).
AacAudioProfileAacLc AacAudioProfile = "AacLc"
// AacAudioProfileHeAacV1 Specifies that the output audio is to be encoded into HE-AAC v1 profile.
AacAudioProfileHeAacV1 AacAudioProfile = "HeAacV1"
// AacAudioProfileHeAacV2 Specifies that the output audio is to be encoded into HE-AAC v2 profile.
AacAudioProfileHeAacV2 AacAudioProfile = "HeAacV2"
)
// PossibleAacAudioProfileValues returns an array of possible values for the AacAudioProfile const type.
func PossibleAacAudioProfileValues() []AacAudioProfile {
return []AacAudioProfile{AacAudioProfileAacLc, AacAudioProfileHeAacV1, AacAudioProfileHeAacV2}
}
// AccountEncryptionKeyType enumerates the values for account encryption key type.
type AccountEncryptionKeyType string
const (
// AccountEncryptionKeyTypeCustomerKey The Account Key is encrypted with a Customer Key.
AccountEncryptionKeyTypeCustomerKey AccountEncryptionKeyType = "CustomerKey"
// AccountEncryptionKeyTypeSystemKey The Account Key is encrypted with a System Key.
AccountEncryptionKeyTypeSystemKey AccountEncryptionKeyType = "SystemKey"
)
// PossibleAccountEncryptionKeyTypeValues returns an array of possible values for the AccountEncryptionKeyType const type.
func PossibleAccountEncryptionKeyTypeValues() []AccountEncryptionKeyType {
return []AccountEncryptionKeyType{AccountEncryptionKeyTypeCustomerKey, AccountEncryptionKeyTypeSystemKey}
}
// ActionType enumerates the values for action type.
type ActionType string
const (
// ActionTypeInternal An internal action.
ActionTypeInternal ActionType = "Internal"
)
// PossibleActionTypeValues returns an array of possible values for the ActionType const type.
func PossibleActionTypeValues() []ActionType {
return []ActionType{ActionTypeInternal}
}
// AnalysisResolution enumerates the values for analysis resolution.
type AnalysisResolution string
const (
// AnalysisResolutionSourceResolution ...
AnalysisResolutionSourceResolution AnalysisResolution = "SourceResolution"
// AnalysisResolutionStandardDefinition ...
AnalysisResolutionStandardDefinition AnalysisResolution = "StandardDefinition"
)
// PossibleAnalysisResolutionValues returns an array of possible values for the AnalysisResolution const type.
func PossibleAnalysisResolutionValues() []AnalysisResolution {
return []AnalysisResolution{AnalysisResolutionSourceResolution, AnalysisResolutionStandardDefinition}
}
// AssetContainerPermission enumerates the values for asset container permission.
type AssetContainerPermission string
const (
// AssetContainerPermissionRead The SAS URL will allow read access to the container.
AssetContainerPermissionRead AssetContainerPermission = "Read"
// AssetContainerPermissionReadWrite The SAS URL will allow read and write access to the container.
AssetContainerPermissionReadWrite AssetContainerPermission = "ReadWrite"
// AssetContainerPermissionReadWriteDelete The SAS URL will allow read, write and delete access to the
// container.
AssetContainerPermissionReadWriteDelete AssetContainerPermission = "ReadWriteDelete"
)
// PossibleAssetContainerPermissionValues returns an array of possible values for the AssetContainerPermission const type.
func PossibleAssetContainerPermissionValues() []AssetContainerPermission {
return []AssetContainerPermission{AssetContainerPermissionRead, AssetContainerPermissionReadWrite, AssetContainerPermissionReadWriteDelete}
}
// AssetStorageEncryptionFormat enumerates the values for asset storage encryption format.
type AssetStorageEncryptionFormat string
const (
// AssetStorageEncryptionFormatMediaStorageClientEncryption The Asset is encrypted with Media Services
// client-side encryption.
AssetStorageEncryptionFormatMediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption"
// AssetStorageEncryptionFormatNone The Asset does not use client-side storage encryption (this is the only
// allowed value for new Assets).
AssetStorageEncryptionFormatNone AssetStorageEncryptionFormat = "None"
)
// PossibleAssetStorageEncryptionFormatValues returns an array of possible values for the AssetStorageEncryptionFormat const type.
func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat {
return []AssetStorageEncryptionFormat{AssetStorageEncryptionFormatMediaStorageClientEncryption, AssetStorageEncryptionFormatNone}
}
// AttributeFilter enumerates the values for attribute filter.
type AttributeFilter string
const (
// AttributeFilterAll All tracks will be included.
AttributeFilterAll AttributeFilter = "All"
// AttributeFilterBottom The first track will be included when the attribute is sorted in ascending order.
// Generally used to select the smallest bitrate.
AttributeFilterBottom AttributeFilter = "Bottom"
// AttributeFilterTop The first track will be included when the attribute is sorted in descending order.
// Generally used to select the largest bitrate.
AttributeFilterTop AttributeFilter = "Top"
// AttributeFilterValueEquals Any tracks that have an attribute equal to the value given will be included.
AttributeFilterValueEquals AttributeFilter = "ValueEquals"
)
// PossibleAttributeFilterValues returns an array of possible values for the AttributeFilter const type.
func PossibleAttributeFilterValues() []AttributeFilter {
return []AttributeFilter{AttributeFilterAll, AttributeFilterBottom, AttributeFilterTop, AttributeFilterValueEquals}
}
// AudioAnalysisMode enumerates the values for audio analysis mode.
type AudioAnalysisMode string
const (
// AudioAnalysisModeBasic This mode performs speech-to-text transcription and generation of a VTT
// subtitle/caption file. The output of this mode includes an Insights JSON file including only the
// keywords, transcription,and timing information. Automatic language detection and speaker diarization are
// not included in this mode.
AudioAnalysisModeBasic AudioAnalysisMode = "Basic"
// AudioAnalysisModeStandard Performs all operations included in the Basic mode, additionally performing
// language detection and speaker diarization.
AudioAnalysisModeStandard AudioAnalysisMode = "Standard"
)
// PossibleAudioAnalysisModeValues returns an array of possible values for the AudioAnalysisMode const type.
func PossibleAudioAnalysisModeValues() []AudioAnalysisMode {
return []AudioAnalysisMode{AudioAnalysisModeBasic, AudioAnalysisModeStandard}
}
// BlurType enumerates the values for blur type.
type BlurType string
const (
// BlurTypeBlack Black: Black out filter
BlurTypeBlack BlurType = "Black"
// BlurTypeBox Box: debug filter, bounding box only
BlurTypeBox BlurType = "Box"
// BlurTypeHigh High: Confuse blur filter
BlurTypeHigh BlurType = "High"
// BlurTypeLow Low: box-car blur filter
BlurTypeLow BlurType = "Low"
// BlurTypeMed Med: Gaussian blur filter
BlurTypeMed BlurType = "Med"
)
// PossibleBlurTypeValues returns an array of possible values for the BlurType const type.
func PossibleBlurTypeValues() []BlurType {
return []BlurType{BlurTypeBlack, BlurTypeBox, BlurTypeHigh, BlurTypeLow, BlurTypeMed}
}
// ChannelMapping enumerates the values for channel mapping.
type ChannelMapping string
const (
// ChannelMappingBackLeft The Back Left Channel. Sometimes referred to as the Left Surround Channel.
ChannelMappingBackLeft ChannelMapping = "BackLeft"
// ChannelMappingBackRight The Back Right Channel. Sometimes referred to as the Right Surround Channel.
ChannelMappingBackRight ChannelMapping = "BackRight"
// ChannelMappingCenter The Center Channel.
ChannelMappingCenter ChannelMapping = "Center"
// ChannelMappingFrontLeft The Front Left Channel.
ChannelMappingFrontLeft ChannelMapping = "FrontLeft"
// ChannelMappingFrontRight The Front Right Channel.
ChannelMappingFrontRight ChannelMapping = "FrontRight"
// ChannelMappingLowFrequencyEffects Low Frequency Effects Channel. Sometimes referred to as the
// Subwoofer.
ChannelMappingLowFrequencyEffects ChannelMapping = "LowFrequencyEffects"
// ChannelMappingStereoLeft The Left Stereo channel. Sometimes referred to as Down Mix Left.
ChannelMappingStereoLeft ChannelMapping = "StereoLeft"
// ChannelMappingStereoRight The Right Stereo channel. Sometimes referred to as Down Mix Right.
ChannelMappingStereoRight ChannelMapping = "StereoRight"
)
// PossibleChannelMappingValues returns an array of possible values for the ChannelMapping const type.
func PossibleChannelMappingValues() []ChannelMapping {
return []ChannelMapping{ChannelMappingBackLeft, ChannelMappingBackRight, ChannelMappingCenter, ChannelMappingFrontLeft, ChannelMappingFrontRight, ChannelMappingLowFrequencyEffects, ChannelMappingStereoLeft, ChannelMappingStereoRight}
}
// Complexity enumerates the values for complexity.
type Complexity string
const (
// ComplexityBalanced Configures the encoder to use settings that achieve a balance between speed and
// quality.
ComplexityBalanced Complexity = "Balanced"
// ComplexityQuality Configures the encoder to use settings optimized to produce higher quality output at
// the expense of slower overall encode time.
ComplexityQuality Complexity = "Quality"
// ComplexitySpeed Configures the encoder to use settings optimized for faster encoding. Quality is
// sacrificed to decrease encoding time.
ComplexitySpeed Complexity = "Speed"
)
// PossibleComplexityValues returns an array of possible values for the Complexity const type.
func PossibleComplexityValues() []Complexity {
return []Complexity{ComplexityBalanced, ComplexityQuality, ComplexitySpeed}
}
// ContentKeyPolicyFairPlayRentalAndLeaseKeyType enumerates the values for content key policy fair play rental
// and lease key type.
type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
const (
// ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry Dual expiry for offline rental.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "DualExpiry"
// ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited Content key can be persisted and the
// valid duration is limited by the Rental Duration value
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
// ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited Content key can be persisted with an
// unlimited duration
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
// ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined Key duration is not specified.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
// ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown Represents a
// ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
)
// PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues returns an array of possible values for the ContentKeyPolicyFairPlayRentalAndLeaseKeyType const type.
func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType {
return []ContentKeyPolicyFairPlayRentalAndLeaseKeyType{ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown}
}
// ContentKeyPolicyPlayReadyContentType enumerates the values for content key policy play ready content type.
type ContentKeyPolicyPlayReadyContentType string
const (
// ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload Ultraviolet download content type.
ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload"
// ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming Ultraviolet streaming content type.
ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming"
// ContentKeyPolicyPlayReadyContentTypeUnknown Represents a ContentKeyPolicyPlayReadyContentType that is
// unavailable in current API version.
ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown"
// ContentKeyPolicyPlayReadyContentTypeUnspecified Unspecified content type.
ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified"
)
// PossibleContentKeyPolicyPlayReadyContentTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyContentType const type.
func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType {
return []ContentKeyPolicyPlayReadyContentType{ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload, ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming, ContentKeyPolicyPlayReadyContentTypeUnknown, ContentKeyPolicyPlayReadyContentTypeUnspecified}
}
// ContentKeyPolicyPlayReadyLicenseType enumerates the values for content key policy play ready license type.
type ContentKeyPolicyPlayReadyLicenseType string
const (
// ContentKeyPolicyPlayReadyLicenseTypeNonPersistent Non persistent license.
ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent"
// ContentKeyPolicyPlayReadyLicenseTypePersistent Persistent license. Allows offline playback.
ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent"
// ContentKeyPolicyPlayReadyLicenseTypeUnknown Represents a ContentKeyPolicyPlayReadyLicenseType that is
// unavailable in current API version.
ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown"
)
// PossibleContentKeyPolicyPlayReadyLicenseTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyLicenseType const type.
func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType {
return []ContentKeyPolicyPlayReadyLicenseType{ContentKeyPolicyPlayReadyLicenseTypeNonPersistent, ContentKeyPolicyPlayReadyLicenseTypePersistent, ContentKeyPolicyPlayReadyLicenseTypeUnknown}
}
// ContentKeyPolicyPlayReadyUnknownOutputPassingOption enumerates the values for content key policy play ready
// unknown output passing option.
type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
const (
// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed Passing the video portion of protected
// content to an Unknown Output is allowed.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed"
// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction Passing the video
// portion of protected content to an Unknown Output is allowed but with constrained resolution.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction"
// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed Passing the video portion of protected
// content to an Unknown Output is not allowed.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed"
// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown Represents a
// ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown"
)
// PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues returns an array of possible values for the ContentKeyPolicyPlayReadyUnknownOutputPassingOption const type.
func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption {
return []ContentKeyPolicyPlayReadyUnknownOutputPassingOption{ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown}
}
// ContentKeyPolicyRestrictionTokenType enumerates the values for content key policy restriction token type.
type ContentKeyPolicyRestrictionTokenType string
const (
// ContentKeyPolicyRestrictionTokenTypeJwt JSON Web Token.
ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt"
// ContentKeyPolicyRestrictionTokenTypeSwt Simple Web Token.
ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt"
// ContentKeyPolicyRestrictionTokenTypeUnknown Represents a ContentKeyPolicyRestrictionTokenType that is
// unavailable in current API version.
ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown"
)
// PossibleContentKeyPolicyRestrictionTokenTypeValues returns an array of possible values for the ContentKeyPolicyRestrictionTokenType const type.
func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType {
return []ContentKeyPolicyRestrictionTokenType{ContentKeyPolicyRestrictionTokenTypeJwt, ContentKeyPolicyRestrictionTokenTypeSwt, ContentKeyPolicyRestrictionTokenTypeUnknown}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// DefaultAction enumerates the values for default action.
type DefaultAction string
const (
// DefaultActionAllow All public IP addresses are allowed.
DefaultActionAllow DefaultAction = "Allow"
// DefaultActionDeny Public IP addresses are blocked.
DefaultActionDeny DefaultAction = "Deny"
)
// PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.
func PossibleDefaultActionValues() []DefaultAction {
return []DefaultAction{DefaultActionAllow, DefaultActionDeny}
}
// DeinterlaceMode enumerates the values for deinterlace mode.
type DeinterlaceMode string
const (
// DeinterlaceModeAutoPixelAdaptive Apply automatic pixel adaptive de-interlacing on each frame in the
// input video.
DeinterlaceModeAutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
// DeinterlaceModeOff Disables de-interlacing of the source video.
DeinterlaceModeOff DeinterlaceMode = "Off"
)
// PossibleDeinterlaceModeValues returns an array of possible values for the DeinterlaceMode const type.
func PossibleDeinterlaceModeValues() []DeinterlaceMode {
return []DeinterlaceMode{DeinterlaceModeAutoPixelAdaptive, DeinterlaceModeOff}
}
// DeinterlaceParity enumerates the values for deinterlace parity.
type DeinterlaceParity string
const (
// DeinterlaceParityAuto Automatically detect the order of fields
DeinterlaceParityAuto DeinterlaceParity = "Auto"
// DeinterlaceParityBottomFieldFirst Apply bottom field first processing of input video.
DeinterlaceParityBottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
// DeinterlaceParityTopFieldFirst Apply top field first processing of input video.
DeinterlaceParityTopFieldFirst DeinterlaceParity = "TopFieldFirst"
)
// PossibleDeinterlaceParityValues returns an array of possible values for the DeinterlaceParity const type.
func PossibleDeinterlaceParityValues() []DeinterlaceParity {
return []DeinterlaceParity{DeinterlaceParityAuto, DeinterlaceParityBottomFieldFirst, DeinterlaceParityTopFieldFirst}
}
// EncoderNamedPreset enumerates the values for encoder named preset.
type EncoderNamedPreset string
const (
// EncoderNamedPresetAACGoodQualityAudio Produces a single MP4 file containing only stereo audio encoded at
// 192 kbps.
EncoderNamedPresetAACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
// EncoderNamedPresetAdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo
// AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The
// auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output
// will remain 720p at best.
EncoderNamedPresetAdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
// EncoderNamedPresetContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware
// encoding. Given any input content, the service performs an initial lightweight analysis of the input
// content, and uses the results to determine the optimal number of layers, appropriate bitrate and
// resolution settings for delivery by adaptive streaming. This preset is particularly effective for low
// and medium complexity videos, where the output files will be at lower bitrates but at a quality that
// still delivers a good experience to viewers. The output will contain MP4 files with video and audio
// interleaved.
EncoderNamedPresetContentAwareEncoding EncoderNamedPreset = "ContentAwareEncoding"
// EncoderNamedPresetContentAwareEncodingExperimental Exposes an experimental preset for content-aware
// encoding. Given any input content, the service attempts to automatically determine the optimal number of
// layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. The underlying
// algorithms will continue to evolve over time. The output will contain MP4 files with video and audio
// interleaved.
EncoderNamedPresetContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
// EncoderNamedPresetCopyAllBitrateNonInterleaved Copy all video and audio streams from the input asset as
// non-interleaved video and audio output files. This preset can be used to clip an existing asset or
// convert a group of key frame (GOP) aligned MP4 files as an asset that can be streamed.
EncoderNamedPresetCopyAllBitrateNonInterleaved EncoderNamedPreset = "CopyAllBitrateNonInterleaved"
// EncoderNamedPresetH264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000
// kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 180p.
EncoderNamedPresetH264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
// EncoderNamedPresetH264MultipleBitrate720p Produces a set of 6 GOP-aligned MP4 files, ranging from 3400
// kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 180p.
EncoderNamedPresetH264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
// EncoderNamedPresetH264MultipleBitrateSD Produces a set of 5 GOP-aligned MP4 files, ranging from 1900kbps
// to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 240p.
EncoderNamedPresetH264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
// EncoderNamedPresetH264SingleBitrate1080p Produces an MP4 file where the video is encoded with H.264
// codec at 6750 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC
// codec at 128 kbps.
EncoderNamedPresetH264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
// EncoderNamedPresetH264SingleBitrate720p Produces an MP4 file where the video is encoded with H.264 codec
// at 4500 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at
// 128 kbps.
EncoderNamedPresetH264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
// EncoderNamedPresetH264SingleBitrateSD Produces an MP4 file where the video is encoded with H.264 codec
// at 2200 kbps and a picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at
// 128 kbps.
EncoderNamedPresetH264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
// EncoderNamedPresetH265AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.265 video and
// stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate.
// The auto-generated preset will never exceed the input resolution. For example, if the input is 720p,
// output will remain 720p at best.
EncoderNamedPresetH265AdaptiveStreaming EncoderNamedPreset = "H265AdaptiveStreaming"
// EncoderNamedPresetH265ContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware
// encoding. Given any input content, the service performs an initial lightweight analysis of the input
// content, and uses the results to determine the optimal number of layers, appropriate bitrate and
// resolution settings for delivery by adaptive streaming. This preset is particularly effective for low
// and medium complexity videos, where the output files will be at lower bitrates but at a quality that
// still delivers a good experience to viewers. The output will contain MP4 files with video and audio
// interleaved.
EncoderNamedPresetH265ContentAwareEncoding EncoderNamedPreset = "H265ContentAwareEncoding"
// EncoderNamedPresetH265SingleBitrate1080p Produces an MP4 file where the video is encoded with H.265
// codec at 3500 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC
// codec at 128 kbps.
EncoderNamedPresetH265SingleBitrate1080p EncoderNamedPreset = "H265SingleBitrate1080p"
// EncoderNamedPresetH265SingleBitrate4K Produces an MP4 file where the video is encoded with H.265 codec
// at 9500 kbps and a picture height of 2160 pixels, and the stereo audio is encoded with AAC-LC codec at
// 128 kbps.
EncoderNamedPresetH265SingleBitrate4K EncoderNamedPreset = "H265SingleBitrate4K"
// EncoderNamedPresetH265SingleBitrate720p Produces an MP4 file where the video is encoded with H.265 codec
// at 1800 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at
// 128 kbps.
EncoderNamedPresetH265SingleBitrate720p EncoderNamedPreset = "H265SingleBitrate720p"
)
// PossibleEncoderNamedPresetValues returns an array of possible values for the EncoderNamedPreset const type.
func PossibleEncoderNamedPresetValues() []EncoderNamedPreset {
return []EncoderNamedPreset{EncoderNamedPresetAACGoodQualityAudio, EncoderNamedPresetAdaptiveStreaming, EncoderNamedPresetContentAwareEncoding, EncoderNamedPresetContentAwareEncodingExperimental, EncoderNamedPresetCopyAllBitrateNonInterleaved, EncoderNamedPresetH264MultipleBitrate1080p, EncoderNamedPresetH264MultipleBitrate720p, EncoderNamedPresetH264MultipleBitrateSD, EncoderNamedPresetH264SingleBitrate1080p, EncoderNamedPresetH264SingleBitrate720p, EncoderNamedPresetH264SingleBitrateSD, EncoderNamedPresetH265AdaptiveStreaming, EncoderNamedPresetH265ContentAwareEncoding, EncoderNamedPresetH265SingleBitrate1080p, EncoderNamedPresetH265SingleBitrate4K, EncoderNamedPresetH265SingleBitrate720p}
}
// EncryptionScheme enumerates the values for encryption scheme.
type EncryptionScheme string
const (
// EncryptionSchemeCommonEncryptionCbcs CommonEncryptionCbcs scheme
EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs"
// EncryptionSchemeCommonEncryptionCenc CommonEncryptionCenc scheme
EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc"
// EncryptionSchemeEnvelopeEncryption EnvelopeEncryption scheme
EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption"
// EncryptionSchemeNoEncryption NoEncryption scheme
EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption"
)
// PossibleEncryptionSchemeValues returns an array of possible values for the EncryptionScheme const type.
func PossibleEncryptionSchemeValues() []EncryptionScheme {
return []EncryptionScheme{EncryptionSchemeCommonEncryptionCbcs, EncryptionSchemeCommonEncryptionCenc, EncryptionSchemeEnvelopeEncryption, EncryptionSchemeNoEncryption}
}
// EntropyMode enumerates the values for entropy mode.
type EntropyMode string
const (
// EntropyModeCabac Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding.
EntropyModeCabac EntropyMode = "Cabac"
// EntropyModeCavlc Context Adaptive Variable Length Coder (CAVLC) entropy encoding.
EntropyModeCavlc EntropyMode = "Cavlc"
)
// PossibleEntropyModeValues returns an array of possible values for the EntropyMode const type.
func PossibleEntropyModeValues() []EntropyMode {
return []EntropyMode{EntropyModeCabac, EntropyModeCavlc}
}
// FaceRedactorMode enumerates the values for face redactor mode.
type FaceRedactorMode string
const (
// FaceRedactorModeAnalyze Analyze mode detects faces and outputs a metadata file with the results. Allows
// editing of the metadata file before faces are blurred with Redact mode.
FaceRedactorModeAnalyze FaceRedactorMode = "Analyze"
// FaceRedactorModeCombined Combined mode does the Analyze and Redact steps in one pass when editing the
// analyzed faces is not desired.
FaceRedactorModeCombined FaceRedactorMode = "Combined"
// FaceRedactorModeRedact Redact mode consumes the metadata file from Analyze mode and redacts the faces
// found.
FaceRedactorModeRedact FaceRedactorMode = "Redact"
)
// PossibleFaceRedactorModeValues returns an array of possible values for the FaceRedactorMode const type.
func PossibleFaceRedactorModeValues() []FaceRedactorMode {
return []FaceRedactorMode{FaceRedactorModeAnalyze, FaceRedactorModeCombined, FaceRedactorModeRedact}
}
// FilterTrackPropertyCompareOperation enumerates the values for filter track property compare operation.
type FilterTrackPropertyCompareOperation string
const (
// FilterTrackPropertyCompareOperationEqual The equal operation.
FilterTrackPropertyCompareOperationEqual FilterTrackPropertyCompareOperation = "Equal"
// FilterTrackPropertyCompareOperationNotEqual The not equal operation.
FilterTrackPropertyCompareOperationNotEqual FilterTrackPropertyCompareOperation = "NotEqual"
)
// PossibleFilterTrackPropertyCompareOperationValues returns an array of possible values for the FilterTrackPropertyCompareOperation const type.
func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation {
return []FilterTrackPropertyCompareOperation{FilterTrackPropertyCompareOperationEqual, FilterTrackPropertyCompareOperationNotEqual}
}
// FilterTrackPropertyType enumerates the values for filter track property type.
type FilterTrackPropertyType string
const (
// FilterTrackPropertyTypeBitrate The bitrate.
FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate"
// FilterTrackPropertyTypeFourCC The fourCC.
FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC"
// FilterTrackPropertyTypeLanguage The language.
FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language"
// FilterTrackPropertyTypeName The name.
FilterTrackPropertyTypeName FilterTrackPropertyType = "Name"
// FilterTrackPropertyTypeType The type.
FilterTrackPropertyTypeType FilterTrackPropertyType = "Type"
// FilterTrackPropertyTypeUnknown The unknown track property type.
FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown"
)
// PossibleFilterTrackPropertyTypeValues returns an array of possible values for the FilterTrackPropertyType const type.
func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType {
return []FilterTrackPropertyType{FilterTrackPropertyTypeBitrate, FilterTrackPropertyTypeFourCC, FilterTrackPropertyTypeLanguage, FilterTrackPropertyTypeName, FilterTrackPropertyTypeType, FilterTrackPropertyTypeUnknown}
}
// H264Complexity enumerates the values for h264 complexity.
type H264Complexity string
const (
// H264ComplexityBalanced Tells the encoder to use settings that achieve a balance between speed and
// quality.
H264ComplexityBalanced H264Complexity = "Balanced"
// H264ComplexityQuality Tells the encoder to use settings that are optimized to produce higher quality
// output at the expense of slower overall encode time.
H264ComplexityQuality H264Complexity = "Quality"
// H264ComplexitySpeed Tells the encoder to use settings that are optimized for faster encoding. Quality is
// sacrificed to decrease encoding time.
H264ComplexitySpeed H264Complexity = "Speed"
)
// PossibleH264ComplexityValues returns an array of possible values for the H264Complexity const type.
func PossibleH264ComplexityValues() []H264Complexity {
return []H264Complexity{H264ComplexityBalanced, H264ComplexityQuality, H264ComplexitySpeed}
}
// H264RateControlMode enumerates the values for h264 rate control mode.
type H264RateControlMode string
const (
// H264RateControlModeABR Average Bitrate (ABR) mode that hits the target bitrate: Default mode.
H264RateControlModeABR H264RateControlMode = "ABR"
// H264RateControlModeCBR Constant Bitrate (CBR) mode that tightens bitrate variations around target
// bitrate.
H264RateControlModeCBR H264RateControlMode = "CBR"
// H264RateControlModeCRF Constant Rate Factor (CRF) mode that targets at constant subjective quality.
H264RateControlModeCRF H264RateControlMode = "CRF"
)
// PossibleH264RateControlModeValues returns an array of possible values for the H264RateControlMode const type.
func PossibleH264RateControlModeValues() []H264RateControlMode {
return []H264RateControlMode{H264RateControlModeABR, H264RateControlModeCBR, H264RateControlModeCRF}
}
// H264VideoProfile enumerates the values for h264 video profile.
type H264VideoProfile string
const (
// H264VideoProfileAuto Tells the encoder to automatically determine the appropriate H.264 profile.
H264VideoProfileAuto H264VideoProfile = "Auto"
// H264VideoProfileBaseline Baseline profile
H264VideoProfileBaseline H264VideoProfile = "Baseline"
// H264VideoProfileHigh High profile.
H264VideoProfileHigh H264VideoProfile = "High"
// H264VideoProfileHigh422 High 4:2:2 profile.
H264VideoProfileHigh422 H264VideoProfile = "High422"
// H264VideoProfileHigh444 High 4:4:4 predictive profile.
H264VideoProfileHigh444 H264VideoProfile = "High444"
// H264VideoProfileMain Main profile
H264VideoProfileMain H264VideoProfile = "Main"
)
// PossibleH264VideoProfileValues returns an array of possible values for the H264VideoProfile const type.
func PossibleH264VideoProfileValues() []H264VideoProfile {
return []H264VideoProfile{H264VideoProfileAuto, H264VideoProfileBaseline, H264VideoProfileHigh, H264VideoProfileHigh422, H264VideoProfileHigh444, H264VideoProfileMain}
}
// H265Complexity enumerates the values for h265 complexity.
type H265Complexity string
const (
// H265ComplexityBalanced Tells the encoder to use settings that achieve a balance between speed and
// quality.
H265ComplexityBalanced H265Complexity = "Balanced"
// H265ComplexityQuality Tells the encoder to use settings that are optimized to produce higher quality
// output at the expense of slower overall encode time.
H265ComplexityQuality H265Complexity = "Quality"
// H265ComplexitySpeed Tells the encoder to use settings that are optimized for faster encoding. Quality is
// sacrificed to decrease encoding time.
H265ComplexitySpeed H265Complexity = "Speed"
)
// PossibleH265ComplexityValues returns an array of possible values for the H265Complexity const type.
func PossibleH265ComplexityValues() []H265Complexity {
return []H265Complexity{H265ComplexityBalanced, H265ComplexityQuality, H265ComplexitySpeed}
}
// H265VideoProfile enumerates the values for h265 video profile.
type H265VideoProfile string
const (
// H265VideoProfileAuto Tells the encoder to automatically determine the appropriate H.265 profile.
H265VideoProfileAuto H265VideoProfile = "Auto"
// H265VideoProfileMain Main profile
// (https://x265.readthedocs.io/en/default/cli.html?highlight=profile#profile-level-tier)
H265VideoProfileMain H265VideoProfile = "Main"
// H265VideoProfileMain10 Main 10 profile
// (https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding#Main_10)
H265VideoProfileMain10 H265VideoProfile = "Main10"
)
// PossibleH265VideoProfileValues returns an array of possible values for the H265VideoProfile const type.
func PossibleH265VideoProfileValues() []H265VideoProfile {
return []H265VideoProfile{H265VideoProfileAuto, H265VideoProfileMain, H265VideoProfileMain10}
}
// InsightsType enumerates the values for insights type.
type InsightsType string
const (
// InsightsTypeAllInsights Generate both audio and video insights. Fails if either audio or video Insights
// fail.
InsightsTypeAllInsights InsightsType = "AllInsights"
// InsightsTypeAudioInsightsOnly Generate audio only insights. Ignore video even if present. Fails if no
// audio is present.
InsightsTypeAudioInsightsOnly InsightsType = "AudioInsightsOnly"
// InsightsTypeVideoInsightsOnly Generate video only insights. Ignore audio if present. Fails if no video
// is present.
InsightsTypeVideoInsightsOnly InsightsType = "VideoInsightsOnly"
)
// PossibleInsightsTypeValues returns an array of possible values for the InsightsType const type.
func PossibleInsightsTypeValues() []InsightsType {
return []InsightsType{InsightsTypeAllInsights, InsightsTypeAudioInsightsOnly, InsightsTypeVideoInsightsOnly}
}
// InterleaveOutput enumerates the values for interleave output.
type InterleaveOutput string
const (
// InterleaveOutputInterleavedOutput The output includes both audio and video.
InterleaveOutputInterleavedOutput InterleaveOutput = "InterleavedOutput"
// InterleaveOutputNonInterleavedOutput The output is video-only or audio-only.
InterleaveOutputNonInterleavedOutput InterleaveOutput = "NonInterleavedOutput"
)
// PossibleInterleaveOutputValues returns an array of possible values for the InterleaveOutput const type.
func PossibleInterleaveOutputValues() []InterleaveOutput {
return []InterleaveOutput{InterleaveOutputInterleavedOutput, InterleaveOutputNonInterleavedOutput}
}
// JobErrorCategory enumerates the values for job error category.
type JobErrorCategory string
const (
// JobErrorCategoryConfiguration The error is configuration related.
JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
// JobErrorCategoryContent The error is related to data in the input files.
JobErrorCategoryContent JobErrorCategory = "Content"
// JobErrorCategoryDownload The error is download related.
JobErrorCategoryDownload JobErrorCategory = "Download"
// JobErrorCategoryService The error is service related.
JobErrorCategoryService JobErrorCategory = "Service"
// JobErrorCategoryUpload The error is upload related.
JobErrorCategoryUpload JobErrorCategory = "Upload"
)
// PossibleJobErrorCategoryValues returns an array of possible values for the JobErrorCategory const type.
func PossibleJobErrorCategoryValues() []JobErrorCategory {
return []JobErrorCategory{JobErrorCategoryConfiguration, JobErrorCategoryContent, JobErrorCategoryDownload, JobErrorCategoryService, JobErrorCategoryUpload}
}
// JobErrorCode enumerates the values for job error code.
type JobErrorCode string
const (
// JobErrorCodeConfigurationUnsupported There was a problem with the combination of input files and the
// configuration settings applied, fix the configuration settings and retry with the same input, or change
// input to match the configuration.
JobErrorCodeConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
// JobErrorCodeContentMalformed There was a problem with the input content (for example: zero byte files,
// or corrupt/non-decodable files), check the input files.
JobErrorCodeContentMalformed JobErrorCode = "ContentMalformed"
// JobErrorCodeContentUnsupported There was a problem with the format of the input (not valid media file,
// or an unsupported file/codec), check the validity of the input files.
JobErrorCodeContentUnsupported JobErrorCode = "ContentUnsupported"
// JobErrorCodeDownloadNotAccessible While trying to download the input files, the files were not
// accessible, please check the availability of the source.
JobErrorCodeDownloadNotAccessible JobErrorCode = "DownloadNotAccessible"
// JobErrorCodeDownloadTransientError While trying to download the input files, there was an issue during
// transfer (storage service, network errors), see details and check your source.
JobErrorCodeDownloadTransientError JobErrorCode = "DownloadTransientError"
// JobErrorCodeServiceError Fatal service error, please contact support.
JobErrorCodeServiceError JobErrorCode = "ServiceError"
// JobErrorCodeServiceTransientError Transient error, please retry, if retry is unsuccessful, please
// contact support.
JobErrorCodeServiceTransientError JobErrorCode = "ServiceTransientError"
// JobErrorCodeUploadNotAccessible While trying to upload the output files, the destination was not
// reachable, please check the availability of the destination.
JobErrorCodeUploadNotAccessible JobErrorCode = "UploadNotAccessible"
// JobErrorCodeUploadTransientError While trying to upload the output files, there was an issue during
// transfer (storage service, network errors), see details and check your destination.
JobErrorCodeUploadTransientError JobErrorCode = "UploadTransientError"
)
// PossibleJobErrorCodeValues returns an array of possible values for the JobErrorCode const type.
func PossibleJobErrorCodeValues() []JobErrorCode {
return []JobErrorCode{JobErrorCodeConfigurationUnsupported, JobErrorCodeContentMalformed, JobErrorCodeContentUnsupported, JobErrorCodeDownloadNotAccessible, JobErrorCodeDownloadTransientError, JobErrorCodeServiceError, JobErrorCodeServiceTransientError, JobErrorCodeUploadNotAccessible, JobErrorCodeUploadTransientError}
}
// JobRetry enumerates the values for job retry.
type JobRetry string
const (
// JobRetryDoNotRetry Issue needs to be investigated and then the job resubmitted with corrections or
// retried once the underlying issue has been corrected.
JobRetryDoNotRetry JobRetry = "DoNotRetry"
// JobRetryMayRetry Issue may be resolved after waiting for a period of time and resubmitting the same Job.
JobRetryMayRetry JobRetry = "MayRetry"
)
// PossibleJobRetryValues returns an array of possible values for the JobRetry const type.
func PossibleJobRetryValues() []JobRetry {
return []JobRetry{JobRetryDoNotRetry, JobRetryMayRetry}
}
// JobState enumerates the values for job state.
type JobState string
const (
// JobStateCanceled The job was canceled. This is a final state for the job.
JobStateCanceled JobState = "Canceled"
// JobStateCanceling The job is in the process of being canceled. This is a transient state for the job.
JobStateCanceling JobState = "Canceling"
// JobStateError The job has encountered an error. This is a final state for the job.
JobStateError JobState = "Error"
// JobStateFinished The job is finished. This is a final state for the job.
JobStateFinished JobState = "Finished"
// JobStateProcessing The job is processing. This is a transient state for the job.
JobStateProcessing JobState = "Processing"
// JobStateQueued The job is in a queued state, waiting for resources to become available. This is a
// transient state.
JobStateQueued JobState = "Queued"
// JobStateScheduled The job is being scheduled to run on an available resource. This is a transient state,
// between queued and processing states.
JobStateScheduled JobState = "Scheduled"
)
// PossibleJobStateValues returns an array of possible values for the JobState const type.
func PossibleJobStateValues() []JobState {
return []JobState{JobStateCanceled, JobStateCanceling, JobStateError, JobStateFinished, JobStateProcessing, JobStateQueued, JobStateScheduled}
}
// LiveEventEncodingType enumerates the values for live event encoding type.
type LiveEventEncodingType string
const (
// LiveEventEncodingTypeNone This is the same as PassthroughStandard, please see description below. This
// enumeration value is being deprecated.
LiveEventEncodingTypeNone LiveEventEncodingType = "None"
// LiveEventEncodingTypePassthroughBasic The ingested stream passes through the live event from the
// contribution encoder without any further processing. In the PassthroughBasic mode, ingestion is limited
// to up to 5Mbps and only 1 concurrent live output is allowed. Live transcription is not available.
LiveEventEncodingTypePassthroughBasic LiveEventEncodingType = "PassthroughBasic"
// LiveEventEncodingTypePassthroughStandard The ingested stream passes through the live event from the
// contribution encoder without any further processing. Live transcription is available. Ingestion bitrate
// limits are much higher and up to 3 concurrent live outputs are allowed.
LiveEventEncodingTypePassthroughStandard LiveEventEncodingType = "PassthroughStandard"
// LiveEventEncodingTypePremium1080p A contribution live encoder sends a single bitrate stream to the live
// event and Media Services creates multiple bitrate streams. The output cannot exceed 1080p in resolution.
LiveEventEncodingTypePremium1080p LiveEventEncodingType = "Premium1080p"
// LiveEventEncodingTypeStandard A contribution live encoder sends a single bitrate stream to the live
// event and Media Services creates multiple bitrate streams. The output cannot exceed 720p in resolution.
LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard"
)
// PossibleLiveEventEncodingTypeValues returns an array of possible values for the LiveEventEncodingType const type.
func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType {
return []LiveEventEncodingType{LiveEventEncodingTypeNone, LiveEventEncodingTypePassthroughBasic, LiveEventEncodingTypePassthroughStandard, LiveEventEncodingTypePremium1080p, LiveEventEncodingTypeStandard}
}
// LiveEventInputProtocol enumerates the values for live event input protocol.
type LiveEventInputProtocol string
const (
// LiveEventInputProtocolFragmentedMP4 Smooth Streaming input will be sent by the contribution encoder to
// the live event.
LiveEventInputProtocolFragmentedMP4 LiveEventInputProtocol = "FragmentedMP4"
// LiveEventInputProtocolRTMP RTMP input will be sent by the contribution encoder to the live event.
LiveEventInputProtocolRTMP LiveEventInputProtocol = "RTMP"
)
// PossibleLiveEventInputProtocolValues returns an array of possible values for the LiveEventInputProtocol const type.
func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol {
return []LiveEventInputProtocol{LiveEventInputProtocolFragmentedMP4, LiveEventInputProtocolRTMP}
}
// LiveEventResourceState enumerates the values for live event resource state.
type LiveEventResourceState string
const (
// LiveEventResourceStateAllocating Allocate action was called on the live event and resources are being
// provisioned for this live event. Once allocation completes successfully, the live event will transition
// to StandBy state.
LiveEventResourceStateAllocating LiveEventResourceState = "Allocating"
// LiveEventResourceStateDeleting The live event is being deleted. No billing occurs in this transient
// state. Updates or streaming are not allowed during this state.
LiveEventResourceStateDeleting LiveEventResourceState = "Deleting"
// LiveEventResourceStateRunning The live event resources have been allocated, ingest and preview URLs have
// been generated, and it is capable of receiving live streams. At this point, billing is active. You must
// explicitly call Stop on the live event resource to halt further billing.
LiveEventResourceStateRunning LiveEventResourceState = "Running"
// LiveEventResourceStateStandBy Live event resources have been provisioned and is ready to start. Billing
// occurs in this state. Most properties can still be updated, however ingest or streaming is not allowed
// during this state.
LiveEventResourceStateStandBy LiveEventResourceState = "StandBy"
// LiveEventResourceStateStarting The live event is being started and resources are being allocated. No
// billing occurs in this state. Updates or streaming are not allowed during this state. If an error
// occurs, the live event returns to the Stopped state.
LiveEventResourceStateStarting LiveEventResourceState = "Starting"
// LiveEventResourceStateStopped This is the initial state of the live event after creation (unless
// autostart was set to true.) No billing occurs in this state. In this state, the live event properties
// can be updated but streaming is not allowed.
LiveEventResourceStateStopped LiveEventResourceState = "Stopped"
// LiveEventResourceStateStopping The live event is being stopped and resources are being de-provisioned.
// No billing occurs in this transient state. Updates or streaming are not allowed during this state.
LiveEventResourceStateStopping LiveEventResourceState = "Stopping"
)
// PossibleLiveEventResourceStateValues returns an array of possible values for the LiveEventResourceState const type.
func PossibleLiveEventResourceStateValues() []LiveEventResourceState {
return []LiveEventResourceState{LiveEventResourceStateAllocating, LiveEventResourceStateDeleting, LiveEventResourceStateRunning, LiveEventResourceStateStandBy, LiveEventResourceStateStarting, LiveEventResourceStateStopped, LiveEventResourceStateStopping}
}
// LiveOutputResourceState enumerates the values for live output resource state.
type LiveOutputResourceState string
const (
// LiveOutputResourceStateCreating Live output is being created. No content is archived in the asset until
// the live output is in running state.
LiveOutputResourceStateCreating LiveOutputResourceState = "Creating"
// LiveOutputResourceStateDeleting Live output is being deleted. The live asset is being converted from
// live to on-demand asset. Any streaming URLs created on the live output asset continue to work.
LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting"
// LiveOutputResourceStateRunning Live output is running and archiving live streaming content to the asset
// if there is valid input from a contribution encoder.
LiveOutputResourceStateRunning LiveOutputResourceState = "Running"
)
// PossibleLiveOutputResourceStateValues returns an array of possible values for the LiveOutputResourceState const type.
func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState {
return []LiveOutputResourceState{LiveOutputResourceStateCreating, LiveOutputResourceStateDeleting, LiveOutputResourceStateRunning}
}
// MetricAggregationType enumerates the values for metric aggregation type.
type MetricAggregationType string
const (
// MetricAggregationTypeAverage The average.
MetricAggregationTypeAverage MetricAggregationType = "Average"
// MetricAggregationTypeCount The count of a number of items, usually requests.
MetricAggregationTypeCount MetricAggregationType = "Count"
// MetricAggregationTypeTotal The sum.
MetricAggregationTypeTotal MetricAggregationType = "Total"
)
// PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
func PossibleMetricAggregationTypeValues() []MetricAggregationType {
return []MetricAggregationType{MetricAggregationTypeAverage, MetricAggregationTypeCount, MetricAggregationTypeTotal}
}
// MetricUnit enumerates the values for metric unit.
type MetricUnit string
const (
// MetricUnitBytes The number of bytes.
MetricUnitBytes MetricUnit = "Bytes"
// MetricUnitCount The count.
MetricUnitCount MetricUnit = "Count"
// MetricUnitMilliseconds The number of milliseconds.
MetricUnitMilliseconds MetricUnit = "Milliseconds"
)
// PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.
func PossibleMetricUnitValues() []MetricUnit {
return []MetricUnit{MetricUnitBytes, MetricUnitCount, MetricUnitMilliseconds}
}
// OdataType enumerates the values for odata type.
type OdataType string
const (
// OdataTypeMicrosoftMediaAudioTrack ...
OdataTypeMicrosoftMediaAudioTrack OdataType = "#Microsoft.Media.AudioTrack"
// OdataTypeMicrosoftMediaTextTrack ...
OdataTypeMicrosoftMediaTextTrack OdataType = "#Microsoft.Media.TextTrack"
// OdataTypeMicrosoftMediaVideoTrack ...
OdataTypeMicrosoftMediaVideoTrack OdataType = "#Microsoft.Media.VideoTrack"
// OdataTypeTrackBase ...
OdataTypeTrackBase OdataType = "TrackBase"
)
// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
func PossibleOdataTypeValues() []OdataType {
return []OdataType{OdataTypeMicrosoftMediaAudioTrack, OdataTypeMicrosoftMediaTextTrack, OdataTypeMicrosoftMediaVideoTrack, OdataTypeTrackBase}
}
// OdataTypeBasicClipTime enumerates the values for odata type basic clip time.
type OdataTypeBasicClipTime string
const (
// OdataTypeBasicClipTimeOdataTypeClipTime ...
OdataTypeBasicClipTimeOdataTypeClipTime OdataTypeBasicClipTime = "ClipTime"
// OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime ...
OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime OdataTypeBasicClipTime = "#Microsoft.Media.AbsoluteClipTime"
// OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime ...
OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime OdataTypeBasicClipTime = "#Microsoft.Media.UtcClipTime"
)
// PossibleOdataTypeBasicClipTimeValues returns an array of possible values for the OdataTypeBasicClipTime const type.
func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime {
return []OdataTypeBasicClipTime{OdataTypeBasicClipTimeOdataTypeClipTime, OdataTypeBasicClipTimeOdataTypeMicrosoftMediaAbsoluteClipTime, OdataTypeBasicClipTimeOdataTypeMicrosoftMediaUtcClipTime}
}
// OdataTypeBasicCodec enumerates the values for odata type basic codec.
type OdataTypeBasicCodec string
const (
// OdataTypeBasicCodecOdataTypeCodec ...
OdataTypeBasicCodecOdataTypeCodec OdataTypeBasicCodec = "Codec"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio OdataTypeBasicCodec = "#Microsoft.Media.AacAudio"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio OdataTypeBasicCodec = "#Microsoft.Media.Audio"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio OdataTypeBasicCodec = "#Microsoft.Media.CopyAudio"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo OdataTypeBasicCodec = "#Microsoft.Media.CopyVideo"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video OdataTypeBasicCodec = "#Microsoft.Media.H264Video"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video OdataTypeBasicCodec = "#Microsoft.Media.H265Video"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaImage ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaImage OdataTypeBasicCodec = "#Microsoft.Media.Image"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage OdataTypeBasicCodec = "#Microsoft.Media.JpgImage"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage OdataTypeBasicCodec = "#Microsoft.Media.PngImage"
// OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo ...
OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo OdataTypeBasicCodec = "#Microsoft.Media.Video"
)
// PossibleOdataTypeBasicCodecValues returns an array of possible values for the OdataTypeBasicCodec const type.
func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec {
return []OdataTypeBasicCodec{OdataTypeBasicCodecOdataTypeCodec, OdataTypeBasicCodecOdataTypeMicrosoftMediaAacAudio, OdataTypeBasicCodecOdataTypeMicrosoftMediaAudio, OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyAudio, OdataTypeBasicCodecOdataTypeMicrosoftMediaCopyVideo, OdataTypeBasicCodecOdataTypeMicrosoftMediaH264Video, OdataTypeBasicCodecOdataTypeMicrosoftMediaH265Video, OdataTypeBasicCodecOdataTypeMicrosoftMediaImage, OdataTypeBasicCodecOdataTypeMicrosoftMediaJpgImage, OdataTypeBasicCodecOdataTypeMicrosoftMediaPngImage, OdataTypeBasicCodecOdataTypeMicrosoftMediaVideo}
}