Class: TencentCloud::Tcm::V20210413::ModifyAccessLogConfigRequest

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

Overview

ModifyAccessLogConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meshid = nil, selectedrange = nil, template = nil, enable = nil, cls = nil, encoding = nil, format = nil, enablestdout = nil, enableserver = nil, address = nil) ⇒ ModifyAccessLogConfigRequest

Returns a new instance of ModifyAccessLogConfigRequest.



1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
# File 'lib/v20210413/models.rb', line 1568

def initialize(meshid=nil, selectedrange=nil, template=nil, enable=nil, cls=nil, encoding=nil, format=nil, enablestdout=nil, enableserver=nil, address=nil)
  @MeshId = meshid
  @SelectedRange = selectedrange
  @Template = template
  @Enable = enable
  @CLS = cls
  @Encoding = encoding
  @Format = format
  @EnableStdout = enablestdout
  @EnableServer = enableserver
  @Address = address
end

Instance Attribute Details

#AddressObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def Address
  @Address
end

#CLSObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def CLS
  @CLS
end

#EnableObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def Enable
  @Enable
end

#EnableServerObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def EnableServer
  @EnableServer
end

#EnableStdoutObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def EnableStdout
  @EnableStdout
end

#EncodingObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def Encoding
  @Encoding
end

#FormatObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def Format
  @Format
end

#MeshIdObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def MeshId
  @MeshId
end

#SelectedRangeObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def SelectedRange
  @SelectedRange
end

#TemplateObject

Parameters:

  • MeshId:

    mesh ID

  • SelectedRange:

    选中的范围

  • Template:

    采用的模板,可选值:istio(默认)、trace、custom

  • Enable:

    是否启用

  • CLS:

    腾讯云日志服务相关参数

  • Encoding:

    编码格式,可选值:TEXT、JSON

  • Format:

    日志格式

  • EnableStdout:

    是否启用标准输出

  • EnableServer:

    是否启动GRPC第三方服务器

  • Address:

    GRPC第三方服务器地址



1566
1567
1568
# File 'lib/v20210413/models.rb', line 1566

def Template
  @Template
end

Instance Method Details

#deserialize(params) ⇒ Object



1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'lib/v20210413/models.rb', line 1581

def deserialize(params)
  @MeshId = params['MeshId']
  unless params['SelectedRange'].nil?
    @SelectedRange = SelectedRange.new
    @SelectedRange.deserialize(params['SelectedRange'])
  end
  @Template = params['Template']
  @Enable = params['Enable']
  unless params['CLS'].nil?
    @CLS = CLS.new
    @CLS.deserialize(params['CLS'])
  end
  @Encoding = params['Encoding']
  @Format = params['Format']
  @EnableStdout = params['EnableStdout']
  @EnableServer = params['EnableServer']
  @Address = params['Address']
end