get Web Lock Configs
This data source provides Threat Detection Web Lock Config available to the user.What is Web Lock Config
NOTE: Available since v1.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
A collection of arguments for invoking getWebLockConfigs.
Return
A collection of values returned by getWebLockConfigs.
See also
Parameters
A list of Web Lock Config IDs.
The language of the content within the request and the response. Valid values: zh
, en
.
File name where to save data source results (after running pulumi preview
).
The string that allows you to search for servers in fuzzy match mode. You can enter a server name or IP address.
The source IP address of the request.
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
Builder for com.pulumi.alicloud.threatdetection.kotlin.inputs.GetWebLockConfigsPlainArgs.