Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb

Overview

Class to specify configurations of Widevine in Streaming Policy

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_license_acquisition_url_templateString

licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are AlternativeMediaId, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and ContentKeyId, which is replaced with the value of identifier of the key being requested.

Returns:

  • (String)

    Template for the URL of the custom service delivering



23
24
25
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb', line 23

def custom_license_acquisition_url_template
  @custom_license_acquisition_url_template
end

Class Method Details

.mapperObject

Mapper for StreamingPolicyWidevineConfiguration class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StreamingPolicyWidevineConfiguration',
    type: {
      name: 'Composite',
      class_name: 'StreamingPolicyWidevineConfiguration',
      model_properties: {
        custom_license_acquisition_url_template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customLicenseAcquisitionUrlTemplate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end