Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb

Overview

The Live Output.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#archive_window_lengthDuration

length. This is duration that customer want to retain the recorded content.

Returns:

  • (Duration)

    ISO 8601 timespan duration of the archive window



24
25
26
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 24

def archive_window_length
  @archive_window_length
end

#asset_nameString

Returns The asset name.

Returns:

  • (String)

    The asset name.



19
20
21
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 19

def asset_name
  @asset_name
end

#createdDateTime

Returns The exact time the Live Output was created.

Returns:

  • (DateTime)

    The exact time the Live Output was created.



36
37
38
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 36

def created
  @created
end

#descriptionString

Returns The description of the Live Output.

Returns:

  • (String)

    The description of the Live Output.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 16

def description
  @description
end

#hlsHls

Returns The HLS configuration.

Returns:

  • (Hls)

    The HLS configuration.



30
31
32
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 30

def hls
  @hls
end

#last_modifiedDateTime

Returns The exact time the Live Output was last modified.

Returns:

  • (DateTime)

    The exact time the Live Output was last modified.



39
40
41
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 39

def last_modified
  @last_modified
end

#manifest_nameString

Returns The manifest file name.

Returns:

  • (String)

    The manifest file name.



27
28
29
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 27

def manifest_name
  @manifest_name
end

#output_snap_timeInteger

Returns The output snapshot time.

Returns:

  • (Integer)

    The output snapshot time.



33
34
35
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 33

def output_snap_time
  @output_snap_time
end

#provisioning_stateString

Returns The provisioning state of the Live Output.

Returns:

  • (String)

    The provisioning state of the Live Output.



42
43
44
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 42

def provisioning_state
  @provisioning_state
end

#resource_stateLiveOutputResourceState

Output. Possible values include: ‘Creating’, ‘Running’, ‘Deleting’

Returns:



46
47
48
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 46

def resource_state
  @resource_state
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb', line 53

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LiveOutput',
    type: {
      name: 'Composite',
      class_name: 'LiveOutput',
      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'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        asset_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.assetName',
          type: {
            name: 'String'
          }
        },
        archive_window_length: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.archiveWindowLength',
          type: {
            name: 'TimeSpan'
          }
        },
        manifest_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.manifestName',
          type: {
            name: 'String'
          }
        },
        hls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hls',
          type: {
            name: 'Composite',
            class_name: 'Hls'
          }
        },
        output_snap_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.outputSnapTime',
          type: {
            name: 'Number'
          }
        },
        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'
          }
        },
        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: 'Enum',
            module: 'LiveOutputResourceState'
          }
        }
      }
    }
  }
end