Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventPreview

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

Overview

The Live Event preview.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_controlLiveEventPreviewAccessControl

LiveEvent preview.

Returns:



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 20

def access_control
  @access_control
end

#alternative_media_idString

StreamingLocator 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.

Returns:

  • (String)

    An Alternative Media Identifier associated with the



40
41
42
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 40

def alternative_media_id
  @alternative_media_id
end

#endpointsArray<LiveEventEndpoint>

Returns The endpoints for preview.

Returns:



16
17
18
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 16

def endpoints
  @endpoints
end

#preview_locatorString

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.

Returns:

  • (String)

    The identifier of the preview locator in Guid format.



27
28
29
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 27

def preview_locator
  @preview_locator
end

#streaming_policy_nameString

preview. This value is specified at creation time and cannot be updated.

Returns:

  • (String)

    The name of streaming policy used for the LiveEvent



32
33
34
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 32

def streaming_policy_name
  @streaming_policy_name
end

Class Method Details

.mapperObject

Mapper for LiveEventPreview 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
109
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_preview.rb', line 47

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