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 kafka allow lists
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.kafka.getAllowLists({
instanceId: "kafka-xxx",
regionId: "cn-beijing",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.kafka.get_allow_lists(instance_id="kafka-xxx",
region_id="cn-beijing")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/kafka"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kafka.GetAllowLists(ctx, &kafka.GetAllowListsArgs{
InstanceId: pulumi.StringRef("kafka-xxx"),
RegionId: "cn-beijing",
}, 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.Kafka.GetAllowLists.Invoke(new()
{
InstanceId = "kafka-xxx",
RegionId = "cn-beijing",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.kafka.KafkaFunctions;
import com.pulumi.volcengine.kafka.inputs.GetAllowListsArgs;
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 = KafkaFunctions.getAllowLists(GetAllowListsArgs.builder()
.instanceId("kafka-xxx")
.regionId("cn-beijing")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:kafka:getAllowLists
Arguments:
instanceId: kafka-xxx
regionId: cn-beijing
Using getAllowLists
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 getAllowLists(args: GetAllowListsArgs, opts?: InvokeOptions): Promise<GetAllowListsResult>
function getAllowListsOutput(args: GetAllowListsOutputArgs, opts?: InvokeOptions): Output<GetAllowListsResult>def get_allow_lists(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
region_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAllowListsResult
def get_allow_lists_output(instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAllowListsResult]func GetAllowLists(ctx *Context, args *GetAllowListsArgs, opts ...InvokeOption) (*GetAllowListsResult, error)
func GetAllowListsOutput(ctx *Context, args *GetAllowListsOutputArgs, opts ...InvokeOption) GetAllowListsResultOutput> Note: This function is named GetAllowLists in the Go SDK.
public static class GetAllowLists
{
public static Task<GetAllowListsResult> InvokeAsync(GetAllowListsArgs args, InvokeOptions? opts = null)
public static Output<GetAllowListsResult> Invoke(GetAllowListsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAllowListsResult> getAllowLists(GetAllowListsArgs args, InvokeOptions options)
public static Output<GetAllowListsResult> getAllowLists(GetAllowListsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:kafka/getAllowLists:getAllowLists
arguments:
# arguments dictionaryThe following arguments are supported:
- Region
Id string - The region ID.
- Instance
Id string - The instance ID to query.
- Output
File string - File name where to save data source results.
- Region
Id string - The region ID.
- Instance
Id string - The instance ID to query.
- Output
File string - File name where to save data source results.
- region
Id String - The region ID.
- instance
Id String - The instance ID to query.
- output
File String - File name where to save data source results.
- region
Id string - The region ID.
- instance
Id string - The instance ID to query.
- output
File string - File name where to save data source results.
- region_
id str - The region ID.
- instance_
id str - The instance ID to query.
- output_
file str - File name where to save data source results.
- region
Id String - The region ID.
- instance
Id String - The instance ID to query.
- output
File String - File name where to save data source results.
getAllowLists Result
The following output properties are available:
- Allow
Lists List<GetAllow Lists Allow List> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - Total
Count int - The total count of query.
- Instance
Id string - The id of the instance.
- Output
File string
- Allow
Lists []GetAllow Lists Allow List - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - Total
Count int - The total count of query.
- Instance
Id string - The id of the instance.
- Output
File string
- allow
Lists List<GetAllow Lists Allow List> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - total
Count Integer - The total count of query.
- instance
Id String - The id of the instance.
- output
File String
- allow
Lists GetAllow Lists Allow List[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - total
Count number - The total count of query.
- instance
Id string - The id of the instance.
- output
File string
- allow_
lists Sequence[GetAllow Lists Allow List] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - total_
count int - The total count of query.
- instance_
id str - The id of the instance.
- output_
file str
- allow
Lists List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - total
Count Number - The total count of query.
- instance
Id String - The id of the instance.
- output
File String
Supporting Types
GetAllowListsAllowList
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringId - The id of the allow list.
- Allow
List intIp Num - The number of rules specified in the whitelist.
- Allow
List stringName - The name of the allow list.
- Allow
Lists List<string> - Whitelist rule list.
- Associated
Instance intNum - The number of instances bound to the whitelist.
- Associated
Instances List<GetAllow Lists Allow List Associated Instance> - The list of associated instances.
- Allow
List stringDesc - The description of the allow list.
- Allow
List stringId - The id of the allow list.
- Allow
List intIp Num - The number of rules specified in the whitelist.
- Allow
List stringName - The name of the allow list.
- Allow
Lists []string - Whitelist rule list.
- Associated
Instance intNum - The number of instances bound to the whitelist.
- Associated
Instances []GetAllow Lists Allow List Associated Instance - The list of associated instances.
- allow
List StringDesc - The description of the allow list.
- allow
List StringId - The id of the allow list.
- allow
List IntegerIp Num - The number of rules specified in the whitelist.
- allow
List StringName - The name of the allow list.
- allow
Lists List<String> - Whitelist rule list.
- associated
Instance IntegerNum - The number of instances bound to the whitelist.
- associated
Instances List<GetAllow Lists Allow List Associated Instance> - The list of associated instances.
- allow
List stringDesc - The description of the allow list.
- allow
List stringId - The id of the allow list.
- allow
List numberIp Num - The number of rules specified in the whitelist.
- allow
List stringName - The name of the allow list.
- allow
Lists string[] - Whitelist rule list.
- associated
Instance numberNum - The number of instances bound to the whitelist.
- associated
Instances GetAllow Lists Allow List Associated Instance[] - The list of associated instances.
- allow_
list_ strdesc - The description of the allow list.
- allow_
list_ strid - The id of the allow list.
- allow_
list_ intip_ num - The number of rules specified in the whitelist.
- allow_
list_ strname - The name of the allow list.
- allow_
lists Sequence[str] - Whitelist rule list.
- associated_
instance_ intnum - The number of instances bound to the whitelist.
- associated_
instances Sequence[GetAllow Lists Allow List Associated Instance] - The list of associated instances.
- allow
List StringDesc - The description of the allow list.
- allow
List StringId - The id of the allow list.
- allow
List NumberIp Num - The number of rules specified in the whitelist.
- allow
List StringName - The name of the allow list.
- allow
Lists List<String> - Whitelist rule list.
- associated
Instance NumberNum - The number of instances bound to the whitelist.
- associated
Instances List<Property Map> - The list of associated instances.
GetAllowListsAllowListAssociatedInstance
- Instance
Id string - The instance ID to query.
- Instance
Name string - The name of the instance.
- Instance
Id string - The instance ID to query.
- Instance
Name string - The name of the instance.
- instance
Id String - The instance ID to query.
- instance
Name String - The name of the instance.
- instance
Id string - The instance ID to query.
- instance
Name string - The name of the instance.
- instance_
id str - The instance ID to query.
- instance_
name str - The name of the instance.
- instance
Id String - The instance ID to query.
- instance
Name String - The name of the instance.
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
