1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. threatdetection
  5. HoneypotNode
Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi

alicloud.threatdetection.HoneypotNode

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi

    Provides a Threat Detection Honeypot Node resource.

    For information about Threat Detection Honeypot Node and how to use it, see What is Honeypot Node.

    NOTE: Available in v1.195.0+.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.ThreatDetection.HoneypotNode("default", new()
        {
            AvailableProbeNum = 20,
            NodeName = "apispec_test",
            SecurityGroupProbeIpLists = new[]
            {
                "0.0.0.0/0",
            },
        });
    
    });
    
    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.NewHoneypotNode(ctx, "default", &threatdetection.HoneypotNodeArgs{
    			AvailableProbeNum: pulumi.Int(20),
    			NodeName:          pulumi.String("apispec_test"),
    			SecurityGroupProbeIpLists: pulumi.StringArray{
    				pulumi.String("0.0.0.0/0"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.threatdetection.HoneypotNode;
    import com.pulumi.alicloud.threatdetection.HoneypotNodeArgs;
    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 HoneypotNode("default", HoneypotNodeArgs.builder()        
                .availableProbeNum(20)
                .nodeName("apispec_test")
                .securityGroupProbeIpLists("0.0.0.0/0")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.threatdetection.HoneypotNode("default",
        available_probe_num=20,
        node_name="apispec_test",
        security_group_probe_ip_lists=["0.0.0.0/0"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.threatdetection.HoneypotNode("default", {
        availableProbeNum: 20,
        nodeName: "apispec_test",
        securityGroupProbeIpLists: ["0.0.0.0/0"],
    });
    
    resources:
      default:
        type: alicloud:threatdetection:HoneypotNode
        properties:
          availableProbeNum: 20
          nodeName: apispec_test
          securityGroupProbeIpLists:
            - 0.0.0.0/0
    

    Create HoneypotNode Resource

    new HoneypotNode(name: string, args: HoneypotNodeArgs, opts?: CustomResourceOptions);
    @overload
    def HoneypotNode(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     allow_honeypot_access_internet: Optional[bool] = None,
                     available_probe_num: Optional[int] = None,
                     node_name: Optional[str] = None,
                     security_group_probe_ip_lists: Optional[Sequence[str]] = None)
    @overload
    def HoneypotNode(resource_name: str,
                     args: HoneypotNodeArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewHoneypotNode(ctx *Context, name string, args HoneypotNodeArgs, opts ...ResourceOption) (*HoneypotNode, error)
    public HoneypotNode(string name, HoneypotNodeArgs args, CustomResourceOptions? opts = null)
    public HoneypotNode(String name, HoneypotNodeArgs args)
    public HoneypotNode(String name, HoneypotNodeArgs args, CustomResourceOptions options)
    
    type: alicloud:threatdetection:HoneypotNode
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args HoneypotNodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HoneypotNodeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HoneypotNodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HoneypotNodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HoneypotNodeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    HoneypotNode Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The HoneypotNode resource accepts the following input properties:

    AvailableProbeNum int

    Number of probes available.

    NodeName string

    Management node name.

    AllowHoneypotAccessInternet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    SecurityGroupProbeIpLists List<string>

    Release the collection of network segments.

    AvailableProbeNum int

    Number of probes available.

    NodeName string

    Management node name.

    AllowHoneypotAccessInternet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    SecurityGroupProbeIpLists []string

    Release the collection of network segments.

    availableProbeNum Integer

    Number of probes available.

    nodeName String

    Management node name.

    allowHoneypotAccessInternet Boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    securityGroupProbeIpLists List<String>

    Release the collection of network segments.

    availableProbeNum number

    Number of probes available.

    nodeName string

    Management node name.

    allowHoneypotAccessInternet boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    securityGroupProbeIpLists string[]

    Release the collection of network segments.

    available_probe_num int

    Number of probes available.

    node_name str

    Management node name.

    allow_honeypot_access_internet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    security_group_probe_ip_lists Sequence[str]

    Release the collection of network segments.

    availableProbeNum Number

    Number of probes available.

    nodeName String

    Management node name.

    allowHoneypotAccessInternet Boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    securityGroupProbeIpLists List<String>

    Release the collection of network segments.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HoneypotNode resource produces the following output properties:

    CreateTime string

    The creation time of the resource

    Id string

    The provider-assigned unique ID for this managed resource.

    Status int

    The status of the resource

    CreateTime string

    The creation time of the resource

    Id string

    The provider-assigned unique ID for this managed resource.

    Status int

    The status of the resource

    createTime String

    The creation time of the resource

    id String

    The provider-assigned unique ID for this managed resource.

    status Integer

    The status of the resource

    createTime string

    The creation time of the resource

    id string

    The provider-assigned unique ID for this managed resource.

    status number

    The status of the resource

    create_time str

    The creation time of the resource

    id str

    The provider-assigned unique ID for this managed resource.

    status int

    The status of the resource

    createTime String

    The creation time of the resource

    id String

    The provider-assigned unique ID for this managed resource.

    status Number

    The status of the resource

    Look up Existing HoneypotNode Resource

    Get an existing HoneypotNode resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HoneypotNodeState, opts?: CustomResourceOptions): HoneypotNode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_honeypot_access_internet: Optional[bool] = None,
            available_probe_num: Optional[int] = None,
            create_time: Optional[str] = None,
            node_name: Optional[str] = None,
            security_group_probe_ip_lists: Optional[Sequence[str]] = None,
            status: Optional[int] = None) -> HoneypotNode
    func GetHoneypotNode(ctx *Context, name string, id IDInput, state *HoneypotNodeState, opts ...ResourceOption) (*HoneypotNode, error)
    public static HoneypotNode Get(string name, Input<string> id, HoneypotNodeState? state, CustomResourceOptions? opts = null)
    public static HoneypotNode get(String name, Output<String> id, HoneypotNodeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowHoneypotAccessInternet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    AvailableProbeNum int

    Number of probes available.

    CreateTime string

    The creation time of the resource

    NodeName string

    Management node name.

    SecurityGroupProbeIpLists List<string>

    Release the collection of network segments.

    Status int

    The status of the resource

    AllowHoneypotAccessInternet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    AvailableProbeNum int

    Number of probes available.

    CreateTime string

    The creation time of the resource

    NodeName string

    Management node name.

    SecurityGroupProbeIpLists []string

    Release the collection of network segments.

    Status int

    The status of the resource

    allowHoneypotAccessInternet Boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    availableProbeNum Integer

    Number of probes available.

    createTime String

    The creation time of the resource

    nodeName String

    Management node name.

    securityGroupProbeIpLists List<String>

    Release the collection of network segments.

    status Integer

    The status of the resource

    allowHoneypotAccessInternet boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    availableProbeNum number

    Number of probes available.

    createTime string

    The creation time of the resource

    nodeName string

    Management node name.

    securityGroupProbeIpLists string[]

    Release the collection of network segments.

    status number

    The status of the resource

    allow_honeypot_access_internet bool

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    available_probe_num int

    Number of probes available.

    create_time str

    The creation time of the resource

    node_name str

    Management node name.

    security_group_probe_ip_lists Sequence[str]

    Release the collection of network segments.

    status int

    The status of the resource

    allowHoneypotAccessInternet Boolean

    Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled

    availableProbeNum Number

    Number of probes available.

    createTime String

    The creation time of the resource

    nodeName String

    Management node name.

    securityGroupProbeIpLists List<String>

    Release the collection of network segments.

    status Number

    The status of the resource

    Import

    Threat Detection Honeypot Node can be imported using the id, e.g.

     $ pulumi import alicloud:threatdetection/honeypotNode:HoneypotNode example <id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi