1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. Allowlists
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.rds_postgresql.Allowlists

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of rds postgresql allowlists

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const foo = volcengine.rds_postgresql.Allowlists({});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.rds_postgresql.allowlists()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds_postgresql.Allowlists(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Rds_postgresql.Allowlists.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
import com.pulumi.volcengine.rds_postgresql.inputs.AllowlistsArgs;
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 = Rds_postgresqlFunctions.Allowlists();

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:rds_postgresql:Allowlists
      Arguments: {}
Copy

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>
Copy
def allowlists(instance_id: Optional[str] = None,
               name_regex: Optional[str] = None,
               output_file: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> AllowlistsResult
def allowlists_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[AllowlistsResult]
Copy
func Allowlists(ctx *Context, args *AllowlistsArgs, opts ...InvokeOption) (*AllowlistsResult, error)
func AllowlistsOutput(ctx *Context, args *AllowlistsOutputArgs, opts ...InvokeOption) AllowlistsResultOutput
Copy
public static class Allowlists 
{
    public static Task<AllowlistsResult> InvokeAsync(AllowlistsArgs args, InvokeOptions? opts = null)
    public static Output<AllowlistsResult> Invoke(AllowlistsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<AllowlistsResult> allowlists(AllowlistsArgs args, InvokeOptions options)
public static Output<AllowlistsResult> allowlists(AllowlistsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:rds_postgresql:Allowlists
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId string
The id of the postgresql Instance.
NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
InstanceId string
The id of the postgresql Instance.
NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
instanceId String
The id of the postgresql Instance.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.
instanceId string
The id of the postgresql Instance.
nameRegex string
A Name Regex of Resource.
outputFile string
File name where to save data source results.
instance_id str
The id of the postgresql Instance.
name_regex str
A Name Regex of Resource.
output_file str
File name where to save data source results.
instanceId String
The id of the postgresql Instance.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.

Allowlists Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
PostgresqlAllowLists List<AllowlistsPostgresqlAllowList>
The list of postgresql allowed list.
TotalCount int
The total count of query.
InstanceId string
The id of the postgresql instance.
NameRegex string
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
PostgresqlAllowLists []AllowlistsPostgresqlAllowList
The list of postgresql allowed list.
TotalCount int
The total count of query.
InstanceId string
The id of the postgresql instance.
NameRegex string
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
postgresqlAllowLists List<AllowlistsPostgresqlAllowList>
The list of postgresql allowed list.
totalCount Integer
The total count of query.
instanceId String
The id of the postgresql instance.
nameRegex String
outputFile String
id string
The provider-assigned unique ID for this managed resource.
postgresqlAllowLists AllowlistsPostgresqlAllowList[]
The list of postgresql allowed list.
totalCount number
The total count of query.
instanceId string
The id of the postgresql instance.
nameRegex string
outputFile string
id str
The provider-assigned unique ID for this managed resource.
postgresql_allow_lists Sequence[AllowlistsPostgresqlAllowList]
The list of postgresql allowed list.
total_count int
The total count of query.
instance_id str
The id of the postgresql instance.
name_regex str
output_file str
id String
The provider-assigned unique ID for this managed resource.
postgresqlAllowLists List<Property Map>
The list of postgresql allowed list.
totalCount Number
The total count of query.
instanceId String
The id of the postgresql instance.
nameRegex String
outputFile String

Supporting Types

AllowlistsPostgresqlAllowList

AllowListDesc This property is required. string
The description of the postgresql allow list.
AllowListId This property is required. string
The id of the postgresql allow list.
AllowListIpNum This property is required. int
The total number of IP addresses (or address ranges) in the whitelist.
AllowListName This property is required. string
The name of the postgresql allow list.
AllowListType This property is required. string
The type of the postgresql allow list.
AllowLists This property is required. List<string>
The IP address or a range of IP addresses in CIDR format.
AssociatedInstanceNum This property is required. int
The total number of instances bound under the whitelist.
AssociatedInstances This property is required. List<AllowlistsPostgresqlAllowListAssociatedInstance>
The list of postgresql instances.
Id This property is required. string
The id of the postgresql allow list.
AllowListDesc This property is required. string
The description of the postgresql allow list.
AllowListId This property is required. string
The id of the postgresql allow list.
AllowListIpNum This property is required. int
The total number of IP addresses (or address ranges) in the whitelist.
AllowListName This property is required. string
The name of the postgresql allow list.
AllowListType This property is required. string
The type of the postgresql allow list.
AllowLists This property is required. []string
The IP address or a range of IP addresses in CIDR format.
AssociatedInstanceNum This property is required. int
The total number of instances bound under the whitelist.
AssociatedInstances This property is required. []AllowlistsPostgresqlAllowListAssociatedInstance
The list of postgresql instances.
Id This property is required. string
The id of the postgresql allow list.
allowListDesc This property is required. String
The description of the postgresql allow list.
allowListId This property is required. String
The id of the postgresql allow list.
allowListIpNum This property is required. Integer
The total number of IP addresses (or address ranges) in the whitelist.
allowListName This property is required. String
The name of the postgresql allow list.
allowListType This property is required. String
The type of the postgresql allow list.
allowLists This property is required. List<String>
The IP address or a range of IP addresses in CIDR format.
associatedInstanceNum This property is required. Integer
The total number of instances bound under the whitelist.
associatedInstances This property is required. List<AllowlistsPostgresqlAllowListAssociatedInstance>
The list of postgresql instances.
id This property is required. String
The id of the postgresql allow list.
allowListDesc This property is required. string
The description of the postgresql allow list.
allowListId This property is required. string
The id of the postgresql allow list.
allowListIpNum This property is required. number
The total number of IP addresses (or address ranges) in the whitelist.
allowListName This property is required. string
The name of the postgresql allow list.
allowListType This property is required. string
The type of the postgresql allow list.
allowLists This property is required. string[]
The IP address or a range of IP addresses in CIDR format.
associatedInstanceNum This property is required. number
The total number of instances bound under the whitelist.
associatedInstances This property is required. AllowlistsPostgresqlAllowListAssociatedInstance[]
The list of postgresql instances.
id This property is required. string
The id of the postgresql allow list.
allow_list_desc This property is required. str
The description of the postgresql allow list.
allow_list_id This property is required. str
The id of the postgresql allow list.
allow_list_ip_num This property is required. int
The total number of IP addresses (or address ranges) in the whitelist.
allow_list_name This property is required. str
The name of the postgresql allow list.
allow_list_type This property is required. str
The type of the postgresql allow list.
allow_lists This property is required. Sequence[str]
The IP address or a range of IP addresses in CIDR format.
associated_instance_num This property is required. int
The total number of instances bound under the whitelist.
associated_instances This property is required. Sequence[AllowlistsPostgresqlAllowListAssociatedInstance]
The list of postgresql instances.
id This property is required. str
The id of the postgresql allow list.
allowListDesc This property is required. String
The description of the postgresql allow list.
allowListId This property is required. String
The id of the postgresql allow list.
allowListIpNum This property is required. Number
The total number of IP addresses (or address ranges) in the whitelist.
allowListName This property is required. String
The name of the postgresql allow list.
allowListType This property is required. String
The type of the postgresql allow list.
allowLists This property is required. List<String>
The IP address or a range of IP addresses in CIDR format.
associatedInstanceNum This property is required. Number
The total number of instances bound under the whitelist.
associatedInstances This property is required. List<Property Map>
The list of postgresql instances.
id This property is required. String
The id of the postgresql allow list.

AllowlistsPostgresqlAllowListAssociatedInstance

InstanceId This property is required. string
The id of the postgresql Instance.
InstanceName This property is required. string
The name of the postgresql instance.
Vpc This property is required. string
The id of the vpc.
InstanceId This property is required. string
The id of the postgresql Instance.
InstanceName This property is required. string
The name of the postgresql instance.
Vpc This property is required. string
The id of the vpc.
instanceId This property is required. String
The id of the postgresql Instance.
instanceName This property is required. String
The name of the postgresql instance.
vpc This property is required. String
The id of the vpc.
instanceId This property is required. string
The id of the postgresql Instance.
instanceName This property is required. string
The name of the postgresql instance.
vpc This property is required. string
The id of the vpc.
instance_id This property is required. str
The id of the postgresql Instance.
instance_name This property is required. str
The name of the postgresql instance.
vpc This property is required. str
The id of the vpc.
instanceId This property is required. String
The id of the postgresql Instance.
instanceName This property is required. String
The name of the postgresql instance.
vpc This property is required. String
The id of the vpc.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine