1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MediaServices
  5. StreamPackagingConfig
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.MediaServices.StreamPackagingConfig

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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=oci.media_services.StreamPackagingConfigEncryptionArgs(
            algorithm="string",
            kms_key_id="string",
        ),
        freeform_tags={
            "string": "string",
        },
        is_lock_override=False,
        locks=[oci.media_services.StreamPackagingConfigLockArgs(
            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

    The StreamPackagingConfig resource accepts the following input properties:

    DisplayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    DistributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    SegmentTimeInSeconds int
    The duration in seconds for each fragment.
    StreamPackagingFormat string

    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

    DefinedTags 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 StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    FreeformTags 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"}
    IsLockOverride bool
    Locks List<StreamPackagingConfigLock>
    Locks associated with this resource.
    DisplayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    DistributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    SegmentTimeInSeconds int
    The duration in seconds for each fragment.
    StreamPackagingFormat string

    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

    DefinedTags 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 StreamPackagingConfigEncryptionArgs
    The encryption used by the stream packaging configuration.
    FreeformTags 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"}
    IsLockOverride bool
    Locks []StreamPackagingConfigLockArgs
    Locks associated with this resource.
    displayName String
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId String
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    segmentTimeInSeconds Integer
    The duration in seconds for each fragment.
    streamPackagingFormat String

    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

    definedTags 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 StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    freeformTags 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"}
    isLockOverride Boolean
    locks List<StreamPackagingConfigLock>
    Locks associated with this resource.
    displayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    segmentTimeInSeconds number
    The duration in seconds for each fragment.
    streamPackagingFormat string

    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

    definedTags {[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 StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    freeformTags {[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"}
    isLockOverride boolean
    locks StreamPackagingConfigLock[]
    Locks associated with this resource.
    display_name str
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distribution_channel_id str
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    segment_time_in_seconds int
    The duration in seconds for each fragment.
    stream_packaging_format str

    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

    defined_tags 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.StreamPackagingConfigEncryptionArgs
    The encryption used by the stream packaging configuration.
    freeform_tags 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_override bool
    locks Sequence[mediaservices.StreamPackagingConfigLockArgs]
    Locks associated with this resource.
    displayName String
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId String
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    segmentTimeInSeconds Number
    The duration in seconds for each fragment.
    streamPackagingFormat String

    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

    definedTags 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.
    freeformTags 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"}
    isLockOverride Boolean
    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:

    CompartmentId 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.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    CompartmentId 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.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    compartmentId 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.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    compartmentId 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.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated 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.
    system_tags 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.
    compartmentId 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.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated 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.
    The following state arguments are supported:
    CompartmentId string
    The compartment ID of the lock.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    DistributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    Encryption StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    FreeformTags 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"}
    IsLockOverride bool
    Locks List<StreamPackagingConfigLock>
    Locks associated with this resource.
    SegmentTimeInSeconds int
    The duration in seconds for each fragment.
    State string
    The current state of the Packaging Configuration.
    StreamPackagingFormat string

    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

    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    CompartmentId string
    The compartment ID of the lock.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    DistributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    Encryption StreamPackagingConfigEncryptionArgs
    The encryption used by the stream packaging configuration.
    FreeformTags 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"}
    IsLockOverride bool
    Locks []StreamPackagingConfigLockArgs
    Locks associated with this resource.
    SegmentTimeInSeconds int
    The duration in seconds for each fragment.
    State string
    The current state of the Packaging Configuration.
    StreamPackagingFormat string

    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

    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    compartmentId String
    The compartment ID of the lock.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId String
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    encryption StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    freeformTags 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"}
    isLockOverride Boolean
    locks List<StreamPackagingConfigLock>
    Locks associated with this resource.
    segmentTimeInSeconds Integer
    The duration in seconds for each fragment.
    state String
    The current state of the Packaging Configuration.
    streamPackagingFormat String

    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

    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    compartmentId string
    The compartment ID of the lock.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId string
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    encryption StreamPackagingConfigEncryption
    The encryption used by the stream packaging configuration.
    freeformTags {[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"}
    isLockOverride boolean
    locks StreamPackagingConfigLock[]
    Locks associated with this resource.
    segmentTimeInSeconds number
    The duration in seconds for each fragment.
    state string
    The current state of the Packaging Configuration.
    streamPackagingFormat string

    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

    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.
    compartment_id str
    The compartment ID of the lock.
    defined_tags 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_id str
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    encryption mediaservices.StreamPackagingConfigEncryptionArgs
    The encryption used by the stream packaging configuration.
    freeform_tags 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_override bool
    locks Sequence[mediaservices.StreamPackagingConfigLockArgs]
    Locks associated with this resource.
    segment_time_in_seconds int
    The duration in seconds for each fragment.
    state str
    The current state of the Packaging Configuration.
    stream_packaging_format str

    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

    system_tags 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.
    compartmentId String
    The compartment ID of the lock.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the stream Packaging Configuration. Avoid entering confidential information.
    distributionChannelId String
    Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.
    encryption Property Map
    The encryption used by the stream packaging configuration.
    freeformTags 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"}
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    segmentTimeInSeconds Number
    The duration in seconds for each fragment.
    state String
    The current state of the Packaging Configuration.
    streamPackagingFormat String

    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

    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.

    Supporting Types

    StreamPackagingConfigEncryption, StreamPackagingConfigEncryptionArgs

    Algorithm string
    The encryption algorithm for the stream packaging configuration.
    KmsKeyId string
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
    Algorithm string
    The encryption algorithm for the stream packaging configuration.
    KmsKeyId string
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
    algorithm String
    The encryption algorithm for the stream packaging configuration.
    kmsKeyId String
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
    algorithm string
    The encryption algorithm for the stream packaging configuration.
    kmsKeyId string
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
    algorithm str
    The encryption algorithm for the stream packaging configuration.
    kms_key_id str
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
    algorithm String
    The encryption algorithm for the stream packaging configuration.
    kmsKeyId String
    The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).

    StreamPackagingConfigLock, StreamPackagingConfigLockArgs

    CompartmentId 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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    CompartmentId 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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    compartmentId 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.
    compartmentId 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.
    relatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated 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.
    related_resource_id 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.
    compartmentId 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated 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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi