import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Media Workflow resource in Oracle Cloud Infrastructure Media Services service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dms/latest/MediaWorkflow * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/media_services * * Creates a new MediaWorkflow. * * ## Example Usage * * ```typescript * 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 * * MediaWorkflows can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MediaServices/mediaWorkflow:MediaWorkflow test_media_workflow "id" * ``` */ export declare class MediaWorkflow extends pulumi.CustomResource { /** * Get an existing MediaWorkflow resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MediaWorkflowState, opts?: pulumi.CustomResourceOptions): MediaWorkflow; /** * Returns true if the given object is an instance of MediaWorkflow. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MediaWorkflow; /** * (Updatable) Compartment Identifier. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; readonly isLockOverride: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecyleDetails: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * (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. */ readonly mediaWorkflowConfigurationIds: pulumi.Output; /** * (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. */ readonly parameters: pulumi.Output; /** * The current state of the MediaWorkflow. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * (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. */ readonly tasks: pulumi.Output; /** * The time when the MediaWorkflow was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * The version of the MediaWorkflow. */ readonly version: pulumi.Output; /** * Create a MediaWorkflow resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MediaWorkflowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MediaWorkflow resources. */ export interface MediaWorkflowState { /** * (Updatable) Compartment Identifier. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecyleDetails?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (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. */ mediaWorkflowConfigurationIds?: pulumi.Input[] | undefined>; /** * (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. */ parameters?: pulumi.Input; /** * The current state of the MediaWorkflow. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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. */ tasks?: pulumi.Input[] | undefined>; /** * The time when the MediaWorkflow was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * The version of the MediaWorkflow. */ version?: pulumi.Input; } /** * The set of arguments for constructing a MediaWorkflow resource. */ export interface MediaWorkflowArgs { /** * (Updatable) Compartment Identifier. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Name for the MediaWorkflow. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (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. */ mediaWorkflowConfigurationIds?: pulumi.Input[] | undefined>; /** * (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. */ parameters?: pulumi.Input; /** * (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. */ tasks?: pulumi.Input[] | undefined>; } //# sourceMappingURL=mediaWorkflow.d.ts.map