ContentKeyPolicyFairPlayConfiguration Class

Specifies a configuration for FairPlay licenses.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media.models._models_py3.ContentKeyPolicyConfiguration
ContentKeyPolicyFairPlayConfiguration

Constructor

ContentKeyPolicyFairPlayConfiguration(*, ask: bytes, fair_play_pfx_password: str, fair_play_pfx: str, rental_and_lease_key_type: str | _models.ContentKeyPolicyFairPlayRentalAndLeaseKeyType, rental_duration: int, offline_rental_configuration: _models.ContentKeyPolicyFairPlayOfflineRentalConfiguration | None = None, **kwargs)

Keyword-Only Parameters

Name Description
ask

The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded. Required.

fair_play_pfx_password
str

The password encrypting FairPlay certificate in PKCS 12 (pfx) format. Required.

fair_play_pfx
str

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key). Required.

rental_and_lease_key_type

The rental and lease key type. Required. Known values are: "Unknown", "Undefined", "DualExpiry", "PersistentUnlimited", and "PersistentLimited".

rental_duration
int

The rental duration. Must be greater than or equal to 0. Required.

offline_rental_configuration

Offline rental policy.

Variables

Name Description
odata_type
str

The discriminator for derived types. Required.

ask

The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded. Required.

fair_play_pfx_password
str

The password encrypting FairPlay certificate in PKCS 12 (pfx) format. Required.

fair_play_pfx
str

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key). Required.

rental_and_lease_key_type

The rental and lease key type. Required. Known values are: "Unknown", "Undefined", "DualExpiry", "PersistentUnlimited", and "PersistentLimited".

rental_duration
int

The rental duration. Must be greater than or equal to 0. Required.

offline_rental_configuration

Offline rental policy.