Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.MediaServices.getMediaWorkflowJobFacts
Explore with Pulumi AI
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:
- Media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- Filters
List<Get
Media Workflow Job Facts Filter> - Key string
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- Type string
- Types of details to include.
- Media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- Filters
[]Get
Media Workflow Job Facts Filter - Key string
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- Type string
- Types of details to include.
- media
Workflow StringJob Id - Unique MediaWorkflowJob identifier.
- filters
List<Get
Media Workflow Job Facts Filter> - key String
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- type String
- Types of details to include.
- media
Workflow stringJob Id - Unique MediaWorkflowJob identifier.
- filters
Get
Media Workflow Job Facts Filter[] - key string
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- type string
- Types of details to include.
- media_
workflow_ strjob_ id - Unique MediaWorkflowJob identifier.
- filters
Sequence[mediaservices.
Get Media Workflow Job Facts Filter] - key str
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- type str
- Types of details to include.
- media
Workflow StringJob Id - 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.
- Media
Workflow List<GetJob Fact Collections Media Workflow Job Facts Media Workflow Job Fact Collection> - The list of media_workflow_job_fact_collection.
- Media
Workflow stringJob Id - Reference to the parent job.
- Filters
List<Get
Media Workflow Job Facts Filter> - 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.
- Media
Workflow []GetJob Fact Collections Media Workflow Job Facts Media Workflow Job Fact Collection - The list of media_workflow_job_fact_collection.
- Media
Workflow stringJob Id - Reference to the parent job.
- Filters
[]Get
Media Workflow Job Facts Filter - 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.
- media
Workflow List<GetJob Fact Collections Media Workflow Job Facts Media Workflow Job Fact Collection> - The list of media_workflow_job_fact_collection.
- media
Workflow StringJob Id - Reference to the parent job.
- filters
List<Get
Media Workflow Job Facts Filter> - 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.
- media
Workflow GetJob Fact Collections Media Workflow Job Facts Media Workflow Job Fact Collection[] - The list of media_workflow_job_fact_collection.
- media
Workflow stringJob Id - Reference to the parent job.
- filters
Get
Media Workflow Job Facts Filter[] - 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_ Sequence[mediaservices.job_ fact_ collections Get Media Workflow Job Facts Media Workflow Job Fact Collection] - The list of media_workflow_job_fact_collection.
- media_
workflow_ strjob_ id - Reference to the parent job.
- filters
Sequence[mediaservices.
Get Media Workflow Job Facts Filter] - 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.
- media
Workflow List<Property Map>Job Fact Collections - The list of media_workflow_job_fact_collection.
- media
Workflow StringJob Id - 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
GetMediaWorkflowJobFactsMediaWorkflowJobFactCollection
GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionItem
- Detail string
- The body of the detail captured as JSON.
- Key string
- Filter by MediaWorkflowJob ID and MediaWorkflowJobFact key.
- Media
Workflow stringJob Id - 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.
- Media
Workflow stringJob Id - 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.
- media
Workflow StringJob Id - 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.
- media
Workflow stringJob Id - 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_ strjob_ id - 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.
- media
Workflow StringJob Id - 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.