CreateStreamPackagingConfigDetails¶
- class oci.media_services.models.CreateStreamPackagingConfigDetails(**kwargs)¶
Bases:
objectThe information about the new Packaging Configuration.
Attributes:
A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails.
A constant which can be used with the stream_packaging_format property of a CreateStreamPackagingConfigDetails.
Gets the defined_tags of this CreateStreamPackagingConfigDetails.
[Required] Gets the display_name of this CreateStreamPackagingConfigDetails.
[Required] Gets the distribution_channel_id of this CreateStreamPackagingConfigDetails.
Gets the encryption of this CreateStreamPackagingConfigDetails.
Gets the freeform_tags of this CreateStreamPackagingConfigDetails.
Gets the locks of this CreateStreamPackagingConfigDetails.
[Required] Gets the segment_time_in_seconds of this CreateStreamPackagingConfigDetails.
[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
- 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
- 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