Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb
Overview
The Live Event.
Instance Attribute Summary collapse
-
#created ⇒ DateTime
The exact time the Live Event was created.
-
#cross_site_access_policies ⇒ CrossSiteAccessPolicies
The Live Event access policies.
-
#description ⇒ String
The Live Event description.
-
#encoding ⇒ LiveEventEncoding
The Live Event encoding.
-
#input ⇒ LiveEventInput
The Live Event input.
-
#last_modified ⇒ DateTime
The exact time the Live Event was last modified.
-
#preview ⇒ LiveEventPreview
The Live Event preview.
-
#provisioning_state ⇒ String
The provisioning state of the Live Event.
-
#resource_state ⇒ LiveEventResourceState
Possible values include: ‘Stopped’, ‘Starting’, ‘Running’, ‘Stopping’, ‘Deleting’.
-
#stream_options ⇒ Array<StreamOptionsFlag>
LiveEvent.
-
#vanity_url ⇒ Boolean
Event.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LiveEvent class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#created ⇒ DateTime
Returns The exact time the Live Event was created.
48 49 50 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 48 def created @created end |
#cross_site_access_policies ⇒ CrossSiteAccessPolicies
Returns The Live Event access policies.
36 37 38 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 36 def cross_site_access_policies @cross_site_access_policies end |
#description ⇒ String
Returns The Live Event description.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 16 def description @description end |
#encoding ⇒ LiveEventEncoding
Returns The Live Event encoding.
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 25 def encoding @encoding end |
#input ⇒ LiveEventInput
Returns The Live Event input.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 19 def input @input end |
#last_modified ⇒ DateTime
Returns The exact time the Live Event was last modified.
51 52 53 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 51 def last_modified @last_modified end |
#preview ⇒ LiveEventPreview
Returns The Live Event preview.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 22 def preview @preview end |
#provisioning_state ⇒ String
Returns The provisioning state of the Live Event.
28 29 30 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 28 def provisioning_state @provisioning_state end |
#resource_state ⇒ LiveEventResourceState
Possible values include: ‘Stopped’, ‘Starting’, ‘Running’, ‘Stopping’, ‘Deleting’
33 34 35 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 33 def resource_state @resource_state end |
#stream_options ⇒ Array<StreamOptionsFlag>
LiveEvent. This value is specified at creation time and cannot be updated.
45 46 47 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 45 def @stream_options end |
#vanity_url ⇒ Boolean
Event. This value is specified at creation time and cannot be updated.
40 41 42 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 40 def vanity_url @vanity_url end |
Class Method Details
.mapper ⇒ Object
Mapper for LiveEvent 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 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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb', line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LiveEvent', type: { name: 'Composite', class_name: 'LiveEvent', 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' } }, input: { client_side_validation: true, required: true, serialized_name: 'properties.input', type: { name: 'Composite', class_name: 'LiveEventInput' } }, preview: { client_side_validation: true, required: false, serialized_name: 'properties.preview', type: { name: 'Composite', class_name: 'LiveEventPreview' } }, encoding: { client_side_validation: true, required: false, serialized_name: 'properties.encoding', type: { name: 'Composite', class_name: 'LiveEventEncoding' } }, 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' } }, vanity_url: { client_side_validation: true, required: false, serialized_name: 'properties.vanityUrl', type: { name: 'Boolean' } }, stream_options: { client_side_validation: true, required: false, serialized_name: 'properties.streamOptions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StreamOptionsFlagElementType', type: { name: 'String' } } } }, 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 |