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