Get Transform
Get a transform by name.
Authentication
Authorization Bearer
Bearer authentication of the form Bearer <token>, where token is your
auth token.
Path parameters
project_name string Required
transform_name string Required
Response
200 A single Transform.
idstringOptional
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringOptional1-260 characterspattern: ^[^\^\'<>%&:\\?/*+]+$
The name of the resource
The properties of the Transform
Show 4 propertiesHide 4 properties
createdstringOptionalformat: date-time
The creation date and time of the Transform. Set by the system.
descriptionstringOptional<=1024 characters
The description of the Transform.
lastModifiedstringOptionalformat: date-time
The last modified date and time of the Transform. Set by the system.
An array of TransformOutputs that the Transform should generate. Currently limited to one.
Show 3 propertiesHide 3 properties
onErrorenumOptional
Defines what the service should do when one output fails. Continue to produce other outputs, or stop processing.
Allowed values:ContinueJobStopProcessingJob
presetobjectRequired
Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output.
Show 7 variantsHide 7 variants
Discriminated by @odata.type. Select one variant:
#Microsoft.Media.BuiltInStandardEncoderPresetobjectBuiltInStandardEncoderPreset
@odata.typestringRequired
The discriminator for derived types.
advancedSettingsNamestringOptional
Name of the advanced settings configuration to apply to this transform's config.
These configuration blocks are managed by MediaKind and you should not set this field unless MediaKind support has asked you to.
presetNamestringRequired
The built-in preset to be used for encoding videos. Options include:
- H264SingleBitrateSD
- H264SingleBitrate720p
- H264SingleBitrate1080p
- H264MultipleBitrateSD
- H264MultipleBitrate720p
- H264MultipleBitrate1080p
- H264MultipleBitrateSDWithCVQ
- H264MultipleBitrate720pWithCVQ
- H264MultipleBitrate1080pWithCVQ
- H265SingleBitrate720p
- H265SingleBitrate1080p
- H265SingleBitrate4K
- AACGoodQualityAudio
#MediaKind.BuiltInAssetConverterPresetobjectBuiltInAssetConverterPreset
@odata.typestringRequired
The discriminator for derived types.
presetNameenumRequired
The built-in preset to be used for performing asset conversion.
Allowed values:CopyTopBitrateInterleavedCopyAllBitrateNonInterleavedCopyAllBitrateInterleaved
#Microsoft.Media.BuiltInAssetConverterPresetobjectBuiltInAssetConverterPreset
@odata.typestringRequired
The discriminator for derived types.
presetNameenumRequired
The built-in preset to be used for performing asset conversion.
Allowed values:CopyTopBitrateInterleavedCopyAllBitrateNonInterleavedCopyAllBitrateInterleaved
#MediaKind.ThumbnailGeneratorPresetobjectThumbnailGeneratorPreset
@odata.typestringRequired
The discriminator for derived types.
baseFilenamestringOptional<=64 characterspattern: ^[A-Za-z0-9_-]+$
Used to create the output filename as
{BaseFilename}_{Label}{Index}{Extension}. The default is the name of the input file. If the name of the input file is too long then it will be truncated to 64 characters.The set of thumbnails to be produced.
Show 9 propertiesHide 9 properties
formatenumRequired
The output format for the thumbnails.
Allowed values:JpegPng
heightstringOptional
Either an integer size in pixels, or a percentage of the input resolution. If either width/height is defined as percentage, the other dimension must be the same percentage.
labelstringOptional<=64 characterspattern: ^[A-Za-z0-9_-]+$
Used to create the output filename as
{BaseFilename}_{Label}{Index}{Extension}. When generating sprites, the output vtt file will be named {BaseFilename}_{Label}.vttqualityintegerOptional0 to 100Defaults to 70
The compression quality for JPEG images. Between 0-100, default: 70.
rangestringOptionalDefaults to 1
Either an ISO8601 duration, or a percentage of the asset duration, or the value '1'. The default is '1', a single thumbnail is produced.
spriteColumnintegerOptional1 to 10
The number of columns used if you want a thumbnail sprite image. Default: Single image output files.
startstringOptionalDefaults to PT10S
Either an ISO8601 duration, or a percentage of the asset duration. Default: PT10S.
stepstringOptional
The intervals at which thumbnails are generated. Either an ISO8601 duration, or a percentage of the asset duration.
widthstringOptional
Either an integer size in pixels, or a percentage of the input resolution. If only one of width/height is present, the aspect ratio from the source is preserved.
#MediaKind.TrackInserterPresetobjectTrackInserterPreset
@odata.typestringRequired
The discriminator for derived types.
baseFilenamestringOptional<=64 characterspattern: ^[A-Za-z0-9_-]+$
Used to create the output filename.
- For text tracks:
{BaseFilename}.cmft, the default being the input .vtt filename minus the extension, e.g.subtitles.vtt->subtitles.cmft. - For audio tracks:
{BaseFilename}.mp4, the default being the input .mp4 filename, ignored if the audio file is already present in the output asset.
trackslist of objectsRequired1-1 items
The set of tracks to be inserted. Currently limited to one.
Show 2 variantsHide 2 variants
Discriminated by @odata.type. Select one variant:
#MediaKind.TextTrackobjectTextTrack
@odata.typestringRequired
The discriminator for derived types.
displayNamestringOptional
The display name of the track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
The HLS specific setting for the track.
Show 3 propertiesHide 3 properties
characteristicsstringOptional
The characteristics for the HLS setting.
defaultbooleanOptionalDefaults to false
Default track?
forcedbooleanOptionalDefaults to false
Forced track?
languageCodestringOptional
The RFC5646 language code for the track.
playerVisibilityenumOptionalDefaults to Visible
When PlayerVisibility is set to 'Visible', the track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to 'Hidden', the track will not be available to the client. The default value is 'Visible'.
Allowed values:VisibleHidden
trackNamestringRequired
The name of the track in the manifest.
#MediaKind.AudioTrackobjectAudioTrack
@odata.typestringRequired
The discriminator for derived types.
The DASH specific setting for the audio track.
Show 1 propertyHide 1 property
rolestringOptional
The role for the DASH setting.
displayNamestringOptional
The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
The HLS specific setting for the audio track.
Show 3 propertiesHide 3 properties
characteristicsstringOptional
The characteristics for the HLS setting.
defaultbooleanOptionalDefaults to false
Default track?
forcedbooleanOptionalDefaults to false
Forced track?
languageCodestringOptional
The RFC5646 language code for the audio track.
trackNamestringRequired
The name of the audio track in the manifest.
#MediaKind.AIPipelinePresetobjectAIPipelinePreset
@odata.typestringRequired
The discriminator for derived types.
AI pipeline settings
Show 2 propertiesHide 2 properties
Arguments to each operation in the AI pipeline
Show value schemaHide value schema
[any key]list of objects
Show 2 propertiesHide 2 properties
namestringRequired1-260 characterspattern: ^[A-Za-z0-9_-]+$
The name of the argument
The value of the argument
namestringRequired0-255 characters
The name of the AI pipeline the Transform will execute.
#MediaKind.EncoderPresetobjectEncoderPreset
@odata.typestringRequired
The discriminator for derived types.
advancedSettingsNamestringOptional
Name of the advanced settings configuration to apply to this transform's config.
These configuration blocks are managed by MediaKind and you should not set this field unless MediaKind support has asked you to.
configmap from strings to anyRequired
The configuration for the custom preset.
Show value schemaHide value schema
[any key]any
presetNamestringRequired
Name of this preset.
relativePriorityenumOptionalDefaults to Normal
Sets the relative priority of the TransformOutputs within a Transform
Allowed values:HighLowNormal
Metadata pertaining to creation and last modification of the resource.
Show 7 propertiesHide 7 properties
createdAtstringRequiredformat: date-time
The timestamp of resource creation (UTC).
createdBystringRequired
The identity that created the resource.
createdByTypeenumRequired
The type of identity that created the resource.
Allowed values:UserApplicationManagedIdentityKey
internalIdstringRequiredformat: uuid
The internal ID of the resource.
lastModifiedAtstringRequiredformat: date-time
The timestamp of resource last modification (UTC).
lastModifiedBystringRequired
The identity that last modified the resource.
lastModifiedByTypeenumRequired
The type of identity that last modified the resource.
Allowed values:UserApplicationManagedIdentityKey
typestringOptional
The type of the resource. E.g. "Microsoft.Media/mediaservices/assets"
Errors
400 Bad Request
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
401 Unauthorized
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
403 Forbidden
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
404 Not Found
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
429 Too Many Requests
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
500 Internal Server Error
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code