Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.threatdetection.getHoneypotImages
This data source provides Threat Detection Honeypot Image available to the user.What is Honeypot Image
NOTE: Available in 1.195.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.threatdetection.getHoneypotImages({
ids: ["sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df"],
nameRegex: "^meta",
});
export const alicloudThreatDetectionHoneypotImageExampleId = _default.then(_default => _default.images?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.threatdetection.get_honeypot_images(ids=["sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df"],
name_regex="^meta")
pulumi.export("alicloudThreatDetectionHoneypotImageExampleId", default.images[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.GetHoneypotImages(ctx, &threatdetection.GetHoneypotImagesArgs{
Ids: []string{
"sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df",
},
NameRegex: pulumi.StringRef("^meta"),
}, nil)
if err != nil {
return err
}
ctx.Export("alicloudThreatDetectionHoneypotImageExampleId", _default.Images[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.GetHoneypotImages.Invoke(new()
{
Ids = new[]
{
"sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df",
},
NameRegex = "^meta",
});
return new Dictionary<string, object?>
{
["alicloudThreatDetectionHoneypotImageExampleId"] = @default.Apply(@default => @default.Apply(getHoneypotImagesResult => getHoneypotImagesResult.Images[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.GetHoneypotImagesArgs;
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.getHoneypotImages(GetHoneypotImagesArgs.builder()
.ids("sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df")
.nameRegex("^meta")
.build());
ctx.export("alicloudThreatDetectionHoneypotImageExampleId", default_.images()[0].id());
}
}
variables:
default:
fn::invoke:
function: alicloud:threatdetection:getHoneypotImages
arguments:
ids:
- sha256:02882320c9a55303410127c5dc4ae2dc470150f9d7f2483102d994f5e5f4d9df
nameRegex: ^meta
outputs:
alicloudThreatDetectionHoneypotImageExampleId: ${default.images[0].id}
Using getHoneypotImages
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 getHoneypotImages(args: GetHoneypotImagesArgs, opts?: InvokeOptions): Promise<GetHoneypotImagesResult>
function getHoneypotImagesOutput(args: GetHoneypotImagesOutputArgs, opts?: InvokeOptions): Output<GetHoneypotImagesResult>def get_honeypot_images(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
node_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHoneypotImagesResult
def get_honeypot_images_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
node_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHoneypotImagesResult]func GetHoneypotImages(ctx *Context, args *GetHoneypotImagesArgs, opts ...InvokeOption) (*GetHoneypotImagesResult, error)
func GetHoneypotImagesOutput(ctx *Context, args *GetHoneypotImagesOutputArgs, opts ...InvokeOption) GetHoneypotImagesResultOutput> Note: This function is named GetHoneypotImages in the Go SDK.
public static class GetHoneypotImages
{
public static Task<GetHoneypotImagesResult> InvokeAsync(GetHoneypotImagesArgs args, InvokeOptions? opts = null)
public static Output<GetHoneypotImagesResult> Invoke(GetHoneypotImagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHoneypotImagesResult> getHoneypotImages(GetHoneypotImagesArgs args, InvokeOptions options)
public static Output<GetHoneypotImagesResult> getHoneypotImages(GetHoneypotImagesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:threatdetection/getHoneypotImages:getHoneypotImages
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Honeypot Image IDs.
- Name
Regex string - A regex string to filter results by Honeypot mirror nam.
- Node
Id string - Output
File string - File name where to save data source results (after running
pulumi preview).
- Ids []string
- A list of Honeypot Image IDs.
- Name
Regex string - A regex string to filter results by Honeypot mirror nam.
- Node
Id string - Output
File string - File name where to save data source results (after running
pulumi preview).
- ids List<String>
- A list of Honeypot Image IDs.
- name
Regex String - A regex string to filter results by Honeypot mirror nam.
- node
Id String - output
File String - File name where to save data source results (after running
pulumi preview).
- ids string[]
- A list of Honeypot Image IDs.
- name
Regex string - A regex string to filter results by Honeypot mirror nam.
- node
Id string - output
File string - File name where to save data source results (after running
pulumi preview).
- ids Sequence[str]
- A list of Honeypot Image IDs.
- name_
regex str - A regex string to filter results by Honeypot mirror nam.
- node_
id str - output_
file str - File name where to save data source results (after running
pulumi preview).
- ids List<String>
- A list of Honeypot Image IDs.
- name
Regex String - A regex string to filter results by Honeypot mirror nam.
- node
Id String - output
File String - File name where to save data source results (after running
pulumi preview).
getHoneypotImages 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 Image IDs.
- Images
List<Pulumi.
Ali Cloud. Threat Detection. Outputs. Get Honeypot Images Image> - A list of Honeypot Image Entries. Each element contains the following attributes:
- Names List<string>
- A list of name of Honeypot Images.
- Name
Regex string - Node
Id string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Honeypot Image IDs.
- Images
[]Get
Honeypot Images Image - A list of Honeypot Image Entries. Each element contains the following attributes:
- Names []string
- A list of name of Honeypot Images.
- Name
Regex string - Node
Id string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Image IDs.
- images
List<Get
Honeypot Images Image> - A list of Honeypot Image Entries. Each element contains the following attributes:
- names List<String>
- A list of name of Honeypot Images.
- name
Regex String - node
Id String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Honeypot Image IDs.
- images
Get
Honeypot Images Image[] - A list of Honeypot Image Entries. Each element contains the following attributes:
- names string[]
- A list of name of Honeypot Images.
- name
Regex string - node
Id string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Honeypot Image IDs.
- images
Sequence[Get
Honeypot Images Image] - A list of Honeypot Image Entries. Each element contains the following attributes:
- names Sequence[str]
- A list of name of Honeypot Images.
- name_
regex str - node_
id str - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Honeypot Image IDs.
- images List<Property Map>
- A list of Honeypot Image Entries. Each element contains the following attributes:
- names List<String>
- A list of name of Honeypot Images.
- name
Regex String - node
Id String - output
File String
Supporting Types
GetHoneypotImagesImage
- Honeypot
Image stringDisplay Name - The name of the honeypot image display.
- Honeypot
Image stringId - The image ID of the honeypot.
- Honeypot
Image stringName - Honeypot mirror name.
- Honeypot
Image stringType - Honeypot mirror type.
- Honeypot
Image stringVersion - Honeypot Mirror version.
- Id string
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - Multiports string
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- Proto string
- Honeypot-supported protocols.
- Service
Port string - Honeypot service port.
- Template string
- Honeypot configuration parameter template.
- Honeypot
Image stringDisplay Name - The name of the honeypot image display.
- Honeypot
Image stringId - The image ID of the honeypot.
- Honeypot
Image stringName - Honeypot mirror name.
- Honeypot
Image stringType - Honeypot mirror type.
- Honeypot
Image stringVersion - Honeypot Mirror version.
- Id string
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - Multiports string
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- Proto string
- Honeypot-supported protocols.
- Service
Port string - Honeypot service port.
- Template string
- Honeypot configuration parameter template.
- honeypot
Image StringDisplay Name - The name of the honeypot image display.
- honeypot
Image StringId - The image ID of the honeypot.
- honeypot
Image StringName - Honeypot mirror name.
- honeypot
Image StringType - Honeypot mirror type.
- honeypot
Image StringVersion - Honeypot Mirror version.
- id String
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - multiports String
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- proto String
- Honeypot-supported protocols.
- service
Port String - Honeypot service port.
- template String
- Honeypot configuration parameter template.
- honeypot
Image stringDisplay Name - The name of the honeypot image display.
- honeypot
Image stringId - The image ID of the honeypot.
- honeypot
Image stringName - Honeypot mirror name.
- honeypot
Image stringType - Honeypot mirror type.
- honeypot
Image stringVersion - Honeypot Mirror version.
- id string
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - multiports string
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- proto string
- Honeypot-supported protocols.
- service
Port string - Honeypot service port.
- template string
- Honeypot configuration parameter template.
- honeypot_
image_ strdisplay_ name - The name of the honeypot image display.
- honeypot_
image_ strid - The image ID of the honeypot.
- honeypot_
image_ strname - Honeypot mirror name.
- honeypot_
image_ strtype - Honeypot mirror type.
- honeypot_
image_ strversion - Honeypot Mirror version.
- id str
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - multiports str
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- proto str
- Honeypot-supported protocols.
- service_
port str - Honeypot service port.
- template str
- Honeypot configuration parameter template.
- honeypot
Image StringDisplay Name - The name of the honeypot image display.
- honeypot
Image StringId - The image ID of the honeypot.
- honeypot
Image StringName - Honeypot mirror name.
- honeypot
Image StringType - Honeypot mirror type.
- honeypot
Image StringVersion - Honeypot Mirror version.
- id String
- The image ID of the honeypot.The value is the same as
honeypot_image_id. - multiports String
- Ports supported by honeypots. In JSON format. Contains the following fields:-log_type: log type-proto: Support Protocol-description: description-ports: supports Port collection-port_str: supports port strings-type: type
- proto String
- Honeypot-supported protocols.
- service
Port String - Honeypot service port.
- template String
- Honeypot configuration parameter template.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
