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

oci.MediaServices.getMediaWorkflowConfiguration

Explore with Pulumi AI

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

    This data source provides details about a specific Media Workflow Configuration resource in Oracle Cloud Infrastructure Media Services service.

    Gets a MediaWorkflowConfiguration by identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMediaWorkflowConfiguration = oci.MediaServices.getMediaWorkflowConfiguration({
        mediaWorkflowConfigurationId: oci_media_services_media_workflow_configuration.test_media_workflow_configuration.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_media_workflow_configuration = oci.MediaServices.get_media_workflow_configuration(media_workflow_configuration_id=oci_media_services_media_workflow_configuration["test_media_workflow_configuration"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/MediaServices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := MediaServices.GetMediaWorkflowConfiguration(ctx, &mediaservices.GetMediaWorkflowConfigurationArgs{
    			MediaWorkflowConfigurationId: oci_media_services_media_workflow_configuration.Test_media_workflow_configuration.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMediaWorkflowConfiguration = Oci.MediaServices.GetMediaWorkflowConfiguration.Invoke(new()
        {
            MediaWorkflowConfigurationId = oci_media_services_media_workflow_configuration.Test_media_workflow_configuration.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.MediaServices.MediaServicesFunctions;
    import com.pulumi.oci.MediaServices.inputs.GetMediaWorkflowConfigurationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testMediaWorkflowConfiguration = MediaServicesFunctions.getMediaWorkflowConfiguration(GetMediaWorkflowConfigurationArgs.builder()
                .mediaWorkflowConfigurationId(oci_media_services_media_workflow_configuration.test_media_workflow_configuration().id())
                .build());
    
        }
    }
    
    variables:
      testMediaWorkflowConfiguration:
        fn::invoke:
          Function: oci:MediaServices:getMediaWorkflowConfiguration
          Arguments:
            mediaWorkflowConfigurationId: ${oci_media_services_media_workflow_configuration.test_media_workflow_configuration.id}
    

    Using getMediaWorkflowConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMediaWorkflowConfiguration(args: GetMediaWorkflowConfigurationArgs, opts?: InvokeOptions): Promise<GetMediaWorkflowConfigurationResult>
    function getMediaWorkflowConfigurationOutput(args: GetMediaWorkflowConfigurationOutputArgs, opts?: InvokeOptions): Output<GetMediaWorkflowConfigurationResult>
    def get_media_workflow_configuration(media_workflow_configuration_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetMediaWorkflowConfigurationResult
    def get_media_workflow_configuration_output(media_workflow_configuration_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetMediaWorkflowConfigurationResult]
    func GetMediaWorkflowConfiguration(ctx *Context, args *GetMediaWorkflowConfigurationArgs, opts ...InvokeOption) (*GetMediaWorkflowConfigurationResult, error)
    func GetMediaWorkflowConfigurationOutput(ctx *Context, args *GetMediaWorkflowConfigurationOutputArgs, opts ...InvokeOption) GetMediaWorkflowConfigurationResultOutput

    > Note: This function is named GetMediaWorkflowConfiguration in the Go SDK.

    public static class GetMediaWorkflowConfiguration 
    {
        public static Task<GetMediaWorkflowConfigurationResult> InvokeAsync(GetMediaWorkflowConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetMediaWorkflowConfigurationResult> Invoke(GetMediaWorkflowConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMediaWorkflowConfigurationResult> getMediaWorkflowConfiguration(GetMediaWorkflowConfigurationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:MediaServices/getMediaWorkflowConfiguration:getMediaWorkflowConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MediaWorkflowConfigurationId string
    Unique MediaWorkflowConfiguration identifier.
    MediaWorkflowConfigurationId string
    Unique MediaWorkflowConfiguration identifier.
    mediaWorkflowConfigurationId String
    Unique MediaWorkflowConfiguration identifier.
    mediaWorkflowConfigurationId string
    Unique MediaWorkflowConfiguration identifier.
    media_workflow_configuration_id str
    Unique MediaWorkflowConfiguration identifier.
    mediaWorkflowConfigurationId String
    Unique MediaWorkflowConfiguration identifier.

    getMediaWorkflowConfiguration Result

    The following output properties are available:

    CompartmentId string
    The compartment ID of the lock.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Unique identifier that is immutable on creation.
    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<GetMediaWorkflowConfigurationLock>
    Locks associated with this resource.
    MediaWorkflowConfigurationId string
    Parameters string
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    State string
    The current state of the MediaWorkflowConfiguration.
    SystemTags Dictionary<string, object>
    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
    The compartment ID of the lock.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Unique identifier that is immutable on creation.
    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 []GetMediaWorkflowConfigurationLock
    Locks associated with this resource.
    MediaWorkflowConfigurationId string
    Parameters string
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    State string
    The current state of the MediaWorkflowConfiguration.
    SystemTags map[string]interface{}
    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
    The compartment ID of the lock.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Unique identifier that is immutable on creation.
    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<GetMediaWorkflowConfigurationLock>
    Locks associated with this resource.
    mediaWorkflowConfigurationId String
    parameters String
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    state String
    The current state of the MediaWorkflowConfiguration.
    systemTags Map<String,Object>
    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
    The compartment ID of the lock.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    Unique identifier that is immutable on creation.
    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 GetMediaWorkflowConfigurationLock[]
    Locks associated with this resource.
    mediaWorkflowConfigurationId string
    parameters string
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    state string
    The current state of the MediaWorkflowConfiguration.
    systemTags {[key: string]: any}
    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
    The compartment ID of the lock.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    Unique identifier that is immutable on creation.
    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.GetMediaWorkflowConfigurationLock]
    Locks associated with this resource.
    media_workflow_configuration_id str
    parameters str
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    state str
    The current state of the MediaWorkflowConfiguration.
    system_tags 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 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
    The compartment ID of the lock.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Display name for the MediaWorkflowConfiguration. Avoid entering confidential information.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Unique identifier that is immutable on creation.
    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.
    mediaWorkflowConfigurationId String
    parameters String
    Reuseable parameter values encoded as a JSON; the top and second level JSON elements are objects. Each key of the top level object refer 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
    state String
    The current state of the MediaWorkflowConfiguration.
    systemTags Map<Any>
    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

    GetMediaWorkflowConfigurationLock

    CompartmentId string
    The compartment ID of the lock.
    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    Type string
    Type of the lock.
    CompartmentId string
    The compartment ID of the lock.
    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    Type string
    Type of the lock.
    compartmentId String
    The compartment ID of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    type String
    Type of the lock.
    compartmentId string
    The compartment ID of the lock.
    message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated string
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    type string
    Type of the lock.
    compartment_id str
    The compartment ID of the lock.
    message str
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    related_resource_id str
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    time_created str
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    type str
    Type of the lock.
    compartmentId String
    The compartment ID of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string.
    type String
    Type of the lock.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi