oci.MediaServices.MediaAsset
Explore with Pulumi AI
This resource provides the Media Asset resource in Oracle Cloud Infrastructure Media Services service.
Creates a new MediaAsset.
Create MediaAsset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MediaAsset(name: string, args: MediaAssetArgs, opts?: CustomResourceOptions);
@overload
def MediaAsset(resource_name: str,
args: MediaAssetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MediaAsset(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
compartment_id: Optional[str] = None,
metadatas: Optional[Sequence[_mediaservices.MediaAssetMetadataArgs]] = None,
namespace: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.MediaAssetLockArgs]] = None,
master_media_asset_id: Optional[str] = None,
media_asset_tags: Optional[Sequence[_mediaservices.MediaAssetMediaAssetTagArgs]] = None,
media_workflow_job_id: Optional[str] = None,
bucket: Optional[str] = None,
display_name: Optional[str] = None,
object: Optional[str] = None,
object_etag: Optional[str] = None,
parent_media_asset_id: Optional[str] = None,
segment_range_end_index: Optional[str] = None,
segment_range_start_index: Optional[str] = None,
source_media_workflow_id: Optional[str] = None,
source_media_workflow_version: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None)
func NewMediaAsset(ctx *Context, name string, args MediaAssetArgs, opts ...ResourceOption) (*MediaAsset, error)
public MediaAsset(string name, MediaAssetArgs args, CustomResourceOptions? opts = null)
public MediaAsset(String name, MediaAssetArgs args)
public MediaAsset(String name, MediaAssetArgs args, CustomResourceOptions options)
type: oci:MediaServices:MediaAsset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MediaAssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MediaAssetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MediaAssetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MediaAssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MediaAssetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mediaAssetResource = new Oci.MediaServices.MediaAsset("mediaAssetResource", new()
{
Type = "string",
CompartmentId = "string",
Metadatas = new[]
{
new Oci.MediaServices.Inputs.MediaAssetMetadataArgs
{
Metadata = "string",
},
},
Namespace = "string",
FreeformTags =
{
{ "string", "string" },
},
IsLockOverride = false,
Locks = new[]
{
new Oci.MediaServices.Inputs.MediaAssetLockArgs
{
CompartmentId = "string",
Type = "string",
Message = "string",
RelatedResourceId = "string",
TimeCreated = "string",
},
},
MasterMediaAssetId = "string",
MediaAssetTags = new[]
{
new Oci.MediaServices.Inputs.MediaAssetMediaAssetTagArgs
{
Value = "string",
Type = "string",
},
},
MediaWorkflowJobId = "string",
Bucket = "string",
DisplayName = "string",
Object = "string",
ObjectEtag = "string",
ParentMediaAssetId = "string",
SegmentRangeEndIndex = "string",
SegmentRangeStartIndex = "string",
SourceMediaWorkflowId = "string",
SourceMediaWorkflowVersion = "string",
DefinedTags =
{
{ "string", "string" },
},
});
example, err := MediaServices.NewMediaAsset(ctx, "mediaAssetResource", &MediaServices.MediaAssetArgs{
Type: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
Metadatas: mediaservices.MediaAssetMetadataArray{
&mediaservices.MediaAssetMetadataArgs{
Metadata: pulumi.String("string"),
},
},
Namespace: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsLockOverride: pulumi.Bool(false),
Locks: mediaservices.MediaAssetLockArray{
&mediaservices.MediaAssetLockArgs{
CompartmentId: pulumi.String("string"),
Type: pulumi.String("string"),
Message: pulumi.String("string"),
RelatedResourceId: pulumi.String("string"),
TimeCreated: pulumi.String("string"),
},
},
MasterMediaAssetId: pulumi.String("string"),
MediaAssetTags: mediaservices.MediaAssetMediaAssetTagArray{
&mediaservices.MediaAssetMediaAssetTagArgs{
Value: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
MediaWorkflowJobId: pulumi.String("string"),
Bucket: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Object: pulumi.String("string"),
ObjectEtag: pulumi.String("string"),
ParentMediaAssetId: pulumi.String("string"),
SegmentRangeEndIndex: pulumi.String("string"),
SegmentRangeStartIndex: pulumi.String("string"),
SourceMediaWorkflowId: pulumi.String("string"),
SourceMediaWorkflowVersion: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var mediaAssetResource = new MediaAsset("mediaAssetResource", MediaAssetArgs.builder()
.type("string")
.compartmentId("string")
.metadatas(MediaAssetMetadataArgs.builder()
.metadata("string")
.build())
.namespace("string")
.freeformTags(Map.of("string", "string"))
.isLockOverride(false)
.locks(MediaAssetLockArgs.builder()
.compartmentId("string")
.type("string")
.message("string")
.relatedResourceId("string")
.timeCreated("string")
.build())
.masterMediaAssetId("string")
.mediaAssetTags(MediaAssetMediaAssetTagArgs.builder()
.value("string")
.type("string")
.build())
.mediaWorkflowJobId("string")
.bucket("string")
.displayName("string")
.object("string")
.objectEtag("string")
.parentMediaAssetId("string")
.segmentRangeEndIndex("string")
.segmentRangeStartIndex("string")
.sourceMediaWorkflowId("string")
.sourceMediaWorkflowVersion("string")
.definedTags(Map.of("string", "string"))
.build());
media_asset_resource = oci.media_services.MediaAsset("mediaAssetResource",
type="string",
compartment_id="string",
metadatas=[oci.media_services.MediaAssetMetadataArgs(
metadata="string",
)],
namespace="string",
freeform_tags={
"string": "string",
},
is_lock_override=False,
locks=[oci.media_services.MediaAssetLockArgs(
compartment_id="string",
type="string",
message="string",
related_resource_id="string",
time_created="string",
)],
master_media_asset_id="string",
media_asset_tags=[oci.media_services.MediaAssetMediaAssetTagArgs(
value="string",
type="string",
)],
media_workflow_job_id="string",
bucket="string",
display_name="string",
object="string",
object_etag="string",
parent_media_asset_id="string",
segment_range_end_index="string",
segment_range_start_index="string",
source_media_workflow_id="string",
source_media_workflow_version="string",
defined_tags={
"string": "string",
})
const mediaAssetResource = new oci.mediaservices.MediaAsset("mediaAssetResource", {
type: "string",
compartmentId: "string",
metadatas: [{
metadata: "string",
}],
namespace: "string",
freeformTags: {
string: "string",
},
isLockOverride: false,
locks: [{
compartmentId: "string",
type: "string",
message: "string",
relatedResourceId: "string",
timeCreated: "string",
}],
masterMediaAssetId: "string",
mediaAssetTags: [{
value: "string",
type: "string",
}],
mediaWorkflowJobId: "string",
bucket: "string",
displayName: "string",
object: "string",
objectEtag: "string",
parentMediaAssetId: "string",
segmentRangeEndIndex: "string",
segmentRangeStartIndex: "string",
sourceMediaWorkflowId: "string",
sourceMediaWorkflowVersion: "string",
definedTags: {
string: "string",
},
});
type: oci:MediaServices:MediaAsset
properties:
bucket: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
isLockOverride: false
locks:
- compartmentId: string
message: string
relatedResourceId: string
timeCreated: string
type: string
masterMediaAssetId: string
mediaAssetTags:
- type: string
value: string
mediaWorkflowJobId: string
metadatas:
- metadata: string
namespace: string
object: string
objectEtag: string
parentMediaAssetId: string
segmentRangeEndIndex: string
segmentRangeStartIndex: string
sourceMediaWorkflowId: string
sourceMediaWorkflowVersion: string
type: string
MediaAsset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MediaAsset resource accepts the following input properties:
- Compartment
Id string - (Updatable) Compartment Identifier.
- Type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Bucket string
- The name of the object storage bucket where this asset is located.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
List<Media
Asset Lock> - Locks associated with this resource.
- Master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Media
Asset Media Asset Tag> - (Updatable) list of tags for the MediaAsset.
- Media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- Metadatas
List<Media
Asset Metadata> - (Updatable) List of Metadata.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- The object storage object name that identifies this asset.
- Object
Etag string - eTag of the underlying object storage object.
- Parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- Segment
Range stringEnd Index - The end index for video segment files.
- Segment
Range stringStart Index - The start index for video segment files.
- Source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- Source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- Compartment
Id string - (Updatable) Compartment Identifier.
- Type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Bucket string
- The name of the object storage bucket where this asset is located.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
[]Media
Asset Lock Args - Locks associated with this resource.
- Master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- []Media
Asset Media Asset Tag Args - (Updatable) list of tags for the MediaAsset.
- Media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- Metadatas
[]Media
Asset Metadata Args - (Updatable) List of Metadata.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- The object storage object name that identifies this asset.
- Object
Etag string - eTag of the underlying object storage object.
- Parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- Segment
Range stringEnd Index - The end index for video segment files.
- Segment
Range stringStart Index - The start index for video segment files.
- Source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- Source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- compartment
Id String - (Updatable) Compartment Identifier.
- type String
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- The name of the object storage bucket where this asset is located.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks
List<Media
Asset Lock> - Locks associated with this resource.
- master
Media StringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Media
Asset Media Asset Tag> - (Updatable) list of tags for the MediaAsset.
- media
Workflow StringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
List<Media
Asset Metadata> - (Updatable) List of Metadata.
- namespace String
- The object storage namespace where this asset is located.
- object String
- The object storage object name that identifies this asset.
- object
Etag String - eTag of the underlying object storage object.
- parent
Media StringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range StringEnd Index - The end index for video segment files.
- segment
Range StringStart Index - The start index for video segment files.
- source
Media StringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media StringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- compartment
Id string - (Updatable) Compartment Identifier.
- type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket string
- The name of the object storage bucket where this asset is located.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock booleanOverride - locks
Media
Asset Lock[] - Locks associated with this resource.
- master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- Media
Asset Media Asset Tag[] - (Updatable) list of tags for the MediaAsset.
- media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
Media
Asset Metadata[] - (Updatable) List of Metadata.
- namespace string
- The object storage namespace where this asset is located.
- object string
- The object storage object name that identifies this asset.
- object
Etag string - eTag of the underlying object storage object.
- parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range stringEnd Index - The end index for video segment files.
- segment
Range stringStart Index - The start index for video segment files.
- source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- compartment_
id str - (Updatable) Compartment Identifier.
- type str
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket str
- The name of the object storage bucket where this asset is located.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
lock_ booloverride - locks
Sequence[mediaservices.
Media Asset Lock Args] - Locks associated with this resource.
- master_
media_ strasset_ id - (Updatable) The ID of the senior most asset from which this asset is derived.
- Sequence[mediaservices.
Media Asset Media Asset Tag Args] - (Updatable) list of tags for the MediaAsset.
- media_
workflow_ strjob_ id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
Sequence[mediaservices.
Media Asset Metadata Args] - (Updatable) List of Metadata.
- namespace str
- The object storage namespace where this asset is located.
- object str
- The object storage object name that identifies this asset.
- object_
etag str - eTag of the underlying object storage object.
- parent_
media_ strasset_ id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment_
range_ strend_ index - The end index for 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.
- compartment
Id String - (Updatable) Compartment Identifier.
- type String
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- The name of the object storage bucket where this asset is located.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
- master
Media StringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Property Map>
- (Updatable) list of tags for the MediaAsset.
- media
Workflow StringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas List<Property Map>
- (Updatable) List of Metadata.
- namespace String
- The object storage namespace where this asset is located.
- object String
- The object storage object name that identifies this asset.
- object
Etag String - eTag of the underlying object storage object.
- parent
Media StringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range StringEnd Index - The end index for video segment files.
- segment
Range StringStart Index - The start index for video segment files.
- source
Media StringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media StringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
Outputs
All input properties are implicitly available as output properties. Additionally, the MediaAsset resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the MediaAsset.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the MediaAsset.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the MediaAsset.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the MediaAsset.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the MediaAsset.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the MediaAsset.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
Look up Existing MediaAsset Resource
Get an existing MediaAsset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MediaAssetState, opts?: CustomResourceOptions): MediaAsset
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.MediaAssetLockArgs]] = None,
master_media_asset_id: Optional[str] = None,
media_asset_tags: Optional[Sequence[_mediaservices.MediaAssetMediaAssetTagArgs]] = None,
media_workflow_job_id: Optional[str] = None,
metadatas: Optional[Sequence[_mediaservices.MediaAssetMetadataArgs]] = None,
namespace: Optional[str] = None,
object: Optional[str] = None,
object_etag: Optional[str] = None,
parent_media_asset_id: Optional[str] = None,
segment_range_end_index: Optional[str] = None,
segment_range_start_index: Optional[str] = None,
source_media_workflow_id: Optional[str] = None,
source_media_workflow_version: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
type: Optional[str] = None) -> MediaAsset
func GetMediaAsset(ctx *Context, name string, id IDInput, state *MediaAssetState, opts ...ResourceOption) (*MediaAsset, error)
public static MediaAsset Get(string name, Input<string> id, MediaAssetState? state, CustomResourceOptions? opts = null)
public static MediaAsset get(String name, Output<String> id, MediaAssetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bucket string
- The name of the object storage bucket where this asset is located.
- Compartment
Id string - (Updatable) Compartment Identifier.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
List<Media
Asset Lock> - Locks associated with this resource.
- Master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Media
Asset Media Asset Tag> - (Updatable) list of tags for the MediaAsset.
- Media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- Metadatas
List<Media
Asset Metadata> - (Updatable) List of Metadata.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- The object storage object name that identifies this asset.
- Object
Etag string - eTag of the underlying object storage object.
- Parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- Segment
Range stringEnd Index - The end index for video segment files.
- Segment
Range stringStart Index - The start index for video segment files.
- Source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- Source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- State string
- The current state of the MediaAsset.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- Type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Bucket string
- The name of the object storage bucket where this asset is located.
- Compartment
Id string - (Updatable) Compartment Identifier.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Lock boolOverride - Locks
[]Media
Asset Lock Args - Locks associated with this resource.
- Master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- []Media
Asset Media Asset Tag Args - (Updatable) list of tags for the MediaAsset.
- Media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- Metadatas
[]Media
Asset Metadata Args - (Updatable) List of Metadata.
- Namespace string
- The object storage namespace where this asset is located.
- Object string
- The object storage object name that identifies this asset.
- Object
Etag string - eTag of the underlying object storage object.
- Parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- Segment
Range stringEnd Index - The end index for video segment files.
- Segment
Range stringStart Index - The start index for video segment files.
- Source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- Source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- State string
- The current state of the MediaAsset.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- Type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- The name of the object storage bucket where this asset is located.
- compartment
Id String - (Updatable) Compartment Identifier.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks
List<Media
Asset Lock> - Locks associated with this resource.
- master
Media StringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Media
Asset Media Asset Tag> - (Updatable) list of tags for the MediaAsset.
- media
Workflow StringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
List<Media
Asset Metadata> - (Updatable) List of Metadata.
- namespace String
- The object storage namespace where this asset is located.
- object String
- The object storage object name that identifies this asset.
- object
Etag String - eTag of the underlying object storage object.
- parent
Media StringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range StringEnd Index - The end index for video segment files.
- segment
Range StringStart Index - The start index for video segment files.
- source
Media StringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media StringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- state String
- The current state of the MediaAsset.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type String
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket string
- The name of the object storage bucket where this asset is located.
- compartment
Id string - (Updatable) Compartment Identifier.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock booleanOverride - locks
Media
Asset Lock[] - Locks associated with this resource.
- master
Media stringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- Media
Asset Media Asset Tag[] - (Updatable) list of tags for the MediaAsset.
- media
Workflow stringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
Media
Asset Metadata[] - (Updatable) List of Metadata.
- namespace string
- The object storage namespace where this asset is located.
- object string
- The object storage object name that identifies this asset.
- object
Etag string - eTag of the underlying object storage object.
- parent
Media stringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range stringEnd Index - The end index for video segment files.
- segment
Range stringStart Index - The start index for video segment files.
- source
Media stringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media stringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- state string
- The current state of the MediaAsset.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type string
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket str
- The name of the object storage bucket where this asset is located.
- compartment_
id str - (Updatable) Compartment Identifier.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
lock_ booloverride - locks
Sequence[mediaservices.
Media Asset Lock Args] - Locks associated with this resource.
- master_
media_ strasset_ id - (Updatable) The ID of the senior most asset from which this asset is derived.
- Sequence[mediaservices.
Media Asset Media Asset Tag Args] - (Updatable) list of tags for the MediaAsset.
- media_
workflow_ strjob_ id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas
Sequence[mediaservices.
Media Asset Metadata Args] - (Updatable) List of Metadata.
- namespace str
- The object storage namespace where this asset is located.
- object str
- The object storage object name that identifies this asset.
- object_
etag str - eTag of the underlying object storage object.
- parent_
media_ strasset_ id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment_
range_ strend_ index - The end index for 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
- The current state of the MediaAsset.
- 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
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- bucket String
- The name of the object storage bucket where this asset is located.
- compartment
Id String - (Updatable) Compartment Identifier.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
- master
Media StringAsset Id - (Updatable) The ID of the senior most asset from which this asset is derived.
- List<Property Map>
- (Updatable) list of tags for the MediaAsset.
- media
Workflow StringJob Id - The ID of the MediaWorkflowJob used to produce this asset.
- metadatas List<Property Map>
- (Updatable) List of Metadata.
- namespace String
- The object storage namespace where this asset is located.
- object String
- The object storage object name that identifies this asset.
- object
Etag String - eTag of the underlying object storage object.
- parent
Media StringAsset Id - (Updatable) The ID of the parent asset from which this asset is derived.
- segment
Range StringEnd Index - The end index for video segment files.
- segment
Range StringStart Index - The start index for video segment files.
- source
Media StringWorkflow Id - The ID of the MediaWorkflow used to produce this asset.
- source
Media StringWorkflow Version - The version of the MediaWorkflow used to produce this asset.
- state String
- The current state of the MediaAsset.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the MediaAsset was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
- type String
(Updatable) The type of the media asset.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
MediaAssetLock, MediaAssetLockArgs
- Compartment
Id string - (Updatable) The compartment ID of the lock.
- Type string
- Type of the lock.
- 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.
- Time
Created string - When the lock was created.
- Compartment
Id string - (Updatable) The compartment ID of the lock.
- Type string
- Type of the lock.
- 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.
- Time
Created string - When the lock was created.
- compartment
Id String - (Updatable) The compartment ID of the lock.
- type String
- Type of the lock.
- 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.
- time
Created String - When the lock was created.
- compartment
Id string - (Updatable) The compartment ID of the lock.
- type string
- Type of the lock.
- 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.
- time
Created string - When the lock was created.
- compartment_
id str - (Updatable) The compartment ID of the lock.
- type str
- Type of the lock.
- 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 - When the lock was created.
- compartment
Id String - (Updatable) The compartment ID of the lock.
- type String
- Type of the lock.
- 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.
- time
Created String - When the lock was created.
MediaAssetMediaAssetTag, MediaAssetMediaAssetTagArgs
MediaAssetMetadata, MediaAssetMetadataArgs
- Metadata string
- (Updatable) JSON string containing the technial metadata for the media asset.
- Metadata string
- (Updatable) JSON string containing the technial metadata for the media asset.
- metadata String
- (Updatable) JSON string containing the technial metadata for the media asset.
- metadata string
- (Updatable) JSON string containing the technial metadata for the media asset.
- metadata str
- (Updatable) JSON string containing the technial metadata for the media asset.
- metadata String
- (Updatable) JSON string containing the technial metadata for the media asset.
Import
MediaAssets can be imported using the id
, e.g.
$ pulumi import oci:MediaServices/mediaAsset:MediaAsset test_media_asset "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.