Class: TencentCloud::Tem::V20210701::NamespaceStatusInfo

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

Overview

命名空间状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, environmentname = nil, clusterid = nil, clusterstatus = nil, environmentstartingstatus = nil, environmentstoppingstatus = nil) ⇒ NamespaceStatusInfo

Returns a new instance of NamespaceStatusInfo.



3976
3977
3978
3979
3980
3981
3982
3983
# File 'lib/v20210701/models.rb', line 3976

def initialize(environmentid=nil, environmentname=nil, clusterid=nil, clusterstatus=nil, environmentstartingstatus=nil, environmentstoppingstatus=nil)
  @EnvironmentId = environmentid
  @EnvironmentName = environmentname
  @ClusterId = clusterid
  @ClusterStatus = clusterstatus
  @EnvironmentStartingStatus = environmentstartingstatus
  @EnvironmentStoppingStatus = environmentstoppingstatus
end

Instance Attribute Details

#ClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def ClusterId
  @ClusterId
end

#ClusterStatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def ClusterStatus
  @ClusterStatus
end

#EnvironmentIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def EnvironmentId
  @EnvironmentId
end

#EnvironmentNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def EnvironmentName
  @EnvironmentName
end

#EnvironmentStartingStatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def EnvironmentStartingStatus
  @EnvironmentStartingStatus
end

#EnvironmentStoppingStatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentId:

    命名空间id

  • EnvironmentName:

    命名空间名称

  • ClusterId:

    TCB envId | EKS clusterId

  • ClusterStatus:

    环境状态

  • EnvironmentStartingStatus:

    环境启动状态(不在启动中为null)

  • EnvironmentStoppingStatus:

    环境停止状态(不在停止中为null)



3974
3975
3976
# File 'lib/v20210701/models.rb', line 3974

def EnvironmentStoppingStatus
  @EnvironmentStoppingStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'lib/v20210701/models.rb', line 3985

def deserialize(params)
  @EnvironmentId = params['EnvironmentId']
  @EnvironmentName = params['EnvironmentName']
  @ClusterId = params['ClusterId']
  @ClusterStatus = params['ClusterStatus']
  unless params['EnvironmentStartingStatus'].nil?
    @EnvironmentStartingStatus = TemEnvironmentStartingStatus.new
    @EnvironmentStartingStatus.deserialize(params['EnvironmentStartingStatus'])
  end
  unless params['EnvironmentStoppingStatus'].nil?
    @EnvironmentStoppingStatus = TemEnvironmentStoppingStatus.new
    @EnvironmentStoppingStatus.deserialize(params['EnvironmentStoppingStatus'])
  end
end