Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.MediaServices.getMediaWorkflowJob
Explore with Pulumi AI
This data source provides details about a specific Media Workflow Job resource in Oracle Cloud Infrastructure Media Services service.
Gets the MediaWorkflowJob.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMediaWorkflowJob = oci.MediaServices.getMediaWorkflowJob({
    mediaWorkflowJobId: testMediaWorkflowJobOciMediaServicesMediaWorkflowJob.id,
});
import pulumi
import pulumi_oci as oci
test_media_workflow_job = oci.MediaServices.get_media_workflow_job(media_workflow_job_id=test_media_workflow_job_oci_media_services_media_workflow_job["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/mediaservices"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mediaservices.GetMediaWorkflowJob(ctx, &mediaservices.GetMediaWorkflowJobArgs{
			MediaWorkflowJobId: testMediaWorkflowJobOciMediaServicesMediaWorkflowJob.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testMediaWorkflowJob = Oci.MediaServices.GetMediaWorkflowJob.Invoke(new()
    {
        MediaWorkflowJobId = testMediaWorkflowJobOciMediaServicesMediaWorkflowJob.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.MediaServices.MediaServicesFunctions;
import com.pulumi.oci.MediaServices.inputs.GetMediaWorkflowJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testMediaWorkflowJob = MediaServicesFunctions.getMediaWorkflowJob(GetMediaWorkflowJobArgs.builder()
            .mediaWorkflowJobId(testMediaWorkflowJobOciMediaServicesMediaWorkflowJob.id())
            .build());
    }
}
variables:
  testMediaWorkflowJob:
    fn::invoke:
      function: oci:MediaServices:getMediaWorkflowJob
      arguments:
        mediaWorkflowJobId: ${testMediaWorkflowJobOciMediaServicesMediaWorkflowJob.id}
Using getMediaWorkflowJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMediaWorkflowJob(args: GetMediaWorkflowJobArgs, opts?: InvokeOptions): Promise<GetMediaWorkflowJobResult>
function getMediaWorkflowJobOutput(args: GetMediaWorkflowJobOutputArgs, opts?: InvokeOptions): Output<GetMediaWorkflowJobResult>def get_media_workflow_job(media_workflow_job_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetMediaWorkflowJobResult
def get_media_workflow_job_output(media_workflow_job_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetMediaWorkflowJobResult]func GetMediaWorkflowJob(ctx *Context, args *GetMediaWorkflowJobArgs, opts ...InvokeOption) (*GetMediaWorkflowJobResult, error)
func GetMediaWorkflowJobOutput(ctx *Context, args *GetMediaWorkflowJobOutputArgs, opts ...InvokeOption) GetMediaWorkflowJobResultOutput> Note: This function is named GetMediaWorkflowJob in the Go SDK.
public static class GetMediaWorkflowJob 
{
    public static Task<GetMediaWorkflowJobResult> InvokeAsync(GetMediaWorkflowJobArgs args, InvokeOptions? opts = null)
    public static Output<GetMediaWorkflowJobResult> Invoke(GetMediaWorkflowJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMediaWorkflowJobResult> getMediaWorkflowJob(GetMediaWorkflowJobArgs args, InvokeOptions options)
public static Output<GetMediaWorkflowJobResult> getMediaWorkflowJob(GetMediaWorkflowJobArgs args, InvokeOptions options)
fn::invoke:
  function: oci:MediaServices/getMediaWorkflowJob:getMediaWorkflowJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MediaWorkflow stringJob Id 
- Unique MediaWorkflowJob identifier.
- MediaWorkflow stringJob Id 
- Unique MediaWorkflowJob identifier.
- mediaWorkflow StringJob Id 
- Unique MediaWorkflowJob identifier.
- mediaWorkflow stringJob Id 
- Unique MediaWorkflowJob identifier.
- media_workflow_ strjob_ id 
- Unique MediaWorkflowJob identifier.
- mediaWorkflow StringJob Id 
- Unique MediaWorkflowJob identifier.
getMediaWorkflowJob Result
The following output properties are available:
- CompartmentId string
- The compartment ID of the lock.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- The ID associated with the job output.
- IsLock boolOverride 
- LifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- Locks
List<GetMedia Workflow Job Lock> 
- Locks associated with this resource.
- MediaWorkflow List<string>Configuration Ids 
- Configurations to be applied to this run of the workflow.
- MediaWorkflow stringId 
- The workflow to execute.
- MediaWorkflow stringJob Id 
- MediaWorkflow stringName 
- Outputs
List<GetMedia Workflow Job Output> 
- A list of JobOutput for the workflowJob.
- Parameters string
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- Runnable string
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- State string
- The current state of the MediaWorkflowJob task.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskLifecycle List<GetStates Media Workflow Job Task Lifecycle State> 
- Status of each task.
- TimeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- TimeEnded string
- Time when the job finished. An RFC3339 formatted datetime string.
- TimeStarted string
- Time when the job started to execute. An RFC3339 formatted datetime string.
- TimeUpdated string
- Updated time of the job. An RFC3339 formatted datetime string.
- WorkflowIdentifier stringType 
- CompartmentId string
- The compartment ID of the lock.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- The ID associated with the job output.
- IsLock boolOverride 
- LifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- Locks
[]GetMedia Workflow Job Lock 
- Locks associated with this resource.
- MediaWorkflow []stringConfiguration Ids 
- Configurations to be applied to this run of the workflow.
- MediaWorkflow stringId 
- The workflow to execute.
- MediaWorkflow stringJob Id 
- MediaWorkflow stringName 
- Outputs
[]GetMedia Workflow Job Output 
- A list of JobOutput for the workflowJob.
- Parameters string
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- Runnable string
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- State string
- The current state of the MediaWorkflowJob task.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskLifecycle []GetStates Media Workflow Job Task Lifecycle State 
- Status of each task.
- TimeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- TimeEnded string
- Time when the job finished. An RFC3339 formatted datetime string.
- TimeStarted string
- Time when the job started to execute. An RFC3339 formatted datetime string.
- TimeUpdated string
- Updated time of the job. An RFC3339 formatted datetime string.
- WorkflowIdentifier stringType 
- compartmentId String
- The compartment ID of the lock.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- The ID associated with the job output.
- isLock BooleanOverride 
- lifecycleDetails String
- The lifecycle details of MediaWorkflowJob task.
- locks
List<GetMedia Workflow Job Lock> 
- Locks associated with this resource.
- mediaWorkflow List<String>Configuration Ids 
- Configurations to be applied to this run of the workflow.
- mediaWorkflow StringId 
- The workflow to execute.
- mediaWorkflow StringJob Id 
- mediaWorkflow StringName 
- outputs
List<GetMedia Workflow Job Output> 
- A list of JobOutput for the workflowJob.
- parameters String
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- runnable String
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- state String
- The current state of the MediaWorkflowJob task.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskLifecycle List<GetStates Media Workflow Job Task Lifecycle State> 
- Status of each task.
- timeCreated String
- Creation time of the job. An RFC3339 formatted datetime string.
- timeEnded String
- Time when the job finished. An RFC3339 formatted datetime string.
- timeStarted String
- Time when the job started to execute. An RFC3339 formatted datetime string.
- timeUpdated String
- Updated time of the job. An RFC3339 formatted datetime string.
- workflowIdentifier StringType 
- compartmentId string
- The compartment ID of the lock.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id string
- The ID associated with the job output.
- isLock booleanOverride 
- lifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- locks
GetMedia Workflow Job Lock[] 
- Locks associated with this resource.
- mediaWorkflow string[]Configuration Ids 
- Configurations to be applied to this run of the workflow.
- mediaWorkflow stringId 
- The workflow to execute.
- mediaWorkflow stringJob Id 
- mediaWorkflow stringName 
- outputs
GetMedia Workflow Job Output[] 
- A list of JobOutput for the workflowJob.
- parameters string
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- runnable string
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- state string
- The current state of the MediaWorkflowJob task.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskLifecycle GetStates Media Workflow Job Task Lifecycle State[] 
- Status of each task.
- timeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- timeEnded string
- Time when the job finished. An RFC3339 formatted datetime string.
- timeStarted string
- Time when the job started to execute. An RFC3339 formatted datetime string.
- timeUpdated string
- Updated time of the job. An RFC3339 formatted datetime string.
- workflowIdentifier stringType 
- compartment_id str
- The compartment ID of the lock.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id str
- The ID associated with the job output.
- is_lock_ booloverride 
- lifecycle_details str
- The lifecycle details of MediaWorkflowJob task.
- locks
Sequence[mediaservices.Get Media Workflow Job Lock] 
- Locks associated with this resource.
- media_workflow_ Sequence[str]configuration_ ids 
- Configurations to be applied to this run of the workflow.
- media_workflow_ strid 
- The workflow to execute.
- media_workflow_ strjob_ id 
- media_workflow_ strname 
- outputs
Sequence[mediaservices.Get Media Workflow Job Output] 
- A list of JobOutput for the workflowJob.
- parameters str
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- runnable str
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- state str
- The current state of the MediaWorkflowJob task.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- task_lifecycle_ Sequence[mediaservices.states Get Media Workflow Job Task Lifecycle State] 
- Status of each task.
- time_created str
- Creation time of the job. An RFC3339 formatted datetime string.
- time_ended str
- Time when the job finished. An RFC3339 formatted datetime string.
- time_started str
- Time when the job started to execute. An RFC3339 formatted datetime string.
- time_updated str
- Updated time of the job. An RFC3339 formatted datetime string.
- workflow_identifier_ strtype 
- compartmentId String
- The compartment ID of the lock.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- The ID associated with the job output.
- isLock BooleanOverride 
- lifecycleDetails String
- The lifecycle details of MediaWorkflowJob task.
- locks List<Property Map>
- Locks associated with this resource.
- mediaWorkflow List<String>Configuration Ids 
- Configurations to be applied to this run of the workflow.
- mediaWorkflow StringId 
- The workflow to execute.
- mediaWorkflow StringJob Id 
- mediaWorkflow StringName 
- outputs List<Property Map>
- A list of JobOutput for the workflowJob.
- parameters String
- Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name.
- runnable String
- A JSON representation of the job as it will be run by the system. All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- state String
- The current state of the MediaWorkflowJob task.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskLifecycle List<Property Map>States 
- Status of each task.
- timeCreated String
- Creation time of the job. An RFC3339 formatted datetime string.
- timeEnded String
- Time when the job finished. An RFC3339 formatted datetime string.
- timeStarted String
- Time when the job started to execute. An RFC3339 formatted datetime string.
- timeUpdated String
- Updated time of the job. An RFC3339 formatted datetime string.
- workflowIdentifier StringType 
Supporting Types
GetMediaWorkflowJobLock    
- CompartmentId string
- The compartment ID of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- CompartmentId string
- The compartment ID of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- compartmentId String
- The compartment ID of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- Creation time of the job. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
- compartmentId string
- The compartment ID of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated string
- Creation time of the job. An RFC3339 formatted datetime string.
- type string
- Type of the lock.
- compartment_id str
- The compartment ID of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_created str
- Creation time of the job. An RFC3339 formatted datetime string.
- type str
- Type of the lock.
- compartmentId String
- The compartment ID of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- Creation time of the job. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
GetMediaWorkflowJobOutput    
- asset_type str
- Type of job output.
- bucket str
- The bucket name of the job output.
- id str
- The ID associated with the job output.
- namespace str
- The namespace name of the job output.
- object str
- The object name of the job output.
GetMediaWorkflowJobTaskLifecycleState      
- Key string
- Unique key within a MediaWorkflowJob for the task.
- LifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- State string
- The current state of the MediaWorkflowJob task.
- Key string
- Unique key within a MediaWorkflowJob for the task.
- LifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- State string
- The current state of the MediaWorkflowJob task.
- key String
- Unique key within a MediaWorkflowJob for the task.
- lifecycleDetails String
- The lifecycle details of MediaWorkflowJob task.
- state String
- The current state of the MediaWorkflowJob task.
- key string
- Unique key within a MediaWorkflowJob for the task.
- lifecycleDetails string
- The lifecycle details of MediaWorkflowJob task.
- state string
- The current state of the MediaWorkflowJob task.
- key str
- Unique key within a MediaWorkflowJob for the task.
- lifecycle_details str
- The lifecycle details of MediaWorkflowJob task.
- state str
- The current state of the MediaWorkflowJob task.
- key String
- Unique key within a MediaWorkflowJob for the task.
- lifecycleDetails String
- The lifecycle details of MediaWorkflowJob task.
- state String
- The current state of the MediaWorkflowJob task.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.