Class: TencentCloud::Cfw::V20190904::SecurityGroupBothWayInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::SecurityGroupBothWayInfo
- Defined in:
- lib/v20190904/models.rb
Overview
双向下发的企业安全组规则
Instance Attribute Summary collapse
- #BothWay ⇒ Object
- #Cidr ⇒ Object
- #Detail ⇒ Object
- #Direction ⇒ Object
- #InstanceName ⇒ Object
- #IsNew ⇒ Object
- #OrderIndex ⇒ Object
- #Port ⇒ Object
- #PrivateIp ⇒ Object
- #Protocol ⇒ Object
- #ProtocolPortType ⇒ Object
- #PublicIp ⇒ Object
- #Region ⇒ Object
- #ServiceTemplateId ⇒ Object
- #SourceId ⇒ Object
- #SourceType ⇒ Object
- #Status ⇒ Object
- #Strategy ⇒ Object
- #SubnetId ⇒ Object
- #TargetId ⇒ Object
- #TargetType ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderindex = nil, sourceid = nil, sourcetype = nil, targetid = nil, targettype = nil, protocol = nil, port = nil, strategy = nil, direction = nil, region = nil, detail = nil, status = nil, isnew = nil, bothway = nil, vpcid = nil, subnetid = nil, instancename = nil, publicip = nil, privateip = nil, cidr = nil, servicetemplateid = nil, protocolporttype = nil) ⇒ SecurityGroupBothWayInfo
constructor
A new instance of SecurityGroupBothWayInfo.
Constructor Details
#initialize(orderindex = nil, sourceid = nil, sourcetype = nil, targetid = nil, targettype = nil, protocol = nil, port = nil, strategy = nil, direction = nil, region = nil, detail = nil, status = nil, isnew = nil, bothway = nil, vpcid = nil, subnetid = nil, instancename = nil, publicip = nil, privateip = nil, cidr = nil, servicetemplateid = nil, protocolporttype = nil) ⇒ SecurityGroupBothWayInfo
Returns a new instance of SecurityGroupBothWayInfo.
9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 |
# File 'lib/v20190904/models.rb', line 9078 def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, direction=nil, region=nil, detail=nil, status=nil, isnew=nil, bothway=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, protocolporttype=nil) @OrderIndex = orderindex @SourceId = sourceid @SourceType = sourcetype @TargetId = targetid @TargetType = targettype @Protocol = protocol @Port = port @Strategy = strategy @Direction = direction @Region = region @Detail = detail @Status = status @IsNew = isnew @BothWay = bothway @VpcId = vpcid @SubnetId = subnetid @InstanceName = instancename @PublicIp = publicip @PrivateIp = privateip @Cidr = cidr @ServiceTemplateId = servicetemplateid @ProtocolPortType = protocolporttype end |
Instance Attribute Details
#BothWay ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def BothWay @BothWay end |
#Cidr ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Cidr @Cidr end |
#Detail ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Detail @Detail end |
#Direction ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Direction @Direction end |
#InstanceName ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def InstanceName @InstanceName end |
#IsNew ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def IsNew @IsNew end |
#OrderIndex ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def OrderIndex @OrderIndex end |
#Port ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Port @Port end |
#PrivateIp ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def PrivateIp @PrivateIp end |
#Protocol ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Protocol @Protocol end |
#ProtocolPortType ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def ProtocolPortType @ProtocolPortType end |
#PublicIp ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def PublicIp @PublicIp end |
#Region ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Region @Region end |
#ServiceTemplateId ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def ServiceTemplateId @ServiceTemplateId end |
#SourceId ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def SourceId @SourceId end |
#SourceType ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def SourceType @SourceType end |
#Status ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Status @Status end |
#Strategy ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def Strategy @Strategy end |
#SubnetId ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def SubnetId @SubnetId end |
#TargetId ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def TargetId @TargetId end |
#TargetType ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def TargetType @TargetType end |
#VpcId ⇒ Object
9076 9077 9078 |
# File 'lib/v20190904/models.rb', line 9076 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 |
# File 'lib/v20190904/models.rb', line 9103 def deserialize(params) @OrderIndex = params['OrderIndex'] @SourceId = params['SourceId'] @SourceType = params['SourceType'] @TargetId = params['TargetId'] @TargetType = params['TargetType'] @Protocol = params['Protocol'] @Port = params['Port'] @Strategy = params['Strategy'] @Direction = params['Direction'] @Region = params['Region'] @Detail = params['Detail'] @Status = params['Status'] @IsNew = params['IsNew'] @BothWay = params['BothWay'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @InstanceName = params['InstanceName'] @PublicIp = params['PublicIp'] @PrivateIp = params['PrivateIp'] @Cidr = params['Cidr'] @ServiceTemplateId = params['ServiceTemplateId'] @ProtocolPortType = params['ProtocolPortType'] end |