Class: TencentCloud::Apm::V20210622::DescribeApmServiceMetricRequest

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

Overview

DescribeApmServiceMetric请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, servicename = nil, serviceid = nil, starttime = nil, endtime = nil, orderby = nil, demo = nil, servicestatus = nil, tags = nil, page = nil, pagesize = nil, filters = nil) ⇒ DescribeApmServiceMetricRequest

Returns a new instance of DescribeApmServiceMetricRequest.



1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
# File 'lib/v20210622/models.rb', line 1875

def initialize(instanceid=nil, servicename=nil, serviceid=nil, starttime=nil, endtime=nil, orderby=nil, demo=nil, servicestatus=nil, tags=nil, page=nil, pagesize=nil, filters=nil)
  @InstanceId = instanceid
  @ServiceName = servicename
  @ServiceID = serviceid
  @StartTime = starttime
  @EndTime = endtime
  @OrderBy = orderby
  @Demo = demo
  @ServiceStatus = servicestatus
  @Tags = tags
  @Page = page
  @PageSize = pagesize
  @Filters = filters
end

Instance Attribute Details

#DemoObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def Demo
  @Demo
end

#EndTimeObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def EndTime
  @EndTime
end

#FiltersObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def Filters
  @Filters
end

#InstanceIdObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def InstanceId
  @InstanceId
end

#OrderByObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def OrderBy
  @OrderBy
end

#PageObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def Page
  @Page
end

#PageSizeObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def PageSize
  @PageSize
end

#ServiceIDObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def ServiceID
  @ServiceID
end

#ServiceNameObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def ServiceName
  @ServiceName
end

#ServiceStatusObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def ServiceStatus
  @ServiceStatus
end

#StartTimeObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def StartTime
  @StartTime
end

#TagsObject

Parameters:

  • InstanceId:

    业务系统ID

  • ServiceName:

    应用名

  • ServiceID:

    应用ID

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • OrderBy:

    排序

  • Demo:

    是否demo模式

  • ServiceStatus:

    应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,例如:"warning,error"

  • Tags:

    标签列表

  • Page:

    页码

  • PageSize:

    页大小

  • Filters:

    过滤条件



1873
1874
1875
# File 'lib/v20210622/models.rb', line 1873

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
# File 'lib/v20210622/models.rb', line 1890

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ServiceName = params['ServiceName']
  @ServiceID = params['ServiceID']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  unless params['OrderBy'].nil?
    @OrderBy = OrderBy.new
    @OrderBy.deserialize(params['OrderBy'])
  end
  @Demo = params['Demo']
  @ServiceStatus = params['ServiceStatus']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      apmtag_tmp = ApmTag.new
      apmtag_tmp.deserialize(i)
      @Tags << apmtag_tmp
    end
  end
  @Page = params['Page']
  @PageSize = params['PageSize']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end