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.ContentKeyPolicyConfigurationContentKeyPolicyFairPlayConfiguration
Constructor
ContentKeyPolicyFairPlayConfiguration(*, ask: bytearray, fair_play_pfx_password: str, fair_play_pfx: str, rental_and_lease_key_type: Union[str, _models.ContentKeyPolicyFairPlayRentalAndLeaseKeyType], rental_duration: int, offline_rental_configuration: Optional[_models.ContentKeyPolicyFairPlayOfflineRentalConfiguration] = None, **kwargs)
Variables
- odata_type
- str
Required. The discriminator for derived types.Constant filled by server.
- ask
- bytearray
Required. The key that must be used as FairPlay Application Secret key.
- fair_play_pfx_password
- str
Required. The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- fair_play_pfx
- str
Required. The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- rental_and_lease_key_type
- str or ContentKeyPolicyFairPlayRentalAndLeaseKeyType
Required. The rental and lease key type. Known values are: "Unknown", "Undefined", "DualExpiry", "PersistentUnlimited", "PersistentLimited".
- rental_duration
- <xref:long>
Required. The rental duration. Must be greater than or equal to 0.
- offline_rental_configuration
- ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy.
Feedback
Submit and view feedback for