Class: TencentCloud::Tke::V20180525::UpdateEdgeClusterVersionRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

UpdateEdgeClusterVersion请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, edgeversion = nil, registryprefix = nil, skipprecheck = nil) ⇒ UpdateEdgeClusterVersionRequest

Returns a new instance of UpdateEdgeClusterVersionRequest.



19121
19122
19123
19124
19125
19126
# File 'lib/v20180525/models.rb', line 19121

def initialize(clusterid=nil, edgeversion=nil, registryprefix=nil, skipprecheck=nil)
  @ClusterId = clusterid
  @EdgeVersion = edgeversion
  @RegistryPrefix = registryprefix
  @SkipPreCheck = skipprecheck
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群 Id

  • EdgeVersion:

    需要升级到的版本

  • RegistryPrefix:

    自定义边缘组件镜像仓库前缀

  • SkipPreCheck:

    是否跳过预检查阶段



19119
19120
19121
# File 'lib/v20180525/models.rb', line 19119

def ClusterId
  @ClusterId
end

#EdgeVersionObject

Parameters:

  • ClusterId:

    集群 Id

  • EdgeVersion:

    需要升级到的版本

  • RegistryPrefix:

    自定义边缘组件镜像仓库前缀

  • SkipPreCheck:

    是否跳过预检查阶段



19119
19120
19121
# File 'lib/v20180525/models.rb', line 19119

def EdgeVersion
  @EdgeVersion
end

#RegistryPrefixObject

Parameters:

  • ClusterId:

    集群 Id

  • EdgeVersion:

    需要升级到的版本

  • RegistryPrefix:

    自定义边缘组件镜像仓库前缀

  • SkipPreCheck:

    是否跳过预检查阶段



19119
19120
19121
# File 'lib/v20180525/models.rb', line 19119

def RegistryPrefix
  @RegistryPrefix
end

#SkipPreCheckObject

Parameters:

  • ClusterId:

    集群 Id

  • EdgeVersion:

    需要升级到的版本

  • RegistryPrefix:

    自定义边缘组件镜像仓库前缀

  • SkipPreCheck:

    是否跳过预检查阶段



19119
19120
19121
# File 'lib/v20180525/models.rb', line 19119

def SkipPreCheck
  @SkipPreCheck
end

Instance Method Details

#deserialize(params) ⇒ Object



19128
19129
19130
19131
19132
19133
# File 'lib/v20180525/models.rb', line 19128

def deserialize(params)
  @ClusterId = params['ClusterId']
  @EdgeVersion = params['EdgeVersion']
  @RegistryPrefix = params['RegistryPrefix']
  @SkipPreCheck = params['SkipPreCheck']
end