We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Media Job.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
});
var exampleServiceAccount = new Azure.Media.ServiceAccount("exampleServiceAccount", new Azure.Media.ServiceAccountArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
StorageAccounts =
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = exampleAccount.Id,
IsPrimary = true,
},
},
});
var exampleTransform = new Azure.Media.Transform("exampleTransform", new Azure.Media.TransformArgs
{
ResourceGroupName = exampleResourceGroup.Name,
MediaServicesAccountName = exampleServiceAccount.Name,
Description = "My transform description",
Outputs =
{
new Azure.Media.Inputs.TransformOutputArgs
{
RelativePriority = "Normal",
OnErrorAction = "ContinueJob",
BuiltinPreset = new Azure.Media.Inputs.TransformOutputBuiltinPresetArgs
{
PresetName = "AACGoodQualityAudio",
},
},
},
});
var input = new Azure.Media.Asset("input", new Azure.Media.AssetArgs
{
ResourceGroupName = exampleResourceGroup.Name,
MediaServicesAccountName = exampleServiceAccount.Name,
Description = "Input Asset description",
});
var output = new Azure.Media.Asset("output", new Azure.Media.AssetArgs
{
ResourceGroupName = exampleResourceGroup.Name,
MediaServicesAccountName = exampleServiceAccount.Name,
Description = "Output Asset description",
});
var exampleJob = new Azure.Media.Job("exampleJob", new Azure.Media.JobArgs
{
ResourceGroupName = exampleResourceGroup.Name,
MediaServicesAccountName = exampleServiceAccount.Name,
TransformName = exampleTransform.Name,
Description = "My Job description",
Priority = "Normal",
InputAsset = new Azure.Media.Inputs.JobInputAssetArgs
{
Name = input.Name,
},
OutputAssets =
{
new Azure.Media.Inputs.JobOutputAssetArgs
{
Name = output.Name,
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/media"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
})
if err != nil {
return err
}
exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: exampleAccount.ID(),
IsPrimary: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
exampleTransform, err := media.NewTransform(ctx, "exampleTransform", &media.TransformArgs{
ResourceGroupName: exampleResourceGroup.Name,
MediaServicesAccountName: exampleServiceAccount.Name,
Description: pulumi.String("My transform description"),
Outputs: media.TransformOutputArray{
media.TransformOutputArgs{
RelativePriority: pulumi.String("Normal"),
OnErrorAction: pulumi.String("ContinueJob"),
BuiltinPreset: &media.TransformOutputBuiltinPresetArgs{
PresetName: pulumi.String("AACGoodQualityAudio"),
},
},
},
})
if err != nil {
return err
}
input, err := media.NewAsset(ctx, "input", &media.AssetArgs{
ResourceGroupName: exampleResourceGroup.Name,
MediaServicesAccountName: exampleServiceAccount.Name,
Description: pulumi.String("Input Asset description"),
})
if err != nil {
return err
}
output, err := media.NewAsset(ctx, "output", &media.AssetArgs{
ResourceGroupName: exampleResourceGroup.Name,
MediaServicesAccountName: exampleServiceAccount.Name,
Description: pulumi.String("Output Asset description"),
})
if err != nil {
return err
}
_, err = media.NewJob(ctx, "exampleJob", &media.JobArgs{
ResourceGroupName: exampleResourceGroup.Name,
MediaServicesAccountName: exampleServiceAccount.Name,
TransformName: exampleTransform.Name,
Description: pulumi.String("My Job description"),
Priority: pulumi.String("Normal"),
InputAsset: &media.JobInputAssetArgs{
Name: input.Name,
},
OutputAssets: media.JobOutputAssetArray{
&media.JobOutputAssetArgs{
Name: output.Name,
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "GRS",
});
const exampleServiceAccount = new azure.media.ServiceAccount("exampleServiceAccount", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
storageAccounts: [{
id: exampleAccount.id,
isPrimary: true,
}],
});
const exampleTransform = new azure.media.Transform("exampleTransform", {
resourceGroupName: exampleResourceGroup.name,
mediaServicesAccountName: exampleServiceAccount.name,
description: "My transform description",
outputs: [{
relativePriority: "Normal",
onErrorAction: "ContinueJob",
builtinPreset: {
presetName: "AACGoodQualityAudio",
},
}],
});
const input = new azure.media.Asset("input", {
resourceGroupName: exampleResourceGroup.name,
mediaServicesAccountName: exampleServiceAccount.name,
description: "Input Asset description",
});
const output = new azure.media.Asset("output", {
resourceGroupName: exampleResourceGroup.name,
mediaServicesAccountName: exampleServiceAccount.name,
description: "Output Asset description",
});
const exampleJob = new azure.media.Job("exampleJob", {
resourceGroupName: exampleResourceGroup.name,
mediaServicesAccountName: exampleServiceAccount.name,
transformName: exampleTransform.name,
description: "My Job description",
priority: "Normal",
inputAsset: {
name: input.name,
},
outputAssets: [{
name: output.name,
}],
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="GRS")
example_service_account = azure.media.ServiceAccount("exampleServiceAccount",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
storage_accounts=[azure.media.ServiceAccountStorageAccountArgs(
id=example_account.id,
is_primary=True,
)])
example_transform = azure.media.Transform("exampleTransform",
resource_group_name=example_resource_group.name,
media_services_account_name=example_service_account.name,
description="My transform description",
outputs=[azure.media.TransformOutputArgs(
relative_priority="Normal",
on_error_action="ContinueJob",
builtin_preset=azure.media.TransformOutputBuiltinPresetArgs(
preset_name="AACGoodQualityAudio",
),
)])
input = azure.media.Asset("input",
resource_group_name=example_resource_group.name,
media_services_account_name=example_service_account.name,
description="Input Asset description")
output = azure.media.Asset("output",
resource_group_name=example_resource_group.name,
media_services_account_name=example_service_account.name,
description="Output Asset description")
example_job = azure.media.Job("exampleJob",
resource_group_name=example_resource_group.name,
media_services_account_name=example_service_account.name,
transform_name=example_transform.name,
description="My Job description",
priority="Normal",
input_asset=azure.media.JobInputAssetArgs(
name=input.name,
),
output_assets=[azure.media.JobOutputAssetArgs(
name=output.name,
)])
Example coming soon!
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
input_asset: Optional[JobInputAssetArgs] = None,
media_services_account_name: Optional[str] = None,
output_assets: Optional[Sequence[JobOutputAssetArgs]] = None,
resource_group_name: Optional[str] = None,
transform_name: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[str] = None)func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)public Job(string name, JobArgs args, CustomResourceOptions? opts = null)type: azure:media:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azureJobResource = new Azure.Media.Job("azureJobResource", new()
{
InputAsset = new Azure.Media.Inputs.JobInputAssetArgs
{
Name = "string",
Label = "string",
},
MediaServicesAccountName = "string",
OutputAssets = new[]
{
new Azure.Media.Inputs.JobOutputAssetArgs
{
Name = "string",
Label = "string",
},
},
ResourceGroupName = "string",
TransformName = "string",
Description = "string",
Name = "string",
Priority = "string",
});
example, err := media.NewJob(ctx, "azureJobResource", &media.JobArgs{
InputAsset: &media.JobInputAssetArgs{
Name: pulumi.String("string"),
Label: pulumi.String("string"),
},
MediaServicesAccountName: pulumi.String("string"),
OutputAssets: media.JobOutputAssetArray{
&media.JobOutputAssetArgs{
Name: pulumi.String("string"),
Label: pulumi.String("string"),
},
},
ResourceGroupName: pulumi.String("string"),
TransformName: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Priority: pulumi.String("string"),
})
var azureJobResource = new com.pulumi.azure.media.Job("azureJobResource", com.pulumi.azure.media.JobArgs.builder()
.inputAsset(JobInputAssetArgs.builder()
.name("string")
.label("string")
.build())
.mediaServicesAccountName("string")
.outputAssets(JobOutputAssetArgs.builder()
.name("string")
.label("string")
.build())
.resourceGroupName("string")
.transformName("string")
.description("string")
.name("string")
.priority("string")
.build());
azure_job_resource = azure.media.Job("azureJobResource",
input_asset={
"name": "string",
"label": "string",
},
media_services_account_name="string",
output_assets=[{
"name": "string",
"label": "string",
}],
resource_group_name="string",
transform_name="string",
description="string",
name="string",
priority="string")
const azureJobResource = new azure.media.Job("azureJobResource", {
inputAsset: {
name: "string",
label: "string",
},
mediaServicesAccountName: "string",
outputAssets: [{
name: "string",
label: "string",
}],
resourceGroupName: "string",
transformName: "string",
description: "string",
name: "string",
priority: "string",
});
type: azure:media:Job
properties:
description: string
inputAsset:
label: string
name: string
mediaServicesAccountName: string
name: string
outputAssets:
- label: string
name: string
priority: string
resourceGroupName: string
transformName: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- Output
Assets List<JobOutput Asset> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - Resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- Transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- Description string
- Optional customer supplied description of the Job.
- Name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- Priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- Input
Asset JobInput Asset Args - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- Output
Assets []JobOutput Asset Args - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - Resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- Transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- Description string
- Optional customer supplied description of the Job.
- Name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- Priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services StringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- output
Assets List<JobOutput Asset> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - resource
Group StringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name String - The Transform name. Changing this forces a new Media Job to be created.
- description String
- Optional customer supplied description of the Job.
- name String
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- priority String
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- output
Assets JobOutput Asset[] - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- description string
- Optional customer supplied description of the Job.
- name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- input_
asset JobInput Asset Args - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media_
services_ straccount_ name - The Media Services account name. Changing this forces a new Transform to be created.
- output_
assets Sequence[JobOutput Asset Args] - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - resource_
group_ strname - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform_
name str - The Transform name. Changing this forces a new Media Job to be created.
- description str
- Optional customer supplied description of the Job.
- name str
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- priority str
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- input
Asset Property Map - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services StringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- output
Assets List<Property Map> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - resource
Group StringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name String - The Transform name. Changing this forces a new Media Job to be created.
- description String
- Optional customer supplied description of the Job.
- name String
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- priority String
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Job Resource
Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
input_asset: Optional[JobInputAssetArgs] = None,
media_services_account_name: Optional[str] = None,
name: Optional[str] = None,
output_assets: Optional[Sequence[JobOutputAssetArgs]] = None,
priority: Optional[str] = None,
resource_group_name: Optional[str] = None,
transform_name: Optional[str] = None) -> Jobfunc GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)resources: _: type: azure:media:Job get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- Optional customer supplied description of the Job.
- Input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- Name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- Output
Assets List<JobOutput Asset> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - Priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- Resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- Transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- Description string
- Optional customer supplied description of the Job.
- Input
Asset JobInput Asset Args - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- Name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- Output
Assets []JobOutput Asset Args - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - Priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- Resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- Transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- description String
- Optional customer supplied description of the Job.
- input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services StringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- name String
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- output
Assets List<JobOutput Asset> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - priority String
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- resource
Group StringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name String - The Transform name. Changing this forces a new Media Job to be created.
- description string
- Optional customer supplied description of the Job.
- input
Asset JobInput Asset - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services stringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- name string
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- output
Assets JobOutput Asset[] - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - priority string
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- resource
Group stringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name string - The Transform name. Changing this forces a new Media Job to be created.
- description str
- Optional customer supplied description of the Job.
- input_
asset JobInput Asset Args - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media_
services_ straccount_ name - The Media Services account name. Changing this forces a new Transform to be created.
- name str
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- output_
assets Sequence[JobOutput Asset Args] - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - priority str
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- resource_
group_ strname - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform_
name str - The Transform name. Changing this forces a new Media Job to be created.
- description String
- Optional customer supplied description of the Job.
- input
Asset Property Map - A
input_assetblock as defined below. Changing this forces a new Media Job to be created. - media
Services StringAccount Name - The Media Services account name. Changing this forces a new Transform to be created.
- name String
- The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
- output
Assets List<Property Map> - One or more
output_assetblocks as defined below. Changing this forces a new Media Job to be created. - priority String
- Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
- resource
Group StringName - The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
- transform
Name String - The Transform name. Changing this forces a new Media Job to be created.
Supporting Types
JobInputAsset, JobInputAssetArgs
- Name string
- The name of the input Asset. Changing this forces a new Media Job to be created.
- Label string
- A label that is assigned to a JobInputClip, 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'.
- Name string
- The name of the input Asset. Changing this forces a new Media Job to be created.
- Label string
- A label that is assigned to a JobInputClip, 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'.
- name String
- The name of the input Asset. Changing this forces a new Media Job to be created.
- label String
- A label that is assigned to a JobInputClip, 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'.
- name string
- The name of the input Asset. Changing this forces a new Media Job to be created.
- label string
- A label that is assigned to a JobInputClip, 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'.
- name str
- The name of the input Asset. Changing this forces a new Media Job to be created.
- label str
- A label that is assigned to a JobInputClip, 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'.
- name String
- The name of the input Asset. Changing this forces a new Media Job to be created.
- label String
- A label that is assigned to a JobInputClip, 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'.
JobOutputAsset, JobOutputAssetArgs
- Name string
- The name of the output Asset. Changing this forces a new Media Job to be created.
- Label string
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
- Name string
- The name of the output Asset. Changing this forces a new Media Job to be created.
- Label string
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
- name String
- The name of the output Asset. Changing this forces a new Media Job to be created.
- label String
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
- name string
- The name of the output Asset. Changing this forces a new Media Job to be created.
- label string
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
- name str
- The name of the output Asset. Changing this forces a new Media Job to be created.
- label str
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
- name String
- The name of the output Asset. Changing this forces a new Media Job to be created.
- label String
- A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
Import
Media Jobs can be imported using the resource id, e.g.
$ pulumi import azure:media/job:Job example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Media/mediaservices/account1/transforms/transform1/jobs/job1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
