import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Stream Packaging Config resource in Oracle Cloud Infrastructure Media Services service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/dms/latest/StreamPackagingConfig * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/media_services * * Creates a new Packaging Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamPackagingConfig = new oci.mediaservices.StreamPackagingConfig("test_stream_packaging_config", { * displayName: streamPackagingConfigDisplayName, * distributionChannelId: testChannel.id, * segmentTimeInSeconds: Number(streamPackagingConfigSegmentTimeInSeconds), * streamPackagingFormat: streamPackagingConfigStreamPackagingFormat, * definedTags: { * "foo-namespace.bar-key": "value", * }, * encryption: { * algorithm: streamPackagingConfigEncryptionAlgorithm, * kmsKeyId: testKey.id, * }, * freeformTags: { * "bar-key": "value", * }, * locks: [{ * compartmentId: compartmentId, * type: streamPackagingConfigLocksType, * message: streamPackagingConfigLocksMessage, * relatedResourceId: testResource.id, * timeCreated: streamPackagingConfigLocksTimeCreated, * }], * }); * ``` * * ## Import * * StreamPackagingConfigs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MediaServices/streamPackagingConfig:StreamPackagingConfig test_stream_packaging_config "id" * ``` */ export declare class StreamPackagingConfig extends pulumi.CustomResource { /** * Get an existing StreamPackagingConfig 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?: StreamPackagingConfigState, opts?: pulumi.CustomResourceOptions): StreamPackagingConfig; /** * Returns true if the given object is an instance of StreamPackagingConfig. 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 StreamPackagingConfig; /** * The compartment ID of the lock. */ 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) The name of the stream Packaging Configuration. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * Unique identifier of the Distribution Channel that this stream packaging configuration belongs to. */ readonly distributionChannelId: pulumi.Output; /** * The encryption used by the stream packaging configuration. */ readonly encryption: 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; /** * The duration in seconds for each fragment. */ readonly segmentTimeInSeconds: pulumi.Output; /** * The current state of the Packaging Configuration. */ readonly state: pulumi.Output; /** * The output format for the package. * * ** 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 streamPackagingFormat: 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 Packaging Configuration was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a StreamPackagingConfig 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: StreamPackagingConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StreamPackagingConfig resources. */ export interface StreamPackagingConfigState { /** * The compartment ID of the lock. */ 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) The name of the stream Packaging Configuration. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * Unique identifier of the Distribution Channel that this stream packaging configuration belongs to. */ distributionChannelId?: pulumi.Input; /** * The encryption used by the stream packaging configuration. */ encryption?: 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>; /** * The duration in seconds for each fragment. */ segmentTimeInSeconds?: pulumi.Input; /** * The current state of the Packaging Configuration. */ state?: pulumi.Input; /** * The output format for the package. * * ** 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 */ streamPackagingFormat?: 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 Packaging Configuration was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a StreamPackagingConfig resource. */ export interface StreamPackagingConfigArgs { /** * (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) The name of the stream Packaging Configuration. Avoid entering confidential information. */ displayName: pulumi.Input; /** * Unique identifier of the Distribution Channel that this stream packaging configuration belongs to. */ distributionChannelId: pulumi.Input; /** * The encryption used by the stream packaging configuration. */ encryption?: 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>; /** * The duration in seconds for each fragment. */ segmentTimeInSeconds: pulumi.Input; /** * The output format for the package. * * ** 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 */ streamPackagingFormat: pulumi.Input; } //# sourceMappingURL=streamPackagingConfig.d.ts.map