Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.rds.IpLists
Explore with Pulumi AI
(Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds ip lists
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.rds.IpLists({
    instanceId: "mysql-0fdd3bab2e7c",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.rds.ip_lists(instance_id="mysql-0fdd3bab2e7c")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds.IpLists(ctx, &rds.IpListsArgs{
			InstanceId: "mysql-0fdd3bab2e7c",
		}, 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 @default = Volcengine.Rds.IpLists.Invoke(new()
    {
        InstanceId = "mysql-0fdd3bab2e7c",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds.RdsFunctions;
import com.pulumi.volcengine.rds.inputs.IpListsArgs;
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 default = RdsFunctions.IpLists(IpListsArgs.builder()
            .instanceId("mysql-0fdd3bab2e7c")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:rds:IpLists
      Arguments:
        instanceId: mysql-0fdd3bab2e7c
Using IpLists
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 ipLists(args: IpListsArgs, opts?: InvokeOptions): Promise<IpListsResult>
function ipListsOutput(args: IpListsOutputArgs, opts?: InvokeOptions): Output<IpListsResult>def ip_lists(instance_id: Optional[str] = None,
             name_regex: Optional[str] = None,
             output_file: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> IpListsResult
def ip_lists_output(instance_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[IpListsResult]func IpLists(ctx *Context, args *IpListsArgs, opts ...InvokeOption) (*IpListsResult, error)
func IpListsOutput(ctx *Context, args *IpListsOutputArgs, opts ...InvokeOption) IpListsResultOutputpublic static class IpLists 
{
    public static Task<IpListsResult> InvokeAsync(IpListsArgs args, InvokeOptions? opts = null)
    public static Output<IpListsResult> Invoke(IpListsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<IpListsResult> ipLists(IpListsArgs args, InvokeOptions options)
public static Output<IpListsResult> ipLists(IpListsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:rds:IpLists
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- The id of the RDS instance.
- NameRegex string
- A Name Regex of RDS ip list.
- OutputFile string
- File name where to save data source results.
- InstanceId string
- The id of the RDS instance.
- NameRegex string
- A Name Regex of RDS ip list.
- OutputFile string
- File name where to save data source results.
- instanceId String
- The id of the RDS instance.
- nameRegex String
- A Name Regex of RDS ip list.
- outputFile String
- File name where to save data source results.
- instanceId string
- The id of the RDS instance.
- nameRegex string
- A Name Regex of RDS ip list.
- outputFile string
- File name where to save data source results.
- instance_id str
- The id of the RDS instance.
- name_regex str
- A Name Regex of RDS ip list.
- output_file str
- File name where to save data source results.
- instanceId String
- The id of the RDS instance.
- nameRegex String
- A Name Regex of RDS ip list.
- outputFile String
- File name where to save data source results.
IpLists Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- RdsIp List<IpLists Lists Rds Ip List> 
- The collection of RDS ip list account query.
- TotalCount int
- The total count of RDS ip list query.
- NameRegex string
- OutputFile string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- RdsIp []IpLists Lists Rds Ip List 
- The collection of RDS ip list account query.
- TotalCount int
- The total count of RDS ip list query.
- NameRegex string
- OutputFile string
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- rdsIp List<IpLists Lists Rds Ip List> 
- The collection of RDS ip list account query.
- totalCount Integer
- The total count of RDS ip list query.
- nameRegex String
- outputFile String
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- rdsIp IpLists Lists Rds Ip List[] 
- The collection of RDS ip list account query.
- totalCount number
- The total count of RDS ip list query.
- nameRegex string
- outputFile string
- id str
- The provider-assigned unique ID for this managed resource.
- instance_id str
- rds_ip_ Sequence[Iplists Lists Rds Ip List] 
- The collection of RDS ip list account query.
- total_count int
- The total count of RDS ip list query.
- name_regex str
- output_file str
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- rdsIp List<Property Map>Lists 
- The collection of RDS ip list account query.
- totalCount Number
- The total count of RDS ip list query.
- nameRegex String
- outputFile String
Supporting Types
IpListsRdsIpList    
- group_name str
- The name of the RDS ip list.
- id str
- The ID of the RDS ip list.
- ip_lists Sequence[str]
- The list of IP address.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.