Class: TencentCloud::Cloudhsm::V20191112::UsgPolicy
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::UsgPolicy
- Defined in:
- lib/v20191112/models.rb
Overview
安全组策略
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AddressModule ⇒ Object
- #Desc ⇒ Object
- #Id ⇒ Object
- #Ip ⇒ Object
- #Port ⇒ Object
- #Proto ⇒ Object
- #ServiceModule ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, id = nil, addressmodule = nil, proto = nil, port = nil, servicemodule = nil, desc = nil, action = nil) ⇒ UsgPolicy
constructor
A new instance of UsgPolicy.
Constructor Details
#initialize(ip = nil, id = nil, addressmodule = nil, proto = nil, port = nil, servicemodule = nil, desc = nil, action = nil) ⇒ UsgPolicy
1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 |
# File 'lib/v20191112/models.rb', line 1195 def initialize(ip=nil, id=nil, addressmodule=nil, proto=nil, port=nil, servicemodule=nil, desc=nil, action=nil) @Ip = ip @Id = id @AddressModule = addressmodule @Proto = proto @Port = port @ServiceModule = servicemodule @Desc = desc @Action = action end |
Instance Attribute Details
#Action ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Action @Action end |
#AddressModule ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def AddressModule @AddressModule end |
#Desc ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Desc @Desc end |
#Id ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Id @Id end |
#Ip ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Ip @Ip end |
#Port ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Port @Port end |
#Proto ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def Proto @Proto end |
#ServiceModule ⇒ Object
1193 1194 1195 |
# File 'lib/v20191112/models.rb', line 1193 def ServiceModule @ServiceModule end |
Instance Method Details
#deserialize(params) ⇒ Object
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'lib/v20191112/models.rb', line 1206 def deserialize(params) @Ip = params['Ip'] @Id = params['Id'] @AddressModule = params['AddressModule'] @Proto = params['Proto'] @Port = params['Port'] @ServiceModule = params['ServiceModule'] @Desc = params['Desc'] @Action = params['Action'] end |