Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::LiveEventPreview
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2020_05_01::Models::LiveEventPreview
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb
Overview
Live event preview settings.
Instance Attribute Summary collapse
-
#access_control ⇒ LiveEventPreviewAccessControl
event preview.
-
#alternative_media_id ⇒ String
streaming locator created for the preview.
-
#endpoints ⇒ Array<LiveEventEndpoint>
share the preview URL with the live event audience.
-
#preview_locator ⇒ String
Specifying this at creation time allows the caller to know the preview locator url before the event is created.
-
#streaming_policy_name ⇒ String
preview.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LiveEventPreview class as Ruby Hash.
Instance Attribute Details
#access_control ⇒ LiveEventPreviewAccessControl
event preview.
21 22 23 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 21 def access_control @access_control end |
#alternative_media_id ⇒ String
streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.
41 42 43 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 41 def alternative_media_id @alternative_media_id end |
#endpoints ⇒ Array<LiveEventEndpoint>
share the preview URL with the live event audience.
17 18 19 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 17 def endpoints @endpoints end |
#preview_locator ⇒ String
Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created.
28 29 30 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 28 def preview_locator @preview_locator end |
#streaming_policy_name ⇒ String
preview. This value is specified at creation time and cannot be updated.
33 34 35 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 33 def streaming_policy_name @streaming_policy_name end |
Class Method Details
.mapper ⇒ Object
Mapper for LiveEventPreview class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LiveEventPreview', type: { name: 'Composite', class_name: 'LiveEventPreview', model_properties: { endpoints: { client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'LiveEventEndpointElementType', type: { name: 'Composite', class_name: 'LiveEventEndpoint' } } } }, access_control: { client_side_validation: true, required: false, serialized_name: 'accessControl', type: { name: 'Composite', class_name: 'LiveEventPreviewAccessControl' } }, preview_locator: { client_side_validation: true, required: false, serialized_name: 'previewLocator', type: { name: 'String' } }, streaming_policy_name: { client_side_validation: true, required: false, serialized_name: 'streamingPolicyName', type: { name: 'String' } }, alternative_media_id: { client_side_validation: true, required: false, serialized_name: 'alternativeMediaId', type: { name: 'String' } } } } } end |