import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Media Workflow Task Declaration resource in Oracle Cloud Infrastructure Media Services service. * * Returns a list of MediaWorkflowTaskDeclarations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMediaWorkflowTaskDeclaration = oci.mediaservices.getMediaWorkflowTaskDeclaration({ * compartmentId: compartmentId, * isCurrent: mediaWorkflowTaskDeclarationIsCurrent === "true", * name: mediaWorkflowTaskDeclarationName, * version: Number(mediaWorkflowTaskDeclarationVersion), * }); * ``` */ export declare function getMediaWorkflowTaskDeclaration(args?: GetMediaWorkflowTaskDeclarationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMediaWorkflowTaskDeclaration. */ export interface GetMediaWorkflowTaskDeclarationArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to only select the newest version for each MediaWorkflowTaskDeclaration name. */ isCurrent?: boolean; /** * A filter to return only the resources with their system defined, unique name matching the given name. */ name?: string; /** * A filter to select MediaWorkflowTaskDeclaration by version. */ version?: number; } /** * A collection of values returned by getMediaWorkflowTaskDeclaration. */ export interface GetMediaWorkflowTaskDeclarationResult { readonly compartmentId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCurrent?: boolean; /** * List of MediaWorkflowTaskDeclaration objects. */ readonly items: outputs.MediaServices.GetMediaWorkflowTaskDeclarationItem[]; /** * MediaWorkflowTaskDeclaration identifier. The name and version should be unique among MediaWorkflowTaskDeclarations. */ readonly name?: string; /** * The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor modifies the JSON schema of this declaration's definitions, parameters or list of required parameters. */ readonly version?: number; } /** * This data source provides details about a specific Media Workflow Task Declaration resource in Oracle Cloud Infrastructure Media Services service. * * Returns a list of MediaWorkflowTaskDeclarations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMediaWorkflowTaskDeclaration = oci.mediaservices.getMediaWorkflowTaskDeclaration({ * compartmentId: compartmentId, * isCurrent: mediaWorkflowTaskDeclarationIsCurrent === "true", * name: mediaWorkflowTaskDeclarationName, * version: Number(mediaWorkflowTaskDeclarationVersion), * }); * ``` */ export declare function getMediaWorkflowTaskDeclarationOutput(args?: GetMediaWorkflowTaskDeclarationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMediaWorkflowTaskDeclaration. */ export interface GetMediaWorkflowTaskDeclarationOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to only select the newest version for each MediaWorkflowTaskDeclaration name. */ isCurrent?: pulumi.Input; /** * A filter to return only the resources with their system defined, unique name matching the given name. */ name?: pulumi.Input; /** * A filter to select MediaWorkflowTaskDeclaration by version. */ version?: pulumi.Input; } //# sourceMappingURL=getMediaWorkflowTaskDeclaration.d.ts.map