public class ApplyScenarioRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The ID of the application.
|
Map<String,?> |
config
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.
|
| 构造器和说明 |
|---|
ApplyScenarioRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApplyScenarioRequest |
build(Map<String,?> map) |
String |
getAppId() |
Map<String,?> |
getConfig() |
String |
getName() |
String |
getRegionId() |
String |
getScenario() |
String |
getSign() |
Boolean |
getSnDump() |
Boolean |
getSnForce() |
Boolean |
getSnStat() |
Boolean |
getSnTransfer() |
Boolean |
getUpdateOption() |
ApplyScenarioRequest |
setAppId(String appId) |
ApplyScenarioRequest |
setConfig(Map<String,?> config) |
ApplyScenarioRequest |
setName(String name) |
ApplyScenarioRequest |
setRegionId(String regionId) |
ApplyScenarioRequest |
setScenario(String scenario) |
ApplyScenarioRequest |
setSign(String sign) |
ApplyScenarioRequest |
setSnDump(Boolean snDump) |
ApplyScenarioRequest |
setSnForce(Boolean snForce) |
ApplyScenarioRequest |
setSnStat(Boolean snStat) |
ApplyScenarioRequest |
setSnTransfer(Boolean snTransfer) |
ApplyScenarioRequest |
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 Map<String,?> config
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 ApplyScenarioRequest build(Map<String,?> map) throws Exception
Exceptionpublic ApplyScenarioRequest setAppId(String appId)
public String getAppId()
public ApplyScenarioRequest setConfig(Map<String,?> config)
public ApplyScenarioRequest setName(String name)
public String getName()
public ApplyScenarioRequest setRegionId(String regionId)
public String getRegionId()
public ApplyScenarioRequest setScenario(String scenario)
public String getScenario()
public ApplyScenarioRequest setSign(String sign)
public String getSign()
public ApplyScenarioRequest setSnDump(Boolean snDump)
public Boolean getSnDump()
public ApplyScenarioRequest setSnForce(Boolean snForce)
public Boolean getSnForce()
public ApplyScenarioRequest setSnStat(Boolean snStat)
public Boolean getSnStat()
public ApplyScenarioRequest setSnTransfer(Boolean snTransfer)
public Boolean getSnTransfer()
public ApplyScenarioRequest setUpdateOption(Boolean updateOption)
public Boolean getUpdateOption()
Copyright © 2024. All rights reserved.