public static final class OperateCommonTargetConfigRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
OperateCommonTargetConfigRequest |
build() |
OperateCommonTargetConfigRequest.Builder |
fieldName(String fieldName)
The type of the image.
|
OperateCommonTargetConfigRequest.Builder |
fieldValue(String fieldValue)
The name of the image repository or the namespace of the image repository.
|
OperateCommonTargetConfigRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
OperateCommonTargetConfigRequest.Builder |
targetOperations(String targetOperations)
The configuration of proactive defense for your server.
|
OperateCommonTargetConfigRequest.Builder |
targetType(String targetType)
The dimension based on which you want to configure the feature.
|
OperateCommonTargetConfigRequest.Builder |
type(String type)
The type of the feature.
|
public OperateCommonTargetConfigRequest.Builder fieldName(String fieldName)
* **repoName**: the name of the image repository * **repoNamespace**: the namespace of the image repository
public OperateCommonTargetConfigRequest.Builder fieldValue(String fieldValue)
public OperateCommonTargetConfigRequest.Builder sourceIp(String sourceIp)
public OperateCommonTargetConfigRequest.Builder targetOperations(String targetOperations)
* **targetType**: specifies the dimension from which you manage proactive defense. UUIDs are supported. Set the value to **uuid**. * **target**: specifies the UUID of the server for which you want to configure proactive defense. * **flag**: specifies whether to enable or disable proactive defense for your server. Valid values are **add** and **del**. The value add indicates that proactive defense will be enabled for your server. The value del indicates that proactive defense will be disabled for your server.
public OperateCommonTargetConfigRequest.Builder targetType(String targetType)
* **uuid**: the UUID of the server * **Cluster**: the ID of the cluster * **image_repo**: the name of the image repository
public OperateCommonTargetConfigRequest.Builder type(String type)
* **alidetect-scan-enable**: local file detection * **ACTION-TRIAL-PERMISSION**: data delivery of ActionTrail * **alidetect**: local file detection engine * **container\_prevent\_escape**: container escape prevention * **image\_repo**: repository image scan * **proc\_filter\_switch**: log filtering * **agentless**: agentless detection * **rasp**: application protection * **sensitiveFile**: sensitive file detection * **aliscriptengine**: in-depth detection engine * **containerNetwork**: container network visualization
public OperateCommonTargetConfigRequest build()
Copyright © 2023. All rights reserved.