Alibaba Cloud v3.77.0 published on Friday, May 2, 2025 by Pulumi
alicloud.threatdetection.getHoneypotNodes
Explore with Pulumi AI
This data source provides Threat Detection Honeypot Node available to the user.What is Honeypot Node
NOTE: Available in 1.195.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.threatdetection.getHoneypotNodes({
    ids: [defaultAlicloudThreatDetectionHoneypotNode.id],
});
export const alicloudThreatDetectionHoneypotNodeExampleId = _default.then(_default => _default.nodes?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.get_honeypot_nodes(ids=[default_alicloud_threat_detection_honeypot_node["id"]])
pulumi.export("alicloudThreatDetectionHoneypotNodeExampleId", default.nodes[0].id)
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 {
_default, err := threatdetection.GetHoneypotNodes(ctx, &threatdetection.GetHoneypotNodesArgs{
Ids: interface{}{
defaultAlicloudThreatDetectionHoneypotNode.Id,
},
}, nil);
if err != nil {
return err
}
ctx.Export("alicloudThreatDetectionHoneypotNodeExampleId", _default.Nodes[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.ThreatDetection.GetHoneypotNodes.Invoke(new()
    {
        Ids = new[]
        {
            defaultAlicloudThreatDetectionHoneypotNode.Id,
        },
    });
    return new Dictionary<string, object?>
    {
        ["alicloudThreatDetectionHoneypotNodeExampleId"] = @default.Apply(@default => @default.Apply(getHoneypotNodesResult => getHoneypotNodesResult.Nodes[0]?.Id)),
    };
});
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.GetHoneypotNodesArgs;
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.getHoneypotNodes(GetHoneypotNodesArgs.builder()
            .ids(defaultAlicloudThreatDetectionHoneypotNode.id())
            .build());
        ctx.export("alicloudThreatDetectionHoneypotNodeExampleId", default_.nodes()[0].id());
    }
}
variables:
  default:
    fn::invoke:
      function: alicloud:threatdetection:getHoneypotNodes
      arguments:
        ids:
          - ${defaultAlicloudThreatDetectionHoneypotNode.id}
outputs:
  alicloudThreatDetectionHoneypotNodeExampleId: ${default.nodes[0].id}
Using getHoneypotNodes
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 getHoneypotNodes(args: GetHoneypotNodesArgs, opts?: InvokeOptions): Promise<GetHoneypotNodesResult>
function getHoneypotNodesOutput(args: GetHoneypotNodesOutputArgs, opts?: InvokeOptions): Output<GetHoneypotNodesResult>def get_honeypot_nodes(ids: Optional[Sequence[str]] = None,
                       name_regex: Optional[str] = None,
                       node_id: Optional[str] = None,
                       node_name: Optional[str] = None,
                       output_file: Optional[str] = None,
                       page_number: Optional[int] = None,
                       page_size: Optional[int] = None,
                       opts: Optional[InvokeOptions] = None) -> GetHoneypotNodesResult
