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.
8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 |
# File 'lib/v20190612/models.rb', line 8732 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。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def AllowIpList @AllowIpList end |
#Description ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def Description @Description end |
#MaxConcurrent ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def MaxConcurrent @MaxConcurrent end |
#OutputKind ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def OutputKind @OutputKind end |
#OutputName ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def OutputName @OutputName end |
#OutputRegion ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def OutputRegion @OutputRegion end |
#OutputType ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def OutputType @OutputType end |
#PidSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def PidSelector @PidSelector end |
#Protocol ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def Protocol @Protocol end |
#RISTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def RISTSettings @RISTSettings end |
#RTMPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def RTMPSettings @RTMPSettings end |
#RTPSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def RTPSettings @RTPSettings end |
#SecurityGroupIds ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def SecurityGroupIds @SecurityGroupIds end |
#SRTSettings ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def SRTSettings @SRTSettings end |
#StreamSelector ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def StreamSelector @StreamSelector end |
#Zones ⇒ Object
当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。
8727 8728 8729 |
# File 'lib/v20190612/models.rb', line 8727 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 |
# File 'lib/v20190612/models.rb', line 8751 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 |