Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.kafka.AllowLists has been deprecated in favor of volcengine.kafka.getAllowLists
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 AllowLists
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 allowLists(args: AllowListsArgs, opts?: InvokeOptions): Promise<AllowListsResult>
function allowListsOutput(args: AllowListsOutputArgs, opts?: InvokeOptions): Output<AllowListsResult>def allow_lists(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
region_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AllowListsResult
def 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[AllowListsResult]func AllowLists(ctx *Context, args *AllowListsArgs, opts ...InvokeOption) (*AllowListsResult, error)
func AllowListsOutput(ctx *Context, args *AllowListsOutputArgs, opts ...InvokeOption) AllowListsResultOutputpublic static class AllowLists
{
public static Task<AllowListsResult> InvokeAsync(AllowListsArgs args, InvokeOptions? opts = null)
public static Output<AllowListsResult> Invoke(AllowListsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<AllowListsResult> allowLists(AllowListsArgs args, InvokeOptions options)
public static Output<AllowListsResult> allowLists(AllowListsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:kafka:AllowLists
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.
AllowLists Result
The following output properties are available:
- Allow
Lists List<AllowLists 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 []AllowLists 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<AllowLists 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 AllowLists 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[AllowLists 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
AllowListsAllowList
- 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<AllowLists 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 []AllowLists 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<AllowLists 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 AllowLists 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[AllowLists 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.
AllowListsAllowListAssociatedInstance
- 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.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
