oci.MediaServices.MediaWorkflow
Explore with Pulumi AI
This resource provides the Media Workflow resource in Oracle Cloud Infrastructure Media Services service.
Creates a new MediaWorkflow.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMediaWorkflow = new oci.mediaservices.MediaWorkflow("test_media_workflow", {
compartmentId: compartmentId,
displayName: mediaWorkflowDisplayName,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
locks: [{
compartmentId: compartmentId,
type: mediaWorkflowLocksType,
message: mediaWorkflowLocksMessage,
relatedResourceId: testResource.id,
timeCreated: mediaWorkflowLocksTimeCreated,
}],
mediaWorkflowConfigurationIds: mediaWorkflowMediaWorkflowConfigurationIds,
parameters: mediaWorkflowParameters,
tasks: [{
key: mediaWorkflowTasksKey,
parameters: mediaWorkflowTasksParameters,
type: mediaWorkflowTasksType,
version: mediaWorkflowTasksVersion,
enableParameterReference: mediaWorkflowTasksEnableParameterReference,
enableWhenReferencedParameterEquals: mediaWorkflowTasksEnableWhenReferencedParameterEquals,
prerequisites: mediaWorkflowTasksPrerequisites,
}],
});
import pulumi
import pulumi_oci as oci
test_media_workflow = oci.media_services.MediaWorkflow("test_media_workflow",
compartment_id=compartment_id,
display_name=media_workflow_display_name,
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
locks=[oci.media_services.MediaWorkflowLockArgs(
compartment_id=compartment_id,
type=media_workflow_locks_type,
message=media_workflow_locks_message,
related_resource_id=test_resource["id"],
time_created=media_workflow_locks_time_created,
)],
media_workflow_configuration_ids=media_workflow_media_workflow_configuration_ids,
parameters=media_workflow_parameters,
tasks=[oci.media_services.MediaWorkflowTaskArgs(
key=media_workflow_tasks_key,
parameters=media_workflow_tasks_parameters,
type=media_workflow_tasks_type,
version=media_workflow_tasks_version,
enable_parameter_reference=media_workflow_tasks_enable_parameter_reference,
enable_when_referenced_parameter_equals=media_workflow_tasks_enable_when_referenced_parameter_equals,
prerequisites=media_workflow_tasks_prerequisites,
)])
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.NewMediaWorkflow(ctx, "test_media_workflow", &MediaServices.MediaWorkflowArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(mediaWorkflowDisplayName),
DefinedTags: pulumi.Map{
"foo-namespace.bar-key": pulumi.Any("value"),
},
FreeformTags: pulumi.Map{
"bar-key": pulumi.Any("value"),
},
Locks: mediaservices.MediaWorkflowLockArray{
&mediaservices.MediaWorkflowLockArgs{
CompartmentId: pulumi.Any(compartmentId),
Type: pulumi.Any(mediaWorkflowLocksType),
Message: pulumi.Any(mediaWorkflowLocksMessage),
RelatedResourceId: pulumi.Any(testResource.Id),
TimeCreated: pulumi.Any(mediaWorkflowLocksTimeCreated),
},
},
MediaWorkflowConfigurationIds: pulumi.Any(mediaWorkflowMediaWorkflowConfigurationIds),
Parameters: pulumi.Any(mediaWorkflowParameters),
Tasks: mediaservices.MediaWorkflowTaskArray{
&mediaservices.MediaWorkflowTaskArgs{
Key: pulumi.Any(mediaWorkflowTasksKey),
Parameters: pulumi.Any(mediaWorkflowTasksParameters),
Type: pulumi.Any(mediaWorkflowTasksType),
Version: pulumi.Any(mediaWorkflowTasksVersion),
EnableParameterReference: pulumi.Any(mediaWorkflowTasksEnableParameterReference),
EnableWhenReferencedParameterEquals: pulumi.Any(mediaWorkflowTasksEnableWhenReferencedParameterEquals),
Prerequisites: pulumi.Any(mediaWorkflowTasksPrerequisites),
},
},
})
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 testMediaWorkflow = new Oci.MediaServices.MediaWorkflow("test_media_workflow", new()
{
CompartmentId = compartmentId,
DisplayName = mediaWorkflowDisplayName,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
Locks = new[]
{
new Oci.MediaServices.Inputs.MediaWorkflowLockArgs
{
CompartmentId = compartmentId,
Type = mediaWorkflowLocksType,
Message = mediaWorkflowLocksMessage,
RelatedResourceId = testResource.Id,
TimeCreated = mediaWorkflowLocksTimeCreated,
},
},
MediaWorkflowConfigurationIds = mediaWorkflowMediaWorkflowConfigurationIds,
Parameters = mediaWorkflowParameters,
Tasks = new[]
{
new Oci.MediaServices.Inputs.MediaWorkflowTaskArgs
{
Key = mediaWorkflowTasksKey,
Parameters = mediaWorkflowTasksParameters,
Type = mediaWorkflowTasksType,
Version = mediaWorkflowTasksVersion,
EnableParameterReference = mediaWorkflowTasksEnableParameterReference,
EnableWhenReferencedParameterEquals = mediaWorkflowTasksEnableWhenReferencedParameterEquals,
Prerequisites = mediaWorkflowTasksPrerequisites,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.MediaServices.MediaWorkflow;
import com.pulumi.oci.MediaServices.MediaWorkflowArgs;
import com.pulumi.oci.MediaServices.inputs.MediaWorkflowLockArgs;
import com.pulumi.oci.MediaServices.inputs.MediaWorkflowTaskArgs;
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) {
var testMediaWorkflow = new MediaWorkflow("testMediaWorkflow", MediaWorkflowArgs.builder()
.compartmentId(compartmentId)
.displayName(mediaWorkflowDisplayName)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.locks(MediaWorkflowLockArgs.builder()
.compartmentId(compartmentId)
.type(mediaWorkflowLocksType)
.message(mediaWorkflowLocksMessage)
.relatedResourceId(testResource.id())
.timeCreated(mediaWorkflowLocksTimeCreated)
.build())
.mediaWorkflowConfigurationIds(mediaWorkflowMediaWorkflowConfigurationIds)
.parameters(mediaWorkflowParameters)
.tasks(MediaWorkflowTaskArgs.builder()
.key(mediaWorkflowTasksKey)
.parameters(mediaWorkflowTasksParameters)
.type(mediaWorkflowTasksType)
.version(mediaWorkflowTasksVersion)
.enableParameterReference(mediaWorkflowTasksEnableParameterReference)
.enableWhenReferencedParameterEquals(mediaWorkflowTasksEnableWhenReferencedParameterEquals)
.prerequisites(mediaWorkflowTasksPrerequisites)
.build())
.build());
}
}
resources:
testMediaWorkflow:
type: oci:MediaServices:MediaWorkflow
name: test_media_workflow
properties:
compartmentId: ${compartmentId}
displayName: ${mediaWorkflowDisplayName}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
locks:
- compartmentId: ${compartmentId}
type: ${mediaWorkflowLocksType}
message: ${mediaWorkflowLocksMessage}
relatedResourceId: ${testResource.id}
timeCreated: ${mediaWorkflowLocksTimeCreated}
mediaWorkflowConfigurationIds: ${mediaWorkflowMediaWorkflowConfigurationIds}
parameters: ${mediaWorkflowParameters}
tasks:
- key: ${mediaWorkflowTasksKey}
parameters: ${mediaWorkflowTasksParameters}
type: ${mediaWorkflowTasksType}
version: ${mediaWorkflowTasksVersion}
enableParameterReference: ${mediaWorkflowTasksEnableParameterReference}
enableWhenReferencedParameterEquals: ${mediaWorkflowTasksEnableWhenReferencedParameterEquals}
prerequisites: ${mediaWorkflowTasksPrerequisites}
Create MediaWorkflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MediaWorkflow(name: string, args: MediaWorkflowArgs, opts?: CustomResourceOptions);
@overload
def MediaWorkflow(resource_name: str,
args: MediaWorkflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MediaWorkflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.MediaWorkflowLockArgs]] = None,
media_workflow_configuration_ids: Optional[Sequence[str]] = None,
parameters: Optional[str] = None,
tasks: Optional[Sequence[_mediaservices.MediaWorkflowTaskArgs]] = None)
func NewMediaWorkflow(ctx *Context, name string, args MediaWorkflowArgs, opts ...ResourceOption) (*MediaWorkflow, error)
public MediaWorkflow(string name, MediaWorkflowArgs args, CustomResourceOptions? opts = null)
public MediaWorkflow(String name, MediaWorkflowArgs args)
public MediaWorkflow(String name, MediaWorkflowArgs args, CustomResourceOptions options)
type: oci:MediaServices:MediaWorkflow
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 MediaWorkflowArgs
- 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 MediaWorkflowArgs
- 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 MediaWorkflowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MediaWorkflowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MediaWorkflowArgs
- 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 mediaWorkflowResource = new Oci.MediaServices.MediaWorkflow("mediaWorkflowResource", new()
{
CompartmentId = "string",
DisplayName = "string",
DefinedTags =
{
{ "string", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
IsLockOverride = false,
Locks = new[]
{
new Oci.MediaServices.Inputs.MediaWorkflowLockArgs
{
CompartmentId = "string",
Type = "string",
Message = "string",
RelatedResourceId = "string",
TimeCreated = "string",
},
},
MediaWorkflowConfigurationIds = new[]
{
"string",
},
Parameters = "string",
Tasks = new[]
{
new Oci.MediaServices.Inputs.MediaWorkflowTaskArgs
{
Key = "string",
Parameters = "string",
Type = "string",
Version = "string",
EnableParameterReference = "string",
EnableWhenReferencedParameterEquals =
{
{ "string", "any" },
},
Prerequisites = new[]
{
"string",
},
},
},
});
example, err := MediaServices.NewMediaWorkflow(ctx, "mediaWorkflowResource", &MediaServices.MediaWorkflowArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
IsLockOverride: pulumi.Bool(false),
Locks: mediaservices.MediaWorkflowLockArray{
&mediaservices.MediaWorkflowLockArgs{
CompartmentId: pulumi.String("string"),
Type: pulumi.String("string"),
Message: pulumi.String("string"),
RelatedResourceId: pulumi.String("string"),
TimeCreated: pulumi.String("string"),
},
},
MediaWorkflowConfigurationIds: pulumi.StringArray{
pulumi.String("string"),
},
Parameters: pulumi.String("string"),
Tasks: mediaservices.MediaWorkflowTaskArray{
&mediaservices.MediaWorkflowTaskArgs{
Key: pulumi.String("string"),
Parameters: pulumi.String("string"),
Type: pulumi.String("string"),
Version: pulumi.String("string"),
EnableParameterReference: pulumi.String("string"),
EnableWhenReferencedParameterEquals: pulumi.Map{
"string": pulumi.Any("any"),
},
Prerequisites: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var mediaWorkflowResource = new MediaWorkflow("mediaWorkflowResource", MediaWorkflowArgs.builder()
.compartmentId("string")
.displayName("string")
.definedTags(Map.of("string", "any"))
.freeformTags(Map.of("string", "any"))
.isLockOverride(false)
.locks(MediaWorkflowLockArgs.builder()
.compartmentId("string")
.type("string")
.message("string")
.relatedResourceId("string")
.timeCreated("string")
.build())
.mediaWorkflowConfigurationIds("string")
.parameters("string")
.tasks(MediaWorkflowTaskArgs.builder()
.key("string")
.parameters("string")
.type("string")
.version("string")
.enableParameterReference("string")
.enableWhenReferencedParameterEquals(Map.of("string", "any"))
.prerequisites("string")
.build())
.build());
media_workflow_resource = oci.media_services.MediaWorkflow("mediaWorkflowResource",
compartment_id="string",
display_name="string",
defined_tags={
"string": "any",
},
freeform_tags={
"string": "any",
},
is_lock_override=False,
locks=[oci.media_services.MediaWorkflowLockArgs(
compartment_id="string",
type="string",
message="string",
related_resource_id="string",
time_created="string",
)],
media_workflow_configuration_ids=["string"],
parameters="string",
tasks=[oci.media_services.MediaWorkflowTaskArgs(
key="string",
parameters="string",
type="string",
version="string",
enable_parameter_reference="string",
enable_when_referenced_parameter_equals={
"string": "any",
},
prerequisites=["string"],
)])
const mediaWorkflowResource = new oci.mediaservices.MediaWorkflow("mediaWorkflowResource", {
compartmentId: "string",
displayName: "string",
definedTags: {
string: "any",
},
freeformTags: {
string: "any",
},
isLockOverride: false,
locks: [{
compartmentId: "string",
type: "string",
message: "string",
relatedResourceId: "string",
timeCreated: "string",
}],
mediaWorkflowConfigurationIds: ["string"],
parameters: "string",
tasks: [{
key: "string",
parameters: "string",
type: "string",
version: "string",
enableParameterReference: "string",
enableWhenReferencedParameterEquals: {
string: "any",
},
prerequisites: ["string"],
}],
});
type: oci:MediaServices:MediaWorkflow
properties:
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
isLockOverride: false
locks:
- compartmentId: string
message: string
relatedResourceId: string
timeCreated: string
type: string
mediaWorkflowConfigurationIds:
- string
parameters: string
tasks:
- enableParameterReference: string
enableWhenReferencedParameterEquals:
string: any
key: string
parameters: string
prerequisites:
- string
type: string
version: string
MediaWorkflow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MediaWorkflow resource accepts the following input properties:
- Compartment
Id string - (Updatable) Compartment Identifier.
- Display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
List<Media
Workflow Lock> - Locks associated with this resource.
- Media
Workflow List<string>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- Parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- Tasks
List<Media
Workflow Task> - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- Compartment
Id string - (Updatable) Compartment Identifier.
- Display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
[]Media
Workflow Lock Args - Locks associated with this resource.
- Media
Workflow []stringConfiguration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- Parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- Tasks
[]Media
Workflow Task Args - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- compartment
Id String - (Updatable) Compartment Identifier.
- display
Name String - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks
List<Media
Workflow Lock> - Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters String
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- tasks
List<Media
Workflow Task> - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- compartment
Id string - (Updatable) Compartment Identifier.
- display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock booleanOverride - locks
Media
Workflow Lock[] - Locks associated with this resource.
- media
Workflow string[]Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- tasks
Media
Workflow Task[] - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- compartment_
id str - (Updatable) Compartment Identifier.
- display_
name str - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
lock_ booloverride - locks
Sequence[mediaservices.
Media Workflow Lock Args] - Locks associated with this resource.
- media_
workflow_ Sequence[str]configuration_ ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters str
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- tasks
Sequence[mediaservices.
Media Workflow Task Args] - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- compartment
Id String - (Updatable) Compartment Identifier.
- display
Name String - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters String
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- tasks List<Property Map>
- (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
Outputs
All input properties are implicitly available as output properties. Additionally, the MediaWorkflow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
- The current state of the MediaWorkflow.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- Version string
- The version of the MediaWorkflow.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
- The current state of the MediaWorkflow.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- Version string
- The version of the MediaWorkflow.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecyle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
- The current state of the MediaWorkflow.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version String
- The version of the MediaWorkflow.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state string
- The current state of the MediaWorkflow.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version string
- The version of the MediaWorkflow.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecyle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state str
- The current state of the MediaWorkflow.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time_
updated str - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version str
- The version of the MediaWorkflow.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecyle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
- The current state of the MediaWorkflow.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version String
- The version of the MediaWorkflow.
Look up Existing MediaWorkflow Resource
Get an existing MediaWorkflow 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?: MediaWorkflowState, opts?: CustomResourceOptions): MediaWorkflow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_lock_override: Optional[bool] = None,
lifecyle_details: Optional[str] = None,
locks: Optional[Sequence[_mediaservices.MediaWorkflowLockArgs]] = None,
media_workflow_configuration_ids: Optional[Sequence[str]] = None,
parameters: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
tasks: Optional[Sequence[_mediaservices.MediaWorkflowTaskArgs]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
version: Optional[str] = None) -> MediaWorkflow
func GetMediaWorkflow(ctx *Context, name string, id IDInput, state *MediaWorkflowState, opts ...ResourceOption) (*MediaWorkflow, error)
public static MediaWorkflow Get(string name, Input<string> id, MediaWorkflowState? state, CustomResourceOptions? opts = null)
public static MediaWorkflow get(String name, Output<String> id, MediaWorkflowState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Compartment
Id string - (Updatable) Compartment Identifier.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
List<Media
Workflow Lock> - Locks associated with this resource.
- Media
Workflow List<string>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- Parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- State string
- The current state of the MediaWorkflow.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Tasks
List<Media
Workflow Task> - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- Time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- Version string
- The version of the MediaWorkflow.
- Compartment
Id string - (Updatable) Compartment Identifier.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
[]Media
Workflow Lock Args - Locks associated with this resource.
- Media
Workflow []stringConfiguration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- Parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- State string
- The current state of the MediaWorkflow.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Tasks
[]Media
Workflow Task Args - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- Time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- Version string
- The version of the MediaWorkflow.
- compartment
Id String - (Updatable) Compartment Identifier.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - lifecyle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
List<Media
Workflow Lock> - Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters String
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- state String
- The current state of the MediaWorkflow.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
List<Media
Workflow Task> - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- time
Created String - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version String
- The version of the MediaWorkflow.
- compartment
Id string - (Updatable) Compartment Identifier.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock booleanOverride - lifecyle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Media
Workflow Lock[] - Locks associated with this resource.
- media
Workflow string[]Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters string
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- state string
- The current state of the MediaWorkflow.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
Media
Workflow Task[] - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- time
Created string - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version string
- The version of the MediaWorkflow.
- compartment_
id str - (Updatable) Compartment Identifier.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, Any]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
lock_ booloverride - lifecyle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Sequence[mediaservices.
Media Workflow Lock Args] - Locks associated with this resource.
- media_
workflow_ Sequence[str]configuration_ ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters str
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- state str
- The current state of the MediaWorkflow.
- Mapping[str, Any]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
Sequence[mediaservices.
Media Workflow Task Args] - (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- time_
created str - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time_
updated str - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version str
- The version of the MediaWorkflow.
- compartment
Id String - (Updatable) Compartment Identifier.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - lifecyle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- media
Workflow List<String>Configuration Ids - (Updatable) Configurations to be applied to all the jobs for this workflow. Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob.
- parameters String
- (Updatable) JSON object representing named parameters and their default values that can be referenced throughout this workflow. The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- state String
- The current state of the MediaWorkflow.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks List<Property Map>
- (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved.
- time
Created String - The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
- version String
- The version of the MediaWorkflow.
Supporting Types
MediaWorkflowLock, MediaWorkflowLockArgs
- Compartment
Id string - (Updatable) The compartment ID of the lock.
- Type string
- Type 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 - When the lock was created.
- Compartment
Id string - (Updatable) The compartment ID of the lock.
- Type string
- Type 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 - When the lock was created.
- compartment
Id String - (Updatable) The compartment ID of the lock.
- type String
- Type 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 - When the lock was created.
- compartment
Id string - (Updatable) The compartment ID of the lock.
- type string
- Type 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 - When the lock was created.
- compartment_
id str - (Updatable) The compartment ID of the lock.
- type str
- Type 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 - When the lock was created.
- compartment
Id String - (Updatable) The compartment ID of the lock.
- type String
- Type 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 - When the lock was created.
MediaWorkflowTask, MediaWorkflowTaskArgs
- Key string
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- Parameters string
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- Type string
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- Version string
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Enable
Parameter stringReference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- Enable
When Dictionary<string, object>Referenced Parameter Equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- Prerequisites List<string>
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
- Key string
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- Parameters string
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- Type string
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- Version string
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Enable
Parameter stringReference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- Enable
When map[string]interface{}Referenced Parameter Equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- Prerequisites []string
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
- key String
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- parameters String
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- type String
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- version String
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- enable
Parameter StringReference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- enable
When Map<String,Object>Referenced Parameter Equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- prerequisites List<String>
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
- key string
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- parameters string
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- type string
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- version string
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- enable
Parameter stringReference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- enable
When {[key: string]: any}Referenced Parameter Equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- prerequisites string[]
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
- key str
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- parameters str
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- type str
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- version str
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- enable_
parameter_ strreference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- enable_
when_ Mapping[str, Any]referenced_ parameter_ equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- prerequisites Sequence[str]
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
- key String
- (Updatable) A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state.
- parameters String
- (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters.
- type String
- (Updatable) The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration.
- version String
(Updatable) The version of the MediaWorkflowTaskDeclaration.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- enable
Parameter StringReference - (Updatable) Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task.
- enable
When Map<Any>Referenced Parameter Equals - (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node.
- prerequisites List<String>
- (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin.
Import
MediaWorkflows can be imported using the id
, e.g.
$ pulumi import oci:MediaServices/mediaWorkflow:MediaWorkflow test_media_workflow "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.