StreamPackagingConfig¶
-
class
oci.media_services.models.
StreamPackagingConfig
(**kwargs)¶ Bases:
object
A stream packaging configuration for a Distribution Channel.
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 StreamPackagingConfig 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 StreamPackagingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 StreamPackagingConfig.
- compartment_id (str) – The value to assign to the compartment_id property of this StreamPackagingConfig.
- distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this StreamPackagingConfig.
- display_name (str) – The value to assign to the display_name property of this StreamPackagingConfig.
- stream_packaging_format (str) – The value to assign to the stream_packaging_format property of this StreamPackagingConfig. 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’.
- segment_time_in_seconds (int) – The value to assign to the segment_time_in_seconds property of this StreamPackagingConfig.
- encryption (oci.media_services.models.StreamPackagingConfigEncryption) – The value to assign to the encryption property of this StreamPackagingConfig.
- time_created (datetime) – The value to assign to the time_created property of this StreamPackagingConfig.
- time_updated (datetime) – The value to assign to the time_updated property of this StreamPackagingConfig.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this StreamPackagingConfig. 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’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this StreamPackagingConfig.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this StreamPackagingConfig.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this StreamPackagingConfig.
- locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this StreamPackagingConfig.
-
compartment_id
¶ [Required] Gets the compartment_id of this StreamPackagingConfig. Compartment Identifier
Returns: The compartment_id of this StreamPackagingConfig. Return type: str
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))
-
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
-
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
-
encryption
¶ Gets the encryption of this StreamPackagingConfig.
Returns: The encryption of this StreamPackagingConfig. Return type: oci.media_services.models.StreamPackagingConfigEncryption
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.
-
id
¶ [Required] Gets the id of this StreamPackagingConfig. Unique identifier that is immutable on creation.
Returns: The id of this StreamPackagingConfig. Return type: str
-
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
-
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]
-
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
-
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
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))
-
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
-
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
-