1package media
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// AacAudioProfile enumerates the values for aac audio profile.
10type AacAudioProfile string
11
12const (
13	// AacLc Specifies that the output audio is to be encoded into AAC Low Complexity profile (AAC-LC).
14	AacLc AacAudioProfile = "AacLc"
15	// HeAacV1 Specifies that the output audio is to be encoded into HE-AAC v1 profile.
16	HeAacV1 AacAudioProfile = "HeAacV1"
17	// HeAacV2 Specifies that the output audio is to be encoded into HE-AAC v2 profile.
18	HeAacV2 AacAudioProfile = "HeAacV2"
19)
20
21// PossibleAacAudioProfileValues returns an array of possible values for the AacAudioProfile const type.
22func PossibleAacAudioProfileValues() []AacAudioProfile {
23	return []AacAudioProfile{AacLc, HeAacV1, HeAacV2}
24}
25
26// AnalysisResolution enumerates the values for analysis resolution.
27type AnalysisResolution string
28
29const (
30	// SourceResolution ...
31	SourceResolution AnalysisResolution = "SourceResolution"
32	// StandardDefinition ...
33	StandardDefinition AnalysisResolution = "StandardDefinition"
34)
35
36// PossibleAnalysisResolutionValues returns an array of possible values for the AnalysisResolution const type.
37func PossibleAnalysisResolutionValues() []AnalysisResolution {
38	return []AnalysisResolution{SourceResolution, StandardDefinition}
39}
40
41// AssetContainerPermission enumerates the values for asset container permission.
42type AssetContainerPermission string
43
44const (
45	// Read The SAS URL will allow read access to the container.
46	Read AssetContainerPermission = "Read"
47	// ReadWrite The SAS URL will allow read and write access to the container.
48	ReadWrite AssetContainerPermission = "ReadWrite"
49	// ReadWriteDelete The SAS URL will allow read, write and delete access to the container.
50	ReadWriteDelete AssetContainerPermission = "ReadWriteDelete"
51)
52
53// PossibleAssetContainerPermissionValues returns an array of possible values for the AssetContainerPermission const type.
54func PossibleAssetContainerPermissionValues() []AssetContainerPermission {
55	return []AssetContainerPermission{Read, ReadWrite, ReadWriteDelete}
56}
57
58// AssetStorageEncryptionFormat enumerates the values for asset storage encryption format.
59type AssetStorageEncryptionFormat string
60
61const (
62	// MediaStorageClientEncryption The Asset is encrypted with Media Services client-side encryption.
63	MediaStorageClientEncryption AssetStorageEncryptionFormat = "MediaStorageClientEncryption"
64	// None The Asset does not use client-side storage encryption (this is the only allowed value for new
65	// Assets).
66	None AssetStorageEncryptionFormat = "None"
67)
68
69// PossibleAssetStorageEncryptionFormatValues returns an array of possible values for the AssetStorageEncryptionFormat const type.
70func PossibleAssetStorageEncryptionFormatValues() []AssetStorageEncryptionFormat {
71	return []AssetStorageEncryptionFormat{MediaStorageClientEncryption, None}
72}
73
74// ContentKeyPolicyFairPlayRentalAndLeaseKeyType enumerates the values for content key policy fair play rental
75// and lease key type.
76type ContentKeyPolicyFairPlayRentalAndLeaseKeyType string
77
78const (
79	// DualExpiry Dual expiry for offline rental.
80	DualExpiry ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "DualExpiry"
81	// PersistentLimited Content key can be persisted and the valid duration is limited by the Rental Duration
82	// value
83	PersistentLimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentLimited"
84	// PersistentUnlimited Content key can be persisted with an unlimited duration
85	PersistentUnlimited ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "PersistentUnlimited"
86	// Undefined Key duration is not specified.
87	Undefined ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Undefined"
88	// Unknown Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API
89	// version.
90	Unknown ContentKeyPolicyFairPlayRentalAndLeaseKeyType = "Unknown"
91)
92
93// PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues returns an array of possible values for the ContentKeyPolicyFairPlayRentalAndLeaseKeyType const type.
94func PossibleContentKeyPolicyFairPlayRentalAndLeaseKeyTypeValues() []ContentKeyPolicyFairPlayRentalAndLeaseKeyType {
95	return []ContentKeyPolicyFairPlayRentalAndLeaseKeyType{DualExpiry, PersistentLimited, PersistentUnlimited, Undefined, Unknown}
96}
97
98// ContentKeyPolicyPlayReadyContentType enumerates the values for content key policy play ready content type.
99type ContentKeyPolicyPlayReadyContentType string
100
101const (
102	// ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload Ultraviolet download content type.
103	ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload ContentKeyPolicyPlayReadyContentType = "UltraVioletDownload"
104	// ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming Ultraviolet streaming content type.
105	ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming ContentKeyPolicyPlayReadyContentType = "UltraVioletStreaming"
106	// ContentKeyPolicyPlayReadyContentTypeUnknown Represents a ContentKeyPolicyPlayReadyContentType that is
107	// unavailable in current API version.
108	ContentKeyPolicyPlayReadyContentTypeUnknown ContentKeyPolicyPlayReadyContentType = "Unknown"
109	// ContentKeyPolicyPlayReadyContentTypeUnspecified Unspecified content type.
110	ContentKeyPolicyPlayReadyContentTypeUnspecified ContentKeyPolicyPlayReadyContentType = "Unspecified"
111)
112
113// PossibleContentKeyPolicyPlayReadyContentTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyContentType const type.
114func PossibleContentKeyPolicyPlayReadyContentTypeValues() []ContentKeyPolicyPlayReadyContentType {
115	return []ContentKeyPolicyPlayReadyContentType{ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload, ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming, ContentKeyPolicyPlayReadyContentTypeUnknown, ContentKeyPolicyPlayReadyContentTypeUnspecified}
116}
117
118// ContentKeyPolicyPlayReadyLicenseType enumerates the values for content key policy play ready license type.
119type ContentKeyPolicyPlayReadyLicenseType string
120
121const (
122	// ContentKeyPolicyPlayReadyLicenseTypeNonPersistent Non persistent license.
123	ContentKeyPolicyPlayReadyLicenseTypeNonPersistent ContentKeyPolicyPlayReadyLicenseType = "NonPersistent"
124	// ContentKeyPolicyPlayReadyLicenseTypePersistent Persistent license. Allows offline playback.
125	ContentKeyPolicyPlayReadyLicenseTypePersistent ContentKeyPolicyPlayReadyLicenseType = "Persistent"
126	// ContentKeyPolicyPlayReadyLicenseTypeUnknown Represents a ContentKeyPolicyPlayReadyLicenseType that is
127	// unavailable in current API version.
128	ContentKeyPolicyPlayReadyLicenseTypeUnknown ContentKeyPolicyPlayReadyLicenseType = "Unknown"
129)
130
131// PossibleContentKeyPolicyPlayReadyLicenseTypeValues returns an array of possible values for the ContentKeyPolicyPlayReadyLicenseType const type.
132func PossibleContentKeyPolicyPlayReadyLicenseTypeValues() []ContentKeyPolicyPlayReadyLicenseType {
133	return []ContentKeyPolicyPlayReadyLicenseType{ContentKeyPolicyPlayReadyLicenseTypeNonPersistent, ContentKeyPolicyPlayReadyLicenseTypePersistent, ContentKeyPolicyPlayReadyLicenseTypeUnknown}
134}
135
136// ContentKeyPolicyPlayReadyUnknownOutputPassingOption enumerates the values for content key policy play ready
137// unknown output passing option.
138type ContentKeyPolicyPlayReadyUnknownOutputPassingOption string
139
140const (
141	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed Passing the video portion of protected
142	// content to an Unknown Output is allowed.
143	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Allowed"
144	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction Passing the video
145	// portion of protected content to an Unknown Output is allowed but with constrained resolution.
146	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "AllowedWithVideoConstriction"
147	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed Passing the video portion of protected
148	// content to an Unknown Output is not allowed.
149	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "NotAllowed"
150	// ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown Represents a
151	// ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
152	ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown ContentKeyPolicyPlayReadyUnknownOutputPassingOption = "Unknown"
153)
154
155// PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues returns an array of possible values for the ContentKeyPolicyPlayReadyUnknownOutputPassingOption const type.
156func PossibleContentKeyPolicyPlayReadyUnknownOutputPassingOptionValues() []ContentKeyPolicyPlayReadyUnknownOutputPassingOption {
157	return []ContentKeyPolicyPlayReadyUnknownOutputPassingOption{ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown}
158}
159
160// ContentKeyPolicyRestrictionTokenType enumerates the values for content key policy restriction token type.
161type ContentKeyPolicyRestrictionTokenType string
162
163const (
164	// ContentKeyPolicyRestrictionTokenTypeJwt JSON Web Token.
165	ContentKeyPolicyRestrictionTokenTypeJwt ContentKeyPolicyRestrictionTokenType = "Jwt"
166	// ContentKeyPolicyRestrictionTokenTypeSwt Simple Web Token.
167	ContentKeyPolicyRestrictionTokenTypeSwt ContentKeyPolicyRestrictionTokenType = "Swt"
168	// ContentKeyPolicyRestrictionTokenTypeUnknown Represents a ContentKeyPolicyRestrictionTokenType that is
169	// unavailable in current API version.
170	ContentKeyPolicyRestrictionTokenTypeUnknown ContentKeyPolicyRestrictionTokenType = "Unknown"
171)
172
173// PossibleContentKeyPolicyRestrictionTokenTypeValues returns an array of possible values for the ContentKeyPolicyRestrictionTokenType const type.
174func PossibleContentKeyPolicyRestrictionTokenTypeValues() []ContentKeyPolicyRestrictionTokenType {
175	return []ContentKeyPolicyRestrictionTokenType{ContentKeyPolicyRestrictionTokenTypeJwt, ContentKeyPolicyRestrictionTokenTypeSwt, ContentKeyPolicyRestrictionTokenTypeUnknown}
176}
177
178// DeinterlaceMode enumerates the values for deinterlace mode.
179type DeinterlaceMode string
180
181const (
182	// AutoPixelAdaptive Apply automatic pixel adaptive de-interlacing on each frame in the input video.
183	AutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
184	// Off Disables de-interlacing of the source video.
185	Off DeinterlaceMode = "Off"
186)
187
188// PossibleDeinterlaceModeValues returns an array of possible values for the DeinterlaceMode const type.
189func PossibleDeinterlaceModeValues() []DeinterlaceMode {
190	return []DeinterlaceMode{AutoPixelAdaptive, Off}
191}
192
193// DeinterlaceParity enumerates the values for deinterlace parity.
194type DeinterlaceParity string
195
196const (
197	// Auto Automatically detect the order of fields
198	Auto DeinterlaceParity = "Auto"
199	// BottomFieldFirst Apply bottom field first processing of input video.
200	BottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
201	// TopFieldFirst Apply top field first processing of input video.
202	TopFieldFirst DeinterlaceParity = "TopFieldFirst"
203)
204
205// PossibleDeinterlaceParityValues returns an array of possible values for the DeinterlaceParity const type.
206func PossibleDeinterlaceParityValues() []DeinterlaceParity {
207	return []DeinterlaceParity{Auto, BottomFieldFirst, TopFieldFirst}
208}
209
210// EncoderNamedPreset enumerates the values for encoder named preset.
211type EncoderNamedPreset string
212
213const (
214	// AACGoodQualityAudio Produces a single MP4 file containing only stereo audio encoded at 192 kbps.
215	AACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio"
216	// AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio.
217	// Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset
218	// will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output
219	// will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and
220	// audio in separate MP4 files, which is optimal for adaptive streaming.
221	AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming"
222	// ContentAwareEncoding Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any input
223	// content, the service performs an initial lightweight analysis of the input content, and uses the results
224	// to determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by
225	// adaptive streaming. This preset is particularly effective for low and medium complexity videos, where
226	// the output files will be at lower bitrates but at a quality that still delivers a good experience to
227	// viewers. The output will contain MP4 files with video and audio interleaved.
228	ContentAwareEncoding EncoderNamedPreset = "ContentAwareEncoding"
229	// ContentAwareEncodingExperimental Exposes an experimental preset for content-aware encoding. Given any
230	// input content, the service attempts to automatically determine the optimal number of layers, appropriate
231	// bitrate and resolution settings for delivery by adaptive streaming. The underlying algorithms will
232	// continue to evolve over time. The output will contain MP4 files with video and audio interleaved.
233	ContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental"
234	// H264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps,
235	// and stereo AAC audio. Resolution starts at 1080p and goes down to 360p.
236	H264MultipleBitrate1080p EncoderNamedPreset = "H264MultipleBitrate1080p"
237	// H264MultipleBitrate720p Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps,
238	// and stereo AAC audio. Resolution starts at 720p and goes down to 360p.
239	H264MultipleBitrate720p EncoderNamedPreset = "H264MultipleBitrate720p"
240	// H264MultipleBitrateSD Produces a set of 5 GOP-aligned MP4 files, ranging from 1600kbps to 400 kbps, and
241	// stereo AAC audio. Resolution starts at 480p and goes down to 360p.
242	H264MultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD"
243	// H264SingleBitrate1080p Produces an MP4 file where the video is encoded with H.264 codec at 6750 kbps and
244	// a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps.
245	H264SingleBitrate1080p EncoderNamedPreset = "H264SingleBitrate1080p"
246	// H264SingleBitrate720p Produces an MP4 file where the video is encoded with H.264 codec at 4500 kbps and
247	// a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps.
248	H264SingleBitrate720p EncoderNamedPreset = "H264SingleBitrate720p"
249	// H264SingleBitrateSD Produces an MP4 file where the video is encoded with H.264 codec at 2200 kbps and a
250	// picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps.
251	H264SingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD"
252)
253
254// PossibleEncoderNamedPresetValues returns an array of possible values for the EncoderNamedPreset const type.
255func PossibleEncoderNamedPresetValues() []EncoderNamedPreset {
256	return []EncoderNamedPreset{AACGoodQualityAudio, AdaptiveStreaming, ContentAwareEncoding, ContentAwareEncodingExperimental, H264MultipleBitrate1080p, H264MultipleBitrate720p, H264MultipleBitrateSD, H264SingleBitrate1080p, H264SingleBitrate720p, H264SingleBitrateSD}
257}
258
259// EncryptionScheme enumerates the values for encryption scheme.
260type EncryptionScheme string
261
262const (
263	// EncryptionSchemeCommonEncryptionCbcs CommonEncryptionCbcs scheme
264	EncryptionSchemeCommonEncryptionCbcs EncryptionScheme = "CommonEncryptionCbcs"
265	// EncryptionSchemeCommonEncryptionCenc CommonEncryptionCenc scheme
266	EncryptionSchemeCommonEncryptionCenc EncryptionScheme = "CommonEncryptionCenc"
267	// EncryptionSchemeEnvelopeEncryption EnvelopeEncryption scheme
268	EncryptionSchemeEnvelopeEncryption EncryptionScheme = "EnvelopeEncryption"
269	// EncryptionSchemeNoEncryption NoEncryption scheme
270	EncryptionSchemeNoEncryption EncryptionScheme = "NoEncryption"
271)
272
273// PossibleEncryptionSchemeValues returns an array of possible values for the EncryptionScheme const type.
274func PossibleEncryptionSchemeValues() []EncryptionScheme {
275	return []EncryptionScheme{EncryptionSchemeCommonEncryptionCbcs, EncryptionSchemeCommonEncryptionCenc, EncryptionSchemeEnvelopeEncryption, EncryptionSchemeNoEncryption}
276}
277
278// EntropyMode enumerates the values for entropy mode.
279type EntropyMode string
280
281const (
282	// Cabac Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding.
283	Cabac EntropyMode = "Cabac"
284	// Cavlc Context Adaptive Variable Length Coder (CAVLC) entropy encoding.
285	Cavlc EntropyMode = "Cavlc"
286)
287
288// PossibleEntropyModeValues returns an array of possible values for the EntropyMode const type.
289func PossibleEntropyModeValues() []EntropyMode {
290	return []EntropyMode{Cabac, Cavlc}
291}
292
293// FilterTrackPropertyCompareOperation enumerates the values for filter track property compare operation.
294type FilterTrackPropertyCompareOperation string
295
296const (
297	// Equal The equal operation.
298	Equal FilterTrackPropertyCompareOperation = "Equal"
299	// NotEqual The not equal operation.
300	NotEqual FilterTrackPropertyCompareOperation = "NotEqual"
301)
302
303// PossibleFilterTrackPropertyCompareOperationValues returns an array of possible values for the FilterTrackPropertyCompareOperation const type.
304func PossibleFilterTrackPropertyCompareOperationValues() []FilterTrackPropertyCompareOperation {
305	return []FilterTrackPropertyCompareOperation{Equal, NotEqual}
306}
307
308// FilterTrackPropertyType enumerates the values for filter track property type.
309type FilterTrackPropertyType string
310
311const (
312	// FilterTrackPropertyTypeBitrate The bitrate.
313	FilterTrackPropertyTypeBitrate FilterTrackPropertyType = "Bitrate"
314	// FilterTrackPropertyTypeFourCC The fourCC.
315	FilterTrackPropertyTypeFourCC FilterTrackPropertyType = "FourCC"
316	// FilterTrackPropertyTypeLanguage The language.
317	FilterTrackPropertyTypeLanguage FilterTrackPropertyType = "Language"
318	// FilterTrackPropertyTypeName The name.
319	FilterTrackPropertyTypeName FilterTrackPropertyType = "Name"
320	// FilterTrackPropertyTypeType The type.
321	FilterTrackPropertyTypeType FilterTrackPropertyType = "Type"
322	// FilterTrackPropertyTypeUnknown The unknown track property type.
323	FilterTrackPropertyTypeUnknown FilterTrackPropertyType = "Unknown"
324)
325
326// PossibleFilterTrackPropertyTypeValues returns an array of possible values for the FilterTrackPropertyType const type.
327func PossibleFilterTrackPropertyTypeValues() []FilterTrackPropertyType {
328	return []FilterTrackPropertyType{FilterTrackPropertyTypeBitrate, FilterTrackPropertyTypeFourCC, FilterTrackPropertyTypeLanguage, FilterTrackPropertyTypeName, FilterTrackPropertyTypeType, FilterTrackPropertyTypeUnknown}
329}
330
331// H264Complexity enumerates the values for h264 complexity.
332type H264Complexity string
333
334const (
335	// Balanced Tells the encoder to use settings that achieve a balance between speed and quality.
336	Balanced H264Complexity = "Balanced"
337	// Quality Tells the encoder to use settings that are optimized to produce higher quality output at the
338	// expense of slower overall encode time.
339	Quality H264Complexity = "Quality"
340	// Speed Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to
341	// decrease encoding time.
342	Speed H264Complexity = "Speed"
343)
344
345// PossibleH264ComplexityValues returns an array of possible values for the H264Complexity const type.
346func PossibleH264ComplexityValues() []H264Complexity {
347	return []H264Complexity{Balanced, Quality, Speed}
348}
349
350// H264VideoProfile enumerates the values for h264 video profile.
351type H264VideoProfile string
352
353const (
354	// H264VideoProfileAuto Tells the encoder to automatically determine the appropriate H.264 profile.
355	H264VideoProfileAuto H264VideoProfile = "Auto"
356	// H264VideoProfileBaseline Baseline profile
357	H264VideoProfileBaseline H264VideoProfile = "Baseline"
358	// H264VideoProfileHigh High profile.
359	H264VideoProfileHigh H264VideoProfile = "High"
360	// H264VideoProfileHigh422 High 4:2:2 profile.
361	H264VideoProfileHigh422 H264VideoProfile = "High422"
362	// H264VideoProfileHigh444 High 4:4:4 predictive profile.
363	H264VideoProfileHigh444 H264VideoProfile = "High444"
364	// H264VideoProfileMain Main profile
365	H264VideoProfileMain H264VideoProfile = "Main"
366)
367
368// PossibleH264VideoProfileValues returns an array of possible values for the H264VideoProfile const type.
369func PossibleH264VideoProfileValues() []H264VideoProfile {
370	return []H264VideoProfile{H264VideoProfileAuto, H264VideoProfileBaseline, H264VideoProfileHigh, H264VideoProfileHigh422, H264VideoProfileHigh444, H264VideoProfileMain}
371}
372
373// InsightsType enumerates the values for insights type.
374type InsightsType string
375
376const (
377	// AllInsights Generate both audio and video insights. Fails if either audio or video Insights fail.
378	AllInsights InsightsType = "AllInsights"
379	// AudioInsightsOnly Generate audio only insights. Ignore video even if present. Fails if no audio is
380	// present.
381	AudioInsightsOnly InsightsType = "AudioInsightsOnly"
382	// VideoInsightsOnly Generate video only insights. Ignore audio if present. Fails if no video is present.
383	VideoInsightsOnly InsightsType = "VideoInsightsOnly"
384)
385
386// PossibleInsightsTypeValues returns an array of possible values for the InsightsType const type.
387func PossibleInsightsTypeValues() []InsightsType {
388	return []InsightsType{AllInsights, AudioInsightsOnly, VideoInsightsOnly}
389}
390
391// JobErrorCategory enumerates the values for job error category.
392type JobErrorCategory string
393
394const (
395	// JobErrorCategoryConfiguration The error is configuration related.
396	JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
397	// JobErrorCategoryContent The error is related to data in the input files.
398	JobErrorCategoryContent JobErrorCategory = "Content"
399	// JobErrorCategoryDownload The error is download related.
400	JobErrorCategoryDownload JobErrorCategory = "Download"
401	// JobErrorCategoryService The error is service related.
402	JobErrorCategoryService JobErrorCategory = "Service"
403	// JobErrorCategoryUpload The error is upload related.
404	JobErrorCategoryUpload JobErrorCategory = "Upload"
405)
406
407// PossibleJobErrorCategoryValues returns an array of possible values for the JobErrorCategory const type.
408func PossibleJobErrorCategoryValues() []JobErrorCategory {
409	return []JobErrorCategory{JobErrorCategoryConfiguration, JobErrorCategoryContent, JobErrorCategoryDownload, JobErrorCategoryService, JobErrorCategoryUpload}
410}
411
412// JobErrorCode enumerates the values for job error code.
413type JobErrorCode string
414
415const (
416	// ConfigurationUnsupported There was a problem with the combination of input files and the configuration
417	// settings applied, fix the configuration settings and retry with the same input, or change input to match
418	// the configuration.
419	ConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
420	// ContentMalformed There was a problem with the input content (for example: zero byte files, or
421	// corrupt/non-decodable files), check the input files.
422	ContentMalformed JobErrorCode = "ContentMalformed"
423	// ContentUnsupported There was a problem with the format of the input (not valid media file, or an
424	// unsupported file/codec), check the validity of the input files.
425	ContentUnsupported JobErrorCode = "ContentUnsupported"
426	// DownloadNotAccessible While trying to download the input files, the files were not accessible, please
427	// check the availability of the source.
428	DownloadNotAccessible JobErrorCode = "DownloadNotAccessible"
429	// DownloadTransientError While trying to download the input files, there was an issue during transfer
430	// (storage service, network errors), see details and check your source.
431	DownloadTransientError JobErrorCode = "DownloadTransientError"
432	// ServiceError Fatal service error, please contact support.
433	ServiceError JobErrorCode = "ServiceError"
434	// ServiceTransientError Transient error, please retry, if retry is unsuccessful, please contact support.
435	ServiceTransientError JobErrorCode = "ServiceTransientError"
436	// UploadNotAccessible While trying to upload the output files, the destination was not reachable, please
437	// check the availability of the destination.
438	UploadNotAccessible JobErrorCode = "UploadNotAccessible"
439	// UploadTransientError While trying to upload the output files, there was an issue during transfer
440	// (storage service, network errors), see details and check your destination.
441	UploadTransientError JobErrorCode = "UploadTransientError"
442)
443
444// PossibleJobErrorCodeValues returns an array of possible values for the JobErrorCode const type.
445func PossibleJobErrorCodeValues() []JobErrorCode {
446	return []JobErrorCode{ConfigurationUnsupported, ContentMalformed, ContentUnsupported, DownloadNotAccessible, DownloadTransientError, ServiceError, ServiceTransientError, UploadNotAccessible, UploadTransientError}
447}
448
449// JobRetry enumerates the values for job retry.
450type JobRetry string
451
452const (
453	// DoNotRetry Issue needs to be investigated and then the job resubmitted with corrections or retried once
454	// the underlying issue has been corrected.
455	DoNotRetry JobRetry = "DoNotRetry"
456	// MayRetry Issue may be resolved after waiting for a period of time and resubmitting the same Job.
457	MayRetry JobRetry = "MayRetry"
458)
459
460// PossibleJobRetryValues returns an array of possible values for the JobRetry const type.
461func PossibleJobRetryValues() []JobRetry {
462	return []JobRetry{DoNotRetry, MayRetry}
463}
464
465// JobState enumerates the values for job state.
466type JobState string
467
468const (
469	// Canceled The job was canceled. This is a final state for the job.
470	Canceled JobState = "Canceled"
471	// Canceling The job is in the process of being canceled. This is a transient state for the job.
472	Canceling JobState = "Canceling"
473	// Error The job has encountered an error. This is a final state for the job.
474	Error JobState = "Error"
475	// Finished The job is finished. This is a final state for the job.
476	Finished JobState = "Finished"
477	// Processing The job is processing. This is a transient state for the job.
478	Processing JobState = "Processing"
479	// Queued The job is in a queued state, waiting for resources to become available. This is a transient
480	// state.
481	Queued JobState = "Queued"
482	// Scheduled The job is being scheduled to run on an available resource. This is a transient state, between
483	// queued and processing states.
484	Scheduled JobState = "Scheduled"
485)
486
487// PossibleJobStateValues returns an array of possible values for the JobState const type.
488func PossibleJobStateValues() []JobState {
489	return []JobState{Canceled, Canceling, Error, Finished, Processing, Queued, Scheduled}
490}
491
492// LiveEventEncodingType enumerates the values for live event encoding type.
493type LiveEventEncodingType string
494
495const (
496	// LiveEventEncodingTypeBasic ...
497	LiveEventEncodingTypeBasic LiveEventEncodingType = "Basic"
498	// LiveEventEncodingTypeNone ...
499	LiveEventEncodingTypeNone LiveEventEncodingType = "None"
500	// LiveEventEncodingTypePremium1080p ...
501	LiveEventEncodingTypePremium1080p LiveEventEncodingType = "Premium1080p"
502	// LiveEventEncodingTypeStandard ...
503	LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard"
504)
505
506// PossibleLiveEventEncodingTypeValues returns an array of possible values for the LiveEventEncodingType const type.
507func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType {
508	return []LiveEventEncodingType{LiveEventEncodingTypeBasic, LiveEventEncodingTypeNone, LiveEventEncodingTypePremium1080p, LiveEventEncodingTypeStandard}
509}
510
511// LiveEventInputProtocol enumerates the values for live event input protocol.
512type LiveEventInputProtocol string
513
514const (
515	// FragmentedMP4 ...
516	FragmentedMP4 LiveEventInputProtocol = "FragmentedMP4"
517	// RTMP ...
518	RTMP LiveEventInputProtocol = "RTMP"
519)
520
521// PossibleLiveEventInputProtocolValues returns an array of possible values for the LiveEventInputProtocol const type.
522func PossibleLiveEventInputProtocolValues() []LiveEventInputProtocol {
523	return []LiveEventInputProtocol{FragmentedMP4, RTMP}
524}
525
526// LiveEventResourceState enumerates the values for live event resource state.
527type LiveEventResourceState string
528
529const (
530	// Deleting ...
531	Deleting LiveEventResourceState = "Deleting"
532	// Running ...
533	Running LiveEventResourceState = "Running"
534	// Starting ...
535	Starting LiveEventResourceState = "Starting"
536	// Stopped ...
537	Stopped LiveEventResourceState = "Stopped"
538	// Stopping ...
539	Stopping LiveEventResourceState = "Stopping"
540)
541
542// PossibleLiveEventResourceStateValues returns an array of possible values for the LiveEventResourceState const type.
543func PossibleLiveEventResourceStateValues() []LiveEventResourceState {
544	return []LiveEventResourceState{Deleting, Running, Starting, Stopped, Stopping}
545}
546
547// LiveOutputResourceState enumerates the values for live output resource state.
548type LiveOutputResourceState string
549
550const (
551	// LiveOutputResourceStateCreating ...
552	LiveOutputResourceStateCreating LiveOutputResourceState = "Creating"
553	// LiveOutputResourceStateDeleting ...
554	LiveOutputResourceStateDeleting LiveOutputResourceState = "Deleting"
555	// LiveOutputResourceStateRunning ...
556	LiveOutputResourceStateRunning LiveOutputResourceState = "Running"
557)
558
559// PossibleLiveOutputResourceStateValues returns an array of possible values for the LiveOutputResourceState const type.
560func PossibleLiveOutputResourceStateValues() []LiveOutputResourceState {
561	return []LiveOutputResourceState{LiveOutputResourceStateCreating, LiveOutputResourceStateDeleting, LiveOutputResourceStateRunning}
562}
563
564// MetricAggregationType enumerates the values for metric aggregation type.
565type MetricAggregationType string
566
567const (
568	// Average The average.
569	Average MetricAggregationType = "Average"
570	// Count The count of a number of items, usually requests.
571	Count MetricAggregationType = "Count"
572	// Total The sum.
573	Total MetricAggregationType = "Total"
574)
575
576// PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
577func PossibleMetricAggregationTypeValues() []MetricAggregationType {
578	return []MetricAggregationType{Average, Count, Total}
579}
580
581// MetricUnit enumerates the values for metric unit.
582type MetricUnit string
583
584const (
585	// MetricUnitBytes The number of bytes.
586	MetricUnitBytes MetricUnit = "Bytes"
587	// MetricUnitCount The count.
588	MetricUnitCount MetricUnit = "Count"
589	// MetricUnitMilliseconds The number of milliseconds.
590	MetricUnitMilliseconds MetricUnit = "Milliseconds"
591)
592
593// PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.
594func PossibleMetricUnitValues() []MetricUnit {
595	return []MetricUnit{MetricUnitBytes, MetricUnitCount, MetricUnitMilliseconds}
596}
597
598// OdataType enumerates the values for odata type.
599type OdataType string
600
601const (
602	// OdataTypeContentKeyPolicyPlayReadyContentKeyLocation ...
603	OdataTypeContentKeyPolicyPlayReadyContentKeyLocation OdataType = "ContentKeyPolicyPlayReadyContentKeyLocation"
604	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ...
605	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
606	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ...
607	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"
608)
609
610// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
611func PossibleOdataTypeValues() []OdataType {
612	return []OdataType{OdataTypeContentKeyPolicyPlayReadyContentKeyLocation, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier}
613}
614
615// OdataTypeBasicClipTime enumerates the values for odata type basic clip time.
616type OdataTypeBasicClipTime string
617
618const (
619	// OdataTypeClipTime ...
620	OdataTypeClipTime OdataTypeBasicClipTime = "ClipTime"
621	// OdataTypeMicrosoftMediaAbsoluteClipTime ...
622	OdataTypeMicrosoftMediaAbsoluteClipTime OdataTypeBasicClipTime = "#Microsoft.Media.AbsoluteClipTime"
623)
624
625// PossibleOdataTypeBasicClipTimeValues returns an array of possible values for the OdataTypeBasicClipTime const type.
626func PossibleOdataTypeBasicClipTimeValues() []OdataTypeBasicClipTime {
627	return []OdataTypeBasicClipTime{OdataTypeClipTime, OdataTypeMicrosoftMediaAbsoluteClipTime}
628}
629
630// OdataTypeBasicCodec enumerates the values for odata type basic codec.
631type OdataTypeBasicCodec string
632
633const (
634	// OdataTypeCodec ...
635	OdataTypeCodec OdataTypeBasicCodec = "Codec"
636	// OdataTypeMicrosoftMediaAacAudio ...
637	OdataTypeMicrosoftMediaAacAudio OdataTypeBasicCodec = "#Microsoft.Media.AacAudio"
638	// OdataTypeMicrosoftMediaAudio ...
639	OdataTypeMicrosoftMediaAudio OdataTypeBasicCodec = "#Microsoft.Media.Audio"
640	// OdataTypeMicrosoftMediaCopyAudio ...
641	OdataTypeMicrosoftMediaCopyAudio OdataTypeBasicCodec = "#Microsoft.Media.CopyAudio"
642	// OdataTypeMicrosoftMediaCopyVideo ...
643	OdataTypeMicrosoftMediaCopyVideo OdataTypeBasicCodec = "#Microsoft.Media.CopyVideo"
644	// OdataTypeMicrosoftMediaH264Video ...
645	OdataTypeMicrosoftMediaH264Video OdataTypeBasicCodec = "#Microsoft.Media.H264Video"
646	// OdataTypeMicrosoftMediaImage ...
647	OdataTypeMicrosoftMediaImage OdataTypeBasicCodec = "#Microsoft.Media.Image"
648	// OdataTypeMicrosoftMediaJpgImage ...
649	OdataTypeMicrosoftMediaJpgImage OdataTypeBasicCodec = "#Microsoft.Media.JpgImage"
650	// OdataTypeMicrosoftMediaPngImage ...
651	OdataTypeMicrosoftMediaPngImage OdataTypeBasicCodec = "#Microsoft.Media.PngImage"
652	// OdataTypeMicrosoftMediaVideo ...
653	OdataTypeMicrosoftMediaVideo OdataTypeBasicCodec = "#Microsoft.Media.Video"
654)
655
656// PossibleOdataTypeBasicCodecValues returns an array of possible values for the OdataTypeBasicCodec const type.
657func PossibleOdataTypeBasicCodecValues() []OdataTypeBasicCodec {
658	return []OdataTypeBasicCodec{OdataTypeCodec, OdataTypeMicrosoftMediaAacAudio, OdataTypeMicrosoftMediaAudio, OdataTypeMicrosoftMediaCopyAudio, OdataTypeMicrosoftMediaCopyVideo, OdataTypeMicrosoftMediaH264Video, OdataTypeMicrosoftMediaImage, OdataTypeMicrosoftMediaJpgImage, OdataTypeMicrosoftMediaPngImage, OdataTypeMicrosoftMediaVideo}
659}
660
661// OdataTypeBasicContentKeyPolicyConfiguration enumerates the values for odata type basic content key policy
662// configuration.
663type OdataTypeBasicContentKeyPolicyConfiguration string
664
665const (
666	// OdataTypeContentKeyPolicyConfiguration ...
667	OdataTypeContentKeyPolicyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "ContentKeyPolicyConfiguration"
668	// OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration ...
669	OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
670	// OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration ...
671	OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"
672	// OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration ...
673	OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"
674	// OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration ...
675	OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"
676	// OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration ...
677	OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration OdataTypeBasicContentKeyPolicyConfiguration = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"
678)
679
680// PossibleOdataTypeBasicContentKeyPolicyConfigurationValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyConfiguration const type.
681func PossibleOdataTypeBasicContentKeyPolicyConfigurationValues() []OdataTypeBasicContentKeyPolicyConfiguration {
682	return []OdataTypeBasicContentKeyPolicyConfiguration{OdataTypeContentKeyPolicyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyClearKeyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyFairPlayConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyPlayReadyConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyUnknownConfiguration, OdataTypeMicrosoftMediaContentKeyPolicyWidevineConfiguration}
683}
684
685// OdataTypeBasicContentKeyPolicyRestriction enumerates the values for odata type basic content key policy
686// restriction.
687type OdataTypeBasicContentKeyPolicyRestriction string
688
689const (
690	// OdataTypeContentKeyPolicyRestriction ...
691	OdataTypeContentKeyPolicyRestriction OdataTypeBasicContentKeyPolicyRestriction = "ContentKeyPolicyRestriction"
692	// OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction ...
693	OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
694	// OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction ...
695	OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyTokenRestriction"
696	// OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction ...
697	OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction OdataTypeBasicContentKeyPolicyRestriction = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction"
698)
699
700// PossibleOdataTypeBasicContentKeyPolicyRestrictionValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestriction const type.
701func PossibleOdataTypeBasicContentKeyPolicyRestrictionValues() []OdataTypeBasicContentKeyPolicyRestriction {
702	return []OdataTypeBasicContentKeyPolicyRestriction{OdataTypeContentKeyPolicyRestriction, OdataTypeMicrosoftMediaContentKeyPolicyOpenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyTokenRestriction, OdataTypeMicrosoftMediaContentKeyPolicyUnknownRestriction}
703}
704
705// OdataTypeBasicContentKeyPolicyRestrictionTokenKey enumerates the values for odata type basic content key
706// policy restriction token key.
707type OdataTypeBasicContentKeyPolicyRestrictionTokenKey string
708
709const (
710	// OdataTypeContentKeyPolicyRestrictionTokenKey ...
711	OdataTypeContentKeyPolicyRestrictionTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "ContentKeyPolicyRestrictionTokenKey"
712	// OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey ...
713	OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey"
714	// OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey ...
715	OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"
716	// OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey ...
717	OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey OdataTypeBasicContentKeyPolicyRestrictionTokenKey = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"
718)
719
720// PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues returns an array of possible values for the OdataTypeBasicContentKeyPolicyRestrictionTokenKey const type.
721func PossibleOdataTypeBasicContentKeyPolicyRestrictionTokenKeyValues() []OdataTypeBasicContentKeyPolicyRestrictionTokenKey {
722	return []OdataTypeBasicContentKeyPolicyRestrictionTokenKey{OdataTypeContentKeyPolicyRestrictionTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyRsaTokenKey, OdataTypeMicrosoftMediaContentKeyPolicySymmetricTokenKey, OdataTypeMicrosoftMediaContentKeyPolicyX509CertificateTokenKey}
723}
724
725// OdataTypeBasicFormat enumerates the values for odata type basic format.
726type OdataTypeBasicFormat string
727
728const (
729	// OdataTypeFormat ...
730	OdataTypeFormat OdataTypeBasicFormat = "Format"
731	// OdataTypeMicrosoftMediaImageFormat ...
732	OdataTypeMicrosoftMediaImageFormat OdataTypeBasicFormat = "#Microsoft.Media.ImageFormat"
733	// OdataTypeMicrosoftMediaJpgFormat ...
734	OdataTypeMicrosoftMediaJpgFormat OdataTypeBasicFormat = "#Microsoft.Media.JpgFormat"
735	// OdataTypeMicrosoftMediaMp4Format ...
736	OdataTypeMicrosoftMediaMp4Format OdataTypeBasicFormat = "#Microsoft.Media.Mp4Format"
737	// OdataTypeMicrosoftMediaMultiBitrateFormat ...
738	OdataTypeMicrosoftMediaMultiBitrateFormat OdataTypeBasicFormat = "#Microsoft.Media.MultiBitrateFormat"
739	// OdataTypeMicrosoftMediaPngFormat ...
740	OdataTypeMicrosoftMediaPngFormat OdataTypeBasicFormat = "#Microsoft.Media.PngFormat"
741	// OdataTypeMicrosoftMediaTransportStreamFormat ...
742	OdataTypeMicrosoftMediaTransportStreamFormat OdataTypeBasicFormat = "#Microsoft.Media.TransportStreamFormat"
743)
744
745// PossibleOdataTypeBasicFormatValues returns an array of possible values for the OdataTypeBasicFormat const type.
746func PossibleOdataTypeBasicFormatValues() []OdataTypeBasicFormat {
747	return []OdataTypeBasicFormat{OdataTypeFormat, OdataTypeMicrosoftMediaImageFormat, OdataTypeMicrosoftMediaJpgFormat, OdataTypeMicrosoftMediaMp4Format, OdataTypeMicrosoftMediaMultiBitrateFormat, OdataTypeMicrosoftMediaPngFormat, OdataTypeMicrosoftMediaTransportStreamFormat}
748}
749
750// OdataTypeBasicJobInput enumerates the values for odata type basic job input.
751type OdataTypeBasicJobInput string
752
753const (
754	// OdataTypeJobInput ...
755	OdataTypeJobInput OdataTypeBasicJobInput = "JobInput"
756	// OdataTypeMicrosoftMediaJobInputAsset ...
757	OdataTypeMicrosoftMediaJobInputAsset OdataTypeBasicJobInput = "#Microsoft.Media.JobInputAsset"
758	// OdataTypeMicrosoftMediaJobInputClip ...
759	OdataTypeMicrosoftMediaJobInputClip OdataTypeBasicJobInput = "#Microsoft.Media.JobInputClip"
760	// OdataTypeMicrosoftMediaJobInputHTTP ...
761	OdataTypeMicrosoftMediaJobInputHTTP OdataTypeBasicJobInput = "#Microsoft.Media.JobInputHttp"
762	// OdataTypeMicrosoftMediaJobInputs ...
763	OdataTypeMicrosoftMediaJobInputs OdataTypeBasicJobInput = "#Microsoft.Media.JobInputs"
764)
765
766// PossibleOdataTypeBasicJobInputValues returns an array of possible values for the OdataTypeBasicJobInput const type.
767func PossibleOdataTypeBasicJobInputValues() []OdataTypeBasicJobInput {
768	return []OdataTypeBasicJobInput{OdataTypeJobInput, OdataTypeMicrosoftMediaJobInputAsset, OdataTypeMicrosoftMediaJobInputClip, OdataTypeMicrosoftMediaJobInputHTTP, OdataTypeMicrosoftMediaJobInputs}
769}
770
771// OdataTypeBasicJobOutput enumerates the values for odata type basic job output.
772type OdataTypeBasicJobOutput string
773
774const (
775	// OdataTypeJobOutput ...
776	OdataTypeJobOutput OdataTypeBasicJobOutput = "JobOutput"
777	// OdataTypeMicrosoftMediaJobOutputAsset ...
778	OdataTypeMicrosoftMediaJobOutputAsset OdataTypeBasicJobOutput = "#Microsoft.Media.JobOutputAsset"
779)
780
781// PossibleOdataTypeBasicJobOutputValues returns an array of possible values for the OdataTypeBasicJobOutput const type.
782func PossibleOdataTypeBasicJobOutputValues() []OdataTypeBasicJobOutput {
783	return []OdataTypeBasicJobOutput{OdataTypeJobOutput, OdataTypeMicrosoftMediaJobOutputAsset}
784}
785
786// OdataTypeBasicLayer enumerates the values for odata type basic layer.
787type OdataTypeBasicLayer string
788
789const (
790	// OdataTypeLayer ...
791	OdataTypeLayer OdataTypeBasicLayer = "Layer"
792	// OdataTypeMicrosoftMediaH264Layer ...
793	OdataTypeMicrosoftMediaH264Layer OdataTypeBasicLayer = "#Microsoft.Media.H264Layer"
794	// OdataTypeMicrosoftMediaJpgLayer ...
795	OdataTypeMicrosoftMediaJpgLayer OdataTypeBasicLayer = "#Microsoft.Media.JpgLayer"
796	// OdataTypeMicrosoftMediaPngLayer ...
797	OdataTypeMicrosoftMediaPngLayer OdataTypeBasicLayer = "#Microsoft.Media.PngLayer"
798	// OdataTypeMicrosoftMediaVideoLayer ...
799	OdataTypeMicrosoftMediaVideoLayer OdataTypeBasicLayer = "#Microsoft.Media.VideoLayer"
800)
801
802// PossibleOdataTypeBasicLayerValues returns an array of possible values for the OdataTypeBasicLayer const type.
803func PossibleOdataTypeBasicLayerValues() []OdataTypeBasicLayer {
804	return []OdataTypeBasicLayer{OdataTypeLayer, OdataTypeMicrosoftMediaH264Layer, OdataTypeMicrosoftMediaJpgLayer, OdataTypeMicrosoftMediaPngLayer, OdataTypeMicrosoftMediaVideoLayer}
805}
806
807// OdataTypeBasicOverlay enumerates the values for odata type basic overlay.
808type OdataTypeBasicOverlay string
809
810const (
811	// OdataTypeMicrosoftMediaAudioOverlay ...
812	OdataTypeMicrosoftMediaAudioOverlay OdataTypeBasicOverlay = "#Microsoft.Media.AudioOverlay"
813	// OdataTypeMicrosoftMediaVideoOverlay ...
814	OdataTypeMicrosoftMediaVideoOverlay OdataTypeBasicOverlay = "#Microsoft.Media.VideoOverlay"
815	// OdataTypeOverlay ...
816	OdataTypeOverlay OdataTypeBasicOverlay = "Overlay"
817)
818
819// PossibleOdataTypeBasicOverlayValues returns an array of possible values for the OdataTypeBasicOverlay const type.
820func PossibleOdataTypeBasicOverlayValues() []OdataTypeBasicOverlay {
821	return []OdataTypeBasicOverlay{OdataTypeMicrosoftMediaAudioOverlay, OdataTypeMicrosoftMediaVideoOverlay, OdataTypeOverlay}
822}
823
824// OdataTypeBasicPreset enumerates the values for odata type basic preset.
825type OdataTypeBasicPreset string
826
827const (
828	// OdataTypeMicrosoftMediaAudioAnalyzerPreset ...
829	OdataTypeMicrosoftMediaAudioAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.AudioAnalyzerPreset"
830	// OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset ...
831	OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.BuiltInStandardEncoderPreset"
832	// OdataTypeMicrosoftMediaFaceDetectorPreset ...
833	OdataTypeMicrosoftMediaFaceDetectorPreset OdataTypeBasicPreset = "#Microsoft.Media.FaceDetectorPreset"
834	// OdataTypeMicrosoftMediaStandardEncoderPreset ...
835	OdataTypeMicrosoftMediaStandardEncoderPreset OdataTypeBasicPreset = "#Microsoft.Media.StandardEncoderPreset"
836	// OdataTypeMicrosoftMediaVideoAnalyzerPreset ...
837	OdataTypeMicrosoftMediaVideoAnalyzerPreset OdataTypeBasicPreset = "#Microsoft.Media.VideoAnalyzerPreset"
838	// OdataTypePreset ...
839	OdataTypePreset OdataTypeBasicPreset = "Preset"
840)
841
842// PossibleOdataTypeBasicPresetValues returns an array of possible values for the OdataTypeBasicPreset const type.
843func PossibleOdataTypeBasicPresetValues() []OdataTypeBasicPreset {
844	return []OdataTypeBasicPreset{OdataTypeMicrosoftMediaAudioAnalyzerPreset, OdataTypeMicrosoftMediaBuiltInStandardEncoderPreset, OdataTypeMicrosoftMediaFaceDetectorPreset, OdataTypeMicrosoftMediaStandardEncoderPreset, OdataTypeMicrosoftMediaVideoAnalyzerPreset, OdataTypePreset}
845}
846
847// OnErrorType enumerates the values for on error type.
848type OnErrorType string
849
850const (
851	// ContinueJob Tells the service that if this TransformOutput fails, then allow any other TransformOutput
852	// to continue.
853	ContinueJob OnErrorType = "ContinueJob"
854	// StopProcessingJob Tells the service that if this TransformOutput fails, then any other incomplete
855	// TransformOutputs can be stopped.
856	StopProcessingJob OnErrorType = "StopProcessingJob"
857)
858
859// PossibleOnErrorTypeValues returns an array of possible values for the OnErrorType const type.
860func PossibleOnErrorTypeValues() []OnErrorType {
861	return []OnErrorType{ContinueJob, StopProcessingJob}
862}
863
864// Priority enumerates the values for priority.
865type Priority string
866
867const (
868	// High Used for TransformOutputs that should take precedence over others.
869	High Priority = "High"
870	// Low Used for TransformOutputs that can be generated after Normal and High priority TransformOutputs.
871	Low Priority = "Low"
872	// Normal Used for TransformOutputs that can be generated at Normal priority.
873	Normal Priority = "Normal"
874)
875
876// PossiblePriorityValues returns an array of possible values for the Priority const type.
877func PossiblePriorityValues() []Priority {
878	return []Priority{High, Low, Normal}
879}
880
881// Rotation enumerates the values for rotation.
882type Rotation string
883
884const (
885	// RotationAuto Automatically detect and rotate as needed.
886	RotationAuto Rotation = "Auto"
887	// RotationNone Do not rotate the video.  If the output format supports it, any metadata about rotation is
888	// kept intact.
889	RotationNone Rotation = "None"
890	// RotationRotate0 Do not rotate the video but remove any metadata about the rotation.
891	RotationRotate0 Rotation = "Rotate0"
892	// RotationRotate180 Rotate 180 degrees clockwise.
893	RotationRotate180 Rotation = "Rotate180"
894	// RotationRotate270 Rotate 270 degrees clockwise.
895	RotationRotate270 Rotation = "Rotate270"
896	// RotationRotate90 Rotate 90 degrees clockwise.
897	RotationRotate90 Rotation = "Rotate90"
898)
899
900// PossibleRotationValues returns an array of possible values for the Rotation const type.
901func PossibleRotationValues() []Rotation {
902	return []Rotation{RotationAuto, RotationNone, RotationRotate0, RotationRotate180, RotationRotate270, RotationRotate90}
903}
904
905// StorageAccountType enumerates the values for storage account type.
906type StorageAccountType string
907
908const (
909	// Primary The primary storage account for the Media Services account.
910	Primary StorageAccountType = "Primary"
911	// Secondary A secondary storage account for the Media Services account.
912	Secondary StorageAccountType = "Secondary"
913)
914
915// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
916func PossibleStorageAccountTypeValues() []StorageAccountType {
917	return []StorageAccountType{Primary, Secondary}
918}
919
920// StreamingEndpointResourceState enumerates the values for streaming endpoint resource state.
921type StreamingEndpointResourceState string
922
923const (
924	// StreamingEndpointResourceStateDeleting ...
925	StreamingEndpointResourceStateDeleting StreamingEndpointResourceState = "Deleting"
926	// StreamingEndpointResourceStateRunning ...
927	StreamingEndpointResourceStateRunning StreamingEndpointResourceState = "Running"
928	// StreamingEndpointResourceStateScaling ...
929	StreamingEndpointResourceStateScaling StreamingEndpointResourceState = "Scaling"
930	// StreamingEndpointResourceStateStarting ...
931	StreamingEndpointResourceStateStarting StreamingEndpointResourceState = "Starting"
932	// StreamingEndpointResourceStateStopped ...
933	StreamingEndpointResourceStateStopped StreamingEndpointResourceState = "Stopped"
934	// StreamingEndpointResourceStateStopping ...
935	StreamingEndpointResourceStateStopping StreamingEndpointResourceState = "Stopping"
936)
937
938// PossibleStreamingEndpointResourceStateValues returns an array of possible values for the StreamingEndpointResourceState const type.
939func PossibleStreamingEndpointResourceStateValues() []StreamingEndpointResourceState {
940	return []StreamingEndpointResourceState{StreamingEndpointResourceStateDeleting, StreamingEndpointResourceStateRunning, StreamingEndpointResourceStateScaling, StreamingEndpointResourceStateStarting, StreamingEndpointResourceStateStopped, StreamingEndpointResourceStateStopping}
941}
942
943// StreamingLocatorContentKeyType enumerates the values for streaming locator content key type.
944type StreamingLocatorContentKeyType string
945
946const (
947	// StreamingLocatorContentKeyTypeCommonEncryptionCbcs Common Encryption using CBCS
948	StreamingLocatorContentKeyTypeCommonEncryptionCbcs StreamingLocatorContentKeyType = "CommonEncryptionCbcs"
949	// StreamingLocatorContentKeyTypeCommonEncryptionCenc Common Encryption using CENC
950	StreamingLocatorContentKeyTypeCommonEncryptionCenc StreamingLocatorContentKeyType = "CommonEncryptionCenc"
951	// StreamingLocatorContentKeyTypeEnvelopeEncryption Envelope Encryption
952	StreamingLocatorContentKeyTypeEnvelopeEncryption StreamingLocatorContentKeyType = "EnvelopeEncryption"
953)
954
955// PossibleStreamingLocatorContentKeyTypeValues returns an array of possible values for the StreamingLocatorContentKeyType const type.
956func PossibleStreamingLocatorContentKeyTypeValues() []StreamingLocatorContentKeyType {
957	return []StreamingLocatorContentKeyType{StreamingLocatorContentKeyTypeCommonEncryptionCbcs, StreamingLocatorContentKeyTypeCommonEncryptionCenc, StreamingLocatorContentKeyTypeEnvelopeEncryption}
958}
959
960// StreamingPolicyStreamingProtocol enumerates the values for streaming policy streaming protocol.
961type StreamingPolicyStreamingProtocol string
962
963const (
964	// StreamingPolicyStreamingProtocolDash DASH protocol
965	StreamingPolicyStreamingProtocolDash StreamingPolicyStreamingProtocol = "Dash"
966	// StreamingPolicyStreamingProtocolDownload Download protocol
967	StreamingPolicyStreamingProtocolDownload StreamingPolicyStreamingProtocol = "Download"
968	// StreamingPolicyStreamingProtocolHls HLS protocol
969	StreamingPolicyStreamingProtocolHls StreamingPolicyStreamingProtocol = "Hls"
970	// StreamingPolicyStreamingProtocolSmoothStreaming SmoothStreaming protocol
971	StreamingPolicyStreamingProtocolSmoothStreaming StreamingPolicyStreamingProtocol = "SmoothStreaming"
972)
973
974// PossibleStreamingPolicyStreamingProtocolValues returns an array of possible values for the StreamingPolicyStreamingProtocol const type.
975func PossibleStreamingPolicyStreamingProtocolValues() []StreamingPolicyStreamingProtocol {
976	return []StreamingPolicyStreamingProtocol{StreamingPolicyStreamingProtocolDash, StreamingPolicyStreamingProtocolDownload, StreamingPolicyStreamingProtocolHls, StreamingPolicyStreamingProtocolSmoothStreaming}
977}
978
979// StreamOptionsFlag enumerates the values for stream options flag.
980type StreamOptionsFlag string
981
982const (
983	// Default ...
984	Default StreamOptionsFlag = "Default"
985	// LowLatency ...
986	LowLatency StreamOptionsFlag = "LowLatency"
987)
988
989// PossibleStreamOptionsFlagValues returns an array of possible values for the StreamOptionsFlag const type.
990func PossibleStreamOptionsFlagValues() []StreamOptionsFlag {
991	return []StreamOptionsFlag{Default, LowLatency}
992}
993
994// StretchMode enumerates the values for stretch mode.
995type StretchMode string
996
997const (
998	// StretchModeAutoFit Pad the output (with either letterbox or pillar box) to honor the output resolution,
999	// while ensuring that the active video region in the output has the same aspect ratio as the input. For
1000	// example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be
1001	// at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box
1002	// regions 280 pixels wide at the left and right.
1003	StretchModeAutoFit StretchMode = "AutoFit"
1004	// StretchModeAutoSize Override the output resolution, and change it to match the display aspect ratio of
1005	// the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for
1006	// 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which
1007	// maintains the input aspect ratio of 16:9.
1008	StretchModeAutoSize StretchMode = "AutoSize"
1009	// StretchModeNone Strictly respect the output resolution without considering the pixel aspect ratio or
1010	// display aspect ratio of the input video.
1011	StretchModeNone StretchMode = "None"
1012)
1013
1014// PossibleStretchModeValues returns an array of possible values for the StretchMode const type.
1015func PossibleStretchModeValues() []StretchMode {
1016	return []StretchMode{StretchModeAutoFit, StretchModeAutoSize, StretchModeNone}
1017}
1018
1019// TrackPropertyCompareOperation enumerates the values for track property compare operation.
1020type TrackPropertyCompareOperation string
1021
1022const (
1023	// TrackPropertyCompareOperationEqual Equal operation
1024	TrackPropertyCompareOperationEqual TrackPropertyCompareOperation = "Equal"
1025	// TrackPropertyCompareOperationUnknown Unknown track property compare operation
1026	TrackPropertyCompareOperationUnknown TrackPropertyCompareOperation = "Unknown"
1027)
1028
1029// PossibleTrackPropertyCompareOperationValues returns an array of possible values for the TrackPropertyCompareOperation const type.
1030func PossibleTrackPropertyCompareOperationValues() []TrackPropertyCompareOperation {
1031	return []TrackPropertyCompareOperation{TrackPropertyCompareOperationEqual, TrackPropertyCompareOperationUnknown}
1032}
1033
1034// TrackPropertyType enumerates the values for track property type.
1035type TrackPropertyType string
1036
1037const (
1038	// TrackPropertyTypeFourCC Track FourCC
1039	TrackPropertyTypeFourCC TrackPropertyType = "FourCC"
1040	// TrackPropertyTypeUnknown Unknown track property
1041	TrackPropertyTypeUnknown TrackPropertyType = "Unknown"
1042)
1043
1044// PossibleTrackPropertyTypeValues returns an array of possible values for the TrackPropertyType const type.
1045func PossibleTrackPropertyTypeValues() []TrackPropertyType {
1046	return []TrackPropertyType{TrackPropertyTypeFourCC, TrackPropertyTypeUnknown}
1047}
1048