Class: TencentCloud::Tke::V20220501::DescribeClusterInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeClusterInstancesRequest
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeClusterInstances请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID).
-
#Filters ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID).
-
#Limit ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID).
-
#Offset ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID).
-
#SortBy ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, offset = nil, limit = nil, filters = nil, sortby = nil) ⇒ DescribeClusterInstancesRequest
constructor
A new instance of DescribeClusterInstancesRequest.
Constructor Details
#initialize(clusterid = nil, offset = nil, limit = nil, filters = nil, sortby = nil) ⇒ DescribeClusterInstancesRequest
Returns a new instance of DescribeClusterInstancesRequest.
515 516 517 518 519 520 521 |
# File 'lib/v20220501/models.rb', line 515 def initialize(clusterid=nil, offset=nil, limit=nil, filters=nil, sortby=nil) @ClusterId = clusterid @Offset = offset @Limit = limit @Filters = filters @SortBy = sortby end |
Instance Attribute Details
#ClusterId ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID)
513 514 515 |
# File 'lib/v20220501/models.rb', line 513 def ClusterId @ClusterId end |
#Filters ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID)
513 514 515 |
# File 'lib/v20220501/models.rb', line 513 def Filters @Filters end |
#Limit ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID)
513 514 515 |
# File 'lib/v20220501/models.rb', line 513 def Limit @Limit end |
#Offset ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID)
513 514 515 |
# File 'lib/v20220501/models.rb', line 513 def Offset @Offset end |
#SortBy ⇒ Object
InstanceIds(实例ID),InstanceType(实例类型:Regular,Native,Virtual,External),VagueIpAddress(模糊匹配IP),Labels(k8s节点label),NodePoolNames(节点池名称),VagueInstanceName(模糊匹配节点名),InstanceStates(节点状态),Unschedulable(是否封锁),NodePoolIds(节点池ID)
513 514 515 |
# File 'lib/v20220501/models.rb', line 513 def SortBy @SortBy end |
Instance Method Details
#deserialize(params) ⇒ Object
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 |
# File 'lib/v20220501/models.rb', line 523 def deserialize(params) @ClusterId = params['ClusterId'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end unless params['SortBy'].nil? @SortBy = SortBy.new @SortBy.deserialize(params['SortBy']) end end |