Class: TencentCloud::Tse::V20201207::NativeGatewayServerGroup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::NativeGatewayServerGroup
- Defined in:
- lib/v20201207/models.rb
Overview
云原生网关分组信息
Instance Attribute Summary collapse
-
#BindingStrategy ⇒ Object
0:否。 1:是。.
-
#CreateTime ⇒ Object
0:否。 1:是。.
-
#DefaultWeight ⇒ Object
0:否。 1:是。.
-
#Description ⇒ Object
0:否。 1:是。.
-
#ElasticNumber ⇒ Object
0:否。 1:是。.
-
#GatewayId ⇒ Object
0:否。 1:是。.
-
#GroupId ⇒ Object
0:否。 1:是。.
-
#InternetMaxBandwidthOut ⇒ Object
0:否。 1:是。.
-
#IsFirstGroup ⇒ Object
0:否。 1:是。.
-
#ModifyTime ⇒ Object
0:否。 1:是。.
-
#Name ⇒ Object
0:否。 1:是。.
-
#NodeConfig ⇒ Object
0:否。 1:是。.
-
#Status ⇒ Object
0:否。 1:是。.
-
#SubnetIds ⇒ Object
0:否。 1:是。.
-
#SupportIPV6 ⇒ Object
0:否。 1:是。.
-
#SupportTOA ⇒ Object
0:否。 1:是。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupid = nil, name = nil, description = nil, nodeconfig = nil, status = nil, createtime = nil, isfirstgroup = nil, bindingstrategy = nil, gatewayid = nil, internetmaxbandwidthout = nil, modifytime = nil, subnetids = nil, defaultweight = nil, elasticnumber = nil, supporttoa = nil, supportipv6 = nil) ⇒ NativeGatewayServerGroup
constructor
A new instance of NativeGatewayServerGroup.
Constructor Details
#initialize(groupid = nil, name = nil, description = nil, nodeconfig = nil, status = nil, createtime = nil, isfirstgroup = nil, bindingstrategy = nil, gatewayid = nil, internetmaxbandwidthout = nil, modifytime = nil, subnetids = nil, defaultweight = nil, elasticnumber = nil, supporttoa = nil, supportipv6 = nil) ⇒ NativeGatewayServerGroup
Returns a new instance of NativeGatewayServerGroup.
10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 |
# File 'lib/v20201207/models.rb', line 10745 def initialize(groupid=nil, name=nil, description=nil, nodeconfig=nil, status=nil, createtime=nil, isfirstgroup=nil, bindingstrategy=nil, gatewayid=nil, internetmaxbandwidthout=nil, modifytime=nil, subnetids=nil, defaultweight=nil, elasticnumber=nil, supporttoa=nil, supportipv6=nil) @GroupId = groupid @Name = name @Description = description @NodeConfig = nodeconfig @Status = status @CreateTime = createtime @IsFirstGroup = isfirstgroup @BindingStrategy = bindingstrategy @GatewayId = gatewayid @InternetMaxBandwidthOut = internetmaxbandwidthout @ModifyTime = modifytime @SubnetIds = subnetids @DefaultWeight = defaultweight @ElasticNumber = elasticnumber @SupportTOA = supporttoa @SupportIPV6 = supportipv6 end |
Instance Attribute Details
#BindingStrategy ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def BindingStrategy @BindingStrategy end |
#CreateTime ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def CreateTime @CreateTime end |
#DefaultWeight ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def DefaultWeight @DefaultWeight end |
#Description ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def Description @Description end |
#ElasticNumber ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def ElasticNumber @ElasticNumber end |
#GatewayId ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def GatewayId @GatewayId end |
#GroupId ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def GroupId @GroupId end |
#InternetMaxBandwidthOut ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def InternetMaxBandwidthOut @InternetMaxBandwidthOut end |
#IsFirstGroup ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def IsFirstGroup @IsFirstGroup end |
#ModifyTime ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def ModifyTime @ModifyTime end |
#Name ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def Name @Name end |
#NodeConfig ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def NodeConfig @NodeConfig end |
#Status ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def Status @Status end |
#SubnetIds ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def SubnetIds @SubnetIds end |
#SupportIPV6 ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def SupportIPV6 @SupportIPV6 end |
#SupportTOA ⇒ Object
0:否。1:是。
10743 10744 10745 |
# File 'lib/v20201207/models.rb', line 10743 def SupportTOA @SupportTOA end |
Instance Method Details
#deserialize(params) ⇒ Object
10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 |
# File 'lib/v20201207/models.rb', line 10764 def deserialize(params) @GroupId = params['GroupId'] @Name = params['Name'] @Description = params['Description'] unless params['NodeConfig'].nil? @NodeConfig = CloudNativeAPIGatewayNodeConfig.new @NodeConfig.deserialize(params['NodeConfig']) end @Status = params['Status'] @CreateTime = params['CreateTime'] @IsFirstGroup = params['IsFirstGroup'] unless params['BindingStrategy'].nil? @BindingStrategy = CloudNativeAPIGatewayStrategy.new @BindingStrategy.deserialize(params['BindingStrategy']) end @GatewayId = params['GatewayId'] @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut'] @ModifyTime = params['ModifyTime'] @SubnetIds = params['SubnetIds'] @DefaultWeight = params['DefaultWeight'] @ElasticNumber = params['ElasticNumber'] @SupportTOA = params['SupportTOA'] @SupportIPV6 = params['SupportIPV6'] end |