public class ApplyScenarioShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The ID of the application.
|
String |
configShrink
The configuration of the business monitoring job.
|
String |
name
The name of the business monitoring job.
|
String |
regionId
The ID of the region.
|
String |
scenario
The scenario where you want to use the business monitoring job.
|
String |
sign
The code of the business monitoring job.
|
Boolean |
snDump
Specifies whether to record business parameters to the trace marked with the coloring sign.
|
Boolean |
snForce
Specifies whether traffic in the trace marked with the coloring sign is all collected.
|
Boolean |
snStat
Specifies whether to count traffic based on the coloring sign.
|
Boolean |
snTransfer
Specifies whether the coloring sign is transparently passed down to downstream application nodes in the trace.
|
Boolean |
updateOption
Specifies whether the operation is an update operation.
|
| 构造器和说明 |
|---|
ApplyScenarioShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApplyScenarioShrinkRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getConfigShrink() |
String |
getName() |
String |
getRegionId() |
String |
getScenario() |
String |
getSign() |
Boolean |
getSnDump() |
Boolean |
getSnForce() |
Boolean |
getSnStat() |
Boolean |
getSnTransfer() |
Boolean |
getUpdateOption() |
ApplyScenarioShrinkRequest |
setAppId(String appId) |
ApplyScenarioShrinkRequest |
setConfigShrink(String configShrink) |
ApplyScenarioShrinkRequest |
setName(String name) |
ApplyScenarioShrinkRequest |
setRegionId(String regionId) |
ApplyScenarioShrinkRequest |
setScenario(String scenario) |
ApplyScenarioShrinkRequest |
setSign(String sign) |
ApplyScenarioShrinkRequest |
setSnDump(Boolean snDump) |
ApplyScenarioShrinkRequest |
setSnForce(Boolean snForce) |
ApplyScenarioShrinkRequest |
setSnStat(Boolean snStat) |
ApplyScenarioShrinkRequest |
setSnTransfer(Boolean snTransfer) |
ApplyScenarioShrinkRequest |
setUpdateOption(Boolean updateOption) |
@NameInMap(value="AppId") public String appId
The ID of the application.
This parameter is required.
example:b590lhguqs@28f515462f******
@NameInMap(value="Config") public String configShrink
The configuration of the business monitoring job. The value is a JSON string. For more information about this parameter, see the following additional information about the Config parameter.
This parameter is required.
example:{"rpcType":"0","nameMatchType":"EQUALS","service":"/api/pop/test","operator":"and","filterItems":[{"type":"HttpHeaders","key":"uid","opt":"==","value":"123456789"}],"group":{"type":"HttpRequestParameters","key":"name"}}
@NameInMap(value="Name") public String name
The name of the business monitoring job.
This parameter is required.
example:ScenarioName
@NameInMap(value="RegionId") public String regionId
The ID of the region.
example:cn-zhangjaikou
@NameInMap(value="Scenario") public String scenario
The scenario where you want to use the business monitoring job. Valid values:
USER-DEFINED: user-defined. This is the default value.EDAS-ROLLOUT: application release in Enterprise Distributed Application Service (EDAS)OAM-ROLLOUT: application release based on Open Application Model (OAM)MSC-CANARY: canary release based on Microservice Engine (MSE)USER-DEFINED
@NameInMap(value="Sign") public String sign
The code of the business monitoring job. This parameter is not required when you create a business monitoring job. However, this parameter is required when you update a business monitoring job.
example:a9f8****
@NameInMap(value="SnDump") public Boolean snDump
Specifies whether to record business parameters to the trace marked with the coloring sign.
truefalse: This is the default value.false
@NameInMap(value="SnForce") public Boolean snForce
Specifies whether traffic in the trace marked with the coloring sign is all collected.
truefalse: This is the default value.false
@NameInMap(value="SnStat") public Boolean snStat
Specifies whether to count traffic based on the coloring sign.
truefalse: This is the default value.false
@NameInMap(value="SnTransfer") public Boolean snTransfer
Specifies whether the coloring sign is transparently passed down to downstream application nodes in the trace.
truefalse: This is the default value.false
@NameInMap(value="UpdateOption") public Boolean updateOption
Specifies whether the operation is an update operation.
true: updatefalse: insertThis parameter is required.
example:false
public static ApplyScenarioShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic ApplyScenarioShrinkRequest setAppId(String appId)
public String getAppId()
public ApplyScenarioShrinkRequest setConfigShrink(String configShrink)
public String getConfigShrink()
public ApplyScenarioShrinkRequest setName(String name)
public String getName()
public ApplyScenarioShrinkRequest setRegionId(String regionId)
public String getRegionId()
public ApplyScenarioShrinkRequest setScenario(String scenario)
public String getScenario()
public ApplyScenarioShrinkRequest setSign(String sign)
public String getSign()
public ApplyScenarioShrinkRequest setSnDump(Boolean snDump)
public Boolean getSnDump()
public ApplyScenarioShrinkRequest setSnForce(Boolean snForce)
public Boolean getSnForce()
public ApplyScenarioShrinkRequest setSnStat(Boolean snStat)
public Boolean getSnStat()
public ApplyScenarioShrinkRequest setSnTransfer(Boolean snTransfer)
public Boolean getSnTransfer()
public ApplyScenarioShrinkRequest setUpdateOption(Boolean updateOption)
public Boolean getUpdateOption()
Copyright © 2024. All rights reserved.