1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. getMediaWorkflowJob
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.MediaServices.getMediaWorkflowJob

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: oci_media_services_media_workflow_job.test_media_workflow_job.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_media_workflow_job = oci.MediaServices.get_media_workflow_job(media_workflow_job_id=oci_media_services_media_workflow_job["test_media_workflow_job"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_media_services_media_workflow_job.Test_media_workflow_job.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 = oci_media_services_media_workflow_job.Test_media_workflow_job.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(oci_media_services_media_workflow_job.test_media_workflow_job().id())
                .build());
    
        }
    }
    
    variables:
      testMediaWorkflowJob:
        fn::invoke:
          Function: oci:MediaServices:getMediaWorkflowJob
          Arguments:
            mediaWorkflowJobId: ${oci_media_services_media_workflow_job.test_media_workflow_job.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:MediaServices/getMediaWorkflowJob:getMediaWorkflowJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    mediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    media_workflow_job_id str
    Unique MediaWorkflowJob identifier.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.

    getMediaWorkflowJob Result

    The following output properties are available:

    CompartmentId string
    The compartment ID of the lock.
    DefinedTags Dictionary<string, object>
    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.
    FreeformTags Dictionary<string, object>
    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.
    IsLockOverride bool
    LifecycleDetails string
    The lifecycle details of MediaWorkflowJob task.
    Locks List<GetMediaWorkflowJobLock>
    Locks associated with this resource.
    MediaWorkflowConfigurationIds List<string>
    Configurations to be applied to this run of the workflow.
    MediaWorkflowId string
    The workflow to execute.
    MediaWorkflowJobId string
    MediaWorkflowName string
    Outputs List<GetMediaWorkflowJobOutput>
    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.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TaskLifecycleStates List<GetMediaWorkflowJobTaskLifecycleState>
    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.
    WorkflowIdentifierType string
    CompartmentId string
    The compartment ID of the lock.
    DefinedTags map[string]interface{}
    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.
    FreeformTags map[string]interface{}
    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.
    IsLockOverride bool
    LifecycleDetails string
    The lifecycle details of MediaWorkflowJob task.
    Locks []GetMediaWorkflowJobLock
    Locks associated with this resource.
    MediaWorkflowConfigurationIds []string
    Configurations to be applied to this run of the workflow.
    MediaWorkflowId string
    The workflow to execute.
    MediaWorkflowJobId string
    MediaWorkflowName string
    Outputs []GetMediaWorkflowJobOutput
    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.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TaskLifecycleStates []GetMediaWorkflowJobTaskLifecycleState
    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.
    WorkflowIdentifierType string
    compartmentId String
    The compartment ID of the lock.
    definedTags Map<String,Object>
    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.
    freeformTags Map<String,Object>
    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.
    isLockOverride Boolean
    lifecycleDetails String
    The lifecycle details of MediaWorkflowJob task.
    locks List<GetMediaWorkflowJobLock>
    Locks associated with this resource.
    mediaWorkflowConfigurationIds List<String>
    Configurations to be applied to this run of the workflow.
    mediaWorkflowId String
    The workflow to execute.
    mediaWorkflowJobId String
    mediaWorkflowName String
    outputs List<GetMediaWorkflowJobOutput>
    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.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    taskLifecycleStates List<GetMediaWorkflowJobTaskLifecycleState>
    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.
    workflowIdentifierType String
    compartmentId string
    The compartment ID of the lock.
    definedTags {[key: string]: any}
    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.
    freeformTags {[key: string]: any}
    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.
    isLockOverride boolean
    lifecycleDetails string
    The lifecycle details of MediaWorkflowJob task.
    locks GetMediaWorkflowJobLock[]
    Locks associated with this resource.
    mediaWorkflowConfigurationIds string[]
    Configurations to be applied to this run of the workflow.
    mediaWorkflowId string
    The workflow to execute.
    mediaWorkflowJobId string
    mediaWorkflowName string
    outputs GetMediaWorkflowJobOutput[]
    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.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    taskLifecycleStates GetMediaWorkflowJobTaskLifecycleState[]
    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.
    workflowIdentifierType string
    compartment_id str
    The compartment ID of the lock.
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_override bool
    lifecycle_details str
    The lifecycle details of MediaWorkflowJob task.
    locks Sequence[mediaservices.GetMediaWorkflowJobLock]
    Locks associated with this resource.
    media_workflow_configuration_ids Sequence[str]
    Configurations to be applied to this run of the workflow.
    media_workflow_id str
    The workflow to execute.
    media_workflow_job_id str
    media_workflow_name str
    outputs Sequence[mediaservices.GetMediaWorkflowJobOutput]
    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.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    task_lifecycle_states Sequence[mediaservices.GetMediaWorkflowJobTaskLifecycleState]
    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_type str
    compartmentId String
    The compartment ID of the lock.
    definedTags Map<Any>
    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.
    freeformTags Map<Any>
    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.
    isLockOverride Boolean
    lifecycleDetails String
    The lifecycle details of MediaWorkflowJob task.
    locks List<Property Map>
    Locks associated with this resource.
    mediaWorkflowConfigurationIds List<String>
    Configurations to be applied to this run of the workflow.
    mediaWorkflowId String
    The workflow to execute.
    mediaWorkflowJobId String
    mediaWorkflowName String
    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.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    taskLifecycleStates List<Property Map>
    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.
    workflowIdentifierType String

    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.
    RelatedResourceId 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.
    RelatedResourceId 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.
    relatedResourceId 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.
    relatedResourceId 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.
    related_resource_id 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.
    relatedResourceId 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

    AssetType string
    Type of job output.
    Bucket string
    The bucket name of the job output.
    Id string
    The ID associated with the job output.
    Namespace string
    The namespace name of the job output.
    Object string
    The object name of the job output.
    AssetType string
    Type of job output.
    Bucket string
    The bucket name of the job output.
    Id string
    The ID associated with the job output.
    Namespace string
    The namespace name of the job output.
    Object string
    The object name of the job output.
    assetType String
    Type of job output.
    bucket String
    The bucket name of the job output.
    id String
    The ID associated with the job output.
    namespace String
    The namespace name of the job output.
    object String
    The object name of the job output.
    assetType string
    Type of job output.
    bucket string
    The bucket name of the job output.
    id string
    The ID associated with the job output.
    namespace string
    The namespace name of the job output.
    object string
    The object name of the job output.
    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.
    assetType String
    Type of job output.
    bucket String
    The bucket name of the job output.
    id String
    The ID associated with the job output.
    namespace String
    The namespace name of the job output.
    object String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi