Class: Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayConfiguration
- Inherits:
-
ContentKeyPolicyConfiguration
- Object
- ContentKeyPolicyConfiguration
- Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb
Overview
Specifies a configuration for FairPlay licenses.
Instance Attribute Summary collapse
-
#ask ⇒ Array<Integer>
The key that must be used as FairPlay ASk.
-
#fair_play_pfx ⇒ String
PKCS 12 (pfx) format (including private key).
-
#fair_play_pfx_password ⇒ String
12 (pfx) format.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#rental_and_lease_key_type ⇒ ContentKeyPolicyFairPlayRentalAndLeaseKeyType
lease key type.
-
#rental_duration ⇒ Integer
0.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicyFairPlayConfiguration class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ContentKeyPolicyFairPlayConfiguration
constructor
A new instance of ContentKeyPolicyFairPlayConfiguration.
Constructor Details
#initialize ⇒ ContentKeyPolicyFairPlayConfiguration
Returns a new instance of ContentKeyPolicyFairPlayConfiguration.
16 17 18 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 16 def initialize @odatatype = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration" end |
Instance Attribute Details
#ask ⇒ Array<Integer>
Returns The key that must be used as FairPlay ASk.
23 24 25 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 23 def ask @ask end |
#fair_play_pfx ⇒ String
PKCS 12 (pfx) format (including private key).
31 32 33 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 31 def fair_play_pfx @fair_play_pfx end |
#fair_play_pfx_password ⇒ String
12 (pfx) format.
27 28 29 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 27 def fair_play_pfx_password @fair_play_pfx_password end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 20 def odatatype @odatatype end |
#rental_and_lease_key_type ⇒ ContentKeyPolicyFairPlayRentalAndLeaseKeyType
lease key type. Possible values include: ‘Unknown’, ‘Undefined’, ‘PersistentUnlimited’, ‘PersistentLimited’
36 37 38 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 36 def rental_and_lease_key_type @rental_and_lease_key_type end |
#rental_duration ⇒ Integer
0.
40 41 42 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 40 def rental_duration @rental_duration end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicyFairPlayConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyFairPlayConfiguration', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, ask: { client_side_validation: true, required: true, serialized_name: 'ask', type: { name: 'ByteArray' } }, fair_play_pfx_password: { client_side_validation: true, required: true, serialized_name: 'fairPlayPfxPassword', type: { name: 'String' } }, fair_play_pfx: { client_side_validation: true, required: true, serialized_name: 'fairPlayPfx', type: { name: 'String' } }, rental_and_lease_key_type: { client_side_validation: true, required: true, serialized_name: 'rentalAndLeaseKeyType', type: { name: 'Enum', module: 'ContentKeyPolicyFairPlayRentalAndLeaseKeyType' } }, rental_duration: { client_side_validation: true, required: true, serialized_name: 'rentalDuration', type: { name: 'Number' } } } } } end |