Data Source: oci_media_services_media_asset
This data source provides details about a specific Media Asset resource in Oracle Cloud Infrastructure Media Services service.
Gets a MediaAsset by identifier.
Example Usage
data "oci_media_services_media_asset" "test_media_asset" {
#Required
media_asset_id = oci_media_services_media_asset.test_media_asset.id
}
Argument Reference
The following arguments are supported:
media_asset_id
- (Required) Unique MediaAsset identifier
Attributes Reference
The following attributes are exported:
bucket
- The name of the object storage bucket where this represented asset is located.compartment_id
- The ID of the compartment containing the MediaAsset.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- Unique identifier that is immutable on creation.locks
- Locks associated with this resource.compartment_id
- The compartment ID of the lock.message
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.related_resource_id
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.time_created
- When the lock was created.type
- Type of the lock.
master_media_asset_id
- The ID of the senior most asset from which this asset is derived.media_asset_tags
- List of tags for the MediaAsset.type
- Type of the tag.value
- Tag of the MediaAsset.
media_workflow_job_id
- The ID of the MediaWorkflowJob used to produce this asset.metadata
- List of Metadata.metadata
- JSON string containing the technial metadata for the media asset.
namespace
- The object storage namespace where this asset is located.object
- The object storage object name that identifies this asset.object_etag
- eTag of the underlying object storage object.parent_media_asset_id
- The ID of the parent asset from which this asset is derived.segment_range_end_index
- The end index of video segment files.segment_range_start_index
- The start index for video segment files.source_media_workflow_id
- The ID of the MediaWorkflow used to produce this asset.source_media_workflow_version
- The version of the MediaWorkflow used to produce this asset.state
- The current state of the MediaAsset.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time when the MediaAsset was created. An RFC3339 formatted datetime string.time_updated
- The time when the MediaAsset was updated. An RFC3339 formatted datetime string.type
- The type of the media asset.