1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. MediaWorkflowConfiguration
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.MediaServices.MediaWorkflowConfiguration

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Media Workflow Configuration resource in Oracle Cloud Infrastructure Media Services service.

    Creates a new MediaWorkflowConfiguration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMediaWorkflowConfiguration = new oci.mediaservices.MediaWorkflowConfiguration("test_media_workflow_configuration", {
        compartmentId: compartmentId,
        displayName: mediaWorkflowConfigurationDisplayName,
        parameters: mediaWorkflowConfigurationParameters,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        locks: [{
            compartmentId: compartmentId,
            type: mediaWorkflowConfigurationLocksType,
            message: mediaWorkflowConfigurationLocksMessage,
            relatedResourceId: testResource.id,
            timeCreated: mediaWorkflowConfigurationLocksTimeCreated,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_media_workflow_configuration = oci.media_services.MediaWorkflowConfiguration("test_media_workflow_configuration",
        compartment_id=compartment_id,
        display_name=media_workflow_configuration_display_name,
        parameters=media_workflow_configuration_parameters,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        locks=[{
            "compartment_id": compartment_id,
            "type": media_workflow_configuration_locks_type,
            "message": media_workflow_configuration_locks_message,
            "related_resource_id": test_resource["id"],
            "time_created": media_workflow_configuration_locks_time_created,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/MediaServices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := MediaServices.NewMediaWorkflowConfiguration(ctx, "test_media_workflow_configuration", &MediaServices.MediaWorkflowConfigurationArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(mediaWorkflowConfigurationDisplayName),
    			Parameters:    pulumi.Any(mediaWorkflowConfigurationParameters),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Locks: mediaservices.MediaWorkflowConfigurationLockArray{
    				&mediaservices.MediaWorkflowConfigurationLockArgs{
    					CompartmentId:     pulumi.Any(compartmentId),
    					Type:              pulumi.Any(mediaWorkflowConfigurationLocksType),
    					Message:           pulumi.Any(mediaWorkflowConfigurationLocksMessage),
    					RelatedResourceId: pulumi.Any(testResource.Id),
    					TimeCreated:       pulumi.Any(mediaWorkflowConfigurationLocksTimeCreated),
    				},
    			},
    		})
    		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 testMediaWorkflowConfiguration = new Oci.MediaServices.MediaWorkflowConfiguration("test_media_workflow_configuration", new()
        {
            CompartmentId = compartmentId,
            DisplayName = mediaWorkflowConfigurationDisplayName,
            Parameters = mediaWorkflowConfigurationParameters,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Locks = new[]
            {
                new Oci.MediaServices.Inputs.MediaWorkflowConfigurationLockArgs
                {
                    CompartmentId = compartmentId,
                    Type = mediaWorkflowConfigurationLocksType,
                    Message = mediaWorkflowConfigurationLocksMessage,
                    RelatedResourceId = testResource.Id,
                    TimeCreated = mediaWorkflowConfigurationLocksTimeCreated,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.MediaServices.MediaWorkflowConfiguration;
    import com.pulumi.oci.MediaServices.MediaWorkflowConfigurationArgs;
    import com.pulumi.oci.MediaServices.inputs.MediaWorkflowConfigurationLockArgs;
    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 testMediaWorkflowConfiguration = new MediaWorkflowConfiguration("testMediaWorkflowConfiguration", MediaWorkflowConfigurationArgs.builder()
                .compartmentId(compartmentId)
                .displayName(mediaWorkflowConfigurationDisplayName)
                .parameters(mediaWorkflowConfigurationParameters)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .locks(MediaWorkflowConfigurationLockArgs.builder()
                    .compartmentId(compartmentId)
                    .type(mediaWorkflowConfigurationLocksType)
                    .message(mediaWorkflowConfigurationLocksMessage)
                    .relatedResourceId(testResource.id())
                    .timeCreated(mediaWorkflowConfigurationLocksTimeCreated)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testMediaWorkflowConfiguration:
        type: oci:MediaServices:MediaWorkflowConfiguration
        name: test_media_workflow_configuration
        properties:
          compartmentId: ${compartmentId}
          displayName: ${mediaWorkflowConfigurationDisplayName}
          parameters: ${mediaWorkflowConfigurationParameters}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          locks:
            - compartmentId: ${compartmentId}
              type: ${mediaWorkflowConfigurationLocksType}
              message: ${mediaWorkflowConfigurationLocksMessage}
              relatedResourceId: ${testResource.id}
              timeCreated: ${mediaWorkflowConfigurationLocksTimeCreated}
    

    Create MediaWorkflowConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MediaWorkflowConfiguration(name: string, args: MediaWorkflowConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def MediaWorkflowConfiguration(resource_name: str,
                                   args: MediaWorkflowConfigurationArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def MediaWorkflowConfiguration(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   compartment_id: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   parameters: Optional[str] = None,
                                   defined_tags: Optional[Mapping[str, str]] = None,
                                   freeform_tags: Optional[Mapping[str, str]] = None,
                                   is_lock_override: Optional[bool] = None,
                                   locks: Optional[Sequence[_mediaservices.MediaWorkflowConfigurationLockArgs]] = None)
    func NewMediaWorkflowConfiguration(ctx *Context, name string, args MediaWorkflowConfigurationArgs, opts ...ResourceOption) (*MediaWorkflowConfiguration, error)
    public MediaWorkflowConfiguration(string name, MediaWorkflowConfigurationArgs args, CustomResourceOptions? opts = null)
    public MediaWorkflowConfiguration(String name, MediaWorkflowConfigurationArgs args)
    public MediaWorkflowConfiguration(String name, MediaWorkflowConfigurationArgs args, CustomResourceOptions options)
    
    type: oci:MediaServices:MediaWorkflowConfiguration
    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 MediaWorkflowConfigurationArgs
    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 MediaWorkflowConfigurationArgs
    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 MediaWorkflowConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MediaWorkflowConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MediaWorkflowConfigurationArgs
    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 mediaWorkflowConfigurationResource = new Oci.MediaServices.MediaWorkflowConfiguration("mediaWorkflowConfigurationResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        Parameters = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsLockOverride = false,
        Locks = new[]
        {
            new Oci.MediaServices.Inputs.MediaWorkflowConfigurationLockArgs
            {
                CompartmentId = "string",
                Type = "string",
                Message = "string",
                RelatedResourceId = "string",
                TimeCreated = "string",
            },
        },
    });
    
    example, err := MediaServices.NewMediaWorkflowConfiguration(ctx, "mediaWorkflowConfigurationResource", &MediaServices.MediaWorkflowConfigurationArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Parameters:    pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsLockOverride: pulumi.Bool(false),
    	Locks: mediaservices.MediaWorkflowConfigurationLockArray{
    		&mediaservices.MediaWorkflowConfigurationLockArgs{
    			CompartmentId:     pulumi.String("string"),
    			Type:              pulumi.String("string"),
    			Message:           pulumi.String("string"),
    			RelatedResourceId: pulumi.String("string"),
    			TimeCreated:       pulumi.String("string"),
    		},
    	},
    })
    
    var mediaWorkflowConfigurationResource = new MediaWorkflowConfiguration("mediaWorkflowConfigurationResource", MediaWorkflowConfigurationArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .parameters("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .isLockOverride(false)
        .locks(MediaWorkflowConfigurationLockArgs.builder()
            .compartmentId("string")
            .type("string")
            .message("string")
            .relatedResourceId("string")
            .timeCreated("string")
            .build())
        .build());
    
    media_workflow_configuration_resource = oci.media_services.MediaWorkflowConfiguration("mediaWorkflowConfigurationResource",
        compartment_id="string",
        display_name="string",
        parameters="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        is_lock_override=False,
        locks=[oci.media_services.MediaWorkflowConfigurationLockArgs(
            compartment_id="string",
            type="string",
            message="string",
            related_resource_id="string",
            time_created="string",
        )])
    
    const mediaWorkflowConfigurationResource = new oci.mediaservices.MediaWorkflowConfiguration("mediaWorkflowConfigurationResource", {
        compartmentId: "string",
        displayName: "string",
        parameters: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        isLockOverride: false,
        locks: [{
            compartmentId: "string",
            type: "string",
            message: "string",
            relatedResourceId: "string",
            timeCreated: "string",
        }],
    });
    
    type: oci:MediaServices:MediaWorkflowConfiguration
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        isLockOverride: false
        locks:
            - compartmentId: string
              message: string
              relatedResourceId: string
              timeCreated: string
              type: string
        parameters: string
    

    MediaWorkflowConfiguration 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 MediaWorkflowConfiguration resource accepts the following input properties:

    CompartmentId string
    (Updatable) Compartment Identifier.
    DisplayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    Parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsLockOverride bool
    Locks List<MediaWorkflowConfigurationLock>
    Locks associated with this resource.
    CompartmentId string
    (Updatable) Compartment Identifier.
    DisplayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    Parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsLockOverride bool
    Locks []MediaWorkflowConfigurationLockArgs
    Locks associated with this resource.
    compartmentId String
    (Updatable) Compartment Identifier.
    displayName String
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    parameters String

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride Boolean
    locks List<MediaWorkflowConfigurationLock>
    Locks associated with this resource.
    compartmentId string
    (Updatable) Compartment Identifier.
    displayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride boolean
    locks MediaWorkflowConfigurationLock[]
    Locks associated with this resource.
    compartment_id str
    (Updatable) Compartment Identifier.
    display_name str
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    parameters str

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (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_override bool
    locks Sequence[mediaservices.MediaWorkflowConfigurationLockArgs]
    Locks associated with this resource.
    compartmentId String
    (Updatable) Compartment Identifier.
    displayName String
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    parameters String

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MediaWorkflowConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecyleDetails 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 MediaWorkflowConfiguration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecyleDetails 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 MediaWorkflowConfiguration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails 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 MediaWorkflowConfiguration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails 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 MediaWorkflowConfiguration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    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 MediaWorkflowConfiguration.
    system_tags Mapping[str, str]
    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 the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    time_updated str
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecyleDetails 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 MediaWorkflowConfiguration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.

    Look up Existing MediaWorkflowConfiguration Resource

    Get an existing MediaWorkflowConfiguration 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?: MediaWorkflowConfigurationState, opts?: CustomResourceOptions): MediaWorkflowConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_lock_override: Optional[bool] = None,
            lifecyle_details: Optional[str] = None,
            locks: Optional[Sequence[_mediaservices.MediaWorkflowConfigurationLockArgs]] = None,
            parameters: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> MediaWorkflowConfiguration
    func GetMediaWorkflowConfiguration(ctx *Context, name string, id IDInput, state *MediaWorkflowConfigurationState, opts ...ResourceOption) (*MediaWorkflowConfiguration, error)
    public static MediaWorkflowConfiguration Get(string name, Input<string> id, MediaWorkflowConfigurationState? state, CustomResourceOptions? opts = null)
    public static MediaWorkflowConfiguration get(String name, Output<String> id, MediaWorkflowConfigurationState 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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment Identifier.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsLockOverride bool
    LifecyleDetails 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<MediaWorkflowConfigurationLock>
    Locks associated with this resource.
    Parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    State string
    The current state of the MediaWorkflowConfiguration.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    CompartmentId string
    (Updatable) Compartment Identifier.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsLockOverride bool
    LifecyleDetails 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 []MediaWorkflowConfigurationLockArgs
    Locks associated with this resource.
    Parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    State string
    The current state of the MediaWorkflowConfiguration.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) Compartment Identifier.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride Boolean
    lifecyleDetails 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<MediaWorkflowConfigurationLock>
    Locks associated with this resource.
    parameters String

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    state String
    The current state of the MediaWorkflowConfiguration.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    compartmentId string
    (Updatable) Compartment Identifier.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride boolean
    lifecyleDetails 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 MediaWorkflowConfigurationLock[]
    Locks associated with this resource.
    parameters string

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    state string
    The current state of the MediaWorkflowConfiguration.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    compartment_id str
    (Updatable) Compartment Identifier.
    defined_tags Mapping[str, str]
    (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) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (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_override bool
    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.MediaWorkflowConfigurationLockArgs]
    Locks associated with this resource.
    parameters str

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    state str
    The current state of the MediaWorkflowConfiguration.
    system_tags Mapping[str, str]
    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 the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    time_updated str
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) Compartment Identifier.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) MediaWorkflowConfiguration identifier. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isLockOverride Boolean
    lifecyleDetails 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.
    parameters String

    (Updatable) Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refers to a task key that is unqiue to the workflow, each of the second level objects' keys refer to the name of a parameter that is unique to the task. taskKey > parameterName > parameterValue

    ** 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

    state String
    The current state of the MediaWorkflowConfiguration.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string.

    Supporting Types

    MediaWorkflowConfigurationLock, MediaWorkflowConfigurationLockArgs

    CompartmentId 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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    CompartmentId 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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    compartmentId 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.
    compartmentId 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.
    relatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated 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.
    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
    When the lock was created.
    compartmentId 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.

    Import

    MediaWorkflowConfigurations can be imported using the id, e.g.

    $ pulumi import oci:MediaServices/mediaWorkflowConfiguration:MediaWorkflowConfiguration test_media_workflow_configuration "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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi