MediaAssetDistributionChannelAttachment

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

Bases: object

Attachment between MediaAsset and streaming DistributionChannel.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
display_name Gets the display_name of this MediaAssetDistributionChannelAttachment.
distribution_channel_id [Required] Gets the distribution_channel_id of this MediaAssetDistributionChannelAttachment.
lifecycle_state [Required] Gets the lifecycle_state of this MediaAssetDistributionChannelAttachment.
locks Gets the locks of this MediaAssetDistributionChannelAttachment.
media_workflow_job_id Gets the media_workflow_job_id of this MediaAssetDistributionChannelAttachment.
metadata_ref [Required] Gets the metadata_ref of this MediaAssetDistributionChannelAttachment.
version [Required] Gets the version of this MediaAssetDistributionChannelAttachment.

Methods

__init__(**kwargs) Initializes a new MediaAssetDistributionChannelAttachment object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment. This constant has a value of “CREATING”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new MediaAssetDistributionChannelAttachment 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 MediaAssetDistributionChannelAttachment.
  • display_name (str) – The value to assign to the display_name property of this MediaAssetDistributionChannelAttachment.
  • version (int) – The value to assign to the version property of this MediaAssetDistributionChannelAttachment.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MediaAssetDistributionChannelAttachment. Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • metadata_ref (str) – The value to assign to the metadata_ref property of this MediaAssetDistributionChannelAttachment.
  • media_workflow_job_id (str) – The value to assign to the media_workflow_job_id property of this MediaAssetDistributionChannelAttachment.
  • locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this MediaAssetDistributionChannelAttachment.
display_name

Gets the display_name of this MediaAssetDistributionChannelAttachment. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

[Required] Gets the distribution_channel_id of this MediaAssetDistributionChannelAttachment. OCID of associated Distribution Channel.

Returns:The distribution_channel_id of this MediaAssetDistributionChannelAttachment.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this MediaAssetDistributionChannelAttachment. Lifecycle state of the attachment.

Allowed values for this property are: “CREATING”, “ACTIVE”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this MediaAssetDistributionChannelAttachment.
Return type:str
locks

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

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

Gets the media_workflow_job_id of this MediaAssetDistributionChannelAttachment. The ingest MediaWorkflowJob ID that created this attachment.

Returns:The media_workflow_job_id of this MediaAssetDistributionChannelAttachment.
Return type:str
metadata_ref

[Required] Gets the metadata_ref of this MediaAssetDistributionChannelAttachment. The identifier for the metadata.

Returns:The metadata_ref of this MediaAssetDistributionChannelAttachment.
Return type:str
version

[Required] Gets the version of this MediaAssetDistributionChannelAttachment. Version of the attachment.

Returns:The version of this MediaAssetDistributionChannelAttachment.
Return type:int