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

Bicep resource definition

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

For a list of changed properties in each API version, see change log.

Resource format

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

resource symbolicname 'Microsoft.Media/mediaServices/transforms/jobs@2018-03-30-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  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'
  files: [
    'string'
  ]

For #Microsoft.Media.JobInputHttp, use:

  '@odata.type': '#Microsoft.Media.JobInputHttp'
  baseUri: 'string'
  files: [
    '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
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: transforms
properties The resource properties. JobProperties

JobProperties

Name Description Value
description Optional customer supplied description of the Job. string
input The inputs for the Job. JobInput (required)
outputs The outputs for the Job. JobOutput[] (required)
priority Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default 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 (required)

JobInputAsset

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

JobInputHttp

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobInputHttp' (required)
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
files List of files. Required for JobInputHttp. string[]

JobInputs

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

JobOutput

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

JobOutputAsset

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

ARM template resource definition

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

For a list of changed properties in each API version, see change log.

Resource format

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

{
  "type": "Microsoft.Media/mediaServices/transforms/jobs",
  "apiVersion": "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",
  "files": [ "string" ]

For #Microsoft.Media.JobInputHttp, use:

  "@odata.type": "#Microsoft.Media.JobInputHttp",
  "baseUri": "string",
  "files": [ "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 'Microsoft.Media/mediaServices/transforms/jobs'
apiVersion The resource api version '2018-03-30-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
properties The resource properties. JobProperties

JobProperties

Name Description Value
description Optional customer supplied description of the Job. string
input The inputs for the Job. JobInput (required)
outputs The outputs for the Job. JobOutput[] (required)
priority Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default 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 (required)

JobInputAsset

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

JobInputHttp

Name Description Value
@odata.type The discriminator for derived types. '#Microsoft.Media.JobInputHttp' (required)
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
files List of files. Required for JobInputHttp. string[]

JobInputs

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

JobOutput

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

JobOutputAsset

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

Terraform (AzAPI provider) resource definition

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

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Media/mediaServices/transforms/jobs@2018-03-30-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    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"
  files = [
    "string"
  ]

For #Microsoft.Media.JobInputHttp, use:

  @odata.type = "#Microsoft.Media.JobInputHttp"
  baseUri = "string"
  files = [
    "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 "Microsoft.Media/mediaServices/transforms/jobs@2018-03-30-preview"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: transforms
properties The resource properties. JobProperties

JobProperties

Name Description Value
description Optional customer supplied description of the Job. string
input The inputs for the Job. JobInput (required)
outputs The outputs for the Job. JobOutput[] (required)
priority Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default 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 (required)

JobInputAsset

Name Description Value
@odata.type The discriminator for derived types. "#Microsoft.Media.JobInputAsset" (required)
assetName The name of the input Asset. string (required)
files List of files. Required for JobInputHttp. string[]

JobInputHttp

Name Description Value
@odata.type The discriminator for derived types. "#Microsoft.Media.JobInputHttp" (required)
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
files List of files. Required for JobInputHttp. string[]

JobInputs

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

JobOutput

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

JobOutputAsset

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