getWebLockConfigs

This data source provides Threat Detection Web Lock Config available to the user.What is Web Lock Config

NOTE: Available in 1.195.0+

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.ThreatdetectionFunctions;
import com.pulumi.alicloud.threatdetection.inputs.GetWebLockConfigsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = ThreatdetectionFunctions.getWebLockConfigs(GetWebLockConfigsArgs.builder()
.ids(alicloud_threat_detection_web_lock_config.default().id())
.build());
ctx.export("alicloudThreatDetectionWebLockConfigExampleId", default_.configs()[0].id());
}
}

Return

A collection of values returned by getWebLockConfigs.

Parameters

argument

A collection of arguments for invoking getWebLockConfigs.


suspend fun getWebLockConfigs(ids: List<String>? = null, lang: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, remark: String? = null, sourceIp: String? = null, status: String? = null): GetWebLockConfigsResult

Return

A collection of values returned by getWebLockConfigs.

See also

Parameters

ids

A list of Web Lock Config IDs.

lang

The language of the content within the request and the response. Valid values: zh, en.

outputFile
pageNumber
pageSize
remark

The string that allows you to search for servers in fuzzy match mode. You can enter a server name or IP address.

sourceIp

The source IP address of the request.

status

The protection status of the server that you want to query. Valid values: on, off.


Return

A collection of values returned by getWebLockConfigs.

See also

Parameters

argument

Builder for com.pulumi.alicloud.threatdetection.kotlin.inputs.GetWebLockConfigsPlainArgs.