Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb

Overview

A Streaming Locator resource

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#alternative_media_idString

Returns Alternative Media ID of this Streaming Locator.

Returns:

  • (String)

    Alternative Media ID of this Streaming Locator



48
49
50
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 48

def alternative_media_id
  @alternative_media_id
end

#asset_nameString

Returns Asset Name.

Returns:

  • (String)

    Asset Name



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

def asset_name
  @asset_name
end

#content_keysArray<StreamingLocatorContentKey>

this Streaming Locator.

Returns:



45
46
47
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 45

def content_keys
  @content_keys
end

#createdDateTime

Returns The creation time of the Streaming Locator.

Returns:

  • (DateTime)

    The creation time of the Streaming Locator.



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

def created
  @created
end

#default_content_key_policy_nameString

Streaming Locator.

Returns:

  • (String)

    Name of the default ContentKeyPolicy used by this



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

def default_content_key_policy_name
  @default_content_key_policy_name
end

#end_timeDateTime

Returns The end time of the Streaming Locator.

Returns:

  • (DateTime)

    The end time of the Streaming Locator.



25
26
27
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 25

def end_time
  @end_time
end

#filtersArray<String>

to this streaming locator

Returns:

  • (Array<String>)

    A list of asset or account filters which apply



52
53
54
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 52

def filters
  @filters
end

#start_timeDateTime

Returns The start time of the Streaming Locator.

Returns:

  • (DateTime)

    The start time of the Streaming Locator.



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

def start_time
  @start_time
end

#streaming_locator_idObject

Returns The StreamingLocatorId of the Streaming Locator.

Returns:

  • The StreamingLocatorId of the Streaming Locator.



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

def streaming_locator_id
  @streaming_locator_id
end

#streaming_policy_nameString

Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: ‘Predefined_DownloadOnly’, ‘Predefined_ClearStreamingOnly’, ‘Predefined_DownloadAndClearStreaming’, ‘Predefined_ClearKey’, ‘Predefined_MultiDrmCencStreaming’ and ‘Predefined_MultiDrmStreaming’

Returns:

  • (String)

    Name of the Streaming Policy used by this Streaming



37
38
39
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 37

def streaming_policy_name
  @streaming_policy_name
end

Class Method Details

.mapperObject

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



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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator.rb', line 59

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StreamingLocator',
    type: {
      name: 'Composite',
      class_name: 'StreamingLocator',
      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'
          }
        },
        asset_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.assetName',
          type: {
            name: 'String'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.created',
          type: {
            name: 'DateTime'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        streaming_locator_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.streamingLocatorId',
          type: {
            name: 'String'
          }
        },
        streaming_policy_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.streamingPolicyName',
          type: {
            name: 'String'
          }
        },
        default_content_key_policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.defaultContentKeyPolicyName',
          type: {
            name: 'String'
          }
        },
        content_keys: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.contentKeys',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StreamingLocatorContentKeyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'StreamingLocatorContentKey'
                }
            }
          }
        },
        alternative_media_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.alternativeMediaId',
          type: {
            name: 'String'
          }
        },
        filters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.filters',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end