...

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

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

View as plain text