Class: TencentCloud::Mps::V20190612::ModifyOutputInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ModifyOutputInfo
- Defined in:
- lib/v20190612/models.rb
Overview
修改Output配置。
Instance Attribute Summary collapse
-
#AllowIpList ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#Description ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#MaxConcurrent ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputId ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputKind ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputName ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputType ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#PidSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#Protocol ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#RISTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#RTMPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#RTPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#SecurityGroupIds ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#SRTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#Zones ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(outputid = nil, outputname = nil, description = nil, protocol = nil, outputkind = nil, srtsettings = nil, rtpsettings = nil, rtmpsettings = nil, allowiplist = nil, maxconcurrent = nil, securitygroupids = nil, zones = nil, ristsettings = nil, outputtype = nil, pidselector = nil) ⇒ ModifyOutputInfo
constructor
A new instance of ModifyOutputInfo.
Constructor Details
#initialize(outputid = nil, outputname = nil, description = nil, protocol = nil, outputkind = nil, srtsettings = nil, rtpsettings = nil, rtmpsettings = nil, allowiplist = nil, maxconcurrent = nil, securitygroupids = nil, zones = nil, ristsettings = nil, outputtype = nil, pidselector = nil) ⇒ ModifyOutputInfo
Returns a new instance of ModifyOutputInfo.
19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 |
# File 'lib/v20190612/models.rb', line 19284 def initialize(outputid=nil, outputname=nil, description=nil, protocol=nil, outputkind=nil, srtsettings=nil, rtpsettings=nil, rtmpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, outputtype=nil, pidselector=nil) @OutputId = outputid @OutputName = outputname @Description = description @Protocol = protocol @OutputKind = outputkind @SRTSettings = srtsettings @RTPSettings = rtpsettings @RTMPSettings = rtmpsettings @AllowIpList = allowiplist @MaxConcurrent = maxconcurrent @SecurityGroupIds = securitygroupids @Zones = zones @RISTSettings = ristsettings @OutputType = outputtype @PidSelector = pidselector end |
Instance Attribute Details
#AllowIpList ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def AllowIpList @AllowIpList end |
#Description ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def Description @Description end |
#MaxConcurrent ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def MaxConcurrent @MaxConcurrent end |
#OutputId ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def OutputId @OutputId end |
#OutputKind ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def OutputKind @OutputKind end |
#OutputName ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def OutputName @OutputName end |
#OutputType ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def OutputType @OutputType end |
#PidSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def PidSelector @PidSelector end |
#Protocol ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def Protocol @Protocol end |
#RISTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def RISTSettings @RISTSettings end |
#RTMPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def RTMPSettings @RTMPSettings end |
#RTPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def RTPSettings @RTPSettings end |
#SecurityGroupIds ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def SecurityGroupIds @SecurityGroupIds end |
#SRTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def SRTSettings @SRTSettings end |
#Zones ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
19282 19283 19284 |
# File 'lib/v20190612/models.rb', line 19282 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 |
# File 'lib/v20190612/models.rb', line 19302 def deserialize(params) @OutputId = params['OutputId'] @OutputName = params['OutputName'] @Description = params['Description'] @Protocol = params['Protocol'] @OutputKind = params['OutputKind'] unless params['SRTSettings'].nil? @SRTSettings = CreateOutputSRTSettings.new @SRTSettings.deserialize(params['SRTSettings']) end unless params['RTPSettings'].nil? @RTPSettings = CreateOutputInfoRTPSettings.new @RTPSettings.deserialize(params['RTPSettings']) end unless params['RTMPSettings'].nil? @RTMPSettings = CreateOutputRTMPSettings.new @RTMPSettings.deserialize(params['RTMPSettings']) end @AllowIpList = params['AllowIpList'] @MaxConcurrent = params['MaxConcurrent'] @SecurityGroupIds = params['SecurityGroupIds'] @Zones = params['Zones'] unless params['RISTSettings'].nil? @RISTSettings = CreateOutputRistSettings.new @RISTSettings.deserialize(params['RISTSettings']) end @OutputType = params['OutputType'] unless params['PidSelector'].nil? @PidSelector = PidSelector.new @PidSelector.deserialize(params['PidSelector']) end end |