Class: TencentCloud::Apm::V20210622::TkeMeta

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

Overview

tke资源元数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, clusterid = nil, podname = nil, namespace = nil, deployment = nil, podip = nil, nodeip = nil) ⇒ TkeMeta

Returns a new instance of TkeMeta.



4217
4218
4219
4220
4221
4222
4223
4224
4225
# File 'lib/v20210622/models.rb', line 4217

def initialize(region=nil, clusterid=nil, podname=nil, namespace=nil, deployment=nil, podip=nil, nodeip=nil)
  @Region = region
  @ClusterID = clusterid
  @PodName = podname
  @Namespace = namespace
  @Deployment = deployment
  @PodIP = podip
  @NodeIP = nodeip
end

Instance Attribute Details

#ClusterIDObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def ClusterID
  @ClusterID
end

#DeploymentObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def Deployment
  @Deployment
end

#NamespaceObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def Namespace
  @Namespace
end

#NodeIPObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def NodeIP
  @NodeIP
end

#PodIPObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def PodIP
  @PodIP
end

#PodNameObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def PodName
  @PodName
end

#RegionObject

Parameters:

  • Region:

    地域

  • ClusterID:

    集群ID

  • PodName:

    pod name

  • Namespace:

    命名空间

  • Deployment:

    工作负载

  • PodIP:

    pod ip

  • NodeIP:

    node ip



4215
4216
4217
# File 'lib/v20210622/models.rb', line 4215

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



4227
4228
4229
4230
4231
4232
4233
4234
4235
# File 'lib/v20210622/models.rb', line 4227

def deserialize(params)
  @Region = params['Region']
  @ClusterID = params['ClusterID']
  @PodName = params['PodName']
  @Namespace = params['Namespace']
  @Deployment = params['Deployment']
  @PodIP = params['PodIP']
  @NodeIP = params['NodeIP']
end