Class: TencentCloud::Tke::V20180525::CreateTKEEdgeClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateTKEEdgeClusterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateTKEEdgeCluster请求参数结构体
Instance Attribute Summary collapse
- #AutoUpgradeClusterLevel ⇒ Object
- #ChargeType ⇒ Object
- #ClusterAdvancedSettings ⇒ Object
- #ClusterDesc ⇒ Object
- #ClusterLevel ⇒ Object
- #ClusterName ⇒ Object
- #EdgeVersion ⇒ Object
- #K8SVersion ⇒ Object
- #MaxNodePodNum ⇒ Object
- #PodCIDR ⇒ Object
- #PublicLB ⇒ Object
- #RegistryPrefix ⇒ Object
- #ServiceCIDR ⇒ Object
- #TagSpecification ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(k8sversion = nil, vpcid = nil, clustername = nil, podcidr = nil, servicecidr = nil, clusterdesc = nil, clusteradvancedsettings = nil, maxnodepodnum = nil, publiclb = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, chargetype = nil, edgeversion = nil, registryprefix = nil, tagspecification = nil) ⇒ CreateTKEEdgeClusterRequest
constructor
A new instance of CreateTKEEdgeClusterRequest.
Constructor Details
#initialize(k8sversion = nil, vpcid = nil, clustername = nil, podcidr = nil, servicecidr = nil, clusterdesc = nil, clusteradvancedsettings = nil, maxnodepodnum = nil, publiclb = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, chargetype = nil, edgeversion = nil, registryprefix = nil, tagspecification = nil) ⇒ CreateTKEEdgeClusterRequest
Returns a new instance of CreateTKEEdgeClusterRequest.
3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 |
# File 'lib/v20180525/models.rb', line 3747 def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, chargetype=nil, edgeversion=nil, registryprefix=nil, =nil) @K8SVersion = k8sversion @VpcId = vpcid @ClusterName = clustername @PodCIDR = podcidr @ServiceCIDR = servicecidr @ClusterDesc = clusterdesc @ClusterAdvancedSettings = clusteradvancedsettings @MaxNodePodNum = maxnodepodnum @PublicLB = publiclb @ClusterLevel = clusterlevel @AutoUpgradeClusterLevel = autoupgradeclusterlevel @ChargeType = chargetype @EdgeVersion = edgeversion @RegistryPrefix = registryprefix @TagSpecification = end |
Instance Attribute Details
#AutoUpgradeClusterLevel ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#ChargeType ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ChargeType @ChargeType end |
#ClusterAdvancedSettings ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ClusterAdvancedSettings @ClusterAdvancedSettings end |
#ClusterDesc ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ClusterDesc @ClusterDesc end |
#ClusterLevel ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ClusterLevel @ClusterLevel end |
#ClusterName ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ClusterName @ClusterName end |
#EdgeVersion ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def EdgeVersion @EdgeVersion end |
#K8SVersion ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def K8SVersion @K8SVersion end |
#MaxNodePodNum ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def MaxNodePodNum @MaxNodePodNum end |
#PodCIDR ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def PodCIDR @PodCIDR end |
#PublicLB ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def PublicLB @PublicLB end |
#RegistryPrefix ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def RegistryPrefix @RegistryPrefix end |
#ServiceCIDR ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def ServiceCIDR @ServiceCIDR end |
#TagSpecification ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def TagSpecification @TagSpecification end |
#VpcId ⇒ Object
3745 3746 3747 |
# File 'lib/v20180525/models.rb', line 3745 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/v20180525/models.rb', line 3765 def deserialize(params) @K8SVersion = params['K8SVersion'] @VpcId = params['VpcId'] @ClusterName = params['ClusterName'] @PodCIDR = params['PodCIDR'] @ServiceCIDR = params['ServiceCIDR'] @ClusterDesc = params['ClusterDesc'] unless params['ClusterAdvancedSettings'].nil? @ClusterAdvancedSettings = EdgeClusterAdvancedSettings.new @ClusterAdvancedSettings.deserialize(params['ClusterAdvancedSettings']) end @MaxNodePodNum = params['MaxNodePodNum'] unless params['PublicLB'].nil? @PublicLB = EdgeClusterPublicLB.new @PublicLB.deserialize(params['PublicLB']) end @ClusterLevel = params['ClusterLevel'] @AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel'] @ChargeType = params['ChargeType'] @EdgeVersion = params['EdgeVersion'] @RegistryPrefix = params['RegistryPrefix'] unless params['TagSpecification'].nil? @TagSpecification = TagSpecification.new @TagSpecification.deserialize(params['TagSpecification']) end end |