oci.MediaServices.StreamPackagingConfig
Explore with Pulumi AI
This resource provides the Stream Packaging Config resource in Oracle Cloud Infrastructure Media Services service.
Creates a new Packaging Configuration.
Example Usage
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: 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 pulumi
import pulumi_oci as oci
test_stream_packaging_config = oci.media_services.StreamPackagingConfig("test_stream_packaging_config",
display_name=stream_packaging_config_display_name,
distribution_channel_id=test_channel["id"],
segment_time_in_seconds=stream_packaging_config_segment_time_in_seconds,
stream_packaging_format=stream_packaging_config_stream_packaging_format,
defined_tags={
"foo-namespace.bar-key": "value",
},
encryption={
"algorithm": stream_packaging_config_encryption_algorithm,
"kms_key_id": test_key["id"],
},
freeform_tags={
"bar-key": "value",
},
locks=[{
"compartment_id": compartment_id,
"type": stream_packaging_config_locks_type,
"message": stream_packaging_config_locks_message,
"related_resource_id": test_resource["id"],
"time_created": stream_packaging_config_locks_time_created,
}])
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.NewStreamPackagingConfig(ctx, "test_stream_packaging_config", &MediaServices.StreamPackagingConfigArgs{
DisplayName: pulumi.Any(streamPackagingConfigDisplayName),
DistributionChannelId: pulumi.Any(testChannel.Id),
SegmentTimeInSeconds: pulumi.Any(streamPackagingConfigSegmentTimeInSeconds),
StreamPackagingFormat: pulumi.Any(streamPackagingConfigStreamPackagingFormat),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Encryption: &mediaservices.StreamPackagingConfigEncryptionArgs{
Algorithm: pulumi.Any(streamPackagingConfigEncryptionAlgorithm),
KmsKeyId: pulumi.Any(testKey.Id),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Locks: mediaservices.StreamPackagingConfigLockArray{
&mediaservices.StreamPackagingConfigLockArgs{
CompartmentId: pulumi.Any(compartmentId),
Type: pulumi.Any(streamPackagingConfigLocksType),
Message: pulumi.Any(streamPackagingConfigLocksMessage),
RelatedResourceId: pulumi.Any(testResource.Id),
TimeCreated: pulumi.Any(streamPackagingConfigLocksTimeCreated),
},
},
})
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 testStreamPackagingConfig = new Oci.MediaServices.StreamPackagingConfig("test_stream_packaging_config", new()
{
DisplayName = streamPackagingConfigDisplayName,
DistributionChannelId = testChannel.Id,
SegmentTimeInSeconds = streamPackagingConfigSegmentTimeInSeconds,
StreamPackagingFormat = streamPackagingConfigStreamPackagingFormat,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Encryption = new Oci.MediaServices.Inputs.StreamPackagingConfigEncryptionArgs
{
Algorithm = streamPackagingConfigEncryptionAlgorithm,
KmsKeyId = testKey.Id,
},
FreeformTags =
{
{ "bar-key", "value" },
},
Locks = new[]
{
new Oci.MediaServices.Inputs.StreamPackagingConfigLockArgs
{
CompartmentId = compartmentId,
Type = streamPackagingConfigLocksType,
Message = streamPackagingConfigLocksMessage,
RelatedResourceId = testResource.Id,
TimeCreated = streamPackagingConfigLocksTimeCreated,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.MediaServices.StreamPackagingConfig;
import com.pulumi.oci.MediaServices.StreamPackagingConfigArgs;
import com.pulumi.oci.MediaServices.inputs.StreamPackagingConfigEncryptionArgs;
import com.pulumi.oci.MediaServices.inputs.StreamPackagingConfigLockArgs;
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) {
var testStreamPackagingConfig = new StreamPackagingConfig("testStreamPackagingConfig", StreamPackagingConfigArgs.builder()
.displayName(streamPackagingConfigDisplayName)
.distributionChannelId(testChannel.id())
.segmentTimeInSeconds(streamPackagingConfigSegmentTimeInSeconds)
.streamPackagingFormat(streamPackagingConfigStreamPackagingFormat)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.encryption(StreamPackagingConfigEncryptionArgs.builder()
.algorithm(streamPackagingConfigEncryptionAlgorithm)
.kmsKeyId(testKey.id())
.build())
.freeformTags(Map.of("bar-key", "value"))
.locks(StreamPackagingConfigLockArgs.builder()
.compartmentId(compartmentId)
.type(streamPackagingConfigLocksType)
.message(streamPackagingConfigLocksMessage)
.relatedResourceId(testResource.id())
.timeCreated(streamPackagingConfigLocksTimeCreated)
.build())
.build());
}
}
resources:
testStreamPackagingConfig:
type: oci:MediaServices:StreamPackagingConfig
name: test_stream_packaging_config
properties:
displayName: ${streamPackagingConfigDisplayName}
distributionChannelId: ${testChannel.id}
segmentTimeInSeconds: ${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}
Create StreamPackagingConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamPackagingConfig(name: string, args: StreamPackagingConfigArgs, opts?: CustomResourceOptions);
@overload
def StreamPackagingConfig(resource_name: str,
args: StreamPackagingConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamPackagingConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
distribution_channel_id: Optional[str] = None,
segment_time_in_seconds: Optional[int] = None,
stream_packaging_format: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
encryption: Optional[_mediaservices.StreamPackagingConfigEncryptionArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.StreamPackagingConfigLockArgs]] = None)
func NewStreamPackagingConfig(ctx *Context, name string, args StreamPackagingConfigArgs, opts ...ResourceOption) (*StreamPackagingConfig, error)
public StreamPackagingConfig(string name, StreamPackagingConfigArgs args, CustomResourceOptions? opts = null)
public StreamPackagingConfig(String name, StreamPackagingConfigArgs args)
public StreamPackagingConfig(String name, StreamPackagingConfigArgs args, CustomResourceOptions options)
type: oci:MediaServices:StreamPackagingConfig
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 StreamPackagingConfigArgs
- 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 StreamPackagingConfigArgs
- 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 StreamPackagingConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamPackagingConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamPackagingConfigArgs
- 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 streamPackagingConfigResource = new Oci.MediaServices.StreamPackagingConfig("streamPackagingConfigResource", new()
{
DisplayName = "string",
DistributionChannelId = "string",
SegmentTimeInSeconds = 0,
StreamPackagingFormat = "string",
DefinedTags =
{
{ "string", "string" },
},
Encryption = new Oci.MediaServices.Inputs.StreamPackagingConfigEncryptionArgs
{
Algorithm = "string",
KmsKeyId = "string",
},
FreeformTags =
{
{ "string", "string" },
},
IsLockOverride = false,
Locks = new[]
{
new Oci.MediaServices.Inputs.StreamPackagingConfigLockArgs
{
CompartmentId = "string",
Type = "string",
Message = "string",
RelatedResourceId = "string",
TimeCreated = "string",
},
},
});
example, err := MediaServices.NewStreamPackagingConfig(ctx, "streamPackagingConfigResource", &MediaServices.StreamPackagingConfigArgs{
DisplayName: pulumi.String("string"),
DistributionChannelId: pulumi.String("string"),
SegmentTimeInSeconds: pulumi.Int(0),
StreamPackagingFormat: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Encryption: &mediaservices.StreamPackagingConfigEncryptionArgs{
Algorithm: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsLockOverride: pulumi.Bool(false),
Locks: mediaservices.StreamPackagingConfigLockArray{
&mediaservices.StreamPackagingConfigLockArgs{
CompartmentId: pulumi.String("string"),
Type: pulumi.String("string"),
Message: pulumi.String("string"),
RelatedResourceId: pulumi.String("string"),
TimeCreated: pulumi.String("string"),
},
},
})
var streamPackagingConfigResource = new StreamPackagingConfig("streamPackagingConfigResource", StreamPackagingConfigArgs.builder()
.displayName("string")
.distributionChannelId("string")
.segmentTimeInSeconds(0)
.streamPackagingFormat("string")
.definedTags(Map.of("string", "string"))
.encryption(StreamPackagingConfigEncryptionArgs.builder()
.algorithm("string")
.kmsKeyId("string")
.build())
.freeformTags(Map.of("string", "string"))
.isLockOverride(false)
.locks(StreamPackagingConfigLockArgs.builder()
.compartmentId("string")
.type("string")
.message("string")
.relatedResourceId("string")
.timeCreated("string")
.build())
.build());
stream_packaging_config_resource = oci.media_services.StreamPackagingConfig("streamPackagingConfigResource",
display_name="string",
distribution_channel_id="string",
segment_time_in_seconds=0,
stream_packaging_format="string",
defined_tags={
"string": "string",
},
encryption={
"algorithm": "string",
"kms_key_id": "string",
},
freeform_tags={
"string": "string",
},
is_lock_override=False,
locks=[{
"compartment_id": "string",
"type": "string",
"message": "string",
"related_resource_id": "string",
"time_created": "string",
}])
const streamPackagingConfigResource = new oci.mediaservices.StreamPackagingConfig("streamPackagingConfigResource", {
displayName: "string",
distributionChannelId: "string",
segmentTimeInSeconds: 0,
streamPackagingFormat: "string",
definedTags: {
string: "string",
},
encryption: {
algorithm: "string",
kmsKeyId: "string",
},
freeformTags: {
string: "string",
},
isLockOverride: false,
locks: [{
compartmentId: "string",
type: "string",
message: "string",
relatedResourceId: "string",
timeCreated: "string",
}],
});
type: oci:MediaServices:StreamPackagingConfig
properties:
definedTags:
string: string
displayName: string
distributionChannelId: string
encryption:
algorithm: string
kmsKeyId: string
freeformTags:
string: string
isLockOverride: false
locks:
- compartmentId: string
message: string
relatedResourceId: string
timeCreated: string
type: string
segmentTimeInSeconds: 0
streamPackagingFormat: string
StreamPackagingConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StreamPackagingConfig resource accepts the following input properties:
- Display
Name string - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- Distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- Segment
Time intIn Seconds - The duration in seconds for each fragment.
- Stream
Packaging stringFormat 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
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- 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<Stream
Packaging Config Lock> - Locks associated with this resource.
- Display
Name string - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- Distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- Segment
Time intIn Seconds - The duration in seconds for each fragment.
- Stream
Packaging stringFormat 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
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Encryption
Stream
Packaging Config Encryption Args - The encryption used by the stream packaging configuration.
- 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
[]Stream
Packaging Config Lock Args - Locks associated with this resource.
- display
Name String - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel StringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- segment
Time IntegerIn Seconds - The duration in seconds for each fragment.
- stream
Packaging StringFormat 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
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- 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<Stream
Packaging Config Lock> - Locks associated with this resource.
- display
Name string - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- segment
Time numberIn Seconds - The duration in seconds for each fragment.
- stream
Packaging stringFormat 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
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- {[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
Stream
Packaging Config Lock[] - Locks associated with this resource.
- display_
name str - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution_
channel_ strid - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- segment_
time_ intin_ seconds - The duration in seconds for each fragment.
- stream_
packaging_ strformat 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
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- encryption
mediaservices.
Stream Packaging Config Encryption Args - The encryption used by the stream packaging configuration.
- 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.
Stream Packaging Config Lock Args] - Locks associated with this resource.
- display
Name String - (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel StringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- segment
Time NumberIn Seconds - The duration in seconds for each fragment.
- stream
Packaging StringFormat 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
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- encryption Property Map
- The encryption used by the stream packaging configuration.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamPackagingConfig resource produces the following output properties:
- Compartment
Id string - The compartment ID of the lock.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Packaging Configuration.
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The compartment ID of the lock.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the Packaging Configuration.
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The compartment ID of the lock.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Packaging Configuration.
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id string - The compartment ID of the lock.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the Packaging Configuration.
- {[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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment_
id str - The compartment ID of the lock.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current state of the Packaging Configuration.
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time_
updated str - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The compartment ID of the lock.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the Packaging Configuration.
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
Look up Existing StreamPackagingConfig Resource
Get an existing StreamPackagingConfig 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?: StreamPackagingConfigState, opts?: CustomResourceOptions): StreamPackagingConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
distribution_channel_id: Optional[str] = None,
encryption: Optional[_mediaservices.StreamPackagingConfigEncryptionArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_mediaservices.StreamPackagingConfigLockArgs]] = None,
segment_time_in_seconds: Optional[int] = None,
state: Optional[str] = None,
stream_packaging_format: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> StreamPackagingConfig
func GetStreamPackagingConfig(ctx *Context, name string, id IDInput, state *StreamPackagingConfigState, opts ...ResourceOption) (*StreamPackagingConfig, error)
public static StreamPackagingConfig Get(string name, Input<string> id, StreamPackagingConfigState? state, CustomResourceOptions? opts = null)
public static StreamPackagingConfig get(String name, Output<String> id, StreamPackagingConfigState 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.
- Compartment
Id string - The compartment ID of the lock.
- 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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- Distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- Encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- 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<Stream
Packaging Config Lock> - Locks associated with this resource.
- Segment
Time intIn Seconds - The duration in seconds for each fragment.
- State string
- The current state of the Packaging Configuration.
- Stream
Packaging stringFormat 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
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The compartment ID of the lock.
- 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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- Distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- Encryption
Stream
Packaging Config Encryption Args - The encryption used by the stream packaging configuration.
- 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
[]Stream
Packaging Config Lock Args - Locks associated with this resource.
- Segment
Time intIn Seconds - The duration in seconds for each fragment.
- State string
- The current state of the Packaging Configuration.
- Stream
Packaging stringFormat 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
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The compartment ID of the lock.
- 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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel StringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- 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<Stream
Packaging Config Lock> - Locks associated with this resource.
- segment
Time IntegerIn Seconds - The duration in seconds for each fragment.
- state String
- The current state of the Packaging Configuration.
- stream
Packaging StringFormat 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
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id string - The compartment ID of the lock.
- {[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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel stringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- encryption
Stream
Packaging Config Encryption - The encryption used by the stream packaging configuration.
- {[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
Stream
Packaging Config Lock[] - Locks associated with this resource.
- segment
Time numberIn Seconds - The duration in seconds for each fragment.
- state string
- The current state of the Packaging Configuration.
- stream
Packaging stringFormat 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
- {[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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment_
id str - The compartment ID of the lock.
- 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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution_
channel_ strid - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- encryption
mediaservices.
Stream Packaging Config Encryption Args - The encryption used by the stream packaging configuration.
- 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.
Stream Packaging Config Lock Args] - Locks associated with this resource.
- segment_
time_ intin_ seconds - The duration in seconds for each fragment.
- state str
- The current state of the Packaging Configuration.
- stream_
packaging_ strformat 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
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time_
updated str - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The compartment ID of the lock.
- 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) The name of the stream Packaging Configuration. Avoid entering confidential information.
- distribution
Channel StringId - Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
- encryption Property Map
- The encryption used by the stream packaging configuration.
- 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.
- segment
Time NumberIn Seconds - The duration in seconds for each fragment.
- state String
- The current state of the Packaging Configuration.
- stream
Packaging StringFormat 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
- 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 Packaging Configuration was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
Supporting Types
StreamPackagingConfigEncryption, StreamPackagingConfigEncryptionArgs
- algorithm str
- The encryption algorithm for the stream packaging configuration.
- kms_
key_ strid - The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
StreamPackagingConfigLock, StreamPackagingConfigLockArgs
- Compartment
Id string - 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 - 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 - 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 - 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 - 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 - 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.
Import
StreamPackagingConfigs can be imported using the id
, e.g.
$ pulumi import oci:MediaServices/streamPackagingConfig:StreamPackagingConfig test_stream_packaging_config "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.