StreamCdnConfig¶
-
class
oci.media_services.models.
StreamCdnConfig
(**kwargs)¶ Bases:
object
Configuration used for integrating with a CDN.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a StreamCdnConfig. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a StreamCdnConfig. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a StreamCdnConfig. compartment_id
[Required] Gets the compartment_id of this StreamCdnConfig. config
[Required] Gets the config of this StreamCdnConfig. defined_tags
Gets the defined_tags of this StreamCdnConfig. display_name
[Required] Gets the display_name of this StreamCdnConfig. distribution_channel_id
[Required] Gets the distribution_channel_id of this StreamCdnConfig. freeform_tags
Gets the freeform_tags of this StreamCdnConfig. id
[Required] Gets the id of this StreamCdnConfig. is_enabled
[Required] Gets the is_enabled of this StreamCdnConfig. lifecycle_state
Gets the lifecycle_state of this StreamCdnConfig. lifecyle_details
Gets the lifecyle_details of this StreamCdnConfig. locks
Gets the locks of this StreamCdnConfig. system_tags
Gets the system_tags of this StreamCdnConfig. time_created
Gets the time_created of this StreamCdnConfig. time_updated
Gets the time_updated of this StreamCdnConfig. Methods
__init__
(**kwargs)Initializes a new StreamCdnConfig object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a StreamCdnConfig. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a StreamCdnConfig. 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 StreamCdnConfig. This constant has a value of “NEEDS_ATTENTION”
-
__init__
(**kwargs)¶ Initializes a new StreamCdnConfig object with values from keyword arguments. 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 StreamCdnConfig.
- display_name (str) – The value to assign to the display_name property of this StreamCdnConfig.
- compartment_id (str) – The value to assign to the compartment_id property of this StreamCdnConfig.
- distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this StreamCdnConfig.
- is_enabled (bool) – The value to assign to the is_enabled property of this StreamCdnConfig.
- config (oci.media_services.models.StreamCdnConfigSection) – The value to assign to the config property of this StreamCdnConfig.
- time_created (datetime) – The value to assign to the time_created property of this StreamCdnConfig.
- time_updated (datetime) – The value to assign to the time_updated property of this StreamCdnConfig.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this StreamCdnConfig. 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’.
- lifecyle_details (str) – The value to assign to the lifecyle_details property of this StreamCdnConfig.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this StreamCdnConfig.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this StreamCdnConfig.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this StreamCdnConfig.
- locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this StreamCdnConfig.
-
compartment_id
¶ [Required] Gets the compartment_id of this StreamCdnConfig. Compartment Identifier.
Returns: The compartment_id of this StreamCdnConfig. Return type: str
-
config
¶ [Required] Gets the config of this StreamCdnConfig.
Returns: The config of this StreamCdnConfig. Return type: oci.media_services.models.StreamCdnConfigSection
Gets the defined_tags of this StreamCdnConfig. 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 StreamCdnConfig. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this StreamCdnConfig. The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
Returns: The display_name of this StreamCdnConfig. Return type: str
-
distribution_channel_id
¶ [Required] Gets the distribution_channel_id of this StreamCdnConfig. Distribution Channel Identifier.
Returns: The distribution_channel_id of this StreamCdnConfig. Return type: str
Gets the freeform_tags of this StreamCdnConfig. 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 StreamCdnConfig. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this StreamCdnConfig. Unique identifier that is immutable on creation.
Returns: The id of this StreamCdnConfig. Return type: str
-
is_enabled
¶ [Required] Gets the is_enabled of this StreamCdnConfig. Whether publishing to CDN is enabled.
Returns: The is_enabled of this StreamCdnConfig. Return type: bool
-
lifecycle_state
¶ Gets the lifecycle_state of this StreamCdnConfig. The current state of the CDN 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 StreamCdnConfig. Return type: str
-
lifecyle_details
¶ Gets the lifecyle_details of this StreamCdnConfig. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Returns: The lifecyle_details of this StreamCdnConfig. Return type: str
-
locks
¶ Gets the locks of this StreamCdnConfig. Locks associated with this resource.
Returns: The locks of this StreamCdnConfig. Return type: list[oci.media_services.models.ResourceLock]
Gets the system_tags of this StreamCdnConfig. 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 StreamCdnConfig. Return type: dict(str, dict(str, object))
-
time_created
¶ Gets the time_created of this StreamCdnConfig. The time when the CDN Config was created. An RFC3339 formatted datetime string.
Returns: The time_created of this StreamCdnConfig. Return type: datetime
-
time_updated
¶ Gets the time_updated of this StreamCdnConfig. The time when the CDN Config was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this StreamCdnConfig. Return type: datetime
-