Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint

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

Overview

The StreamingEndpoint.

Instance Attribute Summary collapse

Attributes inherited from TrackedResource

#location, #tags

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#access_controlStreamingEndpointAccessControl

of the StreamingEndpoint.

Returns:



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

def access_control
  @access_control
end

#availability_set_nameString

StreamingEndpoint for high availability streaming. This value can only be set at creation time.

Returns:

  • (String)

    The name of the AvailabilitySet used with this



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

def availability_set_name
  @availability_set_name
end

#cdn_enabledBoolean

Returns The CDN enabled flag.

Returns:

  • (Boolean)

    The CDN enabled flag.



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

def cdn_enabled
  @cdn_enabled
end

#cdn_profileString

Returns The CDN profile name.

Returns:

  • (String)

    The CDN profile name.



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

def cdn_profile
  @cdn_profile
end

#cdn_providerString

Returns The CDN provider name.

Returns:

  • (String)

    The CDN provider name.



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

def cdn_provider
  @cdn_provider
end

#createdDateTime

Returns The exact time the StreamingEndpoint was created.

Returns:

  • (DateTime)

    The exact time the StreamingEndpoint was created.



65
66
67
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 65

def created
  @created
end

#cross_site_access_policiesCrossSiteAccessPolicies

policies.

Returns:



59
60
61
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 59

def cross_site_access_policies
  @cross_site_access_policies
end

#custom_host_namesArray<String>

Returns The custom host names of the StreamingEndpoint.

Returns:

  • (Array<String>)

    The custom host names of the StreamingEndpoint



35
36
37
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 35

def custom_host_names
  @custom_host_names
end

#descriptionString

Returns The StreamingEndpoint description.

Returns:

  • (String)

    The StreamingEndpoint description.



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

def description
  @description
end

#free_trial_end_timeDateTime

Returns The free trial expiration time.

Returns:

  • (DateTime)

    The free trial expiration time.



62
63
64
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 62

def free_trial_end_time
  @free_trial_end_time
end

#host_nameString

Returns The StreamingEndpoint host name.

Returns:

  • (String)

    The StreamingEndpoint host name.



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

def host_name
  @host_name
end

#last_modifiedDateTime

modified.

Returns:

  • (DateTime)

    The exact time the StreamingEndpoint was last



69
70
71
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 69

def last_modified
  @last_modified
end

#max_cache_ageInteger

Returns Max cache age.

Returns:

  • (Integer)

    Max cache age



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

def max_cache_age
  @max_cache_age
end

#provisioning_stateString

Returns The provisioning state of the StreamingEndpoint.

Returns:

  • (String)

    The provisioning state of the StreamingEndpoint.



50
51
52
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 50

def provisioning_state
  @provisioning_state
end

#resource_stateStreamingEndpointResourceState

StreamingEndpoint. Possible values include: ‘Stopped’, ‘Starting’, ‘Running’, ‘Stopping’, ‘Deleting’, ‘Scaling’

Returns:



55
56
57
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 55

def resource_state
  @resource_state
end

#scale_unitsInteger

to adjust this value.

Returns:

  • (Integer)

    The number of scale units. Use the Scale operation



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

def scale_units
  @scale_units
end

Class Method Details

.mapperObject

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



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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb', line 76

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StreamingEndpoint',
    type: {
      name: 'Composite',
      class_name: 'StreamingEndpoint',
      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'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        scale_units: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.scaleUnits',
          type: {
            name: 'Number'
          }
        },
        availability_set_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.availabilitySetName',
          type: {
            name: 'String'
          }
        },
        access_control: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accessControl',
          type: {
            name: 'Composite',
            class_name: 'StreamingEndpointAccessControl'
          }
        },
        max_cache_age: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.maxCacheAge',
          type: {
            name: 'Number'
          }
        },
        custom_host_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customHostNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        host_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hostName',
          type: {
            name: 'String'
          }
        },
        cdn_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cdnEnabled',
          type: {
            name: 'Boolean'
          }
        },
        cdn_provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cdnProvider',
          type: {
            name: 'String'
          }
        },
        cdn_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cdnProfile',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        resource_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.resourceState',
          type: {
            name: 'String'
          }
        },
        cross_site_access_policies: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.crossSiteAccessPolicies',
          type: {
            name: 'Composite',
            class_name: 'CrossSiteAccessPolicies'
          }
        },
        free_trial_end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.freeTrialEndTime',
          type: {
            name: 'DateTime'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.created',
          type: {
            name: 'DateTime'
          }
        },
        last_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModified',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end