def get_honeypot_nodes_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       name_regex: Optional[pulumi.Input[str]] = None,
                       node_id: Optional[pulumi.Input[str]] = None,
                       node_name: Optional[pulumi.Input[str]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       page_number: Optional[pulumi.Input[int]] = None,
                       page_size: Optional[pulumi.Input[int]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetHoneypotNodesResult]func GetHoneypotNodes(ctx *Context, args *GetHoneypotNodesArgs, opts ...InvokeOption) (*GetHoneypotNodesResult, error)
func GetHoneypotNodesOutput(ctx *Context, args *GetHoneypotNodesOutputArgs, opts ...InvokeOption) GetHoneypotNodesResultOutput> Note: This function is named GetHoneypotNodes in the Go SDK.
public static class GetHoneypotNodes 
{
    public static Task<GetHoneypotNodesResult> InvokeAsync(GetHoneypotNodesArgs args, InvokeOptions? opts = null)
    public static Output<GetHoneypotNodesResult> Invoke(GetHoneypotNodesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHoneypotNodesResult> getHoneypotNodes(GetHoneypotNodesArgs args, InvokeOptions options)
public static Output<GetHoneypotNodesResult> getHoneypotNodes(GetHoneypotNodesArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:threatdetection/getHoneypotNodes:getHoneypotNodes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Honeypot Node IDs.
- NameRegex string
- A regex string to filter results by Honeypot Node name.
- NodeId string
- Honeypot management node id.
- NodeName string
- The name of the management node.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- PageNumber int
- PageSize int
- Ids []string
- A list of Honeypot Node IDs.
- NameRegex string
- A regex string to filter results by Honeypot Node name.
- NodeId string
- Honeypot management node id.
- NodeName string
- The name of the management node.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- PageNumber int
- PageSize int
- ids List<String>
- A list of Honeypot Node IDs.
- nameRegex String
- A regex string to filter results by Honeypot Node name.
- nodeId String
- Honeypot management node id.
- nodeName String
- The name of the management node.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- pageNumber Integer
- pageSize Integer
- ids string[]
- A list of Honeypot Node IDs.
- nameRegex string
- A regex string to filter results by Honeypot Node name.
- nodeId string
- Honeypot management node id.
- nodeName string
- The name of the management node.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- pageNumber number
- pageSize number
- ids Sequence[str]
- A list of Honeypot Node IDs.
- name_regex str
- A regex string to filter results by Honeypot Node name.
- node_id str
- Honeypot management node id.
- node_name str
- The name of the management node.
- output_file str
- File name where to save data source results (after running pulumi preview).
- page_number int
- page_size int
- ids List<String>
- A list of Honeypot Node IDs.
- nameRegex String
- A regex string to filter results by Honeypot Node name.
- nodeId String
- Honeypot management node id.
- nodeName String
- The name of the management node.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- pageNumber Number
- pageSize Number
getHoneypotNodes 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 Node IDs.
- Names List<string>
- A list of Honeypot Node names.
- Nodes
List<Pulumi.Ali Cloud. Threat Detection. Outputs. Get Honeypot Nodes Node> 
- A list of Honeypot Node Entries. Each element contains the following attributes:
- NameRegex string
- NodeId string
- Honeypot management node id.
- NodeName string
- Management node name.
- OutputFile string
- PageNumber int
- PageSize int
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Honeypot Node IDs.
- Names []string
- A list of Honeypot Node names.
- Nodes
[]GetHoneypot Nodes Node 
- A list of Honeypot Node Entries. Each element contains the following attributes:
- NameRegex string
- NodeId string
- Honeypot management node id.
- NodeName string
- Management node name.
- OutputFile string
- PageNumber int
- PageSize int
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Node IDs.
- names List<String>
- A list of Honeypot Node names.
- nodes
List<GetHoneypot Nodes Node> 
- A list of Honeypot Node Entries. Each element contains the following attributes:
- nameRegex String
- nodeId String
- Honeypot management node id.
- nodeName String
- Management node name.
- outputFile String
- pageNumber Integer
- pageSize Integer
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Honeypot Node IDs.
- names string[]
- A list of Honeypot Node names.
- nodes
GetHoneypot Nodes Node[] 
- A list of Honeypot Node Entries. Each element contains the following attributes:
- nameRegex string
- nodeId string
- Honeypot management node id.
- nodeName string
- Management node name.
- outputFile string
- pageNumber number
- pageSize number
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Honeypot Node IDs.
- names Sequence[str]
- A list of Honeypot Node names.
- nodes
Sequence[GetHoneypot Nodes Node] 
- A list of Honeypot Node Entries. Each element contains the following attributes:
- name_regex str
- node_id str
- Honeypot management node id.
- node_name str
- Management node name.
- output_file str
- page_number int
- page_size int
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Node IDs.
- names List<String>
- A list of Honeypot Node names.
- nodes List<Property Map>
- A list of Honeypot Node Entries. Each element contains the following attributes:
- nameRegex String
- nodeId String
- Honeypot management node id.
- nodeName String
- Management node name.
- outputFile String
- pageNumber Number
- pageSize Number
Supporting Types
GetHoneypotNodesNode   
- AllowHoneypot boolAccess Internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- AvailableProbe intNum 
- Number of probes available.
- CreateTime string
- Id string
- The ID of the Honeypot management node.
- NodeId string
- Honeypot management node id.
- NodeName string
- The name of the management node.
- SecurityGroup List<string>Probe Ip Lists 
- Release the collection of network segments.
- Status int
- AllowHoneypot boolAccess Internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- AvailableProbe intNum 
- Number of probes available.
- CreateTime string
- Id string
- The ID of the Honeypot management node.
- NodeId string
- Honeypot management node id.
- NodeName string
- The name of the management node.
- SecurityGroup []stringProbe Ip Lists 
- Release the collection of network segments.
- Status int
- allowHoneypot BooleanAccess Internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- availableProbe IntegerNum 
- Number of probes available.
- createTime String
- id String
- The ID of the Honeypot management node.
- nodeId String
- Honeypot management node id.
- nodeName String
- The name of the management node.
- securityGroup List<String>Probe Ip Lists 
- Release the collection of network segments.
- status Integer
- allowHoneypot booleanAccess Internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- availableProbe numberNum 
- Number of probes available.
- createTime string
- id string
- The ID of the Honeypot management node.
- nodeId string
- Honeypot management node id.
- nodeName string
- The name of the management node.
- securityGroup string[]Probe Ip Lists 
- Release the collection of network segments.
- status number
- allow_honeypot_ boolaccess_ internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- available_probe_ intnum 
- Number of probes available.
- create_time str
- id str
- The ID of the Honeypot management node.
- node_id str
- Honeypot management node id.
- node_name str
- The name of the management node.
- security_group_ Sequence[str]probe_ ip_ lists 
- Release the collection of network segments.
- status int
- allowHoneypot BooleanAccess Internet 
- Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
- availableProbe NumberNum 
- Number of probes available.
- createTime String
- id String
- The ID of the Honeypot management node.
- nodeId String
- Honeypot management node id.
- nodeName String
- The name of the management node.
- securityGroup List<String>Probe Ip Lists 
- Release the collection of network segments.
- status Number
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.