ContentKeyPolicyPlayReadyLicense Class
The PlayReady license.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.media._serialization.ModelContentKeyPolicyPlayReadyLicense
Constructor
ContentKeyPolicyPlayReadyLicense(*, allow_test_devices: bool, license_type: str | _models.ContentKeyPolicyPlayReadyLicenseType, content_key_location: _models.ContentKeyPolicyPlayReadyContentKeyLocation, content_type: str | _models.ContentKeyPolicyPlayReadyContentType, security_level: str | _models.SecurityLevel | None = None, begin_date: datetime | None = None, expiration_date: datetime | None = None, relative_begin_date: timedelta | None = None, relative_expiration_date: timedelta | None = None, grace_period: timedelta | None = None, play_right: _models.ContentKeyPolicyPlayReadyPlayRight | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
allow_test_devices
|
A flag indicating whether test devices can use the license. Required. |
security_level
|
str or
SecurityLevel
The security level. Known values are: "Unknown", "SL150", "SL2000", and "SL3000". |
begin_date
|
The begin date of license. |
expiration_date
|
The expiration date of license. |
relative_begin_date
|
The relative begin date of license. |
relative_expiration_date
|
The relative expiration date of license. |
grace_period
|
The grace period of license. |
play_right
|
The license PlayRight. |
license_type
|
The license type. Required. Known values are: "Unknown", "NonPersistent", and "Persistent". |
content_key_location
|
The content key location. Required. |
content_type
|
The PlayReady content type. Required. Known values are: "Unknown", "Unspecified", "UltraVioletDownload", and "UltraVioletStreaming". |
Variables
Name | Description |
---|---|
allow_test_devices
|
A flag indicating whether test devices can use the license. Required. |
security_level
|
str or
SecurityLevel
The security level. Known values are: "Unknown", "SL150", "SL2000", and "SL3000". |
begin_date
|
The begin date of license. |
expiration_date
|
The expiration date of license. |
relative_begin_date
|
The relative begin date of license. |
relative_expiration_date
|
The relative expiration date of license. |
grace_period
|
The grace period of license. |
play_right
|
The license PlayRight. |
license_type
|
The license type. Required. Known values are: "Unknown", "NonPersistent", and "Persistent". |
content_key_location
|
The content key location. Required. |
content_type
|
The PlayReady content type. Required. Known values are: "Unknown", "Unspecified", "UltraVioletDownload", and "UltraVioletStreaming". |
Azure SDK for Python