Microsoft.Media mediaServices/transforms/jobs 2018-03-30-preview

The mediaServices/transforms/jobs resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Media/mediaServices/transforms/jobs resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Media/mediaServices/transforms/jobs@2018-03-30-preview' = {
  name: 'string'
  properties: {
    description: 'string'
    input: {
      label: 'string'
      @odata.type: 'string'
      // For remaining properties, see JobInput objects
    }
    outputs: [
      {
        @odata.type: 'string'
        // For remaining properties, see JobOutput objects
      }
    ]
    priority: 'string'
  }
}

JobInput objects

Set the @odata.type property to specify the type of object.

For #Microsoft.Media.JobInputAsset, use:

  @odata.type: '#Microsoft.Media.JobInputAsset'
  assetName: 'string'

For #Microsoft.Media.JobInputHttp, use:

  @odata.type: '#Microsoft.Media.JobInputHttp'
  baseUri: 'string'

For #Microsoft.Media.JobInputs, use:

  @odata.type: '#Microsoft.Media.JobInputs'
  inputs: [
    {
      label: 'string'
      @odata.type: 'string'
      // For remaining properties, see JobInput objects
    }
  ]

JobOutput objects

Set the @odata.type property to specify the type of object.

For #Microsoft.Media.JobOutputAsset, use:

  @odata.type: '#Microsoft.Media.JobOutputAsset'
  assetName: 'string'

Property values

mediaServices/transforms/jobs

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Media/mediaServices/transforms/jobs'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2018-03-30-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Properties of the Job. JobProperties

JobProperties

Name Description Value
description Optional customer supplied description of the Job. string
input Base class for inputs to a Job. JobInput (required)
outputs The outputs for the Job. JobOutput[] (required)
priority Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal. 'High'
'Low'
'Normal'

JobInput

Name Description Value
label A label that is assigned to a JobInput, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'. string
@odata.type Set the object type #Microsoft.Media.JobInputAsset
#Microsoft.Media.JobInputHttp
#Microsoft.Media.JobInputs

JobInputAsset

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobInputAsset'
assetName The name of the input Asset. string (required)

JobInputHttp

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobInputHttp'
baseUri Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. string

JobInputs

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobInputs'
inputs List of inputs to a Job. JobInput[]

JobOutput

Name Description Value
@odata.type Set the object type #Microsoft.Media.JobOutputAsset

JobOutputAsset

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobOutputAsset'
assetName The name of the output Asset. string (required)