1. Packages
  2. Volcengine
  3. API Docs
  4. private_zone
  5. getResolverEndpoints
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.private_zone.getResolverEndpoints

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of private zone resolver endpoints

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.private_zone.getResolverEndpoints({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.private_zone.get_resolver_endpoints()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/private_zone"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := private_zone.GetResolverEndpoints(ctx, nil, 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.Private_zone.GetResolverEndpoints.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.private_zone.Private_zoneFunctions;
    import com.pulumi.volcengine.private_zone.inputs.GetResolverEndpointsArgs;
    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 = Private_zoneFunctions.getResolverEndpoints();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:private_zone:getResolverEndpoints
          Arguments: {}
    

    Using getResolverEndpoints

    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 getResolverEndpoints(args: GetResolverEndpointsArgs, opts?: InvokeOptions): Promise<GetResolverEndpointsResult>
    function getResolverEndpointsOutput(args: GetResolverEndpointsOutputArgs, opts?: InvokeOptions): Output<GetResolverEndpointsResult>
    def get_resolver_endpoints(direction: Optional[str] = None,
                               name: Optional[str] = None,
                               name_regex: Optional[str] = None,
                               output_file: Optional[str] = None,
                               status: Optional[str] = None,
                               vpc_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetResolverEndpointsResult
    def get_resolver_endpoints_output(direction: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               name_regex: Optional[pulumi.Input[str]] = None,
                               output_file: Optional[pulumi.Input[str]] = None,
                               status: Optional[pulumi.Input[str]] = None,
                               vpc_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetResolverEndpointsResult]
    func GetResolverEndpoints(ctx *Context, args *GetResolverEndpointsArgs, opts ...InvokeOption) (*GetResolverEndpointsResult, error)
    func GetResolverEndpointsOutput(ctx *Context, args *GetResolverEndpointsOutputArgs, opts ...InvokeOption) GetResolverEndpointsResultOutput

    > Note: This function is named GetResolverEndpoints in the Go SDK.

    public static class GetResolverEndpoints 
    {
        public static Task<GetResolverEndpointsResult> InvokeAsync(GetResolverEndpointsArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverEndpointsResult> Invoke(GetResolverEndpointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverEndpointsResult> getResolverEndpoints(GetResolverEndpointsArgs args, InvokeOptions options)
    public static Output<GetResolverEndpointsResult> getResolverEndpoints(GetResolverEndpointsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:private_zone/getResolverEndpoints:getResolverEndpoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Direction string
    The direction of the private zone resolver endpoint.
    Name string
    The name of the private zone resolver endpoint.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Status string
    The status of the private zone resolver endpoint.
    VpcId string
    The vpc ID of the private zone resolver endpoint.
    Direction string
    The direction of the private zone resolver endpoint.
    Name string
    The name of the private zone resolver endpoint.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Status string
    The status of the private zone resolver endpoint.
    VpcId string
    The vpc ID of the private zone resolver endpoint.
    direction String
    The direction of the private zone resolver endpoint.
    name String
    The name of the private zone resolver endpoint.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    status String
    The status of the private zone resolver endpoint.
    vpcId String
    The vpc ID of the private zone resolver endpoint.
    direction string
    The direction of the private zone resolver endpoint.
    name string
    The name of the private zone resolver endpoint.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    status string
    The status of the private zone resolver endpoint.
    vpcId string
    The vpc ID of the private zone resolver endpoint.
    direction str
    The direction of the private zone resolver endpoint.
    name str
    The name of the private zone resolver endpoint.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    status str
    The status of the private zone resolver endpoint.
    vpc_id str
    The vpc ID of the private zone resolver endpoint.
    direction String
    The direction of the private zone resolver endpoint.
    name String
    The name of the private zone resolver endpoint.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    status String
    The status of the private zone resolver endpoint.
    vpcId String
    The vpc ID of the private zone resolver endpoint.

    getResolverEndpoints Result

    The following output properties are available:

    Endpoints List<GetResolverEndpointsEndpoint>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    Direction string
    The direction of the endpoint.
    Name string
    The name of the endpoint.
    NameRegex string
    OutputFile string
    Status string
    The status of the endpoint.
    VpcId string
    The vpc id of the endpoint.
    Endpoints []GetResolverEndpointsEndpoint
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    Direction string
    The direction of the endpoint.
    Name string
    The name of the endpoint.
    NameRegex string
    OutputFile string
    Status string
    The status of the endpoint.
    VpcId string
    The vpc id of the endpoint.
    endpoints List<GetResolverEndpointsEndpoint>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    direction String
    The direction of the endpoint.
    name String
    The name of the endpoint.
    nameRegex String
    outputFile String
    status String
    The status of the endpoint.
    vpcId String
    The vpc id of the endpoint.
    endpoints GetResolverEndpointsEndpoint[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    direction string
    The direction of the endpoint.
    name string
    The name of the endpoint.
    nameRegex string
    outputFile string
    status string
    The status of the endpoint.
    vpcId string
    The vpc id of the endpoint.
    endpoints Sequence[GetResolverEndpointsEndpoint]
    The collection of query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    direction str
    The direction of the endpoint.
    name str
    The name of the endpoint.
    name_regex str
    output_file str
    status str
    The status of the endpoint.
    vpc_id str
    The vpc id of the endpoint.
    endpoints List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    direction String
    The direction of the endpoint.
    name String
    The name of the endpoint.
    nameRegex String
    outputFile String
    status String
    The status of the endpoint.
    vpcId String
    The vpc id of the endpoint.

    Supporting Types

    GetResolverEndpointsEndpoint

    CreatedAt string
    The created time of the endpoint.
    Direction string
    The direction of the private zone resolver endpoint.
    EndpointId int
    The endpoint id.
    Id string
    The id of the endpoint.
    IpConfigs List<GetResolverEndpointsEndpointIpConfig>
    List of IP configurations.
    Name string
    The name of the private zone resolver endpoint.
    SecurityGroupId string
    The security group id of the endpoint.
    Status string
    The status of the private zone resolver endpoint.
    UpdatedAt string
    The updated time of the endpoint.
    VpcId string
    The vpc ID of the private zone resolver endpoint.
    VpcRegion string
    The vpc region of the endpoint.
    CreatedAt string
    The created time of the endpoint.
    Direction string
    The direction of the private zone resolver endpoint.
    EndpointId int
    The endpoint id.
    Id string
    The id of the endpoint.
    IpConfigs []GetResolverEndpointsEndpointIpConfig
    List of IP configurations.
    Name string
    The name of the private zone resolver endpoint.
    SecurityGroupId string
    The security group id of the endpoint.
    Status string
    The status of the private zone resolver endpoint.
    UpdatedAt string
    The updated time of the endpoint.
    VpcId string
    The vpc ID of the private zone resolver endpoint.
    VpcRegion string
    The vpc region of the endpoint.
    createdAt String
    The created time of the endpoint.
    direction String
    The direction of the private zone resolver endpoint.
    endpointId Integer
    The endpoint id.
    id String
    The id of the endpoint.
    ipConfigs List<GetResolverEndpointsEndpointIpConfig>
    List of IP configurations.
    name String
    The name of the private zone resolver endpoint.
    securityGroupId String
    The security group id of the endpoint.
    status String
    The status of the private zone resolver endpoint.
    updatedAt String
    The updated time of the endpoint.
    vpcId String
    The vpc ID of the private zone resolver endpoint.
    vpcRegion String
    The vpc region of the endpoint.
    createdAt string
    The created time of the endpoint.
    direction string
    The direction of the private zone resolver endpoint.
    endpointId number
    The endpoint id.
    id string
    The id of the endpoint.
    ipConfigs GetResolverEndpointsEndpointIpConfig[]
    List of IP configurations.
    name string
    The name of the private zone resolver endpoint.
    securityGroupId string
    The security group id of the endpoint.
    status string
    The status of the private zone resolver endpoint.
    updatedAt string
    The updated time of the endpoint.
    vpcId string
    The vpc ID of the private zone resolver endpoint.
    vpcRegion string
    The vpc region of the endpoint.
    created_at str
    The created time of the endpoint.
    direction str
    The direction of the private zone resolver endpoint.
    endpoint_id int
    The endpoint id.
    id str
    The id of the endpoint.
    ip_configs Sequence[GetResolverEndpointsEndpointIpConfig]
    List of IP configurations.
    name str
    The name of the private zone resolver endpoint.
    security_group_id str
    The security group id of the endpoint.
    status str
    The status of the private zone resolver endpoint.
    updated_at str
    The updated time of the endpoint.
    vpc_id str
    The vpc ID of the private zone resolver endpoint.
    vpc_region str
    The vpc region of the endpoint.
    createdAt String
    The created time of the endpoint.
    direction String
    The direction of the private zone resolver endpoint.
    endpointId Number
    The endpoint id.
    id String
    The id of the endpoint.
    ipConfigs List<Property Map>
    List of IP configurations.
    name String
    The name of the private zone resolver endpoint.
    securityGroupId String
    The security group id of the endpoint.
    status String
    The status of the private zone resolver endpoint.
    updatedAt String
    The updated time of the endpoint.
    vpcId String
    The vpc ID of the private zone resolver endpoint.
    vpcRegion String
    The vpc region of the endpoint.

    GetResolverEndpointsEndpointIpConfig

    AzId string
    The availability zone id of the endpoint.
    Ip string
    The IP address of the endpoint.
    SubnetId string
    The subnet id of the endpoint.
    AzId string
    The availability zone id of the endpoint.
    Ip string
    The IP address of the endpoint.
    SubnetId string
    The subnet id of the endpoint.
    azId String
    The availability zone id of the endpoint.
    ip String
    The IP address of the endpoint.
    subnetId String
    The subnet id of the endpoint.
    azId string
    The availability zone id of the endpoint.
    ip string
    The IP address of the endpoint.
    subnetId string
    The subnet id of the endpoint.
    az_id str
    The availability zone id of the endpoint.
    ip str
    The IP address of the endpoint.
    subnet_id str
    The subnet id of the endpoint.
    azId String
    The availability zone id of the endpoint.
    ip String
    The IP address of the endpoint.
    subnetId String
    The subnet id of the endpoint.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine