Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::LiveOutput
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::MediaServices::Mgmt::V2020_05_01::Models::LiveOutput
- 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
-
#archive_window_length ⇒ Duration
indicate the maximum content length that can be archived in the asset for this live output.
-
#asset_name ⇒ String
The asset that the live output will write to.
-
#created ⇒ DateTime
The creation time the live output.
-
#description ⇒ String
The description of the live output.
-
#hls ⇒ Hls
output.
-
#last_modified ⇒ DateTime
The time the live output was last modified.
-
#manifest_name ⇒ String
will generate one automatically.
-
#output_snap_time ⇒ Integer
at, any content before this value will not be archived.
-
#provisioning_state ⇒ String
The provisioning state of the live output.
-
#resource_state ⇒ LiveOutputResourceState
output.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LiveOutput class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#archive_window_length ⇒ Duration
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.
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_name ⇒ String
Returns 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 |
#created ⇒ DateTime
Returns 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 |
#description ⇒ String
Returns 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 |
#hls ⇒ Hls
output.
34 35 36 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/live_output.rb', line 34 def hls @hls end |
#last_modified ⇒ DateTime
Returns 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_name ⇒ String
will generate one automatically.
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_time ⇒ Integer
at, any content before this value will not be archived.
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_state ⇒ String
Returns 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_state ⇒ LiveOutputResourceState
output. Possible values include: ‘Creating’, ‘Running’, ‘Deleting’
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
.mapper ⇒ Object
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 |