HlsStreamPackagingConfig

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

Bases: StreamPackagingConfig

Configuration fields for a HLS Packaging Configuration.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig.

STREAM_PACKAGING_FORMAT_DASH

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

STREAM_PACKAGING_FORMAT_HLS

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

compartment_id

[Required] Gets the compartment_id of this StreamPackagingConfig.

defined_tags

Gets the defined_tags of this StreamPackagingConfig.

display_name

[Required] Gets the display_name of this StreamPackagingConfig.

distribution_channel_id

[Required] Gets the distribution_channel_id of this StreamPackagingConfig.

encryption

Gets the encryption of this StreamPackagingConfig.

freeform_tags

Gets the freeform_tags of this StreamPackagingConfig.

id

[Required] Gets the id of this StreamPackagingConfig.

lifecycle_state

Gets the lifecycle_state of this StreamPackagingConfig.

locks

Gets the locks of this StreamPackagingConfig.

segment_time_in_seconds

[Required] Gets the segment_time_in_seconds of this StreamPackagingConfig.

stream_packaging_format

[Required] Gets the stream_packaging_format of this StreamPackagingConfig.

system_tags

Gets the system_tags of this StreamPackagingConfig.

time_created

Gets the time_created of this StreamPackagingConfig.

time_updated

Gets the time_updated of this StreamPackagingConfig.

Methods:

__init__(**kwargs)

Initializes a new HlsStreamPackagingConfig object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig. This constant has a value of “DELETED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a StreamPackagingConfig. This constant has a value of “NEEDS_ATTENTION”

STREAM_PACKAGING_FORMAT_DASH = 'DASH'

A constant which can be used with the stream_packaging_format property of a StreamPackagingConfig. 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 StreamPackagingConfig. This constant has a value of “HLS”

__init__(**kwargs)

Initializes a new HlsStreamPackagingConfig object with values from keyword arguments. The default value of the stream_packaging_format attribute of this class is HLS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this HlsStreamPackagingConfig.

  • compartment_id (str) – The value to assign to the compartment_id property of this HlsStreamPackagingConfig.

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

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

  • stream_packaging_format (str) – The value to assign to the stream_packaging_format property of this HlsStreamPackagingConfig. 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 HlsStreamPackagingConfig.

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

  • time_created (datetime) – The value to assign to the time_created property of this HlsStreamPackagingConfig.

  • time_updated (datetime) – The value to assign to the time_updated property of this HlsStreamPackagingConfig.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HlsStreamPackagingConfig. Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “DELETED”

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

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

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

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

property compartment_id

[Required] Gets the compartment_id of this StreamPackagingConfig. Compartment Identifier

Returns

The compartment_id of this StreamPackagingConfig.

Return type

str

property defined_tags

Gets the defined_tags of this StreamPackagingConfig. 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 StreamPackagingConfig.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this StreamPackagingConfig. The name of the stream packaging configuration. Avoid entering confidential information.

Returns

The display_name of this StreamPackagingConfig.

Return type

str

property distribution_channel_id

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

Returns

The distribution_channel_id of this StreamPackagingConfig.

Return type

str

property encryption

Gets the encryption of this StreamPackagingConfig.

Returns

The encryption of this StreamPackagingConfig.

Return type

oci.media_services.models.StreamPackagingConfigEncryption

property freeform_tags

Gets the freeform_tags of this StreamPackagingConfig. 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 StreamPackagingConfig.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property id

[Required] Gets the id of this StreamPackagingConfig. Unique identifier that is immutable on creation.

Returns

The id of this StreamPackagingConfig.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this StreamPackagingConfig. The current state of the Packaging Configuration.

Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this StreamPackagingConfig.

Return type

str

property locks

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

Returns

The locks of this StreamPackagingConfig.

Return type

list[oci.media_services.models.ResourceLock]

property segment_time_in_seconds

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

Returns

The segment_time_in_seconds of this StreamPackagingConfig.

Return type

int

property stream_packaging_format

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

Allowed values for this property are: “HLS”, “DASH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The stream_packaging_format of this StreamPackagingConfig.

Return type

str

property system_tags

Gets the system_tags of this StreamPackagingConfig. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this StreamPackagingConfig.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this StreamPackagingConfig. The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.

Returns

The time_created of this StreamPackagingConfig.

Return type

datetime

property time_updated

Gets the time_updated of this StreamPackagingConfig. The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this StreamPackagingConfig.

Return type

datetime