1. Packages
  2. Volcengine
  3. API Docs
  4. iam
  5. getAllowedIpAddresses
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine

    Use this data source to query detailed information of iam allowed ip addresses

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.iam.getAllowedIpAddresses({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.iam.get_allowed_ip_addresses()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.GetAllowedIpAddresses(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 @default = Volcengine.Iam.GetAllowedIpAddresses.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.iam.IamFunctions;
    import com.pulumi.volcengine.iam.inputs.GetAllowedIpAddressesArgs;
    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 = IamFunctions.getAllowedIpAddresses();
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:iam:getAllowedIpAddresses
          Arguments: {}
    

    Using getAllowedIpAddresses

    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 getAllowedIpAddresses(args: GetAllowedIpAddressesArgs, opts?: InvokeOptions): Promise<GetAllowedIpAddressesResult>
    function getAllowedIpAddressesOutput(args: GetAllowedIpAddressesOutputArgs, opts?: InvokeOptions): Output<GetAllowedIpAddressesResult>
    def get_allowed_ip_addresses(output_file: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAllowedIpAddressesResult
    def get_allowed_ip_addresses_output(output_file: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAllowedIpAddressesResult]
    func GetAllowedIpAddresses(ctx *Context, args *GetAllowedIpAddressesArgs, opts ...InvokeOption) (*GetAllowedIpAddressesResult, error)
    func GetAllowedIpAddressesOutput(ctx *Context, args *GetAllowedIpAddressesOutputArgs, opts ...InvokeOption) GetAllowedIpAddressesResultOutput

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

    public static class GetAllowedIpAddresses 
    {
        public static Task<GetAllowedIpAddressesResult> InvokeAsync(GetAllowedIpAddressesArgs args, InvokeOptions? opts = null)
        public static Output<GetAllowedIpAddressesResult> Invoke(GetAllowedIpAddressesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAllowedIpAddressesResult> getAllowedIpAddresses(GetAllowedIpAddressesArgs args, InvokeOptions options)
    public static Output<GetAllowedIpAddressesResult> getAllowedIpAddresses(GetAllowedIpAddressesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:iam/getAllowedIpAddresses:getAllowedIpAddresses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    OutputFile string
    File name where to save data source results.
    outputFile String
    File name where to save data source results.
    outputFile string
    File name where to save data source results.
    output_file str
    File name where to save data source results.
    outputFile String
    File name where to save data source results.

    getAllowedIpAddresses Result

    The following output properties are available:

    AllowedIpAddresses List<GetAllowedIpAddressesAllowedIpAddress>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    OutputFile string
    AllowedIpAddresses []GetAllowedIpAddressesAllowedIpAddress
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    OutputFile string
    allowedIpAddresses List<GetAllowedIpAddressesAllowedIpAddress>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    outputFile String
    allowedIpAddresses GetAllowedIpAddressesAllowedIpAddress[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    outputFile string
    allowed_ip_addresses Sequence[GetAllowedIpAddressesAllowedIpAddress]
    The collection of query.
    id str
    The provider-assigned unique ID for this managed resource.
    output_file str
    allowedIpAddresses List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    outputFile String

    Supporting Types

    GetAllowedIpAddressesAllowedIpAddress

    EnableIpList bool
    Whether to enable the IP whitelist.
    IpLists List<GetAllowedIpAddressesAllowedIpAddressIpList>
    The IP whitelist list.
    Quota int
    The quota of the IP whitelist.
    EnableIpList bool
    Whether to enable the IP whitelist.
    IpLists []GetAllowedIpAddressesAllowedIpAddressIpList
    The IP whitelist list.
    Quota int
    The quota of the IP whitelist.
    enableIpList Boolean
    Whether to enable the IP whitelist.
    ipLists List<GetAllowedIpAddressesAllowedIpAddressIpList>
    The IP whitelist list.
    quota Integer
    The quota of the IP whitelist.
    enableIpList boolean
    Whether to enable the IP whitelist.
    ipLists GetAllowedIpAddressesAllowedIpAddressIpList[]
    The IP whitelist list.
    quota number
    The quota of the IP whitelist.
    enable_ip_list bool
    Whether to enable the IP whitelist.
    ip_lists Sequence[GetAllowedIpAddressesAllowedIpAddressIpList]
    The IP whitelist list.
    quota int
    The quota of the IP whitelist.
    enableIpList Boolean
    Whether to enable the IP whitelist.
    ipLists List<Property Map>
    The IP whitelist list.
    quota Number
    The quota of the IP whitelist.

    GetAllowedIpAddressesAllowedIpAddressIpList

    Description string
    The description of the IP address.
    Ip string
    The IP address.
    Description string
    The description of the IP address.
    Ip string
    The IP address.
    description String
    The description of the IP address.
    ip String
    The IP address.
    description string
    The description of the IP address.
    ip string
    The IP address.
    description str
    The description of the IP address.
    ip str
    The IP address.
    description String
    The description of the IP address.
    ip String
    The IP address.

    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.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate