Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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 dictionaryThe following arguments are supported:
- Output
File string - File name where to save data source results.
- Output
File string - File name where to save data source results.
- output
File String - File name where to save data source results.
- output
File string - File name where to save data source results.
- output_
file str - File name where to save data source results.
- output
File String - File name where to save data source results.
getAllowedIpAddresses Result
The following output properties are available:
- Allowed
Ip List<GetAddresses Allowed Ip Addresses Allowed Ip Address> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
File string
- Allowed
Ip []GetAddresses Allowed Ip Addresses Allowed Ip Address - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
File string
- allowed
Ip List<GetAddresses Allowed Ip Addresses Allowed Ip Address> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- output
File String
- allowed
Ip GetAddresses Allowed Ip Addresses Allowed Ip Address[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- output
File string
- allowed_
ip_ Sequence[Getaddresses Allowed Ip Addresses Allowed Ip Address] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- output_
file str
- allowed
Ip List<Property Map>Addresses - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- output
File String
Supporting Types
GetAllowedIpAddressesAllowedIpAddress
- Enable
Ip boolList - Whether to enable the IP whitelist.
- Ip
Lists List<GetAllowed Ip Addresses Allowed Ip Address Ip List> - The IP whitelist list.
- Quota int
- The quota of the IP whitelist.
- Enable
Ip boolList - Whether to enable the IP whitelist.
- Ip
Lists []GetAllowed Ip Addresses Allowed Ip Address Ip List - The IP whitelist list.
- Quota int
- The quota of the IP whitelist.
- enable
Ip BooleanList - Whether to enable the IP whitelist.
- ip
Lists List<GetAllowed Ip Addresses Allowed Ip Address Ip List> - The IP whitelist list.
- quota Integer
- The quota of the IP whitelist.
- enable
Ip booleanList - Whether to enable the IP whitelist.
- ip
Lists GetAllowed Ip Addresses Allowed Ip Address Ip List[] - The IP whitelist list.
- quota number
- The quota of the IP whitelist.
- enable_
ip_ boollist - Whether to enable the IP whitelist.
- ip_
lists Sequence[GetAllowed Ip Addresses Allowed Ip Address Ip List] - The IP whitelist list.
- quota int
- The quota of the IP whitelist.
- enable
Ip BooleanList - Whether to enable the IP whitelist.
- ip
Lists 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
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
