1package media
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// AacAudioProfile enumerates the values for aac audio profile.
21type AacAudioProfile string
22
23const (
24	// AacLc Specifies that the output audio is to be encoded into AAC Low Complexity profile (AAC-LC).
25	AacLc AacAudioProfile = "AacLc"
26	// HeAacV1 Specifies that the output audio is to be encoded into HE-AAC v1 profile.
27	HeAacV1 AacAudioProfile = "HeAacV1"
28	// HeAacV2 Specifies that the output audio is to be encoded into HE-AAC v2 profile.
29	HeAacV2 AacAudioProfile = "HeAacV2"
30)
31
32// PossibleAacAudioProfileValues returns an array of possible values for the AacAudioProfile const type.
33func PossibleAacAudioProfileValues() []AacAudioProfile {
34	return []AacAudioProfile{AacLc, HeAacV1, HeAacV2}
35}
36
37// AccountEncryptionKeyType enumerates the values for account encryption key type.
38type AccountEncryptionKeyType string
39
40const (
41	// CustomerKey The Account Key is encrypted with a Customer Key.
42	CustomerKey AccountEncryptionKeyType = "CustomerKey"
43	// SystemKey The Account Key is encrypted with a System Key.
44	SystemKey AccountEncryptionKeyType = "SystemKey"
45)
46
47// PossibleAccountEncryptionKeyTypeValues returns an array of possible values for the AccountEncryptionKeyType const type.
48func PossibleAccountEncryptionKeyTypeValues() []AccountEncryptionKeyType {
49	return []AccountEncryptionKeyType{CustomerKey, SystemKey}
50}
51
52// AnalysisResolution enumerates the values for analysis resolution.
53type AnalysisResolution string
54
55const (
56	// SourceResolution ...
57	SourceResolution AnalysisResolution = "SourceResolution"
58	// StandardDefinition ...
59	StandardDefinition AnalysisResolution = "StandardDefinition"
60)
61
62// PossibleAnalysisResolutionValues returns an array of possible values for the AnalysisResolution const type.
63func PossibleAnalysisResolutionValues() []AnalysisResolution {
64	return []AnalysisResolution{SourceResolution, StandardDefinition}
65}
66
67// AssetContainerPermission enumerates the values for asset container permission.
68type AssetContainerPermission string
69
70const (
71	// Read The SAS URL will allow read access to the container.
72	Read AssetContainerPermission = "Read"
73	// ReadWrite The SAS URL will allow read and write access to the container.
74	ReadWrite AssetContainerPermission = "ReadWrite"
75	// ReadWriteDelete The SAS URL will allow read, write and delete access to the container.
76	ReadWriteDelete AssetContainerPermission = "ReadWriteDelete"
77)
78
79// PossibleAssetContainerPermissionValues returns an array of possible values for the AssetContainerPermission const type.
80func PossibleAssetContainerPermissionValues() []AssetContainerPermission {
81	return []AssetContainerPermission{Read, ReadWrite, ReadWriteDelete}
82}
83
84// AssetStorageEncryptionFormat enumerates the values for asset storage encryption format.
85type AssetStorageEncryptionFormat string
86
87const (
88	// MediaStorageClientEncryption The Asset is encrypted with Media Services client-side encryption.
89	MediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption"
90	// None The Asset does not use client-side storage encryption (this is the only allowed value for new
91	// Assets).
92	None AssetStorageEncryptionFormat = "None"
93)
94
95// PossibleAssetStorageEncryptionFormatValues returns an array of possible values for the AssetStorageEncryptionFormat const type.
96func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat {
97	return []AssetStorageEncryptionFormat{MediaStorageClientEncryption, None}
98}
99
100// AttributeFilter enumerates the values for attribute filter.
101type AttributeFilter string
102
103const (
104	// All All tracks will be included.
105	All AttributeFilter = "All"
106	// Bottom The first track will be included when the attribute is sorted in ascending order.  Generally used
107	// to select the smallest bitrate.
108	Bottom AttributeFilter = "Bottom"
109	// Top The first track will be included when the attribute is sorted in descending order.  Generally used
110	// to select the largest bitrate.
111	Top AttributeFilter = "Top"
112	// ValueEquals Any tracks that have an attribute equal to the value given will be included.
113	ValueEquals AttributeFilter = "ValueEquals"
114)
115
116// PossibleAttributeFilterValues returns an array of possible values for the AttributeFilter const type.
117func PossibleAttributeFilterValues() []AttributeFilter {
118	return []AttributeFilter{All, Bottom, Top, ValueEquals}
119}
120
121// AudioAnalysisMode enumerates the values for audio analysis mode.
122type AudioAnalysisMode string
123
124const (
125	// Basic This mode performs speech-to-text transcription and generation of a VTT subtitle/caption file. The
126	// output of this mode includes an Insights JSON file including only the keywords, transcription,and timing
127	// information. Automatic language detection and speaker diarization are not included in this mode.
128	Basic AudioAnalysisMode = "Basic"
129	// Standard Performs all operations included in the Basic mode, additionally performing language detection
130	// and speaker diarization.
131	Standard AudioAnalysisMode = "Standard"
132)
133
134// PossibleAudioAnalysisModeValues returns an array of possible values for the AudioAnalysisMode const type.
135func PossibleAudioAnalysisModeValues() []AudioAnalysisMode {
136	return []AudioAnalysisMode{Basic, Standard}
137}
138
139// BlurType enumerates the values for blur type.
140type BlurType string
141
142const (
143	// Black Black: Black out filter
144	Black BlurType = "Black"
145	// Box Box: debug filter, bounding box only
146	Box BlurType = "Box"
147	// High High: Confuse blur filter
148	High BlurType = "High"
149	// Low Low: box-car blur filter
150	Low BlurType = "Low"
151	// Med Med: Gaussian blur filter
152	Med BlurType = "Med"
153)
154
155// PossibleBlurTypeValues returns an array of possible values for the BlurType const type.
156func PossibleBlurTypeValues() []BlurType {
157	return []BlurType{Black, Box, High, Low, Med}
158}
159
160// ChannelMapping enumerates the values for channel mapping.
161type ChannelMapping string
162
163const (
164	// BackLeft The Back Left Channel.  Sometimes referred to as the Left Surround Channel.
165	BackLeft ChannelMapping = "BackLeft"
166	// BackRight The Back Right Channel.  Sometimes referred to as the Right Surround Channel.
167	BackRight ChannelMapping = "BackRight"
168	// Center The Center Channel.
169	Center ChannelMapping = "Center"
170	// FrontLeft The Front Left Channel.
171	FrontLeft ChannelMapping = "FrontLeft"
172	// FrontRight The Front Right Channel.
173	FrontRight ChannelMapping = "FrontRight"
174	// LowFrequencyEffects Low Frequency Effects Channel.  Sometimes referred to as the Subwoofer.
175	LowFrequencyEffects ChannelMapping = "LowFrequencyEffects"
176	// StereoLeft The Left Stereo channel.  Sometimes referred to as Down Mix Left.
177	StereoLeft ChannelMapping = "StereoLeft"
178	// StereoRight The Right Stereo channel.  Sometimes referred to as Down Mix Right.
179	StereoRight ChannelMapping = "StereoRight"
180)
181
182// PossibleChannelMappingValues returns an array of possible values for the ChannelMapping const type.
183func PossibleChannelMappingValues() []ChannelMapping {
184	return []ChannelMapping{BackLeft, BackRight, Center, FrontLeft, FrontRight, LowFrequencyEffects, StereoLeft, StereoRight}
185}
186
187// ContentKeyPolicyFairPlayRentalAndLeaseKeyType enumerates the values for content key policy fair play rental
188// and lease key type.
189type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
190
191const (
192	// DualExpiry Dual expiry for offline rental.
193	DualExpiry ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "DualExpiry"
194	// PersistentLimited Content key can be persisted and the valid duration is limited by the Rental Duration
195	// value
196	PersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
197	// PersistentUnlimited Content key can be persisted with an unlimited duration
198	PersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
199	// Undefined Key duration is not specified.
200	Undefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
201	// Unknown Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API
202	// version.
203	Unknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
204)
205
206// PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues returns an array of possible values for the ContentKeyPolicyFairPlayRentalAndLeaseKeyType const type.
207func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType {
208	return []ContentKeyPolicyFairPlayRentalAndLeaseKeyType{DualExpiry, PersistentLimited, PersistentUnlimited, Undefined, Unknown}
209}
210
211// ContentKeyPolicyPlayReadyContentType enumerates the values for content key policy play ready content type.
212type ContentKeyPolicyPlayReadyContentType string
213
214const (
215	// ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload Ultraviolet download content type.
216	ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload"
217	// ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming Ultraviolet streaming content type.
218	ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming"
219	// ContentKeyPolicyPlayReadyContentTypeUnknown Represents a ContentKeyPolicyPlayReadyContentType that is
220	// unavailable in current API version.
221	ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown"
222	// ContentKeyPolicyPlayReadyContentTypeUnspecified Unspecified content type.
223	ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified"
224)
225
226// PossibleContentKeyPolicyPlayReadyContentTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyContentType const type.
227func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType {
228	return []ContentKeyPolicyPlayReadyContentType{ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload, ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming, ContentKeyPolicyPlayReadyContentTypeUnknown, ContentKeyPolicyPlayReadyContentTypeUnspecified}
229}
230
231// ContentKeyPolicyPlayReadyLicenseType enumerates the values for content key policy play ready license type.
232type ContentKeyPolicyPlayReadyLicenseType string
233
234const (
235	// ContentKeyPolicyPlayReadyLicenseTypeNonPersistent Non persistent license.
236	ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent"
237	// ContentKeyPolicyPlayReadyLicenseTypePersistent Persistent license. Allows offline playback.
238	ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent"
239	// ContentKeyPolicyPlayReadyLicenseTypeUnknown Represents a ContentKeyPolicyPlayReadyLicenseType that is
240	// unavailable in current API version.
241	ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown"
242)
243
244// PossibleContentKeyPolicyPlayReadyLicenseTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyLicenseType const type.
245func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType {
246	return []ContentKeyPolicyPlayReadyLicenseType{ContentKeyPolicyPlayReadyLicenseTypeNonPersistent, ContentKeyPolicyPlayReadyLicenseTypePersistent, ContentKeyPolicyPlayReadyLicenseTypeUnknown}
247}
248
249// ContentKeyPolicyPlayReadyUnknownOutputPassingOption enumerates the values for content key policy play ready
250// unknown output passing option.
251type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
252
253const (
254	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed Passing the video portion of protected
255	// content to an Unknown Output is allowed.
256	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed"
257	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction Passing the video
258	// portion of protected content to an Unknown Output is allowed but with constrained resolution.
259	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction"
260	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed Passing the video portion of protected
261	// content to an Unknown Output is not allowed.
262	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed"
263	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown Represents a
264	// ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
265	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown"
266)
267
268// PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues returns an array of possible values for the ContentKeyPolicyPlayReadyUnknownOutputPassingOption const type.
269func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption {
270	return []ContentKeyPolicyPlayReadyUnknownOutputPassingOption{ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown}
271}
272
273// ContentKeyPolicyRestrictionTokenType enumerates the values for content key policy restriction token type.
274type ContentKeyPolicyRestrictionTokenType string
275
276const (
277	// ContentKeyPolicyRestrictionTokenTypeJwt JSON Web Token.
278	ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt"
279	// ContentKeyPolicyRestrictionTokenTypeSwt Simple Web Token.
280	ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt"
281	// ContentKeyPolicyRestrictionTokenTypeUnknown Represents a ContentKeyPolicyRestrictionTokenType that is
282	// unavailable in current API version.
283	ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown"
284)
285
286// PossibleContentKeyPolicyRestrictionTokenTypeValues returns an array of possible values for the ContentKeyPolicyRestrictionTokenType const type.
287func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType {
288	return []ContentKeyPolicyRestrictionTokenType{ContentKeyPolicyRestrictionTokenTypeJwt, ContentKeyPolicyRestrictionTokenTypeSwt, ContentKeyPolicyRestrictionTokenTypeUnknown}
289}
290
291// CreatedByType enumerates the values for created by type.
292type CreatedByType string
293
294const (
295	// Application ...
296	Application CreatedByType = "Application"
297	// Key ...
298	Key CreatedByType = "Key"
299	// ManagedIdentity ...
300	ManagedIdentity CreatedByType = "ManagedIdentity"
301	// User ...
302	User CreatedByType = "User"
303)
304
305// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
306func PossibleCreatedByTypeValues() []CreatedByType {
307	return []CreatedByType{Application, Key, ManagedIdentity, User}
308}
309
310// DeinterlaceMode enumerates the values for deinterlace mode.
311type DeinterlaceMode string
312
313const (
314	// AutoPixelAdaptive Apply automatic pixel adaptive de-interlacing on each frame in the input video.
315	AutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
316	// Off Disables de-interlacing of the source video.
317	Off DeinterlaceMode = "Off"
318)
319
320// PossibleDeinterlaceModeValues returns an array of possible values for the DeinterlaceMode const type.
321func PossibleDeinterlaceModeValues() []DeinterlaceMode {
322	return []DeinterlaceMode{AutoPixelAdaptive, Off}
323}
324
325// DeinterlaceParity enumerates the values for deinterlace parity.
326type DeinterlaceParity string
327
328const (
329	// Auto Automatically detect the order of fields
330	Auto DeinterlaceParity = "Auto"
331	// BottomFieldFirst Apply bottom field first processing of input video.
332	BottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
333	// TopFieldFirst Apply top field first processing of input video.
334	TopFieldFirst DeinterlaceParity = "TopFieldFirst"
335)
336
337// PossibleDeinterlaceParityValues returns an array of possible values for the DeinterlaceParity const type.
338func PossibleDeinterlaceParityValues() []DeinterlaceParity {
339	return []DeinterlaceParity{Auto, BottomFieldFirst, TopFieldFirst}
340}
341
342// EncoderNamedPreset enumerates the values for encoder named preset.
343type EncoderNamedPreset string
344
345const (
346	// AACGoodQualityAudio Produces a single MP4 file containing only stereo audio encoded at 192 kbps.
347	AACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
348	// AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio.
349	// Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The
350	// auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output
351	// will remain 720p at best.
352	AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
353	// ContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any input
354	// content, the service performs an initial lightweight analysis of the input content, and uses the results
355	// to determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by
356	// adaptive streaming. This preset is particularly effective for low and medium complexity videos, where
357	// the output files will be at lower bitrates but at a quality that still delivers a good experience to
358	// viewers. The output will contain MP4 files with video and audio interleaved.
359	ContentAwareEncoding EncoderNamedPreset = "ContentAwareEncoding"
360	// ContentAwareEncodingExperimental Exposes an experimental preset for content-aware encoding. Given any
361	// input content, the service attempts to automatically determine the optimal number of layers, appropriate
362	// bitrate and resolution settings for delivery by adaptive streaming. The underlying algorithms will
363	// continue to evolve over time. The output will contain MP4 files with video and audio interleaved.
364	ContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
365	// CopyAllBitrateNonInterleaved Copy all video and audio streams from the input asset as non-interleaved
366	// video and audio output files. This preset can be used to clip an existing asset or convert a group of
367	// key frame (GOP) aligned MP4 files as an asset that can be streamed.
368	CopyAllBitrateNonInterleaved EncoderNamedPreset = "CopyAllBitrateNonInterleaved"
369	// H264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps,
370	// and stereo AAC audio. Resolution starts at 1080p and goes down to 180p.
371	H264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
372	// H264MultipleBitrate720p Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps,
373	// and stereo AAC audio. Resolution starts at 720p and goes down to 180p.
374	H264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
375	// H264MultipleBitrateSD Produces a set of 5 GOP-aligned MP4 files, ranging from 1900kbps to 400 kbps, and
376	// stereo AAC audio. Resolution starts at 480p and goes down to 240p.
377	H264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
378	// H264SingleBitrate1080p Produces an MP4 file where the video is encoded with H.264 codec at 6750 kbps and
379	// a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
380	H264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
381	// H264SingleBitrate720p Produces an MP4 file where the video is encoded with H.264 codec at 4500 kbps and
382	// a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
383	H264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
384	// H264SingleBitrateSD Produces an MP4 file where the video is encoded with H.264 codec at 2200 kbps and a
385	// picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
386	H264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
387	// H265AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.265 video and stereo AAC audio.
388	// Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The
389	// auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output
390	// will remain 720p at best.
391	H265AdaptiveStreaming EncoderNamedPreset = "H265AdaptiveStreaming"
392	// H265ContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any
393	// input content, the service performs an initial lightweight analysis of the input content, and uses the
394	// results to determine the optimal number of layers, appropriate bitrate and resolution settings for
395	// delivery by adaptive streaming. This preset is particularly effective for low and medium complexity
396	// videos, where the output files will be at lower bitrates but at a quality that still delivers a good
397	// experience to viewers. The output will contain MP4 files with video and audio interleaved.
398	H265ContentAwareEncoding EncoderNamedPreset = "H265ContentAwareEncoding"
399	// H265SingleBitrate1080p Produces an MP4 file where the video is encoded with H.265 codec at 3500 kbps and
400	// a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
401	H265SingleBitrate1080p EncoderNamedPreset = "H265SingleBitrate1080p"
402	// H265SingleBitrate4K Produces an MP4 file where the video is encoded with H.265 codec at 9500 kbps and a
403	// picture height of 2160 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
404	H265SingleBitrate4K EncoderNamedPreset = "H265SingleBitrate4K"
405	// H265SingleBitrate720p Produces an MP4 file where the video is encoded with H.265 codec at 1800 kbps and
406	// a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
407	H265SingleBitrate720p EncoderNamedPreset = "H265SingleBitrate720p"
408)
409
410// PossibleEncoderNamedPresetValues returns an array of possible values for the EncoderNamedPreset const type.
411func PossibleEncoderNamedPresetValues() []EncoderNamedPreset {
412	return []EncoderNamedPreset{AACGoodQualityAudio, AdaptiveStreaming, ContentAwareEncoding, ContentAwareEncodingExperimental, CopyAllBitrateNonInterleaved, H264MultipleBitrate1080p, H264MultipleBitrate720p, H264MultipleBitrateSD, H264SingleBitrate1080p, H264SingleBitrate720p, H264SingleBitrateSD, H265AdaptiveStreaming, H265ContentAwareEncoding, H265SingleBitrate1080p, H265SingleBitrate4K, H265SingleBitrate720p}
413}
414
415// EncryptionScheme enumerates the values for encryption scheme.
416type EncryptionScheme string
417
418const (
419	// EncryptionSchemeCommonEncryptionCbcs CommonEncryptionCbcs scheme
420	EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs"
421	// EncryptionSchemeCommonEncryptionCenc CommonEncryptionCenc scheme
422	EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc"
423	// EncryptionSchemeEnvelopeEncryption EnvelopeEncryption scheme
424	EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption"
425	// EncryptionSchemeNoEncryption NoEncryption scheme
426	EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption"
427)
428
429// PossibleEncryptionSchemeValues returns an array of possible values for the EncryptionScheme const type.
430func PossibleEncryptionSchemeValues() []EncryptionScheme {
431	return []EncryptionScheme{EncryptionSchemeCommonEncryptionCbcs, EncryptionSchemeCommonEncryptionCenc, EncryptionSchemeEnvelopeEncryption, EncryptionSchemeNoEncryption}
432}
433
434// EntropyMode enumerates the values for entropy mode.
435type EntropyMode string
436
437const (
438	// Cabac Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding.
439	Cabac EntropyMode = "Cabac"
440	// Cavlc Context Adaptive Variable Length Coder (CAVLC) entropy encoding.
441	Cavlc EntropyMode = "Cavlc"
442)
443
444// PossibleEntropyModeValues returns an array of possible values for the EntropyMode const type.
445func PossibleEntropyModeValues() []EntropyMode {
446	return []EntropyMode{Cabac, Cavlc}
447}
448
449// FaceRedactorMode enumerates the values for face redactor mode.
450type FaceRedactorMode string
451
452const (
453	// Analyze Analyze mode detects faces and outputs a metadata file with the results. Allows editing of the
454	// metadata file before faces are blurred with Redact mode.
455	Analyze FaceRedactorMode = "Analyze"
456	// Combined Combined mode does the Analyze and Redact steps in one pass when editing the analyzed faces is
457	// not desired.
458	Combined FaceRedactorMode = "Combined"
459	// Redact Redact mode consumes the metadata file from Analyze mode and redacts the faces found.
460	Redact FaceRedactorMode = "Redact"
461)
462
463// PossibleFaceRedactorModeValues returns an array of possible values for the FaceRedactorMode const type.
464func PossibleFaceRedactorModeValues() []FaceRedactorMode {
465	return []FaceRedactorMode{Analyze, Combined, Redact}
466}
467
468// FilterTrackPropertyCompareOperation enumerates the values for filter track property compare operation.
469type FilterTrackPropertyCompareOperation string
470
471const (
472	// Equal The equal operation.
473	Equal FilterTrackPropertyCompareOperation = "Equal"
474	// NotEqual The not equal operation.
475	NotEqual FilterTrackPropertyCompareOperation = "NotEqual"
476)
477
478// PossibleFilterTrackPropertyCompareOperationValues returns an array of possible values for the FilterTrackPropertyCompareOperation const type.
479func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation {
480	return []FilterTrackPropertyCompareOperation{Equal, NotEqual}
481}
482
483// FilterTrackPropertyType enumerates the values for filter track property type.
484type FilterTrackPropertyType string
485
486const (
487	// FilterTrackPropertyTypeBitrate The bitrate.
488	FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate"
489	// FilterTrackPropertyTypeFourCC The fourCC.
490	FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC"
491	// FilterTrackPropertyTypeLanguage The language.
492	FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language"
493	// FilterTrackPropertyTypeName The name.
494	FilterTrackPropertyTypeName FilterTrackPropertyType = "Name"
495	// FilterTrackPropertyTypeType The type.
496	FilterTrackPropertyTypeType FilterTrackPropertyType = "Type"
497	// FilterTrackPropertyTypeUnknown The unknown track property type.
498	FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown"
499)
500
501// PossibleFilterTrackPropertyTypeValues returns an array of possible values for the FilterTrackPropertyType const type.
502func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType {
503	return []FilterTrackPropertyType{FilterTrackPropertyTypeBitrate, FilterTrackPropertyTypeFourCC, FilterTrackPropertyTypeLanguage, FilterTrackPropertyTypeName, FilterTrackPropertyTypeType, FilterTrackPropertyTypeUnknown}
504}
505
506// H264Complexity enumerates the values for h264 complexity.
507type H264Complexity string
508
509const (
510	// Balanced Tells the encoder to use settings that achieve a balance between speed and quality.
511	Balanced H264Complexity = "Balanced"
512	// Quality Tells the encoder to use settings that are optimized to produce higher quality output at the
513	// expense of slower overall encode time.
514	Quality H264Complexity = "Quality"
515	// Speed Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to
516	// decrease encoding time.
517	Speed H264Complexity = "Speed"
518)
519
520// PossibleH264ComplexityValues returns an array of possible values for the H264Complexity const type.
521func PossibleH264ComplexityValues() []H264Complexity {
522	return []H264Complexity{Balanced, Quality, Speed}
523}
524
525// H264VideoProfile enumerates the values for h264 video profile.
526type H264VideoProfile string
527
528const (
529	// H264VideoProfileAuto Tells the encoder to automatically determine the appropriate H.264 profile.
530	H264VideoProfileAuto H264VideoProfile = "Auto"
531	// H264VideoProfileBaseline Baseline profile
532	H264VideoProfileBaseline H264VideoProfile = "Baseline"
533	// H264VideoProfileHigh High profile.
534	H264VideoProfileHigh H264VideoProfile = "High"
535	// H264VideoProfileHigh422 High 4:2:2 profile.
536	H264VideoProfileHigh422 H264VideoProfile = "High422"
537	// H264VideoProfileHigh444 High 4:4:4 predictive profile.
538	H264VideoProfileHigh444 H264VideoProfile = "High444"
539	// H264VideoProfileMain Main profile
540	H264VideoProfileMain H264VideoProfile = "Main"
541)
542
543// PossibleH264VideoProfileValues returns an array of possible values for the H264VideoProfile const type.
544func PossibleH264VideoProfileValues() []H264VideoProfile {
545	return []H264VideoProfile{H264VideoProfileAuto, H264VideoProfileBaseline, H264VideoProfileHigh, H264VideoProfileHigh422, H264VideoProfileHigh444, H264VideoProfileMain}
546}
547
548// H265Complexity enumerates the values for h265 complexity.
549type H265Complexity string
550
551const (
552	// H265ComplexityBalanced Tells the encoder to use settings that achieve a balance between speed and
553	// quality.
554	H265ComplexityBalanced H265Complexity = "Balanced"
555	// H265ComplexityQuality Tells the encoder to use settings that are optimized to produce higher quality
556	// output at the expense of slower overall encode time.
557	H265ComplexityQuality H265Complexity = "Quality"
558	// H265ComplexitySpeed Tells the encoder to use settings that are optimized for faster encoding. Quality is
559	// sacrificed to decrease encoding time.
560	H265ComplexitySpeed H265Complexity = "Speed"
561)
562
563// PossibleH265ComplexityValues returns an array of possible values for the H265Complexity const type.
564func PossibleH265ComplexityValues() []H265Complexity {
565	return []H265Complexity{H265ComplexityBalanced, H265ComplexityQuality, H265ComplexitySpeed}
566}
567
568// H265VideoProfile enumerates the values for h265 video profile.
569type H265VideoProfile string
570
571const (
572	// H265VideoProfileAuto Tells the encoder to automatically determine the appropriate H.265 profile.
573	H265VideoProfileAuto H265VideoProfile = "Auto"
574	// H265VideoProfileMain Main profile
575	// (https://x265.readthedocs.io/en/default/cli.html?highlight=profile#profile-level-tier)
576	H265VideoProfileMain H265VideoProfile = "Main"
577)
578
579// PossibleH265VideoProfileValues returns an array of possible values for the H265VideoProfile const type.
580func PossibleH265VideoProfileValues() []H265VideoProfile {
581	return []H265VideoProfile{H265VideoProfileAuto, H265VideoProfileMain}
582}
583
584// InsightsType enumerates the values for insights type.
585type InsightsType string
586
587const (
588	// AllInsights Generate both audio and video insights. Fails if either audio or video Insights fail.
589	AllInsights InsightsType = "AllInsights"
590	// AudioInsightsOnly Generate audio only insights. Ignore video even if present. Fails if no audio is
591	// present.
592	AudioInsightsOnly InsightsType = "AudioInsightsOnly"
593	// VideoInsightsOnly Generate video only insights. Ignore audio if present. Fails if no video is present.
594	VideoInsightsOnly InsightsType = "VideoInsightsOnly"
595)
596
597// PossibleInsightsTypeValues returns an array of possible values for the InsightsType const type.
598func PossibleInsightsTypeValues() []InsightsType {
599	return []InsightsType{AllInsights, AudioInsightsOnly, VideoInsightsOnly}
600}
601
602// JobErrorCategory enumerates the values for job error category.
603type JobErrorCategory string
604
605const (
606	// JobErrorCategoryConfiguration The error is configuration related.
607	JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
608	// JobErrorCategoryContent The error is related to data in the input files.
609	JobErrorCategoryContent JobErrorCategory = "Content"
610	// JobErrorCategoryDownload The error is download related.
611	JobErrorCategoryDownload JobErrorCategory = "Download"
612	// JobErrorCategoryService The error is service related.
613	JobErrorCategoryService JobErrorCategory = "Service"
614	// JobErrorCategoryUpload The error is upload related.
615	JobErrorCategoryUpload JobErrorCategory = "Upload"
616)
617
618// PossibleJobErrorCategoryValues returns an array of possible values for the JobErrorCategory const type.
619func PossibleJobErrorCategoryValues() []JobErrorCategory {
620	return []JobErrorCategory{JobErrorCategoryConfiguration, JobErrorCategoryContent, JobErrorCategoryDownload, JobErrorCategoryService, JobErrorCategoryUpload}
621}
622
623// JobErrorCode enumerates the values for job error code.
624type JobErrorCode string
625
626const (
627	// ConfigurationUnsupported There was a problem with the combination of input files and the configuration
628	// settings applied, fix the configuration settings and retry with the same input, or change input to match
629	// the configuration.
630	ConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
631	// ContentMalformed There was a problem with the input content (for example: zero byte files, or
632	// corrupt/non-decodable files), check the input files.
633	ContentMalformed JobErrorCode = "ContentMalformed"
634	// ContentUnsupported There was a problem with the format of the input (not valid media file, or an
635	// unsupported file/codec), check the validity of the input files.
636	ContentUnsupported JobErrorCode = "ContentUnsupported"
637	// DownloadNotAccessible While trying to download the input files, the files were not accessible, please
638	// check the availability of the source.
639	DownloadNotAccessible JobErrorCode = "DownloadNotAccessible"
640	// DownloadTransientError While trying to download the input files, there was an issue during transfer
641	// (storage service, network errors), see details and check your source.
642	DownloadTransientError JobErrorCode = "DownloadTransientError"
643	// ServiceError Fatal service error, please contact support.
644	ServiceError JobErrorCode = "ServiceError"
645	// ServiceTransientError Transient error, please retry, if retry is unsuccessful, please contact support.
646	ServiceTransientError JobErrorCode = "ServiceTransientError"
647	// UploadNotAccessible While trying to upload the output files, the destination was not reachable, please
648	// check the availability of the destination.
649	UploadNotAccessible JobErrorCode = "UploadNotAccessible"
650	// UploadTransientError While trying to upload the output files, there was an issue during transfer
651	// (storage service, network errors), see details and check your destination.
652	UploadTransientError JobErrorCode = "UploadTransientError"
653)
654
655// PossibleJobErrorCodeValues returns an array of possible values for the JobErrorCode const type.
656func PossibleJobErrorCodeValues() []JobErrorCode {
657	return []JobErrorCode{ConfigurationUnsupported, ContentMalformed, ContentUnsupported, DownloadNotAccessible, DownloadTransientError, ServiceError, ServiceTransientError, UploadNotAccessible, UploadTransientError}
658}
659
660// JobRetry enumerates the values for job retry.
661type JobRetry string
662
663const (
664	// DoNotRetry Issue needs to be investigated and then the job resubmitted with corrections or retried once
665	// the underlying issue has been corrected.
666	DoNotRetry JobRetry = "DoNotRetry"
667	// MayRetry Issue may be resolved after waiting for a period of time and resubmitting the same Job.
668	MayRetry JobRetry = "MayRetry"
669)
670
671// PossibleJobRetryValues returns an array of possible values for the JobRetry const type.
672func PossibleJobRetryValues() []JobRetry {
673	return []JobRetry{DoNotRetry, MayRetry}
674}
675
676// JobState enumerates the values for job state.
677type JobState string
678
679const (
680	// Canceled The job was canceled. This is a final state for the job.
681	Canceled JobState = "Canceled"
682	// Canceling The job is in the process of being canceled. This is a transient state for the job.
683	Canceling JobState = "Canceling"
684	// Error The job has encountered an error. This is a final state for the job.
685	Error JobState = "Error"
686	// Finished The job is finished. This is a final state for the job.
687	Finished JobState = "Finished"
688	// Processing The job is processing. This is a transient state for the job.
689	Processing JobState = "Processing"
690	// Queued The job is in a queued state, waiting for resources to become available. This is a transient
691	// state.
692	Queued JobState = "Queued"
693	// Scheduled The job is being scheduled to run on an available resource. This is a transient state, between
694	// queued and processing states.
695	Scheduled JobState = "Scheduled"
696)
697
698// PossibleJobStateValues returns an array of possible values for the JobState const type.
699func PossibleJobStateValues() []JobState {
700	return []JobState{Canceled, Canceling, Error, Finished, Processing, Queued, Scheduled}
701}
702
703// LiveEventEncodingType enumerates the values for live event encoding type.
704type LiveEventEncodingType string
705
706const (
707	// LiveEventEncodingTypeNone A contribution live encoder sends a multiple bitrate stream. The ingested
708	// stream passes through the live event without any further processing. It is also called the pass-through
709	// mode.
710	LiveEventEncodingTypeNone LiveEventEncodingType = "None"
711	// LiveEventEncodingTypePremium1080p A contribution live encoder sends a single bitrate stream to the live
712	// event and Media Services creates multiple bitrate streams. The output cannot exceed 1080p in resolution.
713	LiveEventEncodingTypePremium1080p LiveEventEncodingType = "Premium1080p"
714	// LiveEventEncodingTypeStandard A contribution live encoder sends a single bitrate stream to the live
715	// event and Media Services creates multiple bitrate streams. The output cannot exceed 720p in resolution.
716	LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard"
717)
718
719// PossibleLiveEventEncodingTypeValues returns an array of possible values for the LiveEventEncodingType const type.
720func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType {
721	return []LiveEventEncodingType{LiveEventEncodingTypeNone, LiveEventEncodingTypePremium1080p, LiveEventEncodingTypeStandard}
722}
723
724// LiveEventInputProtocol enumerates the values for live event input protocol.
725type LiveEventInputProtocol string
726
727const (
728	// FragmentedMP4 Smooth Streaming input will be sent by the contribution encoder to the live event.
729	FragmentedMP4 LiveEventInputProtocol = "FragmentedMP4"
730	// RTMP RTMP input will be sent by the contribution encoder to the live event.
731	RTMP LiveEventInputProtocol = "RTMP"
732)
733
734// PossibleLiveEventInputProtocolValues returns an array of possible values for the LiveEventInputProtocol const type.
735func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol {
736	return []LiveEventInputProtocol{FragmentedMP4, RTMP}
737}
738
739// LiveEventResourceState enumerates the values for live event resource state.
740type LiveEventResourceState string
741
742const (
743	// Allocating Allocate action was called on the live event and resources are being provisioned for this
744	// live event. Once allocation completes successfully, the live event will transition to StandBy state.
745	Allocating LiveEventResourceState = "Allocating"
746	// Deleting The live event is being deleted. No billing occurs in this transient state. Updates or
747	// streaming are not allowed during this state.
748	Deleting LiveEventResourceState = "Deleting"
749	// Running The live event resources have been allocated, ingest and preview URLs have been generated, and
750	// it is capable of receiving live streams. At this point, billing is active. You must explicitly call Stop
751	// on the live event resource to halt further billing.
752	Running LiveEventResourceState = "Running"
753	// StandBy Live event resources have been provisioned and is ready to start. Billing occurs in this state.
754	// Most properties can still be updated, however ingest or streaming is not allowed during this state.
755	StandBy LiveEventResourceState = "StandBy"
756	// Starting The live event is being started and resources are being allocated. No billing occurs in this
757	// state. Updates or streaming are not allowed during this state. If an error occurs, the live event
758	// returns to the Stopped state.
759	Starting LiveEventResourceState = "Starting"
760	// Stopped This is the initial state of the live event after creation (unless autostart was set to true.)
761	// No billing occurs in this state. In this state, the live event properties can be updated but streaming
762	// is not allowed.
763	Stopped LiveEventResourceState = "Stopped"
764	// Stopping The live event is being stopped and resources are being de-provisioned. No billing occurs in
765	// this transient state. Updates or streaming are not allowed during this state.
766	Stopping LiveEventResourceState = "Stopping"
767)
768
769// PossibleLiveEventResourceStateValues returns an array of possible values for the LiveEventResourceState const type.
770func PossibleLiveEventResourceStateValues() []LiveEventResourceState {
771	return []LiveEventResourceState{Allocating, Deleting, Running, StandBy, Starting, Stopped, Stopping}
772}
773
774// LiveOutputResourceState enumerates the values for live output resource state.
775type LiveOutputResourceState string
776
777const (
778	// LiveOutputResourceStateCreating Live output is being created. No content is archived in the asset until
779	// the live output is in running state.
780	LiveOutputResourceStateCreating LiveOutputResourceState = "Creating"
781	// LiveOutputResourceStateDeleting Live output is being deleted. The live asset is being converted from
782	// live to on-demand asset. Any streaming URLs created on the live output asset continue to work.
783	LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting"
784	// LiveOutputResourceStateRunning Live output is running and archiving live streaming content to the asset
785	// if there is valid input from a contribution encoder.
786	LiveOutputResourceStateRunning LiveOutputResourceState = "Running"
787)
788
789// PossibleLiveOutputResourceStateValues returns an array of possible values for the LiveOutputResourceState const type.
790func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState {
791	return []LiveOutputResourceState{LiveOutputResourceStateCreating, LiveOutputResourceStateDeleting, LiveOutputResourceStateRunning}
792}
793
794// ManagedIdentityType enumerates the values for managed identity type.
795type ManagedIdentityType string
796
797const (
798	// ManagedIdentityTypeNone No managed identity.
799	ManagedIdentityTypeNone ManagedIdentityType = "None"
800	// ManagedIdentityTypeSystemAssigned A system-assigned managed identity.
801	ManagedIdentityTypeSystemAssigned ManagedIdentityType = "SystemAssigned"
802)
803
804// PossibleManagedIdentityTypeValues returns an array of possible values for the ManagedIdentityType const type.
805func PossibleManagedIdentityTypeValues() []ManagedIdentityType {
806	return []ManagedIdentityType{ManagedIdentityTypeNone, ManagedIdentityTypeSystemAssigned}
807}
808
809// MetricAggregationType enumerates the values for metric aggregation type.
810type MetricAggregationType string
811
812const (
813	// Average The average.
814	Average MetricAggregationType = "Average"
815	// Count The count of a number of items, usually requests.
816	Count MetricAggregationType = "Count"
817	// Total The sum.
818	Total MetricAggregationType = "Total"
819)
820
821// PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
822func PossibleMetricAggregationTypeValues() []MetricAggregationType {
823	return []MetricAggregationType{Average, Count, Total}
824}
825
826// MetricUnit enumerates the values for metric unit.
827type MetricUnit string
828
829const (
830	// MetricUnitBytes The number of bytes.
831	MetricUnitBytes MetricUnit = "Bytes"
832	// MetricUnitCount The count.
833	MetricUnitCount MetricUnit = "Count"
834	// MetricUnitMilliseconds The number of milliseconds.
835	MetricUnitMilliseconds MetricUnit = "Milliseconds"
836)
837
838// PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.
839func PossibleMetricUnitValues() []MetricUnit {
840	return []MetricUnit{MetricUnitBytes, MetricUnitCount, MetricUnitMilliseconds}
841}
842
843// OdataType enumerates the values for odata type.
844type OdataType string
845
846const (
847	// OdataTypeContentKeyPolicyPlayReadyContentKeyLocation ...
848	OdataTypeContentKeyPolicyPlayReadyContentKeyLocation OdataType = "ContentKeyPolicyPlayReadyContentKeyLocation"
849	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ...
850	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
851	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ...
852	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"
853)
854
855// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
856func PossibleOdataTypeValues() []OdataType {
857	return []OdataType{OdataTypeContentKeyPolicyPlayReadyContentKeyLocation, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier}
858}
859
860// OdataTypeBasicClipTime enumerates the values for odata type basic clip time.
861type OdataTypeBasicClipTime string
862
863const (
864	// OdataTypeClipTime ...
865	OdataTypeClipTime OdataTypeBasicClipTime = "ClipTime"
866	// OdataTypeMicrosoftMediaAbsoluteClipTime ...
867	OdataTypeMicrosoftMediaAbsoluteClipTime OdataTypeBasicClipTime = "#Microsoft.Media.AbsoluteClipTime"
868	// OdataTypeMicrosoftMediaUtcClipTime ...
869	OdataTypeMicrosoftMediaUtcClipTime OdataTypeBasicClipTime = "#Microsoft.Media.UtcClipTime"
870)
871
872// PossibleOdataTypeBasicClipTimeValues returns an array of possible values for the OdataTypeBasicClipTime const type.
873func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime {
874	return []OdataTypeBasicClipTime{OdataTypeClipTime, OdataTypeMicrosoftMediaAbsoluteClipTime, OdataTypeMicrosoftMediaUtcClipTime}
875}
876
877// OdataTypeBasicCodec enumerates the values for odata type basic codec.
878type OdataTypeBasicCodec string
879
880const (
881	// OdataTypeCodec ...
882	OdataTypeCodec OdataTypeBasicCodec = "Codec"
883	// OdataTypeMicrosoftMediaAacAudio ...
884	OdataTypeMicrosoftMediaAacAudio OdataTypeBasicCodec = "#Microsoft.Media.AacAudio"
885	// OdataTypeMicrosoftMediaAudio ...
886	OdataTypeMicrosoftMediaAudio OdataTypeBasicCodec = "#Microsoft.Media.Audio"
887	// OdataTypeMicrosoftMediaCopyAudio ...
888	OdataTypeMicrosoftMediaCopyAudio OdataTypeBasicCodec = "#Microsoft.Media.CopyAudio"
889	// OdataTypeMicrosoftMediaCopyVideo ...
890	OdataTypeMicrosoftMediaCopyVideo OdataTypeBasicCodec = "#Microsoft.Media.CopyVideo"
891	// OdataTypeMicrosoftMediaH264Video ...
892	OdataTypeMicrosoftMediaH264Video OdataTypeBasicCodec = "#Microsoft.Media.H264Video"
893	// OdataTypeMicrosoftMediaH265Video ...
894	OdataTypeMicrosoftMediaH265Video OdataTypeBasicCodec = "#Microsoft.Media.H265Video"
895	// OdataTypeMicrosoftMediaImage ...
896	OdataTypeMicrosoftMediaImage OdataTypeBasicCodec = "#Microsoft.Media.Image"
897	// OdataTypeMicrosoftMediaJpgImage ...
898	OdataTypeMicrosoftMediaJpgImage OdataTypeBasicCodec = "#Microsoft.Media.JpgImage"
899	// OdataTypeMicrosoftMediaPngImage ...
900	OdataTypeMicrosoftMediaPngImage OdataTypeBasicCodec = "#Microsoft.Media.PngImage"
901	// OdataTypeMicrosoftMediaVideo ...
902	OdataTypeMicrosoftMediaVideo OdataTypeBasicCodec = "#Microsoft.Media.Video"
903)
904
905// PossibleOdataTypeBasicCodecValues returns an array of possible values for the OdataTypeBasicCodec const type.
906func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec {
907	return []OdataTypeBasicCodec{OdataTypeCodec, OdataTypeMicrosoftMediaAacAudio, OdataTypeMicrosoftMediaAudio, OdataTypeMicrosoftMediaCopyAudio, OdataTypeMicrosoftMediaCopyVideo, OdataTypeMicrosoftMediaH264Video, OdataTypeMicrosoftMediaH265Video, OdataTypeMicrosoftMediaImage, OdataTypeMicrosoftMediaJpgImage, OdataTypeMicrosoftMediaPngImage, OdataTypeMicrosoftMediaVideo}
908}
909
910// OdataTypeBasicContentKeyPolicyConfiguration enumerates the values for odata type basic content key policy
911// configuration.
912type OdataTypeBasicContentKeyPolicyConfiguration string
913
914const (
915	// OdataTypeContentKeyPolicyConfiguration ...
916	OdataTypeContentKeyPolicyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "ContentKeyPolicyConfiguration"
917	// OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration ...
918	OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
919	// OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration ...
920	OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"
921	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration ...
922	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"
923	// OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration ...
924	OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"
925	// OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration ...
926	OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"
927)
928
929// PossibleOdataTypeBasicContentKeyPolicyConfigurationValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyConfiguration const type.
930func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues() []OdataTypeBasicContentKeyPolicyConfiguration {
931	return []OdataTypeBasicContentKeyPolicyConfiguration{OdataTypeContentKeyPolicyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration}
932}
933
934// OdataTypeBasicContentKeyPolicyRestriction enumerates the values for odata type basic content key policy
935// restriction.
936type OdataTypeBasicContentKeyPolicyRestriction string
937
938const (
939	// OdataTypeContentKeyPolicyRestriction ...
940	OdataTypeContentKeyPolicyRestriction OdataTypeBasicContentKeyPolicyRestriction = "ContentKeyPolicyRestriction"
941	// OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction ...
942	OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
943	// OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction ...
944	OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyTokenRestriction"
945	// OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction ...
946	OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction"
947)
948
949// PossibleOdataTypeBasicContentKeyPolicyRestrictionValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestriction const type.
950func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues() []OdataTypeBasicContentKeyPolicyRestriction {
951	return []OdataTypeBasicContentKeyPolicyRestriction{OdataTypeContentKeyPolicyRestriction, OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction}
952}
953
954// OdataTypeBasicContentKeyPolicyRestrictionTokenKey enumerates the values for odata type basic content key
955// policy restriction token key.
956type OdataTypeBasicContentKeyPolicyRestrictionTokenKey string
957
958const (
959	// OdataTypeContentKeyPolicyRestrictionTokenKey ...
960	OdataTypeContentKeyPolicyRestrictionTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "ContentKeyPolicyRestrictionTokenKey"
961	// OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey ...
962	OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey"
963	// OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey ...
964	OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"
965	// OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey ...
966	OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"
967)
968
969// PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestrictionTokenKey const type.
970func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues() []OdataTypeBasicContentKeyPolicyRestrictionTokenKey {
971	return []OdataTypeBasicContentKeyPolicyRestrictionTokenKey{OdataTypeContentKeyPolicyRestrictionTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey, OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey}
972}
973
974// OdataTypeBasicFormat enumerates the values for odata type basic format.
975type OdataTypeBasicFormat string
976
977const (
978	// OdataTypeFormat ...
979	OdataTypeFormat OdataTypeBasicFormat = "Format"
980	// OdataTypeMicrosoftMediaImageFormat ...
981	OdataTypeMicrosoftMediaImageFormat OdataTypeBasicFormat = "#Microsoft.Media.ImageFormat"
982	// OdataTypeMicrosoftMediaJpgFormat ...
983	OdataTypeMicrosoftMediaJpgFormat OdataTypeBasicFormat = "#Microsoft.Media.JpgFormat"
984	// OdataTypeMicrosoftMediaMp4Format ...
985	OdataTypeMicrosoftMediaMp4Format OdataTypeBasicFormat = "#Microsoft.Media.Mp4Format"
986	// OdataTypeMicrosoftMediaMultiBitrateFormat ...
987	OdataTypeMicrosoftMediaMultiBitrateFormat OdataTypeBasicFormat = "#Microsoft.Media.MultiBitrateFormat"
988	// OdataTypeMicrosoftMediaPngFormat ...
989	OdataTypeMicrosoftMediaPngFormat OdataTypeBasicFormat = "#Microsoft.Media.PngFormat"
990	// OdataTypeMicrosoftMediaTransportStreamFormat ...
991	OdataTypeMicrosoftMediaTransportStreamFormat OdataTypeBasicFormat = "#Microsoft.Media.TransportStreamFormat"
992)
993
994// PossibleOdataTypeBasicFormatValues returns an array of possible values for the OdataTypeBasicFormat const type.
995func PossibleOdataTypeBasicFormatValues() []OdataTypeBasicFormat {
996	return []OdataTypeBasicFormat{OdataTypeFormat, OdataTypeMicrosoftMediaImageFormat, OdataTypeMicrosoftMediaJpgFormat, OdataTypeMicrosoftMediaMp4Format, OdataTypeMicrosoftMediaMultiBitrateFormat, OdataTypeMicrosoftMediaPngFormat, OdataTypeMicrosoftMediaTransportStreamFormat}
997}
998
999// OdataTypeBasicInputDefinition enumerates the values for odata type basic input definition.
1000type OdataTypeBasicInputDefinition string
1001
1002const (
1003	// OdataTypeInputDefinition ...
1004	OdataTypeInputDefinition OdataTypeBasicInputDefinition = "InputDefinition"
1005	// OdataTypeMicrosoftMediaFromAllInputFile ...
1006	OdataTypeMicrosoftMediaFromAllInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.FromAllInputFile"
1007	// OdataTypeMicrosoftMediaFromEachInputFile ...
1008	OdataTypeMicrosoftMediaFromEachInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.FromEachInputFile"
1009	// OdataTypeMicrosoftMediaInputFile ...
1010	OdataTypeMicrosoftMediaInputFile OdataTypeBasicInputDefinition = "#Microsoft.Media.InputFile"
1011)
1012
1013// PossibleOdataTypeBasicInputDefinitionValues returns an array of possible values for the OdataTypeBasicInputDefinition const type.
1014func PossibleOdataTypeBasicInputDefinitionValues() []OdataTypeBasicInputDefinition {
1015	return []OdataTypeBasicInputDefinition{OdataTypeInputDefinition, OdataTypeMicrosoftMediaFromAllInputFile, OdataTypeMicrosoftMediaFromEachInputFile, OdataTypeMicrosoftMediaInputFile}
1016}
1017
1018// OdataTypeBasicJobInput enumerates the values for odata type basic job input.
1019type OdataTypeBasicJobInput string
1020
1021const (
1022	// OdataTypeJobInput ...
1023	OdataTypeJobInput OdataTypeBasicJobInput = "JobInput"
1024	// OdataTypeMicrosoftMediaJobInputAsset ...
1025	OdataTypeMicrosoftMediaJobInputAsset OdataTypeBasicJobInput = "#Microsoft.Media.JobInputAsset"
1026	// OdataTypeMicrosoftMediaJobInputClip ...
1027	OdataTypeMicrosoftMediaJobInputClip OdataTypeBasicJobInput = "#Microsoft.Media.JobInputClip"
1028	// OdataTypeMicrosoftMediaJobInputHTTP ...
1029	OdataTypeMicrosoftMediaJobInputHTTP OdataTypeBasicJobInput = "#Microsoft.Media.JobInputHttp"
1030	// OdataTypeMicrosoftMediaJobInputs ...
1031	OdataTypeMicrosoftMediaJobInputs OdataTypeBasicJobInput = "#Microsoft.Media.JobInputs"
1032	// OdataTypeMicrosoftMediaJobInputSequence ...
1033	OdataTypeMicrosoftMediaJobInputSequence OdataTypeBasicJobInput = "#Microsoft.Media.JobInputSequence"
1034)
1035
1036// PossibleOdataTypeBasicJobInputValues returns an array of possible values for the OdataTypeBasicJobInput const type.
1037func PossibleOdataTypeBasicJobInputValues() []OdataTypeBasicJobInput {
1038	return []OdataTypeBasicJobInput{OdataTypeJobInput, OdataTypeMicrosoftMediaJobInputAsset, OdataTypeMicrosoftMediaJobInputClip, OdataTypeMicrosoftMediaJobInputHTTP, OdataTypeMicrosoftMediaJobInputs, OdataTypeMicrosoftMediaJobInputSequence}
1039}
1040
1041// OdataTypeBasicJobOutput enumerates the values for odata type basic job output.
1042type OdataTypeBasicJobOutput string
1043
1044const (
1045	// OdataTypeJobOutput ...
1046	OdataTypeJobOutput OdataTypeBasicJobOutput = "JobOutput"
1047	// OdataTypeMicrosoftMediaJobOutputAsset ...
1048	OdataTypeMicrosoftMediaJobOutputAsset OdataTypeBasicJobOutput = "#Microsoft.Media.JobOutputAsset"
1049)
1050
1051// PossibleOdataTypeBasicJobOutputValues returns an array of possible values for the OdataTypeBasicJobOutput const type.
1052func PossibleOdataTypeBasicJobOutputValues() []OdataTypeBasicJobOutput {
1053	return []OdataTypeBasicJobOutput{OdataTypeJobOutput, OdataTypeMicrosoftMediaJobOutputAsset}
1054}
1055
1056// OdataTypeBasicLayer enumerates the values for odata type basic layer.
1057type OdataTypeBasicLayer string
1058
1059const (
1060	// OdataTypeLayer ...
1061	OdataTypeLayer OdataTypeBasicLayer = "Layer"
1062	// OdataTypeMicrosoftMediaH264Layer ...
1063	OdataTypeMicrosoftMediaH264Layer OdataTypeBasicLayer = "#Microsoft.Media.H264Layer"
1064	// OdataTypeMicrosoftMediaH265Layer ...
1065	OdataTypeMicrosoftMediaH265Layer OdataTypeBasicLayer = "#Microsoft.Media.H265Layer"
1066	// OdataTypeMicrosoftMediaH265VideoLayer ...
1067	OdataTypeMicrosoftMediaH265VideoLayer OdataTypeBasicLayer = "#Microsoft.Media.H265VideoLayer"
1068	// OdataTypeMicrosoftMediaJpgLayer ...
1069	OdataTypeMicrosoftMediaJpgLayer OdataTypeBasicLayer = "#Microsoft.Media.JpgLayer"
1070	// OdataTypeMicrosoftMediaPngLayer ...
1071	OdataTypeMicrosoftMediaPngLayer OdataTypeBasicLayer = "#Microsoft.Media.PngLayer"
1072	// OdataTypeMicrosoftMediaVideoLayer ...
1073	OdataTypeMicrosoftMediaVideoLayer OdataTypeBasicLayer = "#Microsoft.Media.VideoLayer"
1074)
1075
1076// PossibleOdataTypeBasicLayerValues returns an array of possible values for the OdataTypeBasicLayer const type.
1077func PossibleOdataTypeBasicLayerValues() []OdataTypeBasicLayer {
1078	return []OdataTypeBasicLayer{OdataTypeLayer, OdataTypeMicrosoftMediaH264Layer, OdataTypeMicrosoftMediaH265Layer, OdataTypeMicrosoftMediaH265VideoLayer, OdataTypeMicrosoftMediaJpgLayer, OdataTypeMicrosoftMediaPngLayer, OdataTypeMicrosoftMediaVideoLayer}
1079}
1080
1081// OdataTypeBasicOverlay enumerates the values for odata type basic overlay.
1082type OdataTypeBasicOverlay string
1083
1084const (
1085	// OdataTypeMicrosoftMediaAudioOverlay ...
1086	OdataTypeMicrosoftMediaAudioOverlay OdataTypeBasicOverlay = "#Microsoft.Media.AudioOverlay"
1087	// OdataTypeMicrosoftMediaVideoOverlay ...
1088	OdataTypeMicrosoftMediaVideoOverlay OdataTypeBasicOverlay = "#Microsoft.Media.VideoOverlay"
1089	// OdataTypeOverlay ...
1090	OdataTypeOverlay OdataTypeBasicOverlay = "Overlay"
1091)
1092
1093// PossibleOdataTypeBasicOverlayValues returns an array of possible values for the OdataTypeBasicOverlay const type.
1094func PossibleOdataTypeBasicOverlayValues() []OdataTypeBasicOverlay {
1095	return []OdataTypeBasicOverlay{OdataTypeMicrosoftMediaAudioOverlay, OdataTypeMicrosoftMediaVideoOverlay, OdataTypeOverlay}
1096}
1097
1098// OdataTypeBasicPreset enumerates the values for odata type basic preset.
1099type OdataTypeBasicPreset string
1100
1101const (
1102	// OdataTypeMicrosoftMediaAudioAnalyzerPreset ...
1103	OdataTypeMicrosoftMediaAudioAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.AudioAnalyzerPreset"
1104	// OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset ...
1105	OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.BuiltInStandardEncoderPreset"
1106	// OdataTypeMicrosoftMediaFaceDetectorPreset ...
1107	OdataTypeMicrosoftMediaFaceDetectorPreset OdataTypeBasicPreset = "#Microsoft.Media.FaceDetectorPreset"
1108	// OdataTypeMicrosoftMediaStandardEncoderPreset ...
1109	OdataTypeMicrosoftMediaStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.StandardEncoderPreset"
1110	// OdataTypeMicrosoftMediaVideoAnalyzerPreset ...
1111	OdataTypeMicrosoftMediaVideoAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.VideoAnalyzerPreset"
1112	// OdataTypePreset ...
1113	OdataTypePreset OdataTypeBasicPreset = "Preset"
1114)
1115
1116// PossibleOdataTypeBasicPresetValues returns an array of possible values for the OdataTypeBasicPreset const type.
1117func PossibleOdataTypeBasicPresetValues() []OdataTypeBasicPreset {
1118	return []OdataTypeBasicPreset{OdataTypeMicrosoftMediaAudioAnalyzerPreset, OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset, OdataTypeMicrosoftMediaFaceDetectorPreset, OdataTypeMicrosoftMediaStandardEncoderPreset, OdataTypeMicrosoftMediaVideoAnalyzerPreset, OdataTypePreset}
1119}
1120
1121// OdataTypeBasicTrackDescriptor enumerates the values for odata type basic track descriptor.
1122type OdataTypeBasicTrackDescriptor string
1123
1124const (
1125	// OdataTypeMicrosoftMediaAudioTrackDescriptor ...
1126	OdataTypeMicrosoftMediaAudioTrackDescriptor OdataTypeBasicTrackDescriptor = "#Microsoft.Media.AudioTrackDescriptor"
1127	// OdataTypeMicrosoftMediaSelectAudioTrackByAttribute ...
1128	OdataTypeMicrosoftMediaSelectAudioTrackByAttribute OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectAudioTrackByAttribute"
1129	// OdataTypeMicrosoftMediaSelectAudioTrackByID ...
1130	OdataTypeMicrosoftMediaSelectAudioTrackByID OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectAudioTrackById"
1131	// OdataTypeMicrosoftMediaSelectVideoTrackByAttribute ...
1132	OdataTypeMicrosoftMediaSelectVideoTrackByAttribute OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectVideoTrackByAttribute"
1133	// OdataTypeMicrosoftMediaSelectVideoTrackByID ...
1134	OdataTypeMicrosoftMediaSelectVideoTrackByID OdataTypeBasicTrackDescriptor = "#Microsoft.Media.SelectVideoTrackById"
1135	// OdataTypeMicrosoftMediaVideoTrackDescriptor ...
1136	OdataTypeMicrosoftMediaVideoTrackDescriptor OdataTypeBasicTrackDescriptor = "#Microsoft.Media.VideoTrackDescriptor"
1137	// OdataTypeTrackDescriptor ...
1138	OdataTypeTrackDescriptor OdataTypeBasicTrackDescriptor = "TrackDescriptor"
1139)
1140
1141// PossibleOdataTypeBasicTrackDescriptorValues returns an array of possible values for the OdataTypeBasicTrackDescriptor const type.
1142func PossibleOdataTypeBasicTrackDescriptorValues() []OdataTypeBasicTrackDescriptor {
1143	return []OdataTypeBasicTrackDescriptor{OdataTypeMicrosoftMediaAudioTrackDescriptor, OdataTypeMicrosoftMediaSelectAudioTrackByAttribute, OdataTypeMicrosoftMediaSelectAudioTrackByID, OdataTypeMicrosoftMediaSelectVideoTrackByAttribute, OdataTypeMicrosoftMediaSelectVideoTrackByID, OdataTypeMicrosoftMediaVideoTrackDescriptor, OdataTypeTrackDescriptor}
1144}
1145
1146// OnErrorType enumerates the values for on error type.
1147type OnErrorType string
1148
1149const (
1150	// ContinueJob Tells the service that if this TransformOutput fails, then allow any other TransformOutput
1151	// to continue.
1152	ContinueJob OnErrorType = "ContinueJob"
1153	// StopProcessingJob Tells the service that if this TransformOutput fails, then any other incomplete
1154	// TransformOutputs can be stopped.
1155	StopProcessingJob OnErrorType = "StopProcessingJob"
1156)
1157
1158// PossibleOnErrorTypeValues returns an array of possible values for the OnErrorType const type.
1159func PossibleOnErrorTypeValues() []OnErrorType {
1160	return []OnErrorType{ContinueJob, StopProcessingJob}
1161}
1162
1163// Priority enumerates the values for priority.
1164type Priority string
1165
1166const (
1167	// PriorityHigh Used for TransformOutputs that should take precedence over others.
1168	PriorityHigh Priority = "High"
1169	// PriorityLow Used for TransformOutputs that can be generated after Normal and High priority
1170	// TransformOutputs.
1171	PriorityLow Priority = "Low"
1172	// PriorityNormal Used for TransformOutputs that can be generated at Normal priority.
1173	PriorityNormal Priority = "Normal"
1174)
1175
1176// PossiblePriorityValues returns an array of possible values for the Priority const type.
1177func PossiblePriorityValues() []Priority {
1178	return []Priority{PriorityHigh, PriorityLow, PriorityNormal}
1179}
1180
1181// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection
1182// provisioning state.
1183type PrivateEndpointConnectionProvisioningState string
1184
1185const (
1186	// PrivateEndpointConnectionProvisioningStateCreating ...
1187	PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
1188	// PrivateEndpointConnectionProvisioningStateDeleting ...
1189	PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
1190	// PrivateEndpointConnectionProvisioningStateFailed ...
1191	PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
1192	// PrivateEndpointConnectionProvisioningStateSucceeded ...
1193	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
1194)
1195
1196// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
1197func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
1198	return []PrivateEndpointConnectionProvisioningState{PrivateEndpointConnectionProvisioningStateCreating, PrivateEndpointConnectionProvisioningStateDeleting, PrivateEndpointConnectionProvisioningStateFailed, PrivateEndpointConnectionProvisioningStateSucceeded}
1199}
1200
1201// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
1202type PrivateEndpointServiceConnectionStatus string
1203
1204const (
1205	// Approved ...
1206	Approved PrivateEndpointServiceConnectionStatus = "Approved"
1207	// Pending ...
1208	Pending PrivateEndpointServiceConnectionStatus = "Pending"
1209	// Rejected ...
1210	Rejected PrivateEndpointServiceConnectionStatus = "Rejected"
1211)
1212
1213// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
1214func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
1215	return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected}
1216}
1217
1218// Rotation enumerates the values for rotation.
1219type Rotation string
1220
1221const (
1222	// RotationAuto Automatically detect and rotate as needed.
1223	RotationAuto Rotation = "Auto"
1224	// RotationNone Do not rotate the video.  If the output format supports it, any metadata about rotation is
1225	// kept intact.
1226	RotationNone Rotation = "None"
1227	// RotationRotate0 Do not rotate the video but remove any metadata about the rotation.
1228	RotationRotate0 Rotation = "Rotate0"
1229	// RotationRotate180 Rotate 180 degrees clockwise.
1230	RotationRotate180 Rotation = "Rotate180"
1231	// RotationRotate270 Rotate 270 degrees clockwise.
1232	RotationRotate270 Rotation = "Rotate270"
1233	// RotationRotate90 Rotate 90 degrees clockwise.
1234	RotationRotate90 Rotation = "Rotate90"
1235)
1236
1237// PossibleRotationValues returns an array of possible values for the Rotation const type.
1238func PossibleRotationValues() []Rotation {
1239	return []Rotation{RotationAuto, RotationNone, RotationRotate0, RotationRotate180, RotationRotate270, RotationRotate90}
1240}
1241
1242// StorageAccountType enumerates the values for storage account type.
1243type StorageAccountType string
1244
1245const (
1246	// Primary The primary storage account for the Media Services account.
1247	Primary StorageAccountType = "Primary"
1248	// Secondary A secondary storage account for the Media Services account.
1249	Secondary StorageAccountType = "Secondary"
1250)
1251
1252// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
1253func PossibleStorageAccountTypeValues() []StorageAccountType {
1254	return []StorageAccountType{Primary, Secondary}
1255}
1256
1257// StorageAuthentication enumerates the values for storage authentication.
1258type StorageAuthentication string
1259
1260const (
1261	// StorageAuthenticationManagedIdentity Managed Identity authentication.
1262	StorageAuthenticationManagedIdentity StorageAuthentication = "ManagedIdentity"
1263	// StorageAuthenticationSystem System authentication.
1264	StorageAuthenticationSystem StorageAuthentication = "System"
1265)
1266
1267// PossibleStorageAuthenticationValues returns an array of possible values for the StorageAuthentication const type.
1268func PossibleStorageAuthenticationValues() []StorageAuthentication {
1269	return []StorageAuthentication{StorageAuthenticationManagedIdentity, StorageAuthenticationSystem}
1270}
1271
1272// StreamingEndpointResourceState enumerates the values for streaming endpoint resource state.
1273type StreamingEndpointResourceState string
1274
1275const (
1276	// StreamingEndpointResourceStateDeleting The streaming endpoint is being deleted.
1277	StreamingEndpointResourceStateDeleting StreamingEndpointResourceState = "Deleting"
1278	// StreamingEndpointResourceStateRunning The streaming endpoint is running. It is able to stream content to
1279	// clients
1280	StreamingEndpointResourceStateRunning StreamingEndpointResourceState = "Running"
1281	// StreamingEndpointResourceStateScaling The streaming endpoint is increasing or decreasing scale units.
1282	StreamingEndpointResourceStateScaling StreamingEndpointResourceState = "Scaling"
1283	// StreamingEndpointResourceStateStarting The streaming endpoint is transitioning to the running state.
1284	StreamingEndpointResourceStateStarting StreamingEndpointResourceState = "Starting"
1285	// StreamingEndpointResourceStateStopped The initial state of a streaming endpoint after creation. Content
1286	// is not ready to be streamed from this endpoint.
1287	StreamingEndpointResourceStateStopped StreamingEndpointResourceState = "Stopped"
1288	// StreamingEndpointResourceStateStopping The streaming endpoint is transitioning to the stopped state.
1289	StreamingEndpointResourceStateStopping StreamingEndpointResourceState = "Stopping"
1290)
1291
1292// PossibleStreamingEndpointResourceStateValues returns an array of possible values for the StreamingEndpointResourceState const type.
1293func PossibleStreamingEndpointResourceStateValues() []StreamingEndpointResourceState {
1294	return []StreamingEndpointResourceState{StreamingEndpointResourceStateDeleting, StreamingEndpointResourceStateRunning, StreamingEndpointResourceStateScaling, StreamingEndpointResourceStateStarting, StreamingEndpointResourceStateStopped, StreamingEndpointResourceStateStopping}
1295}
1296
1297// StreamingLocatorContentKeyType enumerates the values for streaming locator content key type.
1298type StreamingLocatorContentKeyType string
1299
1300const (
1301	// StreamingLocatorContentKeyTypeCommonEncryptionCbcs Common Encryption using CBCS
1302	StreamingLocatorContentKeyTypeCommonEncryptionCbcs StreamingLocatorContentKeyType = "CommonEncryptionCbcs"
1303	// StreamingLocatorContentKeyTypeCommonEncryptionCenc Common Encryption using CENC
1304	StreamingLocatorContentKeyTypeCommonEncryptionCenc StreamingLocatorContentKeyType = "CommonEncryptionCenc"
1305	// StreamingLocatorContentKeyTypeEnvelopeEncryption Envelope Encryption
1306	StreamingLocatorContentKeyTypeEnvelopeEncryption StreamingLocatorContentKeyType = "EnvelopeEncryption"
1307)
1308
1309// PossibleStreamingLocatorContentKeyTypeValues returns an array of possible values for the StreamingLocatorContentKeyType const type.
1310func PossibleStreamingLocatorContentKeyTypeValues() []StreamingLocatorContentKeyType {
1311	return []StreamingLocatorContentKeyType{StreamingLocatorContentKeyTypeCommonEncryptionCbcs, StreamingLocatorContentKeyTypeCommonEncryptionCenc, StreamingLocatorContentKeyTypeEnvelopeEncryption}
1312}
1313
1314// StreamingPolicyStreamingProtocol enumerates the values for streaming policy streaming protocol.
1315type StreamingPolicyStreamingProtocol string
1316
1317const (
1318	// StreamingPolicyStreamingProtocolDash DASH protocol
1319	StreamingPolicyStreamingProtocolDash StreamingPolicyStreamingProtocol = "Dash"
1320	// StreamingPolicyStreamingProtocolDownload Download protocol
1321	StreamingPolicyStreamingProtocolDownload StreamingPolicyStreamingProtocol = "Download"
1322	// StreamingPolicyStreamingProtocolHls HLS protocol
1323	StreamingPolicyStreamingProtocolHls StreamingPolicyStreamingProtocol = "Hls"
1324	// StreamingPolicyStreamingProtocolSmoothStreaming SmoothStreaming protocol
1325	StreamingPolicyStreamingProtocolSmoothStreaming StreamingPolicyStreamingProtocol = "SmoothStreaming"
1326)
1327
1328// PossibleStreamingPolicyStreamingProtocolValues returns an array of possible values for the StreamingPolicyStreamingProtocol const type.
1329func PossibleStreamingPolicyStreamingProtocolValues() []StreamingPolicyStreamingProtocol {
1330	return []StreamingPolicyStreamingProtocol{StreamingPolicyStreamingProtocolDash, StreamingPolicyStreamingProtocolDownload, StreamingPolicyStreamingProtocolHls, StreamingPolicyStreamingProtocolSmoothStreaming}
1331}
1332
1333// StreamOptionsFlag enumerates the values for stream options flag.
1334type StreamOptionsFlag string
1335
1336const (
1337	// Default Live streaming with no special latency optimizations.
1338	Default StreamOptionsFlag = "Default"
1339	// LowLatency The live event provides lower end to end latency by reducing its internal buffers. This could
1340	// result in more client buffering during playback if network bandwidth is low.
1341	LowLatency StreamOptionsFlag = "LowLatency"
1342)
1343
1344// PossibleStreamOptionsFlagValues returns an array of possible values for the StreamOptionsFlag const type.
1345func PossibleStreamOptionsFlagValues() []StreamOptionsFlag {
1346	return []StreamOptionsFlag{Default, LowLatency}
1347}
1348
1349// StretchMode enumerates the values for stretch mode.
1350type StretchMode string
1351
1352const (
1353	// StretchModeAutoFit Pad the output (with either letterbox or pillar box) to honor the output resolution,
1354	// while ensuring that the active video region in the output has the same aspect ratio as the input. For
1355	// example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be
1356	// at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box
1357	// regions 280 pixels wide at the left and right.
1358	StretchModeAutoFit StretchMode = "AutoFit"
1359	// StretchModeAutoSize Override the output resolution, and change it to match the display aspect ratio of
1360	// the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for
1361	// 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which
1362	// maintains the input aspect ratio of 16:9.
1363	StretchModeAutoSize StretchMode = "AutoSize"
1364	// StretchModeNone Strictly respect the output resolution without considering the pixel aspect ratio or
1365	// display aspect ratio of the input video.
1366	StretchModeNone StretchMode = "None"
1367)
1368
1369// PossibleStretchModeValues returns an array of possible values for the StretchMode const type.
1370func PossibleStretchModeValues() []StretchMode {
1371	return []StretchMode{StretchModeAutoFit, StretchModeAutoSize, StretchModeNone}
1372}
1373
1374// TrackAttribute enumerates the values for track attribute.
1375type TrackAttribute string
1376
1377const (
1378	// Bitrate The bitrate of the track.
1379	Bitrate TrackAttribute = "Bitrate"
1380	// Language The language of the track.
1381	Language TrackAttribute = "Language"
1382)
1383
1384// PossibleTrackAttributeValues returns an array of possible values for the TrackAttribute const type.
1385func PossibleTrackAttributeValues() []TrackAttribute {
1386	return []TrackAttribute{Bitrate, Language}
1387}
1388
1389// TrackPropertyCompareOperation enumerates the values for track property compare operation.
1390type TrackPropertyCompareOperation string
1391
1392const (
1393	// TrackPropertyCompareOperationEqual Equal operation
1394	TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal"
1395	// TrackPropertyCompareOperationUnknown Unknown track property compare operation
1396	TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown"
1397)
1398
1399// PossibleTrackPropertyCompareOperationValues returns an array of possible values for the TrackPropertyCompareOperation const type.
1400func PossibleTrackPropertyCompareOperationValues() []TrackPropertyCompareOperation {
1401	return []TrackPropertyCompareOperation{TrackPropertyCompareOperationEqual, TrackPropertyCompareOperationUnknown}
1402}
1403
1404// TrackPropertyType enumerates the values for track property type.
1405type TrackPropertyType string
1406
1407const (
1408	// TrackPropertyTypeFourCC Track FourCC
1409	TrackPropertyTypeFourCC TrackPropertyType = "FourCC"
1410	// TrackPropertyTypeUnknown Unknown track property
1411	TrackPropertyTypeUnknown TrackPropertyType = "Unknown"
1412)
1413
1414// PossibleTrackPropertyTypeValues returns an array of possible values for the TrackPropertyType const type.
1415func PossibleTrackPropertyTypeValues() []TrackPropertyType {
1416	return []TrackPropertyType{TrackPropertyTypeFourCC, TrackPropertyTypeUnknown}
1417}
1418
1419// VideoSyncMode enumerates the values for video sync mode.
1420type VideoSyncMode string
1421
1422const (
1423	// VideoSyncModeAuto This is the default method. Chooses between Cfr and Vfr depending on muxer
1424	// capabilities. For output format MP4, the default mode is Cfr.
1425	VideoSyncModeAuto VideoSyncMode = "Auto"
1426	// VideoSyncModeCfr Input frames will be repeated and/or dropped as needed to achieve exactly the requested
1427	// constant frame rate. Recommended when the output frame rate is explicitly set at a specified value
1428	VideoSyncModeCfr VideoSyncMode = "Cfr"
1429	// VideoSyncModePassthrough The presentation timestamps on frames are passed through from the input file to
1430	// the output file writer. Recommended when the input source has variable frame rate, and are attempting to
1431	// produce multiple layers for adaptive streaming in the output which have aligned GOP boundaries. Note: if
1432	// two or more frames in the input have duplicate timestamps, then the output will also have the same
1433	// behavior
1434	VideoSyncModePassthrough VideoSyncMode = "Passthrough"
1435	// VideoSyncModeVfr Similar to the Passthrough mode, but if the input has frames that have duplicate
1436	// timestamps, then only one frame is passed through to the output, and others are dropped. Recommended
1437	// when the number of output frames is expected to be equal to the number of input frames. For example, the
1438	// output is used to calculate a quality metric like PSNR against the input
1439	VideoSyncModeVfr VideoSyncMode = "Vfr"
1440)
1441
1442// PossibleVideoSyncModeValues returns an array of possible values for the VideoSyncMode const type.
1443func PossibleVideoSyncModeValues() []VideoSyncMode {
1444	return []VideoSyncMode{VideoSyncModeAuto, VideoSyncModeCfr, VideoSyncModePassthrough, VideoSyncModeVfr}
1445}
1446