1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. getMediaWorkflowJobFact
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.MediaServices.getMediaWorkflowJobFact

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    NOTE: This data source has been deprecated and is no longer supported. This data source provides details about a specific Media Workflow Job Fact resource in Oracle Cloud Infrastructure Media Services service.

    Get the MediaWorkflowJobFact identified by the mediaWorkflowJobId and Fact ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMediaWorkflowJobFact = oci.MediaServices.getMediaWorkflowJobFact({
        key: mediaWorkflowJobFactKey,
        mediaWorkflowJobId: testMediaWorkflowJob.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_media_workflow_job_fact = oci.MediaServices.get_media_workflow_job_fact(key=media_workflow_job_fact_key,
        media_workflow_job_id=test_media_workflow_job["id"])
    
    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.GetMediaWorkflowJobFact(ctx, &mediaservices.GetMediaWorkflowJobFactArgs{
    			Key:                mediaWorkflowJobFactKey,
    			MediaWorkflowJobId: testMediaWorkflowJob.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 testMediaWorkflowJobFact = Oci.MediaServices.GetMediaWorkflowJobFact.Invoke(new()
        {
            Key = mediaWorkflowJobFactKey,
            MediaWorkflowJobId = testMediaWorkflowJob.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.GetMediaWorkflowJobFactArgs;
    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 testMediaWorkflowJobFact = MediaServicesFunctions.getMediaWorkflowJobFact(GetMediaWorkflowJobFactArgs.builder()
                .key(mediaWorkflowJobFactKey)
                .mediaWorkflowJobId(testMediaWorkflowJob.id())
                .build());
    
        }
    }
    
    variables:
      testMediaWorkflowJobFact:
        fn::invoke:
          Function: oci:MediaServices:getMediaWorkflowJobFact
          Arguments:
            key: ${mediaWorkflowJobFactKey}
            mediaWorkflowJobId: ${testMediaWorkflowJob.id}
    

    Using getMediaWorkflowJobFact

    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 getMediaWorkflowJobFact(args: GetMediaWorkflowJobFactArgs, opts?: InvokeOptions): Promise<GetMediaWorkflowJobFactResult>
    function getMediaWorkflowJobFactOutput(args: GetMediaWorkflowJobFactOutputArgs, opts?: InvokeOptions): Output<GetMediaWorkflowJobFactResult>
    def get_media_workflow_job_fact(key: Optional[str] = None,
                                    media_workflow_job_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMediaWorkflowJobFactResult
    def get_media_workflow_job_fact_output(key: Optional[pulumi.Input[str]] = None,
                                    media_workflow_job_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMediaWorkflowJobFactResult]
    func GetMediaWorkflowJobFact(ctx *Context, args *GetMediaWorkflowJobFactArgs, opts ...InvokeOption) (*GetMediaWorkflowJobFactResult, error)
    func GetMediaWorkflowJobFactOutput(ctx *Context, args *GetMediaWorkflowJobFactOutputArgs, opts ...InvokeOption) GetMediaWorkflowJobFactResultOutput

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

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

    The following arguments are supported:

    Key string
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    Key string
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    key String
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    key string
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    mediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    key str
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    media_workflow_job_id str
    Unique MediaWorkflowJob identifier.
    key String
    Identifier of the MediaWorkflowJobFact within a MediaWorkflowJob.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.

    getMediaWorkflowJobFact Result

    The following output properties are available:

    Detail string
    The body of the detail captured as JSON.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    MediaWorkflowJobId string
    Reference to the parent job.
    Name string
    Unique name. It is read-only and generated for the fact.
    Type string
    The type of information contained in this detail.
    Detail string
    The body of the detail captured as JSON.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    MediaWorkflowJobId string
    Reference to the parent job.
    Name string
    Unique name. It is read-only and generated for the fact.
    Type string
    The type of information contained in this detail.
    detail String
    The body of the detail captured as JSON.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    mediaWorkflowJobId String
    Reference to the parent job.
    name String
    Unique name. It is read-only and generated for the fact.
    type String
    The type of information contained in this detail.
    detail string
    The body of the detail captured as JSON.
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    mediaWorkflowJobId string
    Reference to the parent job.
    name string
    Unique name. It is read-only and generated for the fact.
    type string
    The type of information contained in this detail.
    detail str
    The body of the detail captured as JSON.
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    media_workflow_job_id str
    Reference to the parent job.
    name str
    Unique name. It is read-only and generated for the fact.
    type str
    The type of information contained in this detail.
    detail String
    The body of the detail captured as JSON.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    mediaWorkflowJobId String
    Reference to the parent job.
    name String
    Unique name. It is read-only and generated for the fact.
    type String
    The type of information contained in this detail.

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi