Honeypot Probe Args
data class HoneypotProbeArgs(val arp: Output<Boolean>? = null, val controlNodeId: Output<String>? = null, val displayName: Output<String>? = null, val honeypotBindLists: Output<List<HoneypotProbeHoneypotBindListArgs>>? = null, val ping: Output<Boolean>? = null, val probeType: Output<String>? = null, val probeVersion: Output<String>? = null, val proxyIp: Output<String>? = null, val serviceIpLists: Output<List<String>>? = null, val uuid: Output<String>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<HoneypotProbeArgs>
Provides a Threat Detection Honeypot Probe resource. For information about Threat Detection Honeypot Probe and how to use it, see What is Honeypot Probe.
NOTE: Available in v1.195.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.threatdetection.HoneypotProbe("default", {
uuid: "032b618f-b220-4a0d-bd37-fbdc6ef58b6a",
probeType: "host_probe",
controlNodeId: "a44e1ab3-6945-444c-889d-5bacee7056e8",
ping: true,
honeypotBindLists: [{
bindPortLists: [{
startPort: 80,
endPort: 80,
}],
honeypotId: "ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9",
}],
displayName: "apispec",
arp: true,
});
Content copied to clipboard
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.HoneypotProbe("default",
uuid="032b618f-b220-4a0d-bd37-fbdc6ef58b6a",
probe_type="host_probe",
control_node_id="a44e1ab3-6945-444c-889d-5bacee7056e8",
ping=True,
honeypot_bind_lists=[{
"bind_port_lists": [{
"start_port": 80,
"end_port": 80,
}],
"honeypot_id": "ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9",
}],
display_name="apispec",
arp=True)
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.ThreatDetection.HoneypotProbe("default", new()
{
Uuid = "032b618f-b220-4a0d-bd37-fbdc6ef58b6a",
ProbeType = "host_probe",
ControlNodeId = "a44e1ab3-6945-444c-889d-5bacee7056e8",
Ping = true,
HoneypotBindLists = new[]
{
new AliCloud.ThreatDetection.Inputs.HoneypotProbeHoneypotBindListArgs
{
BindPortLists = new[]
{
new AliCloud.ThreatDetection.Inputs.HoneypotProbeHoneypotBindListBindPortListArgs
{
StartPort = 80,
EndPort = 80,
},
},
HoneypotId = "ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9",
},
},
DisplayName = "apispec",
Arp = true,
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := threatdetection.NewHoneypotProbe(ctx, "default", &threatdetection.HoneypotProbeArgs{
Uuid: pulumi.String("032b618f-b220-4a0d-bd37-fbdc6ef58b6a"),
ProbeType: pulumi.String("host_probe"),
ControlNodeId: pulumi.String("a44e1ab3-6945-444c-889d-5bacee7056e8"),
Ping: pulumi.Bool(true),
HoneypotBindLists: threatdetection.HoneypotProbeHoneypotBindListArray{
&threatdetection.HoneypotProbeHoneypotBindListArgs{
BindPortLists: threatdetection.HoneypotProbeHoneypotBindListBindPortListArray{
&threatdetection.HoneypotProbeHoneypotBindListBindPortListArgs{
StartPort: pulumi.Int(80),
EndPort: pulumi.Int(80),
},
},
HoneypotId: pulumi.String("ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9"),
},
},
DisplayName: pulumi.String("apispec"),
Arp: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.HoneypotProbe;
import com.pulumi.alicloud.threatdetection.HoneypotProbeArgs;
import com.pulumi.alicloud.threatdetection.inputs.HoneypotProbeHoneypotBindListArgs;
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) {
var default_ = new HoneypotProbe("default", HoneypotProbeArgs.builder()
.uuid("032b618f-b220-4a0d-bd37-fbdc6ef58b6a")
.probeType("host_probe")
.controlNodeId("a44e1ab3-6945-444c-889d-5bacee7056e8")
.ping(true)
.honeypotBindLists(HoneypotProbeHoneypotBindListArgs.builder()
.bindPortLists(HoneypotProbeHoneypotBindListBindPortListArgs.builder()
.startPort(80)
.endPort(80)
.build())
.honeypotId("ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9")
.build())
.displayName("apispec")
.arp(true)
.build());
}
}
Content copied to clipboard
resources:
default:
type: alicloud:threatdetection:HoneypotProbe
properties:
uuid: 032b618f-b220-4a0d-bd37-fbdc6ef58b6a
probeType: host_probe
controlNodeId: a44e1ab3-6945-444c-889d-5bacee7056e8
ping: true
honeypotBindLists:
- bindPortLists:
- startPort: 80
endPort: 80
honeypotId: ede59ccdb1b7a2e21735d4593a6eb5ed31883af320c5ab63ab33818e94307be9
displayName: apispec
arp: true
Content copied to clipboard
Import
Threat Detection Honeypot Probe can be imported using the id, e.g.
$ pulumi import alicloud:threatdetection/honeypotProbe:HoneypotProbe example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(arp: Output<Boolean>? = null, controlNodeId: Output<String>? = null, displayName: Output<String>? = null, honeypotBindLists: Output<List<HoneypotProbeHoneypotBindListArgs>>? = null, ping: Output<Boolean>? = null, probeType: Output<String>? = null, probeVersion: Output<String>? = null, proxyIp: Output<String>? = null, serviceIpLists: Output<List<String>>? = null, uuid: Output<String>? = null, vpcId: Output<String>? = null)