getHoneyPots

This data source provides Threat Detection Honey Pot available to the user.What is Honey Pot

NOTE: Available since v1.195.0.

Example Usage

Basic 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.GetHoneyPotsArgs;
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.getHoneyPots(GetHoneyPotsArgs.builder()
.ids("xxxx")
.honeypotName("tf-example")
.nodeId("a44e1ab3-6945-444c-889d-5bacee7056e8")
.build());
ctx.export("alicloudThreatDetectionHoneyPotExampleId", default_.pots()[0].id());
}
}

Return

A collection of values returned by getHoneyPots.

Parameters

argument

A collection of arguments for invoking getHoneyPots.


suspend fun getHoneyPots(honeypotId: String? = null, honeypotName: String? = null, ids: List<String>? = null, nameRegex: String? = null, nodeId: String? = null, nodeName: String? = null, outputFile: String? = null): GetHoneyPotsResult

Return

A collection of values returned by getHoneyPots.

See also

Parameters

honeypotId

Honeypot ID.

honeypotName

Honeypot custom name.

ids

A list of Honey Pot IDs.

nameRegex

A regex string to filter results by honey pot name.

nodeId

The ID of the honeypot management node.

nodeName

The name of the honeypot management node.

outputFile

File name where to save data source results (after running pulumi preview).


Return

A collection of values returned by getHoneyPots.

See also

Parameters

argument

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