Class: TencentCloud::Tke::V20180525::EnableVpcCniNetworkTypeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::EnableVpcCniNetworkTypeRequest
- Defined in:
- lib/v20180525/models.rb
Overview
EnableVpcCniNetworkType请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnableStaticIp ⇒ Object
- #ExpiredSeconds ⇒ Object
- #SkipAddingNonMasqueradeCIDRs ⇒ Object
- #Subnets ⇒ Object
- #VpcCniType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, vpccnitype = nil, enablestaticip = nil, subnets = nil, expiredseconds = nil, skipaddingnonmasqueradecidrs = nil) ⇒ EnableVpcCniNetworkTypeRequest
constructor
A new instance of EnableVpcCniNetworkTypeRequest.
Constructor Details
#initialize(clusterid = nil, vpccnitype = nil, enablestaticip = nil, subnets = nil, expiredseconds = nil, skipaddingnonmasqueradecidrs = nil) ⇒ EnableVpcCniNetworkTypeRequest
Returns a new instance of EnableVpcCniNetworkTypeRequest.
11652 11653 11654 11655 11656 11657 11658 11659 |
# File 'lib/v20180525/models.rb', line 11652 def initialize(clusterid=nil, vpccnitype=nil, enablestaticip=nil, subnets=nil, expiredseconds=nil, skipaddingnonmasqueradecidrs=nil) @ClusterId = clusterid @VpcCniType = vpccnitype @EnableStaticIp = enablestaticip @Subnets = subnets @ExpiredSeconds = expiredseconds @SkipAddingNonMasqueradeCIDRs = skipaddingnonmasqueradecidrs end |
Instance Attribute Details
#ClusterId ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def ClusterId @ClusterId end |
#EnableStaticIp ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def EnableStaticIp @EnableStaticIp end |
#ExpiredSeconds ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def ExpiredSeconds @ExpiredSeconds end |
#SkipAddingNonMasqueradeCIDRs ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def SkipAddingNonMasqueradeCIDRs @SkipAddingNonMasqueradeCIDRs end |
#Subnets ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def Subnets @Subnets end |
#VpcCniType ⇒ Object
11650 11651 11652 |
# File 'lib/v20180525/models.rb', line 11650 def VpcCniType @VpcCniType end |
Instance Method Details
#deserialize(params) ⇒ Object
11661 11662 11663 11664 11665 11666 11667 11668 |
# File 'lib/v20180525/models.rb', line 11661 def deserialize(params) @ClusterId = params['ClusterId'] @VpcCniType = params['VpcCniType'] @EnableStaticIp = params['EnableStaticIp'] @Subnets = params['Subnets'] @ExpiredSeconds = params['ExpiredSeconds'] @SkipAddingNonMasqueradeCIDRs = params['SkipAddingNonMasqueradeCIDRs'] end |