Class: TencentCloud::Ckafka::V20190819::PrometheusDTO
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::PrometheusDTO
- Defined in:
- lib/v20190819/models.rb
Overview
普罗米修斯打通的vipVport
Instance Attribute Summary collapse
- #BrokerIp ⇒ Object
- #SourceIp ⇒ Object
- #SourcePort ⇒ Object
- #SubnetId ⇒ Object
- #Type ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, sourceip = nil, sourceport = nil, brokerip = nil, vpcid = nil, subnetid = nil) ⇒ PrometheusDTO
constructor
A new instance of PrometheusDTO.
Constructor Details
#initialize(type = nil, sourceip = nil, sourceport = nil, brokerip = nil, vpcid = nil, subnetid = nil) ⇒ PrometheusDTO
Returns a new instance of PrometheusDTO.
10566 10567 10568 10569 10570 10571 10572 10573 |
# File 'lib/v20190819/models.rb', line 10566 def initialize(type=nil, sourceip=nil, sourceport=nil, brokerip=nil, vpcid=nil, subnetid=nil) @Type = type @SourceIp = sourceip @SourcePort = sourceport @BrokerIp = brokerip @VpcId = vpcid @SubnetId = subnetid end |
Instance Attribute Details
#BrokerIp ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def BrokerIp @BrokerIp end |
#SourceIp ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def SourceIp @SourceIp end |
#SourcePort ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def SourcePort @SourcePort end |
#SubnetId ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def SubnetId @SubnetId end |
#Type ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def Type @Type end |
#VpcId ⇒ Object
10564 10565 10566 |
# File 'lib/v20190819/models.rb', line 10564 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
10575 10576 10577 10578 10579 10580 10581 10582 |
# File 'lib/v20190819/models.rb', line 10575 def deserialize(params) @Type = params['Type'] @SourceIp = params['SourceIp'] @SourcePort = params['SourcePort'] @BrokerIp = params['BrokerIp'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] end |