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

volcengine.vefaas.getKafkaTriggers

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 vefaas kafka triggers

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.vefaas.getKafkaTriggers({
        functionId: "f0zvcxxx",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.vefaas.get_kafka_triggers(function_id="f0zvcxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vefaas"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vefaas.GetKafkaTriggers(ctx, &vefaas.GetKafkaTriggersArgs{
    			FunctionId: "f0zvcxxx",
    		}, 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.Vefaas.GetKafkaTriggers.Invoke(new()
        {
            FunctionId = "f0zvcxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vefaas.VefaasFunctions;
    import com.pulumi.volcengine.vefaas.inputs.GetKafkaTriggersArgs;
    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 = VefaasFunctions.getKafkaTriggers(GetKafkaTriggersArgs.builder()
                .functionId("f0zvcxxx")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:vefaas:getKafkaTriggers
          Arguments:
            functionId: f0zvcxxx
    

    Using getKafkaTriggers

    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 getKafkaTriggers(args: GetKafkaTriggersArgs, opts?: InvokeOptions): Promise<GetKafkaTriggersResult>
    function getKafkaTriggersOutput(args: GetKafkaTriggersOutputArgs, opts?: InvokeOptions): Output<GetKafkaTriggersResult>
    def get_kafka_triggers(function_id: Optional[str] = None,
                           name_regex: Optional[str] = None,
                           output_file: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKafkaTriggersResult
    def get_kafka_triggers_output(function_id: Optional[pulumi.Input[str]] = None,
                           name_regex: Optional[pulumi.Input[str]] = None,
                           output_file: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKafkaTriggersResult]
    func GetKafkaTriggers(ctx *Context, args *GetKafkaTriggersArgs, opts ...InvokeOption) (*GetKafkaTriggersResult, error)
    func GetKafkaTriggersOutput(ctx *Context, args *GetKafkaTriggersOutputArgs, opts ...InvokeOption) GetKafkaTriggersResultOutput

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

    public static class GetKafkaTriggers 
    {
        public static Task<GetKafkaTriggersResult> InvokeAsync(GetKafkaTriggersArgs args, InvokeOptions? opts = null)
        public static Output<GetKafkaTriggersResult> Invoke(GetKafkaTriggersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKafkaTriggersResult> getKafkaTriggers(GetKafkaTriggersArgs args, InvokeOptions options)
    public static Output<GetKafkaTriggersResult> getKafkaTriggers(GetKafkaTriggersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:vefaas/getKafkaTriggers:getKafkaTriggers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FunctionId string
    The ID of Function.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    FunctionId string
    The ID of Function.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    functionId String
    The ID of Function.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    functionId string
    The ID of Function.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    function_id str
    The ID of Function.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    functionId String
    The ID of Function.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.

    getKafkaTriggers Result

    The following output properties are available:

    FunctionId string
    The ID of Function.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetKafkaTriggersItem>
    The list of timer trigger.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    FunctionId string
    The ID of Function.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetKafkaTriggersItem
    The list of timer trigger.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    functionId String
    The ID of Function.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetKafkaTriggersItem>
    The list of timer trigger.
    totalCount Integer
    The total count of query.
    nameRegex String
    outputFile String
    functionId string
    The ID of Function.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetKafkaTriggersItem[]
    The list of timer trigger.
    totalCount number
    The total count of query.
    nameRegex string
    outputFile string
    function_id str
    The ID of Function.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetKafkaTriggersItem]
    The list of timer trigger.
    total_count int
    The total count of query.
    name_regex str
    output_file str
    functionId String
    The ID of Function.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    The list of timer trigger.
    totalCount Number
    The total count of query.
    nameRegex String
    outputFile String

    Supporting Types

    GetKafkaTriggersItem

    AccountId string
    The ID of account.
    CreationTime string
    The creation time of the Timer trigger.
    Description string
    The description of the Timer trigger.
    DetailedConfig string
    The details of trigger configuration.
    Enabled bool
    Whether the Timer trigger is enabled.
    FunctionId string
    The ID of Function.
    Id string
    The ID of the Timer trigger.
    ImageVersion string
    The image version of the Timer trigger.
    LastUpdateTime string
    The last update time of the Timer trigger.
    Name string
    The name of the Timer trigger.
    Type string
    The category of the Timer trigger.
    AccountId string
    The ID of account.
    CreationTime string
    The creation time of the Timer trigger.
    Description string
    The description of the Timer trigger.
    DetailedConfig string
    The details of trigger configuration.
    Enabled bool
    Whether the Timer trigger is enabled.
    FunctionId string
    The ID of Function.
    Id string
    The ID of the Timer trigger.
    ImageVersion string
    The image version of the Timer trigger.
    LastUpdateTime string
    The last update time of the Timer trigger.
    Name string
    The name of the Timer trigger.
    Type string
    The category of the Timer trigger.
    accountId String
    The ID of account.
    creationTime String
    The creation time of the Timer trigger.
    description String
    The description of the Timer trigger.
    detailedConfig String
    The details of trigger configuration.
    enabled Boolean
    Whether the Timer trigger is enabled.
    functionId String
    The ID of Function.
    id String
    The ID of the Timer trigger.
    imageVersion String
    The image version of the Timer trigger.
    lastUpdateTime String
    The last update time of the Timer trigger.
    name String
    The name of the Timer trigger.
    type String
    The category of the Timer trigger.
    accountId string
    The ID of account.
    creationTime string
    The creation time of the Timer trigger.
    description string
    The description of the Timer trigger.
    detailedConfig string
    The details of trigger configuration.
    enabled boolean
    Whether the Timer trigger is enabled.
    functionId string
    The ID of Function.
    id string
    The ID of the Timer trigger.
    imageVersion string
    The image version of the Timer trigger.
    lastUpdateTime string
    The last update time of the Timer trigger.
    name string
    The name of the Timer trigger.
    type string
    The category of the Timer trigger.
    account_id str
    The ID of account.
    creation_time str
    The creation time of the Timer trigger.
    description str
    The description of the Timer trigger.
    detailed_config str
    The details of trigger configuration.
    enabled bool
    Whether the Timer trigger is enabled.
    function_id str
    The ID of Function.
    id str
    The ID of the Timer trigger.
    image_version str
    The image version of the Timer trigger.
    last_update_time str
    The last update time of the Timer trigger.
    name str
    The name of the Timer trigger.
    type str
    The category of the Timer trigger.
    accountId String
    The ID of account.
    creationTime String
    The creation time of the Timer trigger.
    description String
    The description of the Timer trigger.
    detailedConfig String
    The details of trigger configuration.
    enabled Boolean
    Whether the Timer trigger is enabled.
    functionId String
    The ID of Function.
    id String
    The ID of the Timer trigger.
    imageVersion String
    The image version of the Timer trigger.
    lastUpdateTime String
    The last update time of the Timer trigger.
    name String
    The name of the Timer trigger.
    type String
    The category of the Timer trigger.

    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