Class: TencentCloud::Emr::V20190103::PodState

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

Overview

单个pod状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, uuid = nil, state = nil, reason = nil, ownercluster = nil, memory = nil) ⇒ PodState

Returns a new instance of PodState.



11477
11478
11479
11480
11481
11482
11483
11484
# File 'lib/v20190103/models.rb', line 11477

def initialize(name=nil, uuid=nil, state=nil, reason=nil, ownercluster=nil, memory=nil)
  @Name = name
  @Uuid = uuid
  @State = state
  @Reason = reason
  @OwnerCluster = ownercluster
  @Memory = memory
end

Instance Attribute Details

#MemoryObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def Memory
  @Memory
end

#NameObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def Name
  @Name
end

#OwnerClusterObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def OwnerCluster
  @OwnerCluster
end

#ReasonObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def Reason
  @Reason
end

#StateObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def State
  @State
end

#UuidObject

Parameters:

  • pod的名称

  • pod uuid

  • pod的状态

  • pod处于该状态原因

  • pod所属集群

  • pod内存大小



11475
11476
11477
# File 'lib/v20190103/models.rb', line 11475

def Uuid
  @Uuid
end

Instance Method Details

#deserialize(params) ⇒ Object



11486
11487
11488
11489
11490
11491
11492
11493
# File 'lib/v20190103/models.rb', line 11486

def deserialize(params)
  @Name = params['Name']
  @Uuid = params['Uuid']
  @State = params['State']
  @Reason = params['Reason']
  @OwnerCluster = params['OwnerCluster']
  @Memory = params['Memory']
end