Class: TencentCloud::Mps::V20190612::CreateOutputInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateOutputInfo
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20190612/models.rb
Overview
创建输出的配置信息。
Instance Attribute Summary collapse
-
#AllowIpList ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#Description ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#MaxConcurrent ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputKind ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputName ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#OutputRegion ⇒ 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。.
-
#StreamSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
-
#Zones ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(outputname = nil, description = nil, protocol = nil, outputregion = nil, outputtype = nil, outputkind = nil, srtsettings = nil, rtmpsettings = nil, rtpsettings = nil, allowiplist = nil, maxconcurrent = nil, securitygroupids = nil, zones = nil, ristsettings = nil, pidselector = nil, streamselector = nil) ⇒ CreateOutputInfo
constructor
A new instance of CreateOutputInfo.
Constructor Details
#initialize(outputname = nil, description = nil, protocol = nil, outputregion = nil, outputtype = nil, outputkind = nil, srtsettings = nil, rtmpsettings = nil, rtpsettings = nil, allowiplist = nil, maxconcurrent = nil, securitygroupids = nil, zones = nil, ristsettings = nil, pidselector = nil, streamselector = nil) ⇒ CreateOutputInfo
Returns a new instance of CreateOutputInfo.
8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 |
# File 'lib/v20190612/models.rb', line 8807 def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil) @OutputName = outputname @Description = description @Protocol = protocol @OutputRegion = outputregion @OutputType = outputtype @OutputKind = outputkind @SRTSettings = srtsettings @RTMPSettings = rtmpsettings @RTPSettings = rtpsettings @AllowIpList = allowiplist @MaxConcurrent = maxconcurrent @SecurityGroupIds = securitygroupids @Zones = zones @RISTSettings = ristsettings @PidSelector = pidselector @StreamSelector = streamselector end |
Instance Attribute Details
#AllowIpList ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def AllowIpList @AllowIpList end |
#Description ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def Description @Description end |
#MaxConcurrent ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def MaxConcurrent @MaxConcurrent end |
#OutputKind ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def OutputKind @OutputKind end |
#OutputName ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def OutputName @OutputName end |
#OutputRegion ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def OutputRegion @OutputRegion end |
#OutputType ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def OutputType @OutputType end |
#PidSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def PidSelector @PidSelector end |
#Protocol ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def Protocol @Protocol end |
#RISTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def RISTSettings @RISTSettings end |
#RTMPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def RTMPSettings @RTMPSettings end |
#RTPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def RTPSettings @RTPSettings end |
#SecurityGroupIds ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def SecurityGroupIds @SecurityGroupIds end |
#SRTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def SRTSettings @SRTSettings end |
#StreamSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def StreamSelector @StreamSelector end |
#Zones ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8802 8803 8804 |
# File 'lib/v20190612/models.rb', line 8802 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 |
# File 'lib/v20190612/models.rb', line 8826 def deserialize(params) @OutputName = params['OutputName'] @Description = params['Description'] @Protocol = params['Protocol'] @OutputRegion = params['OutputRegion'] @OutputType = params['OutputType'] @OutputKind = params['OutputKind'] unless params['SRTSettings'].nil? @SRTSettings = CreateOutputSRTSettings.new @SRTSettings.deserialize(params['SRTSettings']) end unless params['RTMPSettings'].nil? @RTMPSettings = CreateOutputRTMPSettings.new @RTMPSettings.deserialize(params['RTMPSettings']) end unless params['RTPSettings'].nil? @RTPSettings = CreateOutputInfoRTPSettings.new @RTPSettings.deserialize(params['RTPSettings']) 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 unless params['PidSelector'].nil? @PidSelector = PidSelector.new @PidSelector.deserialize(params['PidSelector']) end unless params['StreamSelector'].nil? @StreamSelector = StreamSelector.new @StreamSelector.deserialize(params['StreamSelector']) end end |