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.
10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 |
# File 'lib/v20201207/models.rb', line 10763 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:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def BindingStrategy @BindingStrategy end |
#CreateTime ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def CreateTime @CreateTime end |
#DefaultWeight ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def DefaultWeight @DefaultWeight end |
#Description ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def Description @Description end |
#ElasticNumber ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def ElasticNumber @ElasticNumber end |
#GatewayId ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def GatewayId @GatewayId end |
#GroupId ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def GroupId @GroupId end |
#InternetMaxBandwidthOut ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def InternetMaxBandwidthOut @InternetMaxBandwidthOut end |
#IsFirstGroup ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def IsFirstGroup @IsFirstGroup end |
#ModifyTime ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def ModifyTime @ModifyTime end |
#Name ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def Name @Name end |
#NodeConfig ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def NodeConfig @NodeConfig end |
#Status ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def Status @Status end |
#SubnetIds ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def SubnetIds @SubnetIds end |
#SupportIPV6 ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def SupportIPV6 @SupportIPV6 end |
#SupportTOA ⇒ Object
0:否。 1:是。
10761 10762 10763 |
# File 'lib/v20201207/models.rb', line 10761 def SupportTOA @SupportTOA end |
Instance Method Details
#deserialize(params) ⇒ Object
10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 |
# File 'lib/v20201207/models.rb', line 10782 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 |