1. Packages
  2. Volcengine
  3. API Docs
  4. waf
  5. getSystemBots
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.waf.getSystemBots

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of waf system bots

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.waf.getSystemBots({
        host: "www.tf-test.com",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.waf.get_system_bots(host="www.tf-test.com")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := waf.GetSystemBots(ctx, &waf.GetSystemBotsArgs{
    			Host: "www.tf-test.com",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Waf.GetSystemBots.Invoke(new()
        {
            Host = "www.tf-test.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.waf.WafFunctions;
    import com.pulumi.volcengine.waf.inputs.GetSystemBotsArgs;
    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 foo = WafFunctions.getSystemBots(GetSystemBotsArgs.builder()
                .host("www.tf-test.com")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:waf:getSystemBots
          Arguments:
            host: www.tf-test.com
    

    Using getSystemBots

    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 getSystemBots(args: GetSystemBotsArgs, opts?: InvokeOptions): Promise<GetSystemBotsResult>
    function getSystemBotsOutput(args: GetSystemBotsOutputArgs, opts?: InvokeOptions): Output<GetSystemBotsResult>
    def get_system_bots(host: Optional[str] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSystemBotsResult
    def get_system_bots_output(host: Optional[pulumi.Input[str]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSystemBotsResult]
    func GetSystemBots(ctx *Context, args *GetSystemBotsArgs, opts ...InvokeOption) (*GetSystemBotsResult, error)
    func GetSystemBotsOutput(ctx *Context, args *GetSystemBotsOutputArgs, opts ...InvokeOption) GetSystemBotsResultOutput

    > Note: This function is named GetSystemBots in the Go SDK.

    public static class GetSystemBots 
    {
        public static Task<GetSystemBotsResult> InvokeAsync(GetSystemBotsArgs args, InvokeOptions? opts = null)
        public static Output<GetSystemBotsResult> Invoke(GetSystemBotsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSystemBotsResult> getSystemBots(GetSystemBotsArgs args, InvokeOptions options)
    public static Output<GetSystemBotsResult> getSystemBots(GetSystemBotsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:waf/getSystemBots:getSystemBots
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Host string
    Domain name information.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Host string
    Domain name information.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    host String
    Domain name information.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    host string
    Domain name information.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    host str
    Domain name information.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    host String
    Domain name information.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.

    getSystemBots Result

    The following output properties are available:

    Datas List<GetSystemBotsData>
    Host the Bot configuration information.
    Host string
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    Datas []GetSystemBotsData
    Host the Bot configuration information.
    Host string
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    datas List<GetSystemBotsData>
    Host the Bot configuration information.
    host String
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    nameRegex String
    outputFile String
    datas GetSystemBotsData[]
    Host the Bot configuration information.
    host string
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    nameRegex string
    outputFile string
    datas Sequence[GetSystemBotsData]
    Host the Bot configuration information.
    host str
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    name_regex str
    output_file str
    datas List<Property Map>
    Host the Bot configuration information.
    host String
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    nameRegex String
    outputFile String

    Supporting Types

    GetSystemBotsData

    Action string
    The execution action of the Bot.
    BotType string
    The name of Bot.
    Description string
    The description of Bot.
    Enable int
    Whether to enable Bot.
    RuleTag string
    The rule ID corresponding to Bot.
    Action string
    The execution action of the Bot.
    BotType string
    The name of Bot.
    Description string
    The description of Bot.
    Enable int
    Whether to enable Bot.
    RuleTag string
    The rule ID corresponding to Bot.
    action String
    The execution action of the Bot.
    botType String
    The name of Bot.
    description String
    The description of Bot.
    enable Integer
    Whether to enable Bot.
    ruleTag String
    The rule ID corresponding to Bot.
    action string
    The execution action of the Bot.
    botType string
    The name of Bot.
    description string
    The description of Bot.
    enable number
    Whether to enable Bot.
    ruleTag string
    The rule ID corresponding to Bot.
    action str
    The execution action of the Bot.
    bot_type str
    The name of Bot.
    description str
    The description of Bot.
    enable int
    Whether to enable Bot.
    rule_tag str
    The rule ID corresponding to Bot.
    action String
    The execution action of the Bot.
    botType String
    The name of Bot.
    description String
    The description of Bot.
    enable Number
    Whether to enable Bot.
    ruleTag String
    The rule ID corresponding to Bot.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine