你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContentKeyPolicyPlayReadyLicense 类
PlayReady 许可证。
必须填充所有必需的参数才能发送到 Azure。
- 继承
-
azure.mgmt.media._serialization.ModelContentKeyPolicyPlayReadyLicense
构造函数
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)
仅限关键字的参数
名称 | 说明 |
---|---|
allow_test_devices
|
指示测试设备是否可以使用许可证的标志。 必需。 |
security_level
|
安全级别。 已知值为:“Unknown”、“SL150”、“SL2000”和“SL3000”。 |
begin_date
|
许可证的开始日期。 |
expiration_date
|
许可证的到期日期。 |
relative_begin_date
|
许可证的相对开始日期。 |
relative_expiration_date
|
许可证的相对到期日期。 |
grace_period
|
许可证的宽限期。 |
play_right
|
许可证 PlayRight。 |
license_type
|
许可证类型。 必需。 已知值为:“Unknown”、“NonPersistent”和“Persistent”。 |
content_key_location
|
内容密钥位置。 必需。 |
content_type
|
PlayReady 内容类型。 必需。 已知值为:“Unknown”、“Unspecified”、“UltraVioletDownload”和“UltraVioletStreaming”。 |
变量
名称 | 说明 |
---|---|
allow_test_devices
|
指示测试设备是否可以使用许可证的标志。 必需。 |
security_level
|
安全级别。 已知值为:“Unknown”、“SL150”、“SL2000”和“SL3000”。 |
begin_date
|
许可证的开始日期。 |
expiration_date
|
许可证的到期日期。 |
relative_begin_date
|
许可证的相对开始日期。 |
relative_expiration_date
|
许可证的相对到期日期。 |
grace_period
|
许可证的宽限期。 |
play_right
|
许可证 PlayRight。 |
license_type
|
许可证类型。 必需。 已知值为:“Unknown”、“NonPersistent”和“Persistent”。 |
content_key_location
|
内容密钥位置。 必需。 |
content_type
|
PlayReady 内容类型。 必需。 已知值为:“Unknown”、“Unspecified”、“UltraVioletDownload”和“UltraVioletStreaming”。 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