Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.threatdetection.getHoneypotProbes
This data source provides Threat Detection Honeypot Probe available to the user.What is Honeypot Probe
NOTE: Available in 1.195.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-testAccThreatDetectionHoneypotProbe";
const defaultHoneypotProbe = new alicloud.threatdetection.HoneypotProbe("default", {
    uuid: "e52c7872-29d1-4aa1-9908-0299abd53606",
    probeType: "host_probe",
    controlNodeId: "e1397077-4941-4b14-b533-ca2bdebd00a3",
    ping: true,
    honeypotBindLists: [{
        bindPortLists: [{
            startPort: 80,
            endPort: 80,
        }],
        honeypotId: "4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05",
    }],
    displayName: name,
    arp: true,
});
const _default = alicloud.threatdetection.getHoneypotProbesOutput({
    ids: [defaultHoneypotProbe.id],
    displayName: name,
    probeType: "host_probe",
    enableDetails: true,
});
export const alicloudThreatDetectionHoneypotProbeExampleId = _default.apply(_default => _default.probes?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-testAccThreatDetectionHoneypotProbe"
default_honeypot_probe = alicloud.threatdetection.HoneypotProbe("default",
    uuid="e52c7872-29d1-4aa1-9908-0299abd53606",
    probe_type="host_probe",
    control_node_id="e1397077-4941-4b14-b533-ca2bdebd00a3",
    ping=True,
    honeypot_bind_lists=[{
        "bind_port_lists": [{
            "start_port": 80,
            "end_port": 80,
        }],
        "honeypot_id": "4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05",
    }],
    display_name=name,
    arp=True)
default = alicloud.threatdetection.get_honeypot_probes_output(ids=[default_honeypot_probe.id],
    display_name=name,
    probe_type="host_probe",
    enable_details=True)
pulumi.export("alicloudThreatDetectionHoneypotProbeExampleId", default.probes[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-testAccThreatDetectionHoneypotProbe";
if param := cfg.Get("name"); param != ""{
name = param
}
defaultHoneypotProbe, err := threatdetection.NewHoneypotProbe(ctx, "default", &threatdetection.HoneypotProbeArgs{
Uuid: pulumi.String("e52c7872-29d1-4aa1-9908-0299abd53606"),
ProbeType: pulumi.String("host_probe"),
ControlNodeId: pulumi.String("e1397077-4941-4b14-b533-ca2bdebd00a3"),
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("4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05"),
},
},
DisplayName: pulumi.String(name),
Arp: pulumi.Bool(true),
})
if err != nil {
return err
}
_default := threatdetection.GetHoneypotProbesOutput(ctx, threatdetection.GetHoneypotProbesOutputArgs{
Ids: pulumi.StringArray{
defaultHoneypotProbe.ID(),
},
DisplayName: pulumi.String(name),
ProbeType: pulumi.String("host_probe"),
EnableDetails: pulumi.Bool(true),
}, nil);
ctx.Export("alicloudThreatDetectionHoneypotProbeExampleId", _default.ApplyT(func(_default threatdetection.GetHoneypotProbesResult) (*string, error) {
return &default.Probes[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf-testAccThreatDetectionHoneypotProbe";
    var defaultHoneypotProbe = new AliCloud.ThreatDetection.HoneypotProbe("default", new()
    {
        Uuid = "e52c7872-29d1-4aa1-9908-0299abd53606",
        ProbeType = "host_probe",
        ControlNodeId = "e1397077-4941-4b14-b533-ca2bdebd00a3",
        Ping = true,
        HoneypotBindLists = new[]
        {
            new AliCloud.ThreatDetection.Inputs.HoneypotProbeHoneypotBindListArgs
            {
                BindPortLists = new[]
                {
                    new AliCloud.ThreatDetection.Inputs.HoneypotProbeHoneypotBindListBindPortListArgs
                    {
                        StartPort = 80,
                        EndPort = 80,
                    },
                },
                HoneypotId = "4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05",
            },
        },
        DisplayName = name,
        Arp = true,
    });
    var @default = AliCloud.ThreatDetection.GetHoneypotProbes.Invoke(new()
    {
        Ids = new[]
        {
            defaultHoneypotProbe.Id,
        },
        DisplayName = name,
        ProbeType = "host_probe",
        EnableDetails = true,
    });
    return new Dictionary<string, object?>
    {
        ["alicloudThreatDetectionHoneypotProbeExampleId"] = @default.Apply(@default => @default.Apply(getHoneypotProbesResult => getHoneypotProbesResult.Probes[0]?.Id)),
    };
});
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 com.pulumi.alicloud.threatdetection.ThreatdetectionFunctions;
import com.pulumi.alicloud.threatdetection.inputs.GetHoneypotProbesArgs;
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 config = ctx.config();
        final var name = config.get("name").orElse("tf-testAccThreatDetectionHoneypotProbe");
        var defaultHoneypotProbe = new HoneypotProbe("defaultHoneypotProbe", HoneypotProbeArgs.builder()
            .uuid("e52c7872-29d1-4aa1-9908-0299abd53606")
            .probeType("host_probe")
            .controlNodeId("e1397077-4941-4b14-b533-ca2bdebd00a3")
            .ping(true)
            .honeypotBindLists(HoneypotProbeHoneypotBindListArgs.builder()
                .bindPortLists(HoneypotProbeHoneypotBindListBindPortListArgs.builder()
                    .startPort(80)
                    .endPort(80)
                    .build())
                .honeypotId("4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05")
                .build())
            .displayName(name)
            .arp(true)
            .build());
        final var default = ThreatdetectionFunctions.getHoneypotProbes(GetHoneypotProbesArgs.builder()
            .ids(defaultHoneypotProbe.id())
            .displayName(name)
            .probeType("host_probe")
            .enableDetails(true)
            .build());
        ctx.export("alicloudThreatDetectionHoneypotProbeExampleId", default_.applyValue(_default_ -> _default_.probes()[0].id()));
    }
}
configuration:
  name:
    type: string
    default: tf-testAccThreatDetectionHoneypotProbe
resources:
  defaultHoneypotProbe:
    type: alicloud:threatdetection:HoneypotProbe
    name: default
    properties:
      uuid: e52c7872-29d1-4aa1-9908-0299abd53606
      probeType: host_probe
      controlNodeId: e1397077-4941-4b14-b533-ca2bdebd00a3
      ping: true
      honeypotBindLists:
        - bindPortLists:
            - startPort: 80
              endPort: 80
          honeypotId: 4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05
      displayName: ${name}
      arp: true
variables:
  default:
    fn::invoke:
      function: alicloud:threatdetection:getHoneypotProbes
      arguments:
        ids:
          - ${defaultHoneypotProbe.id}
        displayName: ${name}
        probeType: host_probe
        enableDetails: true
outputs:
  alicloudThreatDetectionHoneypotProbeExampleId: ${default.probes[0].id}
Using getHoneypotProbes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHoneypotProbes(args: GetHoneypotProbesArgs, opts?: InvokeOptions): Promise<GetHoneypotProbesResult>
function getHoneypotProbesOutput(args: GetHoneypotProbesOutputArgs, opts?: InvokeOptions): Output<GetHoneypotProbesResult>def get_honeypot_probes(display_name: Optional[str] = None,
                        enable_details: Optional[bool] = None,
                        ids: Optional[Sequence[str]] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        probe_status: Optional[str] = None,
                        probe_type: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetHoneypotProbesResult
def get_honeypot_probes_output(display_name: Optional[pulumi.Input[str]] = None,
                        enable_details: Optional[pulumi.Input[bool]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        probe_status: Optional[pulumi.Input[str]] = None,
                        probe_type: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetHoneypotProbesResult]func GetHoneypotProbes(ctx *Context, args *GetHoneypotProbesArgs, opts ...InvokeOption) (*GetHoneypotProbesResult, error)
func GetHoneypotProbesOutput(ctx *Context, args *GetHoneypotProbesOutputArgs, opts ...InvokeOption) GetHoneypotProbesResultOutput> Note: This function is named GetHoneypotProbes in the Go SDK.
public static class GetHoneypotProbes 
{
    public static Task<GetHoneypotProbesResult> InvokeAsync(GetHoneypotProbesArgs args, InvokeOptions? opts = null)
    public static Output<GetHoneypotProbesResult> Invoke(GetHoneypotProbesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHoneypotProbesResult> getHoneypotProbes(GetHoneypotProbesArgs args, InvokeOptions options)
public static Output<GetHoneypotProbesResult> getHoneypotProbes(GetHoneypotProbesArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:threatdetection/getHoneypotProbes:getHoneypotProbes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DisplayName string
- Probe name
- EnableDetails bool
- Default to false. Set it totruecan output more details about resource attributes.
- Ids List<string>
- A list of Honeypot Probe IDs.
- NameRegex string
- A regex string to filter results by display name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- ProbeStatus string
- ProbeType string
- Probe type
- DisplayName string
- Probe name
- EnableDetails bool
- Default to false. Set it totruecan output more details about resource attributes.
- Ids []string
- A list of Honeypot Probe IDs.
- NameRegex string
- A regex string to filter results by display name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- ProbeStatus string
- ProbeType string
- Probe type
- displayName String
- Probe name
- enableDetails Boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids List<String>
- A list of Honeypot Probe IDs.
- nameRegex String
- A regex string to filter results by display name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- probeStatus String
- probeType String
- Probe type
- displayName string
- Probe name
- enableDetails boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids string[]
- A list of Honeypot Probe IDs.
- nameRegex string
- A regex string to filter results by display name.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- probeStatus string
- probeType string
- Probe type
- display_name str
- Probe name
- enable_details bool
- Default to false. Set it totruecan output more details about resource attributes.
- ids Sequence[str]
- A list of Honeypot Probe IDs.
- name_regex str
- A regex string to filter results by display name.
- output_file str
- File name where to save data source results (after running pulumi preview).
- probe_status str
- probe_type str
- Probe type
- displayName String
- Probe name
- enableDetails Boolean
- Default to false. Set it totruecan output more details about resource attributes.
- ids List<String>
- A list of Honeypot Probe IDs.
- nameRegex String
- A regex string to filter results by display name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- probeStatus String
- probeType String
- Probe type
getHoneypotProbes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Honeypot Probe IDs.
- Probes
List<Pulumi.Ali Cloud. Threat Detection. Outputs. Get Honeypot Probes Probe> 
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- DisplayName string
- Probe name.
- EnableDetails bool
- NameRegex string
- OutputFile string
- ProbeStatus string
- ProbeType string
- Probe type, support host_probeandvpc_black_hole_probe.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Honeypot Probe IDs.
- Probes
[]GetHoneypot Probes Probe 
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- DisplayName string
- Probe name.
- EnableDetails bool
- NameRegex string
- OutputFile string
- ProbeStatus string
- ProbeType string
- Probe type, support host_probeandvpc_black_hole_probe.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Probe IDs.
- probes
List<GetHoneypot Probes Probe> 
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- displayName String
- Probe name.
- enableDetails Boolean
- nameRegex String
- outputFile String
- probeStatus String
- probeType String
- Probe type, support host_probeandvpc_black_hole_probe.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Honeypot Probe IDs.
- probes
GetHoneypot Probes Probe[] 
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- displayName string
- Probe name.
- enableDetails boolean
- nameRegex string
- outputFile string
- probeStatus string
- probeType string
- Probe type, support host_probeandvpc_black_hole_probe.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Honeypot Probe IDs.
- probes
Sequence[GetHoneypot Probes Probe] 
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- display_name str
- Probe name.
- enable_details bool
- name_regex str
- output_file str
- probe_status str
- probe_type str
- Probe type, support host_probeandvpc_black_hole_probe.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Probe IDs.
- probes List<Property Map>
- A list of Honeypot Probe Entries. Each element contains the following attributes:
- displayName String
- Probe name.
- enableDetails Boolean
- nameRegex String
- outputFile String
- probeStatus String
- probeType String
- Probe type, support host_probeandvpc_black_hole_probe.
Supporting Types
GetHoneypotProbesProbe   
- Arp bool
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- ControlNode stringId 
- The ID of the management node.
- DisplayName string
- Probe name
- HoneypotBind List<Pulumi.Lists Ali Cloud. Threat Detection. Inputs. Get Honeypot Probes Probe Honeypot Bind List> 
- HoneypotProbe stringId 
- The first ID of the resource
- Id string
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- Ping bool
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- ProbeType string
- Probe type
- ServiceIp List<string>Lists 
- Listen to the IP address list. Available when enable_detailsis on.
- Status string
- The status of the resource.
- Uuid string
- Machine uuid. Has a value when the type is host_probe.
- VpcId string
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
- Arp bool
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- ControlNode stringId 
- The ID of the management node.
- DisplayName string
- Probe name
- HoneypotBind []GetLists Honeypot Probes Probe Honeypot Bind List 
- HoneypotProbe stringId 
- The first ID of the resource
- Id string
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- Ping bool
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- ProbeType string
- Probe type
- ServiceIp []stringLists 
- Listen to the IP address list. Available when enable_detailsis on.
- Status string
- The status of the resource.
- Uuid string
- Machine uuid. Has a value when the type is host_probe.
- VpcId string
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
- arp Boolean
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- controlNode StringId 
- The ID of the management node.
- displayName String
- Probe name
- honeypotBind List<GetLists Honeypot Probes Probe Honeypot Bind List> 
- honeypotProbe StringId 
- The first ID of the resource
- id String
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- ping Boolean
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- probeType String
- Probe type
- serviceIp List<String>Lists 
- Listen to the IP address list. Available when enable_detailsis on.
- status String
- The status of the resource.
- uuid String
- Machine uuid. Has a value when the type is host_probe.
- vpcId String
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
- arp boolean
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- controlNode stringId 
- The ID of the management node.
- displayName string
- Probe name
- honeypotBind GetLists Honeypot Probes Probe Honeypot Bind List[] 
- honeypotProbe stringId 
- The first ID of the resource
- id string
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- ping boolean
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- probeType string
- Probe type
- serviceIp string[]Lists 
- Listen to the IP address list. Available when enable_detailsis on.
- status string
- The status of the resource.
- uuid string
- Machine uuid. Has a value when the type is host_probe.
- vpcId string
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
- arp bool
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- control_node_ strid 
- The ID of the management node.
- display_name str
- Probe name
- honeypot_bind_ Sequence[Getlists Honeypot Probes Probe Honeypot Bind List] 
- honeypot_probe_ strid 
- The first ID of the resource
- id str
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- ping bool
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- probe_type str
- Probe type
- service_ip_ Sequence[str]lists 
- Listen to the IP address list. Available when enable_detailsis on.
- status str
- The status of the resource.
- uuid str
- Machine uuid. Has a value when the type is host_probe.
- vpc_id str
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
- arp Boolean
- ARP spoofing detection.-true: Enable-false: Disabled. Available when enable_detailsis on.
- controlNode StringId 
- The ID of the management node.
- displayName String
- Probe name
- honeypotBind List<Property Map>Lists 
- honeypotProbe StringId 
- The first ID of the resource
- id String
- The ID of the honeypot probe. Its value is the same as honeypot_probe_id.
- ping Boolean
- Ping scan detection. Value:true: Enable false: Disabled. Available when enable_detailsis on.
- probeType String
- Probe type
- serviceIp List<String>Lists 
- Listen to the IP address list. Available when enable_detailsis on.
- status String
- The status of the resource.
- uuid String
- Machine uuid. Has a value when the type is host_probe.
- vpcId String
- The ID of the VPC. Has a value when the type is vpc_black_hole_probe.
GetHoneypotProbesProbeHoneypotBindList      
- BindPort List<Pulumi.Lists Ali Cloud. Threat Detection. Inputs. Get Honeypot Probes Probe Honeypot Bind List Bind Port List> 
- List of listening ports. Available when enable_detailsis on.
- HoneypotId string
- BindPort []GetLists Honeypot Probes Probe Honeypot Bind List Bind Port List 
- List of listening ports. Available when enable_detailsis on.
- HoneypotId string
- bindPort List<GetLists Honeypot Probes Probe Honeypot Bind List Bind Port List> 
- List of listening ports. Available when enable_detailsis on.
- honeypotId String
- bindPort GetLists Honeypot Probes Probe Honeypot Bind List Bind Port List[] 
- List of listening ports. Available when enable_detailsis on.
- honeypotId string
- bind_port_ Sequence[Getlists Honeypot Probes Probe Honeypot Bind List Bind Port List] 
- List of listening ports. Available when enable_detailsis on.
- honeypot_id str
- bindPort List<Property Map>Lists 
- List of listening ports. Available when enable_detailsis on.
- honeypotId String
GetHoneypotProbesProbeHoneypotBindListBindPortList         
- BindPort bool
- Whether to bind the port.
- EndPort int
- End port.
- Fixed bool
- Whether the port is fixed.
- StartPort int
- Start port.
- TargetPort int
- Destination port.
- BindPort bool
- Whether to bind the port.
- EndPort int
- End port.
- Fixed bool
- Whether the port is fixed.
- StartPort int
- Start port.
- TargetPort int
- Destination port.
- bindPort Boolean
- Whether to bind the port.
- endPort Integer
- End port.
- fixed Boolean
- Whether the port is fixed.
- startPort Integer
- Start port.
- targetPort Integer
- Destination port.
- bindPort boolean
- Whether to bind the port.
- endPort number
- End port.
- fixed boolean
- Whether the port is fixed.
- startPort number
- Start port.
- targetPort number
- Destination port.
- bind_port bool
- Whether to bind the port.
- end_port int
- End port.
- fixed bool
- Whether the port is fixed.
- start_port int
- Start port.
- target_port int
- Destination port.
- bindPort Boolean
- Whether to bind the port.
- endPort Number
- End port.
- fixed Boolean
- Whether the port is fixed.
- startPort Number
- Start port.
- targetPort Number
- Destination port.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.
