import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Media Asset resource in Oracle Cloud Infrastructure Media Services service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dms/latest/MediaAsset * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/media_services * * Creates a new MediaAsset. * * ## Import * * MediaAssets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MediaServices/mediaAsset:MediaAsset test_media_asset "id" * ``` */ export declare class MediaAsset extends pulumi.CustomResource { /** * Get an existing MediaAsset resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MediaAssetState, opts?: pulumi.CustomResourceOptions): MediaAsset; /** * Returns true if the given object is an instance of MediaAsset. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MediaAsset; /** * The name of the object storage bucket where this asset is located. */ readonly bucket: pulumi.Output; /** * (Updatable) Compartment Identifier. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; readonly isLockOverride: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * (Updatable) The ID of the senior most asset from which this asset is derived. */ readonly masterMediaAssetId: pulumi.Output; /** * (Updatable) list of tags for the MediaAsset. */ readonly mediaAssetTags: pulumi.Output; /** * The ID of the MediaWorkflowJob used to produce this asset. */ readonly mediaWorkflowJobId: pulumi.Output; /** * (Updatable) List of Metadata. */ readonly metadatas: pulumi.Output; /** * The object storage namespace where this asset is located. */ readonly namespace: pulumi.Output; /** * The object storage object name that identifies this asset. */ readonly object: pulumi.Output; /** * eTag of the underlying object storage object. */ readonly objectEtag: pulumi.Output; /** * (Updatable) The ID of the parent asset from which this asset is derived. */ readonly parentMediaAssetId: pulumi.Output; /** * The end index for video segment files. */ readonly segmentRangeEndIndex: pulumi.Output; /** * The start index for video segment files. */ readonly segmentRangeStartIndex: pulumi.Output; /** * The ID of the MediaWorkflow used to produce this asset. */ readonly sourceMediaWorkflowId: pulumi.Output; /** * The version of the MediaWorkflow used to produce this asset. */ readonly sourceMediaWorkflowVersion: pulumi.Output; /** * The current state of the MediaAsset. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the MediaAsset was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the MediaAsset was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (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 */ readonly type: pulumi.Output; /** * Create a MediaAsset resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MediaAssetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MediaAsset resources. */ export interface MediaAssetState { /** * The name of the object storage bucket where this asset is located. */ bucket?: pulumi.Input; /** * (Updatable) Compartment Identifier. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) The ID of the senior most asset from which this asset is derived. */ masterMediaAssetId?: pulumi.Input; /** * (Updatable) list of tags for the MediaAsset. */ mediaAssetTags?: pulumi.Input[] | undefined>; /** * The ID of the MediaWorkflowJob used to produce this asset. */ mediaWorkflowJobId?: pulumi.Input; /** * (Updatable) List of Metadata. */ metadatas?: pulumi.Input[] | undefined>; /** * The object storage namespace where this asset is located. */ namespace?: pulumi.Input; /** * The object storage object name that identifies this asset. */ object?: pulumi.Input; /** * eTag of the underlying object storage object. */ objectEtag?: pulumi.Input; /** * (Updatable) The ID of the parent asset from which this asset is derived. */ parentMediaAssetId?: pulumi.Input; /** * The end index for video segment files. */ segmentRangeEndIndex?: pulumi.Input; /** * The start index for video segment files. */ segmentRangeStartIndex?: 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; /** * The current state of the MediaAsset. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the MediaAsset was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the MediaAsset was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (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 */ type?: pulumi.Input; } /** * The set of arguments for constructing a MediaAsset resource. */ export interface MediaAssetArgs { /** * The name of the object storage bucket where this asset is located. */ bucket?: pulumi.Input; /** * (Updatable) Compartment Identifier. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) The ID of the senior most asset from which this asset is derived. */ masterMediaAssetId?: pulumi.Input; /** * (Updatable) list of tags for the MediaAsset. */ mediaAssetTags?: pulumi.Input[] | undefined>; /** * The ID of the MediaWorkflowJob used to produce this asset. */ mediaWorkflowJobId?: pulumi.Input; /** * (Updatable) List of Metadata. */ metadatas?: pulumi.Input[] | undefined>; /** * The object storage namespace where this asset is located. */ namespace?: pulumi.Input; /** * The object storage object name that identifies this asset. */ object?: pulumi.Input; /** * eTag of the underlying object storage object. */ objectEtag?: pulumi.Input; /** * (Updatable) The ID of the parent asset from which this asset is derived. */ parentMediaAssetId?: pulumi.Input; /** * The end index for video segment files. */ segmentRangeEndIndex?: pulumi.Input; /** * The start index for video segment files. */ segmentRangeStartIndex?: 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; /** * (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 */ type: pulumi.Input; } //# sourceMappingURL=mediaAsset.d.ts.map