import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Media Assets in Oracle Cloud Infrastructure Media Services service. * * Returns a list of MediaAssetSummary. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMediaAssets = oci.mediaservices.getMediaAssets({ * bucket: mediaAssetBucket, * compartmentId: compartmentId, * displayName: mediaAssetDisplayName, * distributionChannelId: testChannel.id, * masterMediaAssetId: testMediaAsset.id, * mediaWorkflowJobId: testMediaWorkflowJob.id, * object: mediaAssetObject, * parentMediaAssetId: testMediaAsset.id, * sourceMediaWorkflowId: testMediaWorkflow.id, * sourceMediaWorkflowVersion: mediaAssetSourceMediaWorkflowVersion, * state: mediaAssetState, * type: mediaAssetType, * }); * ``` */ export declare function getMediaAssets(args?: GetMediaAssetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMediaAssets. */ export interface GetMediaAssetsArgs { /** * Filter MediaAsset by the bucket where the object is stored. */ bucket?: string; /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only the resources that match the entire display name given. */ displayName?: string; /** * Unique DistributionChannel identifier. */ distributionChannelId?: string; filters?: inputs.MediaServices.GetMediaAssetsFilter[]; /** * Unique MediaAsset identifier of the first asset upload. */ masterMediaAssetId?: string; /** * The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied. */ mediaWorkflowJobId?: string; /** * Filter MediaAsset by the name of the object in object storage. */ object?: string; /** * Unique MediaAsset identifier of the asset from which this asset is derived. */ parentMediaAssetId?: string; /** * The ID of the MediaWorkflow used to produce this asset. */ sourceMediaWorkflowId?: string; /** * The version of the MediaWorkflow used to produce this asset. */ sourceMediaWorkflowVersion?: string; /** * A filter to return only the resources with lifecycleState matching the given lifecycleState. */ state?: string; /** * Filter MediaAsset by the asset type. */ type?: string; } /** * A collection of values returned by getMediaAssets. */ export interface GetMediaAssetsResult { /** * The name of the object storage bucket where this represented asset is located. */ readonly bucket?: string; /** * The compartment ID of the lock. */ readonly compartmentId?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly distributionChannelId?: string; readonly filters?: outputs.MediaServices.GetMediaAssetsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the senior most asset from which this asset is derived. */ readonly masterMediaAssetId?: string; /** * The list of media_asset_collection. */ readonly mediaAssetCollections: outputs.MediaServices.GetMediaAssetsMediaAssetCollection[]; /** * The ID of the MediaWorkflowJob used to produce this asset. */ readonly mediaWorkflowJobId?: string; /** * The object storage object name that identifies this asset. */ readonly object?: string; /** * The ID of the parent asset from which this asset is derived. */ readonly parentMediaAssetId?: string; /** * The ID of the MediaWorkflow used to produce this asset. */ readonly sourceMediaWorkflowId?: string; /** * The version of the MediaWorkflow used to produce this asset. */ readonly sourceMediaWorkflowVersion?: string; /** * The current state of the MediaAsset. */ readonly state?: string; /** * The type of the media asset. */ readonly type?: string; } /** * This data source provides the list of Media Assets in Oracle Cloud Infrastructure Media Services service. * * Returns a list of MediaAssetSummary. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMediaAssets = oci.mediaservices.getMediaAssets({ * bucket: mediaAssetBucket, * compartmentId: compartmentId, * displayName: mediaAssetDisplayName, * distributionChannelId: testChannel.id, * masterMediaAssetId: testMediaAsset.id, * mediaWorkflowJobId: testMediaWorkflowJob.id, * object: mediaAssetObject, * parentMediaAssetId: testMediaAsset.id, * sourceMediaWorkflowId: testMediaWorkflow.id, * sourceMediaWorkflowVersion: mediaAssetSourceMediaWorkflowVersion, * state: mediaAssetState, * type: mediaAssetType, * }); * ``` */ export declare function getMediaAssetsOutput(args?: GetMediaAssetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMediaAssets. */ export interface GetMediaAssetsOutputArgs { /** * Filter MediaAsset by the bucket where the object is stored. */ bucket?: pulumi.Input; /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only the resources that match the entire display name given. */ displayName?: pulumi.Input; /** * Unique DistributionChannel identifier. */ distributionChannelId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique MediaAsset identifier of the first asset upload. */ masterMediaAssetId?: pulumi.Input; /** * The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied. */ mediaWorkflowJobId?: pulumi.Input; /** * Filter MediaAsset by the name of the object in object storage. */ object?: pulumi.Input; /** * Unique MediaAsset identifier of the asset from which this asset is derived. */ parentMediaAssetId?: pulumi.Input; /** * The ID of the MediaWorkflow used to produce this asset. */ sourceMediaWorkflowId?: pulumi.Input; /** * The version of the MediaWorkflow used to produce this asset. */ sourceMediaWorkflowVersion?: pulumi.Input; /** * A filter to return only the resources with lifecycleState matching the given lifecycleState. */ state?: pulumi.Input; /** * Filter MediaAsset by the asset type. */ type?: pulumi.Input; } //# sourceMappingURL=getMediaAssets.d.ts.map