ContentKeyPolicyPlayReadyLicense Class
The PlayReady license.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ContentKeyPolicyPlayReadyLicense
Constructor
ContentKeyPolicyPlayReadyLicense(*, allow_test_devices: bool, license_type: Union[str, _models.ContentKeyPolicyPlayReadyLicenseType], content_key_location: _models.ContentKeyPolicyPlayReadyContentKeyLocation, content_type: Union[str, _models.ContentKeyPolicyPlayReadyContentType], begin_date: Optional[datetime.datetime] = None, expiration_date: Optional[datetime.datetime] = None, relative_begin_date: Optional[datetime.timedelta] = None, relative_expiration_date: Optional[datetime.timedelta] = None, grace_period: Optional[datetime.timedelta] = None, play_right: Optional[_models.ContentKeyPolicyPlayReadyPlayRight] = None, **kwargs)
Variables
- allow_test_devices
- bool
Required. A flag indicating whether test devices can use the license.
- begin_date
- datetime
The begin date of license.
- expiration_date
- datetime
The expiration date of license.
- relative_begin_date
- timedelta
The relative begin date of license.
- relative_expiration_date
- timedelta
The relative expiration date of license.
- grace_period
- timedelta
The grace period of license.
- play_right
- ContentKeyPolicyPlayReadyPlayRight
The license PlayRight.
- license_type
- str or ContentKeyPolicyPlayReadyLicenseType
Required. The license type. Known values are: "Unknown", "NonPersistent", "Persistent".
- content_key_location
- ContentKeyPolicyPlayReadyContentKeyLocation
Required. The content key location.
- content_type
- str or ContentKeyPolicyPlayReadyContentType
Required. The PlayReady content type. Known values are: "Unknown", "Unspecified", "UltraVioletDownload", "UltraVioletStreaming".
Feedback
Submit and view feedback for