CreateStreamCdnConfigDetails

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

Bases: object

The information about the new CDN Configuration.

Methods

__init__(**kwargs) Initializes a new CreateStreamCdnConfigDetails object with values from keyword arguments.

Attributes

config [Required] Gets the config of this CreateStreamCdnConfigDetails.
defined_tags Gets the defined_tags of this CreateStreamCdnConfigDetails.
display_name [Required] Gets the display_name of this CreateStreamCdnConfigDetails.
distribution_channel_id [Required] Gets the distribution_channel_id of this CreateStreamCdnConfigDetails.
freeform_tags Gets the freeform_tags of this CreateStreamCdnConfigDetails.
is_enabled Gets the is_enabled of this CreateStreamCdnConfigDetails.
locks Gets the locks of this CreateStreamCdnConfigDetails.
__init__(**kwargs)

Initializes a new CreateStreamCdnConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateStreamCdnConfigDetails.
  • distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this CreateStreamCdnConfigDetails.
  • is_enabled (bool) – The value to assign to the is_enabled property of this CreateStreamCdnConfigDetails.
  • config (oci.media_services.models.StreamCdnConfigSection) – The value to assign to the config property of this CreateStreamCdnConfigDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateStreamCdnConfigDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateStreamCdnConfigDetails.
  • locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this CreateStreamCdnConfigDetails.
config

[Required] Gets the config of this CreateStreamCdnConfigDetails.

Returns:The config of this CreateStreamCdnConfigDetails.
Return type:oci.media_services.models.StreamCdnConfigSection
defined_tags

Gets the defined_tags of this CreateStreamCdnConfigDetails. 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 CreateStreamCdnConfigDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateStreamCdnConfigDetails. CDN Config display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.

Returns:The display_name of this CreateStreamCdnConfigDetails.
Return type:str
distribution_channel_id

[Required] Gets the distribution_channel_id of this CreateStreamCdnConfigDetails. Distribution Channel Identifier.

Returns:The distribution_channel_id of this CreateStreamCdnConfigDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateStreamCdnConfigDetails. 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 CreateStreamCdnConfigDetails.
Return type:dict(str, str)
is_enabled

Gets the is_enabled of this CreateStreamCdnConfigDetails. Whether publishing to CDN is enabled.

Returns:The is_enabled of this CreateStreamCdnConfigDetails.
Return type:bool
locks

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

Returns:The locks of this CreateStreamCdnConfigDetails.
Return type:list[oci.media_services.models.ResourceLock]