MediaAssetDistributionChannelAttachment¶
- class oci.media_services.models.MediaAssetDistributionChannelAttachment(**kwargs)¶
Bases:
objectAttachment between MediaAsset and streaming DistributionChannel.
Attributes:
A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
A constant which can be used with the lifecycle_state property of a MediaAssetDistributionChannelAttachment.
Gets the display_name of this MediaAssetDistributionChannelAttachment.
[Required] Gets the distribution_channel_id of this MediaAssetDistributionChannelAttachment.
[Required] Gets the lifecycle_state of this MediaAssetDistributionChannelAttachment.
Gets the locks of this MediaAssetDistributionChannelAttachment.
Gets the media_workflow_job_id of this MediaAssetDistributionChannelAttachment.
[Required] Gets the metadata_ref of this MediaAssetDistributionChannelAttachment.
[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.
- property 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
- property 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
- property 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
- property locks¶
Gets the locks of this MediaAssetDistributionChannelAttachment. Locks associated with this resource.
- Returns
The locks of this MediaAssetDistributionChannelAttachment.
- Return type
- property 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
- property 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
- property version¶
[Required] Gets the version of this MediaAssetDistributionChannelAttachment. Version of the attachment.
- Returns
The version of this MediaAssetDistributionChannelAttachment.
- Return type
int