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