Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::StreamingPolicy
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::MediaServices::Mgmt::V2020_05_01::Models::StreamingPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb
Overview
A Streaming Policy resource
Instance Attribute Summary collapse
-
#common_encryption_cbcs ⇒ CommonEncryptionCbcs
Configuration of CommonEncryptionCbcs.
-
#common_encryption_cenc ⇒ CommonEncryptionCenc
Configuration of CommonEncryptionCenc.
-
#created ⇒ DateTime
Creation time of Streaming Policy.
-
#default_content_key_policy_name ⇒ String
Default ContentKey used by current Streaming Policy.
-
#envelope_encryption ⇒ EnvelopeEncryption
Configuration of EnvelopeEncryption.
-
#no_encryption ⇒ NoEncryption
Configurations of NoEncryption.
-
#system_data ⇒ SystemData
The system metadata relating to this resource.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingPolicy class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#common_encryption_cbcs ⇒ CommonEncryptionCbcs
Returns Configuration of CommonEncryptionCbcs.
28 29 30 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 28 def common_encryption_cbcs @common_encryption_cbcs end |
#common_encryption_cenc ⇒ CommonEncryptionCenc
Returns Configuration of CommonEncryptionCenc.
25 26 27 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 25 def common_encryption_cenc @common_encryption_cenc end |
#created ⇒ DateTime
Returns Creation time of Streaming Policy.
16 17 18 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 16 def created @created end |
#default_content_key_policy_name ⇒ String
Returns Default ContentKey used by current Streaming Policy.
19 20 21 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 19 def default_content_key_policy_name @default_content_key_policy_name end |
#envelope_encryption ⇒ EnvelopeEncryption
Returns Configuration of EnvelopeEncryption.
22 23 24 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 22 def envelope_encryption @envelope_encryption end |
#no_encryption ⇒ NoEncryption
Returns Configurations of NoEncryption.
31 32 33 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 31 def no_encryption @no_encryption end |
#system_data ⇒ SystemData
Returns The system metadata relating to this resource.
34 35 36 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 34 def system_data @system_data end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingPolicy class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 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 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingPolicy', type: { name: 'Composite', class_name: 'StreamingPolicy', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', type: { name: 'DateTime' } }, default_content_key_policy_name: { client_side_validation: true, required: false, serialized_name: 'properties.defaultContentKeyPolicyName', type: { name: 'String' } }, envelope_encryption: { client_side_validation: true, required: false, serialized_name: 'properties.envelopeEncryption', type: { name: 'Composite', class_name: 'EnvelopeEncryption' } }, common_encryption_cenc: { client_side_validation: true, required: false, serialized_name: 'properties.commonEncryptionCenc', type: { name: 'Composite', class_name: 'CommonEncryptionCenc' } }, common_encryption_cbcs: { client_side_validation: true, required: false, serialized_name: 'properties.commonEncryptionCbcs', type: { name: 'Composite', class_name: 'CommonEncryptionCbcs' } }, no_encryption: { client_side_validation: true, required: false, serialized_name: 'properties.noEncryption', type: { name: 'Composite', class_name: 'NoEncryption' } }, system_data: { client_side_validation: true, required: false, read_only: true, serialized_name: 'systemData', type: { name: 'Composite', class_name: 'SystemData' } } } } } end |