1 package media
2
3
4
5
6
7
8
9
10 type AacAudioProfile string
11
12 const (
13
14 AacLc AacAudioProfile = "AacLc"
15
16 HeAacV1 AacAudioProfile = "HeAacV1"
17
18 HeAacV2 AacAudioProfile = "HeAacV2"
19 )
20
21
22 func PossibleAacAudioProfileValues() []AacAudioProfile {
23 return []AacAudioProfile{AacLc, HeAacV1, HeAacV2}
24 }
25
26
27 type AnalysisResolution string
28
29 const (
30
31 SourceResolution AnalysisResolution = "SourceResolution"
32
33 StandardDefinition AnalysisResolution = "StandardDefinition"
34 )
35
36
37 func PossibleAnalysisResolutionValues() []AnalysisResolution {
38 return []AnalysisResolution{SourceResolution, StandardDefinition}
39 }
40
41
42 type AssetContainerPermission string
43
44 const (
45
46 Read AssetContainerPermission = "Read"
47
48 ReadWrite AssetContainerPermission = "ReadWrite"
49
50 ReadWriteDelete AssetContainerPermission = "ReadWriteDelete"
51 )
52
53
54 func PossibleAssetContainerPermissionValues() []AssetContainerPermission {
55 return []AssetContainerPermission{Read, ReadWrite, ReadWriteDelete}
56 }
57
58
59 type AssetStorageEncryptionFormat string
60
61 const (
62
63 MediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption"
64
65
66 None AssetStorageEncryptionFormat = "None"
67 )
68
69
70 func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat {
71 return []AssetStorageEncryptionFormat{MediaStorageClientEncryption, None}
72 }
73
74
75
76 type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
77
78 const (
79
80
81 PersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
82
83 PersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
84
85 Undefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
86
87
88 Unknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
89 )
90
91
92 func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType {
93 return []ContentKeyPolicyFairPlayRentalAndLeaseKeyType{PersistentLimited, PersistentUnlimited, Undefined, Unknown}
94 }
95
96
97 type ContentKeyPolicyPlayReadyContentType string
98
99 const (
100
101 ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload"
102
103 ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming"
104
105
106 ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown"
107
108 ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified"
109 )
110
111
112 func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType {
113 return []ContentKeyPolicyPlayReadyContentType{ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload, ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming, ContentKeyPolicyPlayReadyContentTypeUnknown, ContentKeyPolicyPlayReadyContentTypeUnspecified}
114 }
115
116
117 type ContentKeyPolicyPlayReadyLicenseType string
118
119 const (
120
121 ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent"
122
123 ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent"
124
125
126 ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown"
127 )
128
129
130 func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType {
131 return []ContentKeyPolicyPlayReadyLicenseType{ContentKeyPolicyPlayReadyLicenseTypeNonPersistent, ContentKeyPolicyPlayReadyLicenseTypePersistent, ContentKeyPolicyPlayReadyLicenseTypeUnknown}
132 }
133
134
135
136 type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
137
138 const (
139
140
141 ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed"
142
143
144 ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction"
145
146
147 ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed"
148
149
150 ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown"
151 )
152
153
154 func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption {
155 return []ContentKeyPolicyPlayReadyUnknownOutputPassingOption{ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown}
156 }
157
158
159 type ContentKeyPolicyRestrictionTokenType string
160
161 const (
162
163 ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt"
164
165 ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt"
166
167
168 ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown"
169 )
170
171
172 func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType {
173 return []ContentKeyPolicyRestrictionTokenType{ContentKeyPolicyRestrictionTokenTypeJwt, ContentKeyPolicyRestrictionTokenTypeSwt, ContentKeyPolicyRestrictionTokenTypeUnknown}
174 }
175
176
177 type DeinterlaceMode string
178
179 const (
180
181 AutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
182
183 Off DeinterlaceMode = "Off"
184 )
185
186
187 func PossibleDeinterlaceModeValues() []DeinterlaceMode {
188 return []DeinterlaceMode{AutoPixelAdaptive, Off}
189 }
190
191
192 type DeinterlaceParity string
193
194 const (
195
196 Auto DeinterlaceParity = "Auto"
197
198 BottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
199
200 TopFieldFirst DeinterlaceParity = "TopFieldFirst"
201 )
202
203
204 func PossibleDeinterlaceParityValues() []DeinterlaceParity {
205 return []DeinterlaceParity{Auto, BottomFieldFirst, TopFieldFirst}
206 }
207
208
209 type EncoderNamedPreset string
210
211 const (
212
213 AACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
214
215
216
217
218
219 AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
220
221
222
223
224 ContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
225
226
227 H264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
228
229
230 H264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
231
232
233 H264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
234
235
236 H264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
237
238
239 H264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
240
241
242 H264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
243 )
244
245
246 func PossibleEncoderNamedPresetValues() []EncoderNamedPreset {
247 return []EncoderNamedPreset{AACGoodQualityAudio, AdaptiveStreaming, ContentAwareEncodingExperimental, H264MultipleBitrate1080p, H264MultipleBitrate720p, H264MultipleBitrateSD, H264SingleBitrate1080p, H264SingleBitrate720p, H264SingleBitrateSD}
248 }
249
250
251 type EncryptionScheme string
252
253 const (
254
255 EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs"
256
257 EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc"
258
259 EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption"
260
261 EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption"
262 )
263
264
265 func PossibleEncryptionSchemeValues() []EncryptionScheme {
266 return []EncryptionScheme{EncryptionSchemeCommonEncryptionCbcs, EncryptionSchemeCommonEncryptionCenc, EncryptionSchemeEnvelopeEncryption, EncryptionSchemeNoEncryption}
267 }
268
269
270 type EntropyMode string
271
272 const (
273
274 Cabac EntropyMode = "Cabac"
275
276 Cavlc EntropyMode = "Cavlc"
277 )
278
279
280 func PossibleEntropyModeValues() []EntropyMode {
281 return []EntropyMode{Cabac, Cavlc}
282 }
283
284
285 type FilterTrackPropertyCompareOperation string
286
287 const (
288
289 Equal FilterTrackPropertyCompareOperation = "Equal"
290
291 NotEqual FilterTrackPropertyCompareOperation = "NotEqual"
292 )
293
294
295 func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation {
296 return []FilterTrackPropertyCompareOperation{Equal, NotEqual}
297 }
298
299
300 type FilterTrackPropertyType string
301
302 const (
303
304 FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate"
305
306 FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC"
307
308 FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language"
309
310 FilterTrackPropertyTypeName FilterTrackPropertyType = "Name"
311
312 FilterTrackPropertyTypeType FilterTrackPropertyType = "Type"
313
314 FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown"
315 )
316
317
318 func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType {
319 return []FilterTrackPropertyType{FilterTrackPropertyTypeBitrate, FilterTrackPropertyTypeFourCC, FilterTrackPropertyTypeLanguage, FilterTrackPropertyTypeName, FilterTrackPropertyTypeType, FilterTrackPropertyTypeUnknown}
320 }
321
322
323 type H264Complexity string
324
325 const (
326
327 Balanced H264Complexity = "Balanced"
328
329
330 Quality H264Complexity = "Quality"
331
332
333 Speed H264Complexity = "Speed"
334 )
335
336
337 func PossibleH264ComplexityValues() []H264Complexity {
338 return []H264Complexity{Balanced, Quality, Speed}
339 }
340
341
342 type H264VideoProfile string
343
344 const (
345
346 H264VideoProfileAuto H264VideoProfile = "Auto"
347
348 H264VideoProfileBaseline H264VideoProfile = "Baseline"
349
350 H264VideoProfileHigh H264VideoProfile = "High"
351
352 H264VideoProfileHigh422 H264VideoProfile = "High422"
353
354 H264VideoProfileHigh444 H264VideoProfile = "High444"
355
356 H264VideoProfileMain H264VideoProfile = "Main"
357 )
358
359
360 func PossibleH264VideoProfileValues() []H264VideoProfile {
361 return []H264VideoProfile{H264VideoProfileAuto, H264VideoProfileBaseline, H264VideoProfileHigh, H264VideoProfileHigh422, H264VideoProfileHigh444, H264VideoProfileMain}
362 }
363
364
365 type InsightsType string
366
367 const (
368
369 AllInsights InsightsType = "AllInsights"
370
371
372 AudioInsightsOnly InsightsType = "AudioInsightsOnly"
373
374 VideoInsightsOnly InsightsType = "VideoInsightsOnly"
375 )
376
377
378 func PossibleInsightsTypeValues() []InsightsType {
379 return []InsightsType{AllInsights, AudioInsightsOnly, VideoInsightsOnly}
380 }
381
382
383 type JobErrorCategory string
384
385 const (
386
387 JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
388
389 JobErrorCategoryContent JobErrorCategory = "Content"
390
391 JobErrorCategoryDownload JobErrorCategory = "Download"
392
393 JobErrorCategoryService JobErrorCategory = "Service"
394
395 JobErrorCategoryUpload JobErrorCategory = "Upload"
396 )
397
398
399 func PossibleJobErrorCategoryValues() []JobErrorCategory {
400 return []JobErrorCategory{JobErrorCategoryConfiguration, JobErrorCategoryContent, JobErrorCategoryDownload, JobErrorCategoryService, JobErrorCategoryUpload}
401 }
402
403
404 type JobErrorCode string
405
406 const (
407
408
409
410 ConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
411
412
413 ContentMalformed JobErrorCode = "ContentMalformed"
414
415
416 ContentUnsupported JobErrorCode = "ContentUnsupported"
417
418
419 DownloadNotAccessible JobErrorCode = "DownloadNotAccessible"
420
421
422 DownloadTransientError JobErrorCode = "DownloadTransientError"
423
424 ServiceError JobErrorCode = "ServiceError"
425
426 ServiceTransientError JobErrorCode = "ServiceTransientError"
427
428
429 UploadNotAccessible JobErrorCode = "UploadNotAccessible"
430
431
432 UploadTransientError JobErrorCode = "UploadTransientError"
433 )
434
435
436 func PossibleJobErrorCodeValues() []JobErrorCode {
437 return []JobErrorCode{ConfigurationUnsupported, ContentMalformed, ContentUnsupported, DownloadNotAccessible, DownloadTransientError, ServiceError, ServiceTransientError, UploadNotAccessible, UploadTransientError}
438 }
439
440
441 type JobRetry string
442
443 const (
444
445
446 DoNotRetry JobRetry = "DoNotRetry"
447
448 MayRetry JobRetry = "MayRetry"
449 )
450
451
452 func PossibleJobRetryValues() []JobRetry {
453 return []JobRetry{DoNotRetry, MayRetry}
454 }
455
456
457 type JobState string
458
459 const (
460
461 Canceled JobState = "Canceled"
462
463 Canceling JobState = "Canceling"
464
465 Error JobState = "Error"
466
467 Finished JobState = "Finished"
468
469 Processing JobState = "Processing"
470
471
472 Queued JobState = "Queued"
473
474
475 Scheduled JobState = "Scheduled"
476 )
477
478
479 func PossibleJobStateValues() []JobState {
480 return []JobState{Canceled, Canceling, Error, Finished, Processing, Queued, Scheduled}
481 }
482
483
484 type LiveEventEncodingType string
485
486 const (
487
488 LiveEventEncodingTypeBasic LiveEventEncodingType = "Basic"
489
490 LiveEventEncodingTypeNone LiveEventEncodingType = "None"
491
492 LiveEventEncodingTypePremium1080p LiveEventEncodingType = "Premium1080p"
493
494 LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard"
495 )
496
497
498 func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType {
499 return []LiveEventEncodingType{LiveEventEncodingTypeBasic, LiveEventEncodingTypeNone, LiveEventEncodingTypePremium1080p, LiveEventEncodingTypeStandard}
500 }
501
502
503 type LiveEventInputProtocol string
504
505 const (
506
507 FragmentedMP4 LiveEventInputProtocol = "FragmentedMP4"
508
509 RTMP LiveEventInputProtocol = "RTMP"
510 )
511
512
513 func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol {
514 return []LiveEventInputProtocol{FragmentedMP4, RTMP}
515 }
516
517
518 type LiveEventResourceState string
519
520 const (
521
522 Deleting LiveEventResourceState = "Deleting"
523
524 Running LiveEventResourceState = "Running"
525
526 Starting LiveEventResourceState = "Starting"
527
528 Stopped LiveEventResourceState = "Stopped"
529
530 Stopping LiveEventResourceState = "Stopping"
531 )
532
533
534 func PossibleLiveEventResourceStateValues() []LiveEventResourceState {
535 return []LiveEventResourceState{Deleting, Running, Starting, Stopped, Stopping}
536 }
537
538
539 type LiveOutputResourceState string
540
541 const (
542
543 LiveOutputResourceStateCreating LiveOutputResourceState = "Creating"
544
545 LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting"
546
547 LiveOutputResourceStateRunning LiveOutputResourceState = "Running"
548 )
549
550
551 func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState {
552 return []LiveOutputResourceState{LiveOutputResourceStateCreating, LiveOutputResourceStateDeleting, LiveOutputResourceStateRunning}
553 }
554
555
556 type MetricAggregationType string
557
558 const (
559
560 Average MetricAggregationType = "Average"
561
562 Count MetricAggregationType = "Count"
563
564 Total MetricAggregationType = "Total"
565 )
566
567
568 func PossibleMetricAggregationTypeValues() []MetricAggregationType {
569 return []MetricAggregationType{Average, Count, Total}
570 }
571
572
573 type MetricUnit string
574
575 const (
576
577 MetricUnitBytes MetricUnit = "Bytes"
578
579 MetricUnitCount MetricUnit = "Count"
580
581 MetricUnitMilliseconds MetricUnit = "Milliseconds"
582 )
583
584
585 func PossibleMetricUnitValues() []MetricUnit {
586 return []MetricUnit{MetricUnitBytes, MetricUnitCount, MetricUnitMilliseconds}
587 }
588
589
590 type OdataType string
591
592 const (
593
594 OdataTypeContentKeyPolicyPlayReadyContentKeyLocation OdataType = "ContentKeyPolicyPlayReadyContentKeyLocation"
595
596 OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
597
598 OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"
599 )
600
601
602 func PossibleOdataTypeValues() []OdataType {
603 return []OdataType{OdataTypeContentKeyPolicyPlayReadyContentKeyLocation, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier}
604 }
605
606
607 type OdataTypeBasicClipTime string
608
609 const (
610
611 OdataTypeClipTime OdataTypeBasicClipTime = "ClipTime"
612
613 OdataTypeMicrosoftMediaAbsoluteClipTime OdataTypeBasicClipTime = "#Microsoft.Media.AbsoluteClipTime"
614 )
615
616
617 func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime {
618 return []OdataTypeBasicClipTime{OdataTypeClipTime, OdataTypeMicrosoftMediaAbsoluteClipTime}
619 }
620
621
622 type OdataTypeBasicCodec string
623
624 const (
625
626 OdataTypeCodec OdataTypeBasicCodec = "Codec"
627
628 OdataTypeMicrosoftMediaAacAudio OdataTypeBasicCodec = "#Microsoft.Media.AacAudio"
629
630 OdataTypeMicrosoftMediaAudio OdataTypeBasicCodec = "#Microsoft.Media.Audio"
631
632 OdataTypeMicrosoftMediaCopyAudio OdataTypeBasicCodec = "#Microsoft.Media.CopyAudio"
633
634 OdataTypeMicrosoftMediaCopyVideo OdataTypeBasicCodec = "#Microsoft.Media.CopyVideo"
635
636 OdataTypeMicrosoftMediaH264Video OdataTypeBasicCodec = "#Microsoft.Media.H264Video"
637
638 OdataTypeMicrosoftMediaImage OdataTypeBasicCodec = "#Microsoft.Media.Image"
639
640 OdataTypeMicrosoftMediaJpgImage OdataTypeBasicCodec = "#Microsoft.Media.JpgImage"
641
642 OdataTypeMicrosoftMediaPngImage OdataTypeBasicCodec = "#Microsoft.Media.PngImage"
643
644 OdataTypeMicrosoftMediaVideo OdataTypeBasicCodec = "#Microsoft.Media.Video"
645 )
646
647
648 func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec {
649 return []OdataTypeBasicCodec{OdataTypeCodec, OdataTypeMicrosoftMediaAacAudio, OdataTypeMicrosoftMediaAudio, OdataTypeMicrosoftMediaCopyAudio, OdataTypeMicrosoftMediaCopyVideo, OdataTypeMicrosoftMediaH264Video, OdataTypeMicrosoftMediaImage, OdataTypeMicrosoftMediaJpgImage, OdataTypeMicrosoftMediaPngImage, OdataTypeMicrosoftMediaVideo}
650 }
651
652
653
654 type OdataTypeBasicContentKeyPolicyConfiguration string
655
656 const (
657
658 OdataTypeContentKeyPolicyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "ContentKeyPolicyConfiguration"
659
660 OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
661
662 OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"
663
664 OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"
665
666 OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"
667
668 OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"
669 )
670
671
672 func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues() []OdataTypeBasicContentKeyPolicyConfiguration {
673 return []OdataTypeBasicContentKeyPolicyConfiguration{OdataTypeContentKeyPolicyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration}
674 }
675
676
677
678 type OdataTypeBasicContentKeyPolicyRestriction string
679
680 const (
681
682 OdataTypeContentKeyPolicyRestriction OdataTypeBasicContentKeyPolicyRestriction = "ContentKeyPolicyRestriction"
683
684 OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
685
686 OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyTokenRestriction"
687
688 OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction"
689 )
690
691
692 func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues() []OdataTypeBasicContentKeyPolicyRestriction {
693 return []OdataTypeBasicContentKeyPolicyRestriction{OdataTypeContentKeyPolicyRestriction, OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction}
694 }
695
696
697
698 type OdataTypeBasicContentKeyPolicyRestrictionTokenKey string
699
700 const (
701
702 OdataTypeContentKeyPolicyRestrictionTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "ContentKeyPolicyRestrictionTokenKey"
703
704 OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey"
705
706 OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"
707
708 OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"
709 )
710
711
712 func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues() []OdataTypeBasicContentKeyPolicyRestrictionTokenKey {
713 return []OdataTypeBasicContentKeyPolicyRestrictionTokenKey{OdataTypeContentKeyPolicyRestrictionTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey, OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey}
714 }
715
716
717 type OdataTypeBasicFormat string
718
719 const (
720
721 OdataTypeFormat OdataTypeBasicFormat = "Format"
722
723 OdataTypeMicrosoftMediaImageFormat OdataTypeBasicFormat = "#Microsoft.Media.ImageFormat"
724
725 OdataTypeMicrosoftMediaJpgFormat OdataTypeBasicFormat = "#Microsoft.Media.JpgFormat"
726
727 OdataTypeMicrosoftMediaMp4Format OdataTypeBasicFormat = "#Microsoft.Media.Mp4Format"
728
729 OdataTypeMicrosoftMediaMultiBitrateFormat OdataTypeBasicFormat = "#Microsoft.Media.MultiBitrateFormat"
730
731 OdataTypeMicrosoftMediaPngFormat OdataTypeBasicFormat = "#Microsoft.Media.PngFormat"
732
733 OdataTypeMicrosoftMediaTransportStreamFormat OdataTypeBasicFormat = "#Microsoft.Media.TransportStreamFormat"
734 )
735
736
737 func PossibleOdataTypeBasicFormatValues() []OdataTypeBasicFormat {
738 return []OdataTypeBasicFormat{OdataTypeFormat, OdataTypeMicrosoftMediaImageFormat, OdataTypeMicrosoftMediaJpgFormat, OdataTypeMicrosoftMediaMp4Format, OdataTypeMicrosoftMediaMultiBitrateFormat, OdataTypeMicrosoftMediaPngFormat, OdataTypeMicrosoftMediaTransportStreamFormat}
739 }
740
741
742 type OdataTypeBasicJobInput string
743
744 const (
745
746 OdataTypeJobInput OdataTypeBasicJobInput = "JobInput"
747
748 OdataTypeMicrosoftMediaJobInputAsset OdataTypeBasicJobInput = "#Microsoft.Media.JobInputAsset"
749
750 OdataTypeMicrosoftMediaJobInputClip OdataTypeBasicJobInput = "#Microsoft.Media.JobInputClip"
751
752 OdataTypeMicrosoftMediaJobInputHTTP OdataTypeBasicJobInput = "#Microsoft.Media.JobInputHttp"
753
754 OdataTypeMicrosoftMediaJobInputs OdataTypeBasicJobInput = "#Microsoft.Media.JobInputs"
755 )
756
757
758 func PossibleOdataTypeBasicJobInputValues() []OdataTypeBasicJobInput {
759 return []OdataTypeBasicJobInput{OdataTypeJobInput, OdataTypeMicrosoftMediaJobInputAsset, OdataTypeMicrosoftMediaJobInputClip, OdataTypeMicrosoftMediaJobInputHTTP, OdataTypeMicrosoftMediaJobInputs}
760 }
761
762
763 type OdataTypeBasicJobOutput string
764
765 const (
766
767 OdataTypeJobOutput OdataTypeBasicJobOutput = "JobOutput"
768
769 OdataTypeMicrosoftMediaJobOutputAsset OdataTypeBasicJobOutput = "#Microsoft.Media.JobOutputAsset"
770 )
771
772
773 func PossibleOdataTypeBasicJobOutputValues() []OdataTypeBasicJobOutput {
774 return []OdataTypeBasicJobOutput{OdataTypeJobOutput, OdataTypeMicrosoftMediaJobOutputAsset}
775 }
776
777
778 type OdataTypeBasicLayer string
779
780 const (
781
782 OdataTypeLayer OdataTypeBasicLayer = "Layer"
783
784 OdataTypeMicrosoftMediaH264Layer OdataTypeBasicLayer = "#Microsoft.Media.H264Layer"
785
786 OdataTypeMicrosoftMediaJpgLayer OdataTypeBasicLayer = "#Microsoft.Media.JpgLayer"
787
788 OdataTypeMicrosoftMediaPngLayer OdataTypeBasicLayer = "#Microsoft.Media.PngLayer"
789
790 OdataTypeMicrosoftMediaVideoLayer OdataTypeBasicLayer = "#Microsoft.Media.VideoLayer"
791 )
792
793
794 func PossibleOdataTypeBasicLayerValues() []OdataTypeBasicLayer {
795 return []OdataTypeBasicLayer{OdataTypeLayer, OdataTypeMicrosoftMediaH264Layer, OdataTypeMicrosoftMediaJpgLayer, OdataTypeMicrosoftMediaPngLayer, OdataTypeMicrosoftMediaVideoLayer}
796 }
797
798
799 type OdataTypeBasicOverlay string
800
801 const (
802
803 OdataTypeMicrosoftMediaAudioOverlay OdataTypeBasicOverlay = "#Microsoft.Media.AudioOverlay"
804
805 OdataTypeMicrosoftMediaVideoOverlay OdataTypeBasicOverlay = "#Microsoft.Media.VideoOverlay"
806
807 OdataTypeOverlay OdataTypeBasicOverlay = "Overlay"
808 )
809
810
811 func PossibleOdataTypeBasicOverlayValues() []OdataTypeBasicOverlay {
812 return []OdataTypeBasicOverlay{OdataTypeMicrosoftMediaAudioOverlay, OdataTypeMicrosoftMediaVideoOverlay, OdataTypeOverlay}
813 }
814
815
816 type OdataTypeBasicPreset string
817
818 const (
819
820 OdataTypeMicrosoftMediaAudioAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.AudioAnalyzerPreset"
821
822 OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.BuiltInStandardEncoderPreset"
823
824 OdataTypeMicrosoftMediaFaceDetectorPreset OdataTypeBasicPreset = "#Microsoft.Media.FaceDetectorPreset"
825
826 OdataTypeMicrosoftMediaStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.StandardEncoderPreset"
827
828 OdataTypeMicrosoftMediaVideoAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.VideoAnalyzerPreset"
829
830 OdataTypePreset OdataTypeBasicPreset = "Preset"
831 )
832
833
834 func PossibleOdataTypeBasicPresetValues() []OdataTypeBasicPreset {
835 return []OdataTypeBasicPreset{OdataTypeMicrosoftMediaAudioAnalyzerPreset, OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset, OdataTypeMicrosoftMediaFaceDetectorPreset, OdataTypeMicrosoftMediaStandardEncoderPreset, OdataTypeMicrosoftMediaVideoAnalyzerPreset, OdataTypePreset}
836 }
837
838
839 type OnErrorType string
840
841 const (
842
843
844 ContinueJob OnErrorType = "ContinueJob"
845
846
847 StopProcessingJob OnErrorType = "StopProcessingJob"
848 )
849
850
851 func PossibleOnErrorTypeValues() []OnErrorType {
852 return []OnErrorType{ContinueJob, StopProcessingJob}
853 }
854
855
856 type Priority string
857
858 const (
859
860 High Priority = "High"
861
862 Low Priority = "Low"
863
864 Normal Priority = "Normal"
865 )
866
867
868 func PossiblePriorityValues() []Priority {
869 return []Priority{High, Low, Normal}
870 }
871
872
873 type Rotation string
874
875 const (
876
877 RotationAuto Rotation = "Auto"
878
879
880 RotationNone Rotation = "None"
881
882 RotationRotate0 Rotation = "Rotate0"
883
884 RotationRotate180 Rotation = "Rotate180"
885
886 RotationRotate270 Rotation = "Rotate270"
887
888 RotationRotate90 Rotation = "Rotate90"
889 )
890
891
892 func PossibleRotationValues() []Rotation {
893 return []Rotation{RotationAuto, RotationNone, RotationRotate0, RotationRotate180, RotationRotate270, RotationRotate90}
894 }
895
896
897 type StorageAccountType string
898
899 const (
900
901 Primary StorageAccountType = "Primary"
902
903 Secondary StorageAccountType = "Secondary"
904 )
905
906
907 func PossibleStorageAccountTypeValues() []StorageAccountType {
908 return []StorageAccountType{Primary, Secondary}
909 }
910
911
912 type StreamingEndpointResourceState string
913
914 const (
915
916 StreamingEndpointResourceStateDeleting StreamingEndpointResourceState = "Deleting"
917
918 StreamingEndpointResourceStateRunning StreamingEndpointResourceState = "Running"
919
920 StreamingEndpointResourceStateScaling StreamingEndpointResourceState = "Scaling"
921
922 StreamingEndpointResourceStateStarting StreamingEndpointResourceState = "Starting"
923
924 StreamingEndpointResourceStateStopped StreamingEndpointResourceState = "Stopped"
925
926 StreamingEndpointResourceStateStopping StreamingEndpointResourceState = "Stopping"
927 )
928
929
930 func PossibleStreamingEndpointResourceStateValues() []StreamingEndpointResourceState {
931 return []StreamingEndpointResourceState{StreamingEndpointResourceStateDeleting, StreamingEndpointResourceStateRunning, StreamingEndpointResourceStateScaling, StreamingEndpointResourceStateStarting, StreamingEndpointResourceStateStopped, StreamingEndpointResourceStateStopping}
932 }
933
934
935 type StreamingLocatorContentKeyType string
936
937 const (
938
939 StreamingLocatorContentKeyTypeCommonEncryptionCbcs StreamingLocatorContentKeyType = "CommonEncryptionCbcs"
940
941 StreamingLocatorContentKeyTypeCommonEncryptionCenc StreamingLocatorContentKeyType = "CommonEncryptionCenc"
942
943 StreamingLocatorContentKeyTypeEnvelopeEncryption StreamingLocatorContentKeyType = "EnvelopeEncryption"
944 )
945
946
947 func PossibleStreamingLocatorContentKeyTypeValues() []StreamingLocatorContentKeyType {
948 return []StreamingLocatorContentKeyType{StreamingLocatorContentKeyTypeCommonEncryptionCbcs, StreamingLocatorContentKeyTypeCommonEncryptionCenc, StreamingLocatorContentKeyTypeEnvelopeEncryption}
949 }
950
951
952 type StreamingPolicyStreamingProtocol string
953
954 const (
955
956 StreamingPolicyStreamingProtocolDash StreamingPolicyStreamingProtocol = "Dash"
957
958 StreamingPolicyStreamingProtocolDownload StreamingPolicyStreamingProtocol = "Download"
959
960 StreamingPolicyStreamingProtocolHls StreamingPolicyStreamingProtocol = "Hls"
961
962 StreamingPolicyStreamingProtocolSmoothStreaming StreamingPolicyStreamingProtocol = "SmoothStreaming"
963 )
964
965
966 func PossibleStreamingPolicyStreamingProtocolValues() []StreamingPolicyStreamingProtocol {
967 return []StreamingPolicyStreamingProtocol{StreamingPolicyStreamingProtocolDash, StreamingPolicyStreamingProtocolDownload, StreamingPolicyStreamingProtocolHls, StreamingPolicyStreamingProtocolSmoothStreaming}
968 }
969
970
971 type StreamOptionsFlag string
972
973 const (
974
975 Default StreamOptionsFlag = "Default"
976
977 LowLatency StreamOptionsFlag = "LowLatency"
978 )
979
980
981 func PossibleStreamOptionsFlagValues() []StreamOptionsFlag {
982 return []StreamOptionsFlag{Default, LowLatency}
983 }
984
985
986 type StretchMode string
987
988 const (
989
990
991
992
993
994 StretchModeAutoFit StretchMode = "AutoFit"
995
996
997
998
999 StretchModeAutoSize StretchMode = "AutoSize"
1000
1001
1002 StretchModeNone StretchMode = "None"
1003 )
1004
1005
1006 func PossibleStretchModeValues() []StretchMode {
1007 return []StretchMode{StretchModeAutoFit, StretchModeAutoSize, StretchModeNone}
1008 }
1009
1010
1011 type TrackPropertyCompareOperation string
1012
1013 const (
1014
1015 TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal"
1016
1017 TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown"
1018 )
1019
1020
1021 func PossibleTrackPropertyCompareOperationValues() []TrackPropertyCompareOperation {
1022 return []TrackPropertyCompareOperation{TrackPropertyCompareOperationEqual, TrackPropertyCompareOperationUnknown}
1023 }
1024
1025
1026 type TrackPropertyType string
1027
1028 const (
1029
1030 TrackPropertyTypeFourCC TrackPropertyType = "FourCC"
1031
1032 TrackPropertyTypeUnknown TrackPropertyType = "Unknown"
1033 )
1034
1035
1036 func PossibleTrackPropertyTypeValues() []TrackPropertyType {
1037 return []TrackPropertyType{TrackPropertyTypeFourCC, TrackPropertyTypeUnknown}
1038 }
1039
View as plain text