CreateStreamPackagingConfigDetails

class oci.media_services.models.CreateStreamPackagingConfigDetails(**kwargs)

Bases: object

The information about the new Packaging Configuration.

Attributes:

STREAM_PACKAGING_FORMAT_DASH

A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails.

STREAM_PACKAGING_FORMAT_HLS

A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails.

defined_tags

Gets the defined_tags of this CreateStreamPackagingConfigDetails.

display_name

[Required] Gets the display_name of this CreateStreamPackagingConfigDetails.

distribution_channel_id

[Required] Gets the distribution_channel_id of this CreateStreamPackagingConfigDetails.

encryption

Gets the encryption of this CreateStreamPackagingConfigDetails.

freeform_tags

Gets the freeform_tags of this CreateStreamPackagingConfigDetails.

locks

Gets the locks of this CreateStreamPackagingConfigDetails.

segment_time_in_seconds

[Required] Gets the segment_time_in_seconds of this CreateStreamPackagingConfigDetails.

stream_packaging_format

[Required] Gets the stream_packaging_format of this CreateStreamPackagingConfigDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateStreamPackagingConfigDetails object with values from keyword arguments.

STREAM_PACKAGING_FORMAT_DASH = 'DASH'

A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails. This constant has a value of “DASH”

STREAM_PACKAGING_FORMAT_HLS = 'HLS'

A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails. This constant has a value of “HLS”

__init__(**kwargs)

Initializes a new CreateStreamPackagingConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this CreateStreamPackagingConfigDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateStreamPackagingConfigDetails.

  • stream_packaging_format (str) – The value to assign to the stream_packaging_format property of this CreateStreamPackagingConfigDetails. Allowed values for this property are: “HLS”, “DASH”

  • segment_time_in_seconds (int) – The value to assign to the segment_time_in_seconds property of this CreateStreamPackagingConfigDetails.

  • encryption (oci.media_services.models.StreamPackagingConfigEncryption) – The value to assign to the encryption property of this CreateStreamPackagingConfigDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateStreamPackagingConfigDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateStreamPackagingConfigDetails.

  • locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this CreateStreamPackagingConfigDetails.

property defined_tags

Gets the defined_tags of this CreateStreamPackagingConfigDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateStreamPackagingConfigDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateStreamPackagingConfigDetails. The name of the stream Packaging Configuration. Avoid entering confidential information.

Returns

The display_name of this CreateStreamPackagingConfigDetails.

Return type

str

property distribution_channel_id

[Required] Gets the distribution_channel_id of this CreateStreamPackagingConfigDetails. Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.

Returns

The distribution_channel_id of this CreateStreamPackagingConfigDetails.

Return type

str

property encryption

Gets the encryption of this CreateStreamPackagingConfigDetails.

Returns

The encryption of this CreateStreamPackagingConfigDetails.

Return type

oci.media_services.models.StreamPackagingConfigEncryption

property freeform_tags

Gets the freeform_tags of this CreateStreamPackagingConfigDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateStreamPackagingConfigDetails.

Return type

dict(str, str)

property locks

Gets the locks of this CreateStreamPackagingConfigDetails. Locks associated with this resource.

Returns

The locks of this CreateStreamPackagingConfigDetails.

Return type

list[oci.media_services.models.ResourceLock]

property segment_time_in_seconds

[Required] Gets the segment_time_in_seconds of this CreateStreamPackagingConfigDetails. The duration in seconds for each fragment.

Returns

The segment_time_in_seconds of this CreateStreamPackagingConfigDetails.

Return type

int

property stream_packaging_format

[Required] Gets the stream_packaging_format of this CreateStreamPackagingConfigDetails. The output format for the package.

Allowed values for this property are: “HLS”, “DASH”

Returns

The stream_packaging_format of this CreateStreamPackagingConfigDetails.

Return type

str