Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::LiveOutput

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2020-05-01/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

indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window.

Returns:

  • (Duration)

    ISO 8601 time between 1 minute to 25 hours to



26
27
28
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 26

def archive_window_length
  @archive_window_length
end

#asset_nameString

Returns The asset that the live output will write to.

Returns:

  • (String)

    The asset that the live output will write to.



19
20
21
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 19

def asset_name
  @asset_name
end

#createdDateTime

Returns The creation time the live output.

Returns:

  • (DateTime)

    The creation time the live output.



41
42
43
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 41

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/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 16

def description
  @description
end

#hlsHls

output.

Returns:

  • (Hls)

    HTTP Live Streaming (HLS) packing setting for the live



34
35
36
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 34

def hls
  @hls
end

#last_modifiedDateTime

Returns The time the live output was last modified.

Returns:

  • (DateTime)

    The time the live output was last modified.



44
45
46
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 44

def last_modified
  @last_modified
end

#manifest_nameString

will generate one automatically.

Returns:

  • (String)

    The manifest file name. If not provided, the service



30
31
32
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 30

def manifest_name
  @manifest_name
end

#output_snap_timeInteger

at, any content before this value will not be archived.

Returns:

  • (Integer)

    The initial timestamp that the live output will start



38
39
40
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 38

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.



47
48
49
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 47

def provisioning_state
  @provisioning_state
end

#resource_stateLiveOutputResourceState

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

Returns:



51
52
53
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 51

def resource_state
  @resource_state
end

Class Method Details

.mapperObject

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



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
179
180
181
182
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 58

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: 'String'
          }
        }
      }
    }
  }
end