Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 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 dictionaryThe following arguments are supported:
- Function
Id string - The ID of Function.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Function
Id string - The ID of Function.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- function
Id String - The ID of Function.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- function
Id string - The ID of Function.
- name
Regex string - A Name Regex of Resource.
- output
File 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.
- function
Id String - The ID of Function.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
getKafkaTriggers Result
The following output properties are available:
- Function
Id string - The ID of Function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Kafka Triggers Item> - The list of timer trigger.
- Total
Count int - The total count of query.
- Name
Regex string - Output
File string
- Function
Id string - The ID of Function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Kafka Triggers Item - The list of timer trigger.
- Total
Count int - The total count of query.
- Name
Regex string - Output
File string
- function
Id String - The ID of Function.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Kafka Triggers Item> - The list of timer trigger.
- total
Count Integer - The total count of query.
- name
Regex String - output
File String
- function
Id string - The ID of Function.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Kafka Triggers Item[] - The list of timer trigger.
- total
Count number - The total count of query.
- name
Regex string - output
File string
- function_
id str - The ID of Function.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Kafka Triggers Item] - The list of timer trigger.
- total_
count int - The total count of query.
- name_
regex str - output_
file str
- function
Id 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.
- total
Count Number - The total count of query.
- name
Regex String - output
File String
Supporting Types
GetKafkaTriggersItem
- Account
Id string - The ID of account.
- Creation
Time string - The creation time of the Timer trigger.
- Description string
- The description of the Timer trigger.
- Detailed
Config string - The details of trigger configuration.
- Enabled bool
- Whether the Timer trigger is enabled.
- Function
Id string - The ID of Function.
- Id string
- The ID of the Timer trigger.
- Image
Version string - The image version of the Timer trigger.
- Last
Update stringTime - 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 string - The ID of account.
- Creation
Time string - The creation time of the Timer trigger.
- Description string
- The description of the Timer trigger.
- Detailed
Config string - The details of trigger configuration.
- Enabled bool
- Whether the Timer trigger is enabled.
- Function
Id string - The ID of Function.
- Id string
- The ID of the Timer trigger.
- Image
Version string - The image version of the Timer trigger.
- Last
Update stringTime - 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 String - The ID of account.
- creation
Time String - The creation time of the Timer trigger.
- description String
- The description of the Timer trigger.
- detailed
Config String - The details of trigger configuration.
- enabled Boolean
- Whether the Timer trigger is enabled.
- function
Id String - The ID of Function.
- id String
- The ID of the Timer trigger.
- image
Version String - The image version of the Timer trigger.
- last
Update StringTime - 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 string - The ID of account.
- creation
Time string - The creation time of the Timer trigger.
- description string
- The description of the Timer trigger.
- detailed
Config string - The details of trigger configuration.
- enabled boolean
- Whether the Timer trigger is enabled.
- function
Id string - The ID of Function.
- id string
- The ID of the Timer trigger.
- image
Version string - The image version of the Timer trigger.
- last
Update stringTime - 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_ strtime - The last update time of the Timer trigger.
- name str
- The name of the Timer trigger.
- type str
- The category of the Timer trigger.
- account
Id String - The ID of account.
- creation
Time String - The creation time of the Timer trigger.
- description String
- The description of the Timer trigger.
- detailed
Config String - The details of trigger configuration.
- enabled Boolean
- Whether the Timer trigger is enabled.
- function
Id String - The ID of Function.
- id String
- The ID of the Timer trigger.
- image
Version String - The image version of the Timer trigger.
- last
Update StringTime - 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
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
