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

oci.MediaServices.getMediaWorkflowJobFacts

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 the list of Media Workflow Job Facts in Oracle Cloud Infrastructure Media Services service.

    Internal API to get a point-in-time snapshot of a MediaWorkflowJob.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMediaWorkflowJobFacts = oci.MediaServices.getMediaWorkflowJobFacts({
        mediaWorkflowJobId: testMediaWorkflowJob.id,
        key: mediaWorkflowJobFactKey,
        type: mediaWorkflowJobFactType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_media_workflow_job_facts = oci.MediaServices.get_media_workflow_job_facts(media_workflow_job_id=test_media_workflow_job["id"],
        key=media_workflow_job_fact_key,
        type=media_workflow_job_fact_type)
    
    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.GetMediaWorkflowJobFacts(ctx, &mediaservices.GetMediaWorkflowJobFactsArgs{
    			MediaWorkflowJobId: testMediaWorkflowJob.Id,
    			Key:                pulumi.StringRef(mediaWorkflowJobFactKey),
    			Type:               pulumi.StringRef(mediaWorkflowJobFactType),
    		}, 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 testMediaWorkflowJobFacts = Oci.MediaServices.GetMediaWorkflowJobFacts.Invoke(new()
        {
            MediaWorkflowJobId = testMediaWorkflowJob.Id,
            Key = mediaWorkflowJobFactKey,
            Type = mediaWorkflowJobFactType,
        });
    
    });
    
    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.GetMediaWorkflowJobFactsArgs;
    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 testMediaWorkflowJobFacts = MediaServicesFunctions.getMediaWorkflowJobFacts(GetMediaWorkflowJobFactsArgs.builder()
                .mediaWorkflowJobId(testMediaWorkflowJob.id())
                .key(mediaWorkflowJobFactKey)
                .type(mediaWorkflowJobFactType)
                .build());
    
        }
    }
    
    variables:
      testMediaWorkflowJobFacts:
        fn::invoke:
          Function: oci:MediaServices:getMediaWorkflowJobFacts
          Arguments:
            mediaWorkflowJobId: ${testMediaWorkflowJob.id}
            key: ${mediaWorkflowJobFactKey}
            type: ${mediaWorkflowJobFactType}
    

    Using getMediaWorkflowJobFacts

    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 getMediaWorkflowJobFacts(args: GetMediaWorkflowJobFactsArgs, opts?: InvokeOptions): Promise<GetMediaWorkflowJobFactsResult>
    function getMediaWorkflowJobFactsOutput(args: GetMediaWorkflowJobFactsOutputArgs, opts?: InvokeOptions): Output<GetMediaWorkflowJobFactsResult>
    def get_media_workflow_job_facts(filters: Optional[Sequence[_mediaservices.GetMediaWorkflowJobFactsFilter]] = None,
                                     key: Optional[str] = None,
                                     media_workflow_job_id: Optional[str] = None,
                                     type: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetMediaWorkflowJobFactsResult
    def get_media_workflow_job_facts_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_mediaservices.GetMediaWorkflowJobFactsFilterArgs]]]] = None,
                                     key: Optional[pulumi.Input[str]] = None,
                                     media_workflow_job_id: Optional[pulumi.Input[str]] = None,
                                     type: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetMediaWorkflowJobFactsResult]
    func GetMediaWorkflowJobFacts(ctx *Context, args *GetMediaWorkflowJobFactsArgs, opts ...InvokeOption) (*GetMediaWorkflowJobFactsResult, error)
    func GetMediaWorkflowJobFactsOutput(ctx *Context, args *GetMediaWorkflowJobFactsOutputArgs, opts ...InvokeOption) GetMediaWorkflowJobFactsResultOutput

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

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

    The following arguments are supported:

    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    Filters List<GetMediaWorkflowJobFactsFilter>
    Key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    Type string
    Types of details to include.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    Filters []GetMediaWorkflowJobFactsFilter
    Key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    Type string
    Types of details to include.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    filters List<GetMediaWorkflowJobFactsFilter>
    key String
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    type String
    Types of details to include.
    mediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    filters GetMediaWorkflowJobFactsFilter[]
    key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    type string
    Types of details to include.
    media_workflow_job_id str
    Unique MediaWorkflowJob identifier.
    filters Sequence[mediaservices.GetMediaWorkflowJobFactsFilter]
    key str
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    type str
    Types of details to include.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    filters List<Property Map>
    key String
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    type String
    Types of details to include.

    getMediaWorkflowJobFacts Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    MediaWorkflowJobFactCollections List<GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection>
    The list of media_workflow_job_fact_collection.
    MediaWorkflowJobId string
    Reference to the parent job.
    Filters List<GetMediaWorkflowJobFactsFilter>
    Key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    Type string
    The type of information contained in this detail.
    Id string
    The provider-assigned unique ID for this managed resource.
    MediaWorkflowJobFactCollections []GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection
    The list of media_workflow_job_fact_collection.
    MediaWorkflowJobId string
    Reference to the parent job.
    Filters []GetMediaWorkflowJobFactsFilter
    Key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    Type string
    The type of information contained in this detail.
    id String
    The provider-assigned unique ID for this managed resource.
    mediaWorkflowJobFactCollections List<GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection>
    The list of media_workflow_job_fact_collection.
    mediaWorkflowJobId String
    Reference to the parent job.
    filters List<GetMediaWorkflowJobFactsFilter>
    key String
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    type String
    The type of information contained in this detail.
    id string
    The provider-assigned unique ID for this managed resource.
    mediaWorkflowJobFactCollections GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection[]
    The list of media_workflow_job_fact_collection.
    mediaWorkflowJobId string
    Reference to the parent job.
    filters GetMediaWorkflowJobFactsFilter[]
    key string
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    type string
    The type of information contained in this detail.
    id str
    The provider-assigned unique ID for this managed resource.
    media_workflow_job_fact_collections Sequence[mediaservices.GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection]
    The list of media_workflow_job_fact_collection.
    media_workflow_job_id str
    Reference to the parent job.
    filters Sequence[mediaservices.GetMediaWorkflowJobFactsFilter]
    key str
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    type str
    The type of information contained in this detail.
    id String
    The provider-assigned unique ID for this managed resource.
    mediaWorkflowJobFactCollections List<Property Map>
    The list of media_workflow_job_fact_collection.
    mediaWorkflowJobId String
    Reference to the parent job.
    filters List<Property Map>
    key String
    System generated serial number to uniquely identify a detail in order within a MediaWorkflowJob.
    type String
    The type of information contained in this detail.

    Supporting Types

    GetMediaWorkflowJobFactsFilter

    Name string
    Unique name. It is read-only and generated for the fact.
    Values List<string>
    Regex bool
    Name string
    Unique name. It is read-only and generated for the fact.
    Values []string
    Regex bool
    name String
    Unique name. It is read-only and generated for the fact.
    values List<String>
    regex Boolean
    name string
    Unique name. It is read-only and generated for the fact.
    values string[]
    regex boolean
    name str
    Unique name. It is read-only and generated for the fact.
    values Sequence[str]
    regex bool
    name String
    Unique name. It is read-only and generated for the fact.
    values List<String>
    regex Boolean

    GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection

    GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionItem

    Detail string
    The body of the detail captured as JSON.
    Key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    Name string
    Unique name. It is read-only and generated for the fact.
    Type string
    Types of details to include.
    Detail string
    The body of the detail captured as JSON.
    Key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    MediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    Name string
    Unique name. It is read-only and generated for the fact.
    Type string
    Types of details to include.
    detail String
    The body of the detail captured as JSON.
    key String
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    name String
    Unique name. It is read-only and generated for the fact.
    type String
    Types of details to include.
    detail string
    The body of the detail captured as JSON.
    key string
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    mediaWorkflowJobId string
    Unique MediaWorkflowJob identifier.
    name string
    Unique name. It is read-only and generated for the fact.
    type string
    Types of details to include.
    detail str
    The body of the detail captured as JSON.
    key str
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    media_workflow_job_id str
    Unique MediaWorkflowJob identifier.
    name str
    Unique name. It is read-only and generated for the fact.
    type str
    Types of details to include.
    detail String
    The body of the detail captured as JSON.
    key String
    Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
    mediaWorkflowJobId String
    Unique MediaWorkflowJob identifier.
    name String
    Unique name. It is read-only and generated for the fact.
    type String
    Types of details to include.

    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