Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.MediaServices.getMediaAssets
Explore with Pulumi AI
This data source provides the list of Media Assets in Oracle Cloud Infrastructure Media Services service.
Returns a list of MediaAssetSummary.
Example Usage
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,
});
import pulumi
import pulumi_oci as oci
test_media_assets = oci.MediaServices.get_media_assets(bucket=media_asset_bucket,
    compartment_id=compartment_id,
    display_name=media_asset_display_name,
    distribution_channel_id=test_channel["id"],
    master_media_asset_id=test_media_asset["id"],
    media_workflow_job_id=test_media_workflow_job["id"],
    object=media_asset_object,
    parent_media_asset_id=test_media_asset["id"],
    source_media_workflow_id=test_media_workflow["id"],
    source_media_workflow_version=media_asset_source_media_workflow_version,
    state=media_asset_state,
    type=media_asset_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.GetMediaAssets(ctx, &mediaservices.GetMediaAssetsArgs{
			Bucket:                     pulumi.StringRef(mediaAssetBucket),
			CompartmentId:              pulumi.StringRef(compartmentId),
			DisplayName:                pulumi.StringRef(mediaAssetDisplayName),
			DistributionChannelId:      pulumi.StringRef(testChannel.Id),
			MasterMediaAssetId:         pulumi.StringRef(testMediaAsset.Id),
			MediaWorkflowJobId:         pulumi.StringRef(testMediaWorkflowJob.Id),
			Object:                     pulumi.StringRef(mediaAssetObject),
			ParentMediaAssetId:         pulumi.StringRef(testMediaAsset.Id),
			SourceMediaWorkflowId:      pulumi.StringRef(testMediaWorkflow.Id),
			SourceMediaWorkflowVersion: pulumi.StringRef(mediaAssetSourceMediaWorkflowVersion),
			State:                      pulumi.StringRef(mediaAssetState),
			Type:                       pulumi.StringRef(mediaAssetType),
		}, 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 testMediaAssets = Oci.MediaServices.GetMediaAssets.Invoke(new()
    {
        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,
    });
});
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.GetMediaAssetsArgs;
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 testMediaAssets = MediaServicesFunctions.getMediaAssets(GetMediaAssetsArgs.builder()
            .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)
            .build());
    }
}
variables:
  testMediaAssets:
    fn::invoke:
      function: oci:MediaServices:getMediaAssets
      arguments:
        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}
Using getMediaAssets
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 getMediaAssets(args: GetMediaAssetsArgs, opts?: InvokeOptions): Promise<GetMediaAssetsResult>
function getMediaAssetsOutput(args: GetMediaAssetsOutputArgs, opts?: InvokeOptions): Output<GetMediaAssetsResult>def get_media_assets(bucket: Optional[str] = None,
                     compartment_id: Optional[str] = None,
                     display_name: Optional[str] = None,
                     distribution_channel_id: Optional[str] = None,
                     filters: Optional[Sequence[GetMediaAssetsFilter]] = None,
                     master_media_asset_id: Optional[str] = None,
                     media_workflow_job_id: Optional[str] = None,
                     object: Optional[str] = None,
                     parent_media_asset_id: Optional[str] = None,
                     source_media_workflow_id: Optional[str] = None,
                     source_media_workflow_version: Optional[str] = None,
                     state: Optional[str] = None,
                     type: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetMediaAssetsResult
def get_media_assets_output(bucket: Optional[pulumi.Input[str]] = None,
                     compartment_id: Optional[pulumi.Input[str]] = None,
                     display_name: Optional[pulumi.Input[str]] = None,
                     distribution_channel_id: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMediaAssetsFilterArgs]]]] = None,
                     master_media_asset_id: Optional[pulumi.Input[str]] = None,
                     media_workflow_job_id: Optional[pulumi.Input[str]] = None,
                     object: Optional[pulumi.Input[str]] = None,
                     parent_media_asset_id: Optional[pulumi.Input[str]] = None,
                     source_media_workflow_id: Optional[pulumi.Input[str]] = None,
                     source_media_workflow_version: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     type: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetMediaAssetsResult]func GetMediaAssets(ctx *Context, args *GetMediaAssetsArgs, opts ...InvokeOption) (*GetMediaAssetsResult, error)
func GetMediaAssetsOutput(ctx *Context, args *GetMediaAssetsOutputArgs, opts ...InvokeOption) GetMediaAssetsResultOutput> Note: This function is named GetMediaAssets in the Go SDK.
public static class GetMediaAssets 
{
    public static Task<GetMediaAssetsResult> InvokeAsync(GetMediaAssetsArgs args, InvokeOptions? opts = null)
    public static Output<GetMediaAssetsResult> Invoke(GetMediaAssetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMediaAssetsResult> getMediaAssets(GetMediaAssetsArgs args, InvokeOptions options)
public static Output<GetMediaAssetsResult> getMediaAssets(GetMediaAssetsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:MediaServices/getMediaAssets:getMediaAssets
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Bucket string
- Filter MediaAsset by the bucket where the object is stored.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only the resources that match the entire display name given.
- DistributionChannel stringId 
- Unique DistributionChannel identifier.
- Filters
List<GetMedia Assets Filter> 
- MasterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- Object string
- Filter MediaAsset by the name of the object in object storage.
- ParentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Type string
- Filter MediaAsset by the asset type.
- Bucket string
- Filter MediaAsset by the bucket where the object is stored.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only the resources that match the entire display name given.
- DistributionChannel stringId 
- Unique DistributionChannel identifier.
- Filters
[]GetMedia Assets Filter 
- MasterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- Object string
- Filter MediaAsset by the name of the object in object storage.
- ParentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Type string
- Filter MediaAsset by the asset type.
- bucket String
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only the resources that match the entire display name given.
- distributionChannel StringId 
- Unique DistributionChannel identifier.
- filters
List<GetMedia Assets Filter> 
- masterMedia StringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- object String
- Filter MediaAsset by the name of the object in object storage.
- parentMedia StringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- type String
- Filter MediaAsset by the asset type.
- bucket string
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId string
- The ID of the compartment in which to list resources.
- displayName string
- A filter to return only the resources that match the entire display name given.
- distributionChannel stringId 
- Unique DistributionChannel identifier.
- filters
GetMedia Assets Filter[] 
- masterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- mediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- object string
- Filter MediaAsset by the name of the object in object storage.
- parentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- sourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- type string
- Filter MediaAsset by the asset type.
- bucket str
- Filter MediaAsset by the bucket where the object is stored.
- compartment_id str
- The ID of the compartment in which to list resources.
- display_name str
- A filter to return only the resources that match the entire display name given.
- distribution_channel_ strid 
- Unique DistributionChannel identifier.
- filters
Sequence[GetMedia Assets Filter] 
- master_media_ strasset_ id 
- Unique MediaAsset identifier of the first asset upload.
- media_workflow_ strjob_ id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- object str
- Filter MediaAsset by the name of the object in object storage.
- parent_media_ strasset_ id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- source_media_ strworkflow_ id 
- The ID of the MediaWorkflow used to produce this asset.
- source_media_ strworkflow_ version 
- The version of the MediaWorkflow used to produce this asset.
- state str
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- type str
- Filter MediaAsset by the asset type.
- bucket String
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only the resources that match the entire display name given.
- distributionChannel StringId 
- Unique DistributionChannel identifier.
- filters List<Property Map>
- masterMedia StringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- object String
- Filter MediaAsset by the name of the object in object storage.
- parentMedia StringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- type String
- Filter MediaAsset by the asset type.
getMediaAssets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- MediaAsset List<GetCollections Media Assets Media Asset Collection> 
- The list of media_asset_collection.
- Bucket string
- The name of the object storage bucket where this represented asset is located.
- CompartmentId string
- The compartment ID of the lock.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- DistributionChannel stringId 
- Filters
List<GetMedia Assets Filter> 
- MasterMedia stringAsset Id 
- The ID of the senior most asset from which this asset is derived.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset.
- Object string
- The object storage object name that identifies this asset.
- ParentMedia stringAsset Id 
- The ID of the parent asset from which this asset is derived.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- The current state of the MediaAsset.
- Type string
- The type of the media asset.
- Id string
- The provider-assigned unique ID for this managed resource.
- MediaAsset []GetCollections Media Assets Media Asset Collection 
- The list of media_asset_collection.
- Bucket string
- The name of the object storage bucket where this represented asset is located.
- CompartmentId string
- The compartment ID of the lock.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- DistributionChannel stringId 
- Filters
[]GetMedia Assets Filter 
- MasterMedia stringAsset Id 
- The ID of the senior most asset from which this asset is derived.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset.
- Object string
- The object storage object name that identifies this asset.
- ParentMedia stringAsset Id 
- The ID of the parent asset from which this asset is derived.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- The current state of the MediaAsset.
- Type string
- The type of the media asset.
- id String
- The provider-assigned unique ID for this managed resource.
- mediaAsset List<GetCollections Media Assets Media Asset Collection> 
- The list of media_asset_collection.
- bucket String
- The name of the object storage bucket where this represented asset is located.
- compartmentId String
- The compartment ID of the lock.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distributionChannel StringId 
- filters
List<GetMedia Assets Filter> 
- masterMedia StringAsset Id 
- The ID of the senior most asset from which this asset is derived.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset.
- object String
- The object storage object name that identifies this asset.
- parentMedia StringAsset Id 
- The ID of the parent asset from which this asset is derived.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- The current state of the MediaAsset.
- type String
- The type of the media asset.
- id string
- The provider-assigned unique ID for this managed resource.
- mediaAsset GetCollections Media Assets Media Asset Collection[] 
- The list of media_asset_collection.
- bucket string
- The name of the object storage bucket where this represented asset is located.
- compartmentId string
- The compartment ID of the lock.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distributionChannel stringId 
- filters
GetMedia Assets Filter[] 
- masterMedia stringAsset Id 
- The ID of the senior most asset from which this asset is derived.
- mediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset.
- object string
- The object storage object name that identifies this asset.
- parentMedia stringAsset Id 
- The ID of the parent asset from which this asset is derived.
- sourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state string
- The current state of the MediaAsset.
- type string
- The type of the media asset.
- id str
- The provider-assigned unique ID for this managed resource.
- media_asset_ Sequence[Getcollections Media Assets Media Asset Collection] 
- The list of media_asset_collection.
- bucket str
- The name of the object storage bucket where this represented asset is located.
- compartment_id str
- The compartment ID of the lock.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distribution_channel_ strid 
- filters
Sequence[GetMedia Assets Filter] 
- master_media_ strasset_ id 
- The ID of the senior most asset from which this asset is derived.
- media_workflow_ strjob_ id 
- The ID of the MediaWorkflowJob used to produce this asset.
- object str
- The object storage object name that identifies this asset.
- parent_media_ strasset_ id 
- The ID of the parent asset from which this asset is derived.
- source_media_ strworkflow_ id 
- The ID of the MediaWorkflow used to produce this asset.
- source_media_ strworkflow_ version 
- The version of the MediaWorkflow used to produce this asset.
- state str
- The current state of the MediaAsset.
- type str
- The type of the media asset.
- id String
- The provider-assigned unique ID for this managed resource.
- mediaAsset List<Property Map>Collections 
- The list of media_asset_collection.
- bucket String
- The name of the object storage bucket where this represented asset is located.
- compartmentId String
- The compartment ID of the lock.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- distributionChannel StringId 
- filters List<Property Map>
- masterMedia StringAsset Id 
- The ID of the senior most asset from which this asset is derived.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset.
- object String
- The object storage object name that identifies this asset.
- parentMedia StringAsset Id 
- The ID of the parent asset from which this asset is derived.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- The current state of the MediaAsset.
- type String
- The type of the media asset.
Supporting Types
GetMediaAssetsFilter   
GetMediaAssetsMediaAssetCollection     
GetMediaAssetsMediaAssetCollectionItem      
- Bucket string
- Filter MediaAsset by the bucket where the object is stored.
- CompartmentId string
- The ID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only the resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- IsLock boolOverride 
- Locks
List<GetMedia Assets Media Asset Collection Item Lock> 
- Locks associated with this resource.
- MasterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- 
List<GetMedia Assets Media Asset Collection Item Media Asset Tag> 
- List of tags for the MediaAsset.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- Metadatas
List<GetMedia Assets Media Asset Collection Item Metadata> 
- JSON string containing the technial metadata for the media asset.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- Filter MediaAsset by the name of the object in object storage.
- ObjectEtag string
- eTag of the underlying object storage object.
- ParentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- SegmentRange stringEnd Index 
- The end index of video segment files.
- SegmentRange stringStart Index 
- The start index for video segment files.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- Type string
- Filter MediaAsset by the asset type.
- Bucket string
- Filter MediaAsset by the bucket where the object is stored.
- CompartmentId string
- The ID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only the resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- IsLock boolOverride 
- Locks
[]GetMedia Assets Media Asset Collection Item Lock 
- Locks associated with this resource.
- MasterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- 
[]GetMedia Assets Media Asset Collection Item Media Asset Tag 
- List of tags for the MediaAsset.
- MediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- Metadatas
[]GetMedia Assets Media Asset Collection Item Metadata 
- JSON string containing the technial metadata for the media asset.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- Filter MediaAsset by the name of the object in object storage.
- ObjectEtag string
- eTag of the underlying object storage object.
- ParentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- SegmentRange stringEnd Index 
- The end index of video segment files.
- SegmentRange stringStart Index 
- The start index for video segment files.
- SourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- SourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- State string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- Type string
- Filter MediaAsset by the asset type.
- bucket String
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId String
- The ID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only the resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- isLock BooleanOverride 
- locks
List<GetMedia Assets Media Asset Collection Item Lock> 
- Locks associated with this resource.
- masterMedia StringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- 
List<GetMedia Assets Media Asset Collection Item Media Asset Tag> 
- List of tags for the MediaAsset.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- metadatas
List<GetMedia Assets Media Asset Collection Item Metadata> 
- JSON string containing the technial metadata for the media asset.
- namespace String
- The object storage namespace where this asset is located.
- object String
- Filter MediaAsset by the name of the object in object storage.
- objectEtag String
- eTag of the underlying object storage object.
- parentMedia StringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- segmentRange StringEnd Index 
- The end index of video segment files.
- segmentRange StringStart Index 
- The start index for video segment files.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type String
- Filter MediaAsset by the asset type.
- bucket string
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId string
- The ID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- A filter to return only the resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id string
- Unique identifier that is immutable on creation.
- isLock booleanOverride 
- locks
GetMedia Assets Media Asset Collection Item Lock[] 
- Locks associated with this resource.
- masterMedia stringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- 
GetMedia Assets Media Asset Collection Item Media Asset Tag[] 
- List of tags for the MediaAsset.
- mediaWorkflow stringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- metadatas
GetMedia Assets Media Asset Collection Item Metadata[] 
- JSON string containing the technial metadata for the media asset.
- namespace string
- The object storage namespace where this asset is located.
- object string
- Filter MediaAsset by the name of the object in object storage.
- objectEtag string
- eTag of the underlying object storage object.
- parentMedia stringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- segmentRange stringEnd Index 
- The end index of video segment files.
- segmentRange stringStart Index 
- The start index for video segment files.
- sourceMedia stringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia stringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state string
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type string
- Filter MediaAsset by the asset type.
- bucket str
- Filter MediaAsset by the bucket where the object is stored.
- compartment_id str
- The ID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- A filter to return only the resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id str
- Unique identifier that is immutable on creation.
- is_lock_ booloverride 
- locks
Sequence[GetMedia Assets Media Asset Collection Item Lock] 
- Locks associated with this resource.
- master_media_ strasset_ id 
- Unique MediaAsset identifier of the first asset upload.
- 
Sequence[GetMedia Assets Media Asset Collection Item Media Asset Tag] 
- List of tags for the MediaAsset.
- media_workflow_ strjob_ id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- metadatas
Sequence[GetMedia Assets Media Asset Collection Item Metadata] 
- JSON string containing the technial metadata for the media asset.
- namespace str
- The object storage namespace where this asset is located.
- object str
- Filter MediaAsset by the name of the object in object storage.
- object_etag str
- eTag of the underlying object storage object.
- parent_media_ strasset_ id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- segment_range_ strend_ index 
- The end index of video segment files.
- segment_range_ strstart_ index 
- The start index for video segment files.
- source_media_ strworkflow_ id 
- The ID of the MediaWorkflow used to produce this asset.
- source_media_ strworkflow_ version 
- The version of the MediaWorkflow used to produce this asset.
- state str
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type str
- Filter MediaAsset by the asset type.
- bucket String
- Filter MediaAsset by the bucket where the object is stored.
- compartmentId String
- The ID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only the resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- isLock BooleanOverride 
- locks List<Property Map>
- Locks associated with this resource.
- masterMedia StringAsset Id 
- Unique MediaAsset identifier of the first asset upload.
- List<Property Map>
- List of tags for the MediaAsset.
- mediaWorkflow StringJob Id 
- The ID of the MediaWorkflowJob used to produce this asset, if this parameter is supplied then the workflow ID must also be supplied.
- metadatas List<Property Map>
- JSON string containing the technial metadata for the media asset.
- namespace String
- The object storage namespace where this asset is located.
- object String
- Filter MediaAsset by the name of the object in object storage.
- objectEtag String
- eTag of the underlying object storage object.
- parentMedia StringAsset Id 
- Unique MediaAsset identifier of the asset from which this asset is derived.
- segmentRange StringEnd Index 
- The end index of video segment files.
- segmentRange StringStart Index 
- The start index for video segment files.
- sourceMedia StringWorkflow Id 
- The ID of the MediaWorkflow used to produce this asset.
- sourceMedia StringWorkflow Version 
- The version of the MediaWorkflow used to produce this asset.
- state String
- A filter to return only the resources with lifecycleState matching the given lifecycleState.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type String
- Filter MediaAsset by the asset type.
GetMediaAssetsMediaAssetCollectionItemLock       
- CompartmentId string
- The ID of the compartment in which to list resources.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Type string
- Filter MediaAsset by the asset type.
- CompartmentId string
- The ID of the compartment in which to list resources.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- TimeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Type string
- Filter MediaAsset by the asset type.
- compartmentId String
- The ID of the compartment in which to list resources.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- type String
- Filter MediaAsset by the asset type.
- compartmentId string
- The ID of the compartment in which to list resources.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated string
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- type string
- Filter MediaAsset by the asset type.
- compartment_id str
- The ID of the compartment in which to list resources.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_created str
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- type str
- Filter MediaAsset by the asset type.
- compartmentId String
- The ID of the compartment in which to list resources.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- timeCreated String
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- type String
- Filter MediaAsset by the asset type.
GetMediaAssetsMediaAssetCollectionItemMediaAssetTag         
GetMediaAssetsMediaAssetCollectionItemMetadata       
- Metadata string
- JSON string containing the technial metadata for the media asset.
- Metadata string
- JSON string containing the technial metadata for the media asset.
- metadata String
- JSON string containing the technial metadata for the media asset.
- metadata string
- JSON string containing the technial metadata for the media asset.
- metadata str
- JSON string containing the technial metadata for the media asset.
- metadata String
- JSON string containing the technial metadata for the media asset.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.