...

Source file src/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2020-05-01/media/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2020-05-01/media

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

View as plain text