Class: TencentCloud::Tcm::V20210413::MeshStatus

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

Overview

Mesh当前状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servicecount = nil, canaryversion = nil, prometheus = nil, statemessage = nil, activeoperationlist = nil, tps = nil) ⇒ MeshStatus

Returns a new instance of MeshStatus.



1477
1478
1479
1480
1481
1482
1483
1484
# File 'lib/v20210413/models.rb', line 1477

def initialize(servicecount=nil, canaryversion=nil, prometheus=nil, statemessage=nil, activeoperationlist=nil, tps=nil)
  @ServiceCount = servicecount
  @CanaryVersion = canaryversion
  @Prometheus = prometheus
  @StateMessage = statemessage
  @ActiveOperationList = activeoperationlist
  @TPS = tps
end

Instance Attribute Details

#ActiveOperationListObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def ActiveOperationList
  @ActiveOperationList
end

#CanaryVersionObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def CanaryVersion
  @CanaryVersion
end

#PrometheusObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def Prometheus
  @Prometheus
end

#ServiceCountObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def ServiceCount
  @ServiceCount
end

#StateMessageObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def StateMessage
  @StateMessage
end

#TPSObject

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

Parameters:

  • ServiceCount:

    服务数量

  • CanaryVersion:

    灰度升级的版本

  • Prometheus:

    已废弃

  • StateMessage:

    状态附带信息

  • ActiveOperationList:

    正在执行的异步操作

  • TPS:

    获取TPS信息



1475
1476
1477
# File 'lib/v20210413/models.rb', line 1475

def TPS
  @TPS
end

Instance Method Details

#deserialize(params) ⇒ Object



1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
# File 'lib/v20210413/models.rb', line 1486

def deserialize(params)
  @ServiceCount = params['ServiceCount']
  @CanaryVersion = params['CanaryVersion']
  unless params['Prometheus'].nil?
    @Prometheus = []
    params['Prometheus'].each do |i|
      prometheusstatus_tmp = PrometheusStatus.new
      prometheusstatus_tmp.deserialize(i)
      @Prometheus << prometheusstatus_tmp
    end
  end
  @StateMessage = params['StateMessage']
  unless params['ActiveOperationList'].nil?
    @ActiveOperationList = []
    params['ActiveOperationList'].each do |i|
      activeoperation_tmp = ActiveOperation.new
      activeoperation_tmp.deserialize(i)
      @ActiveOperationList << activeoperation_tmp
    end
  end
  unless params['TPS'].nil?
    @TPS = PrometheusStatus.new
    @TPS.deserialize(params['TPS'])
  end
end