...

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

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

View as plain text