ContentKeyPolicyPlayReadyLicense クラス

PlayReady ライセンス。

Azure に送信するには、必要なすべてのパラメーターを設定する必要があります。

継承
azure.mgmt.media._serialization.Model
ContentKeyPolicyPlayReadyLicense

コンストラクター

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 パラメータ

名前 説明
allow_test_devices

テスト デバイスでライセンスを使用できるかどうかを示すフラグ。 必須。

security_level
str または SecurityLevel

セキュリティ レベル。 既知の値は、"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
str または SecurityLevel

セキュリティ レベル。 既知の値は、"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" です。