Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
This data source provides Threat Detection Honeypot Preset available to the user.
NOTE: Available in 1.195.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.threatdetection.getHoneypotPresets({
ids: [defaultAlicloudThreatDetectionHoneypotPreset.id],
honeypotImageName: "shiro",
nodeId: "example_value",
presetName: "apiapec_test",
});
export const alicloudThreatDetectionHoneypotPresetExampleId = _default.then(_default => _default.presets?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.get_honeypot_presets(ids=[default_alicloud_threat_detection_honeypot_preset["id"]],
honeypot_image_name="shiro",
node_id="example_value",
preset_name="apiapec_test")
pulumi.export("alicloudThreatDetectionHoneypotPresetExampleId", default.presets[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.GetHoneypotPresets(ctx, &threatdetection.GetHoneypotPresetsArgs{
Ids: interface{}{
defaultAlicloudThreatDetectionHoneypotPreset.Id,
},
HoneypotImageName: pulumi.StringRef("shiro"),
NodeId: pulumi.StringRef("example_value"),
PresetName: pulumi.StringRef("apiapec_test"),
}, nil);
if err != nil {
return err
}
ctx.Export("alicloudThreatDetectionHoneypotPresetExampleId", _default.Presets[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.GetHoneypotPresets.Invoke(new()
{
Ids = new[]
{
defaultAlicloudThreatDetectionHoneypotPreset.Id,
},
HoneypotImageName = "shiro",
NodeId = "example_value",
PresetName = "apiapec_test",
});
return new Dictionary<string, object?>
{
["alicloudThreatDetectionHoneypotPresetExampleId"] = @default.Apply(@default => @default.Apply(getHoneypotPresetsResult => getHoneypotPresetsResult.Presets[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.GetHoneypotPresetsArgs;
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.getHoneypotPresets(GetHoneypotPresetsArgs.builder()
.ids(defaultAlicloudThreatDetectionHoneypotPreset.id())
.honeypotImageName("shiro")
.nodeId("example_value")
.presetName("apiapec_test")
.build());
ctx.export("alicloudThreatDetectionHoneypotPresetExampleId", default_.presets()[0].id());
}
}
variables:
default:
fn::invoke:
function: alicloud:threatdetection:getHoneypotPresets
arguments:
ids:
- ${defaultAlicloudThreatDetectionHoneypotPreset.id}
honeypotImageName: shiro
nodeId: example_value
presetName: apiapec_test
outputs:
alicloudThreatDetectionHoneypotPresetExampleId: ${default.presets[0].id}
Using getHoneypotPresets
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 getHoneypotPresets(args: GetHoneypotPresetsArgs, opts?: InvokeOptions): Promise<GetHoneypotPresetsResult>
function getHoneypotPresetsOutput(args: GetHoneypotPresetsOutputArgs, opts?: InvokeOptions): Output<GetHoneypotPresetsResult>def get_honeypot_presets(current_page: Optional[int] = None,
enable_details: Optional[bool] = None,
honeypot_image_name: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
lang: 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,
preset_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHoneypotPresetsResult
def get_honeypot_presets_output(current_page: Optional[pulumi.Input[int]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
honeypot_image_name: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
lang: 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,
preset_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHoneypotPresetsResult]func GetHoneypotPresets(ctx *Context, args *GetHoneypotPresetsArgs, opts ...InvokeOption) (*GetHoneypotPresetsResult, error)
func GetHoneypotPresetsOutput(ctx *Context, args *GetHoneypotPresetsOutputArgs, opts ...InvokeOption) GetHoneypotPresetsResultOutput> Note: This function is named GetHoneypotPresets in the Go SDK.
public static class GetHoneypotPresets
{
public static Task<GetHoneypotPresetsResult> InvokeAsync(GetHoneypotPresetsArgs args, InvokeOptions? opts = null)
public static Output<GetHoneypotPresetsResult> Invoke(GetHoneypotPresetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHoneypotPresetsResult> getHoneypotPresets(GetHoneypotPresetsArgs args, InvokeOptions options)
public static Output<GetHoneypotPresetsResult> getHoneypotPresets(GetHoneypotPresetsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:threatdetection/getHoneypotPresets:getHoneypotPresets
arguments:
# arguments dictionaryThe following arguments are supported:
- Current
Page int - Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Honeypot
Image stringName - Honeypot mirror name
- Ids List<string>
- A list of Honeypot Preset IDs.
- Lang string
- Node
Id string - Unique id of management node
- Node
Name string - Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Preset
Name string - Honeypot template custom name
- Current
Page int - Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Honeypot
Image stringName - Honeypot mirror name
- Ids []string
- A list of Honeypot Preset IDs.
- Lang string
- Node
Id string - Unique id of management node
- Node
Name string - Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Preset
Name string - Honeypot template custom name
- current
Page Integer - enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - honeypot
Image StringName - Honeypot mirror name
- ids List<String>
- A list of Honeypot Preset IDs.
- lang String
- node
Id String - Unique id of management node
- node
Name String - output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Integer - page
Size Integer - preset
Name String - Honeypot template custom name
- current
Page number - enable
Details boolean - Default to
false. Set it totruecan output more details about resource attributes. - honeypot
Image stringName - Honeypot mirror name
- ids string[]
- A list of Honeypot Preset IDs.
- lang string
- node
Id string - Unique id of management node
- node
Name string - output
File string - File name where to save data source results (after running
pulumi preview). - page
Number number - page
Size number - preset
Name string - Honeypot template custom name
- current_
page int - enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - honeypot_
image_ strname - Honeypot mirror name
- ids Sequence[str]
- A list of Honeypot Preset IDs.
- lang str
- node_
id str - Unique id of management node
- node_
name str - output_
file str - File name where to save data source results (after running
pulumi preview). - page_
number int - page_
size int - preset_
name str - Honeypot template custom name
- current
Page Number - enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - honeypot
Image StringName - Honeypot mirror name
- ids List<String>
- A list of Honeypot Preset IDs.
- lang String
- node
Id String - Unique id of management node
- node
Name String - output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Number - page
Size Number - preset
Name String - Honeypot template custom name
getHoneypotPresets 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 Preset IDs.
- Presets
List<Pulumi.
Ali Cloud. Threat Detection. Outputs. Get Honeypot Presets Preset> - A list of Honeypot Preset Entries. Each element contains the following attributes:
- Current
Page int - Enable
Details bool - Honeypot
Image stringName - Honeypot mirror name.
- Lang string
- Node
Id string - Unique id of management node.
- Node
Name string - Output
File string - Page
Number int - Page
Size int - Preset
Name string - Honeypot template custom name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Honeypot Preset IDs.
- Presets
[]Get
Honeypot Presets Preset - A list of Honeypot Preset Entries. Each element contains the following attributes:
- Current
Page int - Enable
Details bool - Honeypot
Image stringName - Honeypot mirror name.
- Lang string
- Node
Id string - Unique id of management node.
- Node
Name string - Output
File string - Page
Number int - Page
Size int - Preset
Name string - Honeypot template custom name.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Preset IDs.
- presets
List<Get
Honeypot Presets Preset> - A list of Honeypot Preset Entries. Each element contains the following attributes:
- current
Page Integer - enable
Details Boolean - honeypot
Image StringName - Honeypot mirror name.
- lang String
- node
Id String - Unique id of management node.
- node
Name String - output
File String - page
Number Integer - page
Size Integer - preset
Name String - Honeypot template custom name.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Honeypot Preset IDs.
- presets
Get
Honeypot Presets Preset[] - A list of Honeypot Preset Entries. Each element contains the following attributes:
- current
Page number - enable
Details boolean - honeypot
Image stringName - Honeypot mirror name.
- lang string
- node
Id string - Unique id of management node.
- node
Name string - output
File string - page
Number number - page
Size number - preset
Name string - Honeypot template custom name.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Honeypot Preset IDs.
- presets
Sequence[Get
Honeypot Presets Preset] - A list of Honeypot Preset Entries. Each element contains the following attributes:
- current_
page int - enable_
details bool - honeypot_
image_ strname - Honeypot mirror name.
- lang str
- node_
id str - Unique id of management node.
- node_
name str - output_
file str - page_
number int - page_
size int - preset_
name str - Honeypot template custom name.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Preset IDs.
- presets List<Property Map>
- A list of Honeypot Preset Entries. Each element contains the following attributes:
- current
Page Number - enable
Details Boolean - honeypot
Image StringName - Honeypot mirror name.
- lang String
- node
Id String - Unique id of management node.
- node
Name String - output
File String - page
Number Number - page
Size Number - preset
Name String - Honeypot template custom name.
Supporting Types
GetHoneypotPresetsPreset
- Honeypot
Image stringName - Honeypot mirror name
- Honeypot
Preset stringId - Unique ID of honeypot Template.
- Id string
- The id of the Honeypot template.
- Metas
List<Pulumi.
Ali Cloud. Threat Detection. Inputs. Get Honeypot Presets Preset Meta> - Honeypot template custom parameters.
- Node
Id string - Unique id of management node
- Preset
Name string - Honeypot template custom name
- Honeypot
Image stringName - Honeypot mirror name
- Honeypot
Preset stringId - Unique ID of honeypot Template.
- Id string
- The id of the Honeypot template.
- Metas
[]Get
Honeypot Presets Preset Meta - Honeypot template custom parameters.
- Node
Id string - Unique id of management node
- Preset
Name string - Honeypot template custom name
- honeypot
Image StringName - Honeypot mirror name
- honeypot
Preset StringId - Unique ID of honeypot Template.
- id String
- The id of the Honeypot template.
- metas
List<Get
Honeypot Presets Preset Meta> - Honeypot template custom parameters.
- node
Id String - Unique id of management node
- preset
Name String - Honeypot template custom name
- honeypot
Image stringName - Honeypot mirror name
- honeypot
Preset stringId - Unique ID of honeypot Template.
- id string
- The id of the Honeypot template.
- metas
Get
Honeypot Presets Preset Meta[] - Honeypot template custom parameters.
- node
Id string - Unique id of management node
- preset
Name string - Honeypot template custom name
- honeypot_
image_ strname - Honeypot mirror name
- honeypot_
preset_ strid - Unique ID of honeypot Template.
- id str
- The id of the Honeypot template.
- metas
Sequence[Get
Honeypot Presets Preset Meta] - Honeypot template custom parameters.
- node_
id str - Unique id of management node
- preset_
name str - Honeypot template custom name
- honeypot
Image StringName - Honeypot mirror name
- honeypot
Preset StringId - Unique ID of honeypot Template.
- id String
- The id of the Honeypot template.
- metas List<Property Map>
- Honeypot template custom parameters.
- node
Id String - Unique id of management node
- preset
Name String - Honeypot template custom name
GetHoneypotPresetsPresetMeta
- Burp string
- Burp counter.
- Portrait
Option bool - Social traceability.
- Trojan
Git string - Git countered.
- Burp string
- Burp counter.
- Portrait
Option bool - Social traceability.
- Trojan
Git string - Git countered.
- burp String
- Burp counter.
- portrait
Option Boolean - Social traceability.
- trojan
Git String - Git countered.
- burp string
- Burp counter.
- portrait
Option boolean - Social traceability.
- trojan
Git string - Git countered.
- burp str
- Burp counter.
- portrait_
option bool - Social traceability.
- trojan_
git str - Git countered.
- burp String
- Burp counter.
- portrait
Option Boolean - Social traceability.
- trojan
Git String - Git countered.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
