DashStreamPackagingConfig¶
-
class
oci.media_services.models.DashStreamPackagingConfig(**kwargs)¶ Bases:
oci.media_services.models.stream_packaging_config.StreamPackagingConfigConfiguration fields for a DASH Packaging Configuration.
Attributes
LIFECYCLE_STATE_ACTIVEstr(object=’’) -> str LIFECYCLE_STATE_DELETEDstr(object=’’) -> str LIFECYCLE_STATE_NEEDS_ATTENTIONstr(object=’’) -> str STREAM_PACKAGING_FORMAT_DASHstr(object=’’) -> str STREAM_PACKAGING_FORMAT_HLSstr(object=’’) -> str compartment_id[Required] Gets the compartment_id of this StreamPackagingConfig. defined_tagsGets 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. encryptionGets the encryption of this StreamPackagingConfig. freeform_tagsGets the freeform_tags of this StreamPackagingConfig. id[Required] Gets the id of this StreamPackagingConfig. lifecycle_stateGets the lifecycle_state of this StreamPackagingConfig. locksGets 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_tagsGets the system_tags of this StreamPackagingConfig. time_createdGets the time_created of this StreamPackagingConfig. time_updatedGets the time_updated of this StreamPackagingConfig. Methods
__init__(**kwargs)Initializes a new DashStreamPackagingConfig 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'¶
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶
-
STREAM_PACKAGING_FORMAT_DASH= 'DASH'¶
-
STREAM_PACKAGING_FORMAT_HLS= 'HLS'¶
-
__init__(**kwargs)¶ Initializes a new DashStreamPackagingConfig object with values from keyword arguments. The default value of the
stream_packaging_formatattribute of this class isDASHand 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 DashStreamPackagingConfig.
- compartment_id (str) – The value to assign to the compartment_id property of this DashStreamPackagingConfig.
- distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this DashStreamPackagingConfig.
- display_name (str) – The value to assign to the display_name property of this DashStreamPackagingConfig.
- stream_packaging_format (str) – The value to assign to the stream_packaging_format property of this DashStreamPackagingConfig. 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 DashStreamPackagingConfig.
- encryption (oci.media_services.models.StreamPackagingConfigEncryption) – The value to assign to the encryption property of this DashStreamPackagingConfig.
- time_created (datetime) – The value to assign to the time_created property of this DashStreamPackagingConfig.
- time_updated (datetime) – The value to assign to the time_updated property of this DashStreamPackagingConfig.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DashStreamPackagingConfig. 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 DashStreamPackagingConfig.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DashStreamPackagingConfig.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DashStreamPackagingConfig.
- locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this DashStreamPackagingConfig.
-
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
-