Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.MediaServices.getMediaWorkflowJob
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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: 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/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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:MediaServices/getMediaWorkflowJob:getMediaWorkflowJob
arguments:
# arguments dictionary
The following arguments are supported:
- Media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- Media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- media
Workflow StringJob Id - Unique MediaWorkflowJob identifier.
- media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- media_
workflow_ strjob_ id - Unique MediaWorkflowJob identifier.
- media
Workflow StringJob Id - Unique MediaWorkflowJob identifier.
getMediaWorkflowJob Result
The following output properties are available:
- Compartment
Id string - The compartment ID of the lock.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- 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.
- Is
Lock boolOverride - Lifecycle
Details string - The lifecycle details of MediaWorkflowJob task.
- Locks
List<Get
Media Workflow Job Lock> - Locks associated with this resource.
- Media
Workflow List<string>Configuration Ids - Configurations to be applied to this run of the workflow.
- Media
Workflow stringId - The workflow to execute.
- Media
Workflow stringJob Id - Media
Workflow stringName - Outputs
List<Get
Media 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, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Lifecycle List<GetStates Media Workflow Job Task Lifecycle State> - Status of each task.
- Time
Created string - Creation time of the job. An RFC3339 formatted datetime string.
- Time
Ended string - Time when the job finished. An RFC3339 formatted datetime string.
- Time
Started string - Time when the job started to execute. An RFC3339 formatted datetime string.
- Time
Updated string - Updated time of the job. An RFC3339 formatted datetime string.
- Workflow
Identifier stringType
- Compartment
Id string - The compartment ID of the lock.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- 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.
- Is
Lock boolOverride - Lifecycle
Details string - The lifecycle details of MediaWorkflowJob task.
- Locks
[]Get
Media Workflow Job Lock - Locks associated with this resource.
- Media
Workflow []stringConfiguration Ids - Configurations to be applied to this run of the workflow.
- Media
Workflow stringId - The workflow to execute.
- Media
Workflow stringJob Id - Media
Workflow stringName - Outputs
[]Get
Media 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]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Lifecycle []GetStates Media Workflow Job Task Lifecycle State - Status of each task.
- Time
Created string - Creation time of the job. An RFC3339 formatted datetime string.
- Time
Ended string - Time when the job finished. An RFC3339 formatted datetime string.
- Time
Started string - Time when the job started to execute. An RFC3339 formatted datetime string.
- Time
Updated string - Updated time of the job. An RFC3339 formatted datetime string.
- Workflow
Identifier stringType
- compartment
Id String - The compartment ID of the lock.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- 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.
- is
Lock BooleanOverride - lifecycle
Details String - The lifecycle details of MediaWorkflowJob task.
- locks
List<Get
Media Workflow Job Lock> - Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - Configurations to be applied to this run of the workflow.
- media
Workflow StringId - The workflow to execute.
- media
Workflow StringJob Id - media
Workflow StringName - outputs
List<Get
Media 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,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Lifecycle List<GetStates Media Workflow Job Task Lifecycle State> - Status of each task.
- time
Created String - Creation time of the job. An RFC3339 formatted datetime string.
- time
Ended String - Time when the job finished. An RFC3339 formatted datetime string.
- time
Started String - Time when the job started to execute. An RFC3339 formatted datetime string.
- time
Updated String - Updated time of the job. An RFC3339 formatted datetime string.
- workflow
Identifier StringType
- compartment
Id string - The compartment ID of the lock.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- {[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.
- is
Lock booleanOverride - lifecycle
Details string - The lifecycle details of MediaWorkflowJob task.
- locks
Get
Media Workflow Job Lock[] - Locks associated with this resource.
- media
Workflow string[]Configuration Ids - Configurations to be applied to this run of the workflow.
- media
Workflow stringId - The workflow to execute.
- media
Workflow stringJob Id - media
Workflow stringName - outputs
Get
Media 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]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Lifecycle GetStates Media Workflow Job Task Lifecycle State[] - Status of each task.
- time
Created string - Creation time of the job. An RFC3339 formatted datetime string.
- time
Ended string - Time when the job finished. An RFC3339 formatted datetime string.
- time
Started string - Time when the job started to execute. An RFC3339 formatted datetime string.
- time
Updated string - Updated time of the job. An RFC3339 formatted datetime string.
- workflow
Identifier stringType
- compartment_
id str - The compartment ID of the lock.
- 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.
- 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_ 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, Any]
- 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
- compartment
Id String - The compartment ID of the lock.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Name of the Media Workflow Job. Does not have to be unique. Avoid entering confidential information.
- 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.
- is
Lock BooleanOverride - lifecycle
Details String - The lifecycle details of MediaWorkflowJob task.
- locks List<Property Map>
- Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - Configurations to be applied to this run of the workflow.
- media
Workflow StringId - The workflow to execute.
- media
Workflow StringJob Id - media
Workflow 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<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Lifecycle List<Property Map>States - Status of each task.
- time
Created String - Creation time of the job. An RFC3339 formatted datetime string.
- time
Ended String - Time when the job finished. An RFC3339 formatted datetime string.
- time
Started String - Time when the job started to execute. An RFC3339 formatted datetime string.
- time
Updated String - Updated time of the job. An RFC3339 formatted datetime string.
- workflow
Identifier StringType
Supporting Types
GetMediaWorkflowJobLock
- Compartment
Id 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.
- Time
Created string - Creation time of the job. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- Compartment
Id 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.
- Time
Created string - Creation time of the job. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- compartment
Id 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.
- time
Created String - Creation time of the job. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
- compartment
Id 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.
- time
Created 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.
- compartment
Id 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.
- time
Created 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.
- Lifecycle
Details 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.
- Lifecycle
Details 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.
- lifecycle
Details 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.
- lifecycle
Details 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.
- lifecycle
Details 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi