Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of eip addresses
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooAddress = new volcengine.eip.Address("fooAddress", {billingType: "PostPaidByTraffic"});
const fooAddresses = volcengine.eip.getAddressesOutput({
ids: [fooAddress.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_address = volcengine.eip.Address("fooAddress", billing_type="PostPaidByTraffic")
foo_addresses = volcengine.eip.get_addresses_output(ids=[foo_address.id])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooAddress, err := eip.NewAddress(ctx, "fooAddress", &eip.AddressArgs{
BillingType: pulumi.String("PostPaidByTraffic"),
})
if err != nil {
return err
}
_ = eip.GetAddressesOutput(ctx, eip.GetAddressesOutputArgs{
Ids: pulumi.StringArray{
fooAddress.ID(),
},
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooAddress = new Volcengine.Eip.Address("fooAddress", new()
{
BillingType = "PostPaidByTraffic",
});
var fooAddresses = Volcengine.Eip.GetAddresses.Invoke(new()
{
Ids = new[]
{
fooAddress.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.eip.Address;
import com.pulumi.volcengine.eip.AddressArgs;
import com.pulumi.volcengine.eip.EipFunctions;
import com.pulumi.volcengine.eip.inputs.GetAddressesArgs;
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) {
var fooAddress = new Address("fooAddress", AddressArgs.builder()
.billingType("PostPaidByTraffic")
.build());
final var fooAddresses = EipFunctions.getAddresses(GetAddressesArgs.builder()
.ids(fooAddress.id())
.build());
}
}
resources:
fooAddress:
type: volcengine:eip:Address
properties:
billingType: PostPaidByTraffic
variables:
fooAddresses:
fn::invoke:
Function: volcengine:eip:getAddresses
Arguments:
ids:
- ${fooAddress.id}
Using getAddresses
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 getAddresses(args: GetAddressesArgs, opts?: InvokeOptions): Promise<GetAddressesResult>
function getAddressesOutput(args: GetAddressesOutputArgs, opts?: InvokeOptions): Output<GetAddressesResult>def get_addresses(associated_instance_id: Optional[str] = None,
associated_instance_type: Optional[str] = None,
eip_addresses: Optional[Sequence[str]] = None,
ids: Optional[Sequence[str]] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[GetAddressesTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetAddressesResult
def get_addresses_output(associated_instance_id: Optional[pulumi.Input[str]] = None,
associated_instance_type: Optional[pulumi.Input[str]] = None,
eip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
isp: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetAddressesTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddressesResult]func GetAddresses(ctx *Context, args *GetAddressesArgs, opts ...InvokeOption) (*GetAddressesResult, error)
func GetAddressesOutput(ctx *Context, args *GetAddressesOutputArgs, opts ...InvokeOption) GetAddressesResultOutput> Note: This function is named GetAddresses in the Go SDK.
public static class GetAddresses
{
public static Task<GetAddressesResult> InvokeAsync(GetAddressesArgs args, InvokeOptions? opts = null)
public static Output<GetAddressesResult> Invoke(GetAddressesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAddressesResult> getAddresses(GetAddressesArgs args, InvokeOptions options)
public static Output<GetAddressesResult> getAddresses(GetAddressesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:eip/getAddresses:getAddresses
arguments:
# arguments dictionaryThe following arguments are supported:
- Associated
Instance stringId - An id of associated instance.
- Associated
Instance stringType - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - Eip
Addresses List<string> - A list of EIP ip address that you want to query.
- Ids List<string>
- A list of EIP allocation ids.
- Isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - Name string
- A name of EIP.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of EIP.
- Status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
List<Get
Addresses Tag> - Tags.
- Associated
Instance stringId - An id of associated instance.
- Associated
Instance stringType - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - Eip
Addresses []string - A list of EIP ip address that you want to query.
- Ids []string
- A list of EIP allocation ids.
- Isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - Name string
- A name of EIP.
- Output
File string - File name where to save data source results.
- Project
Name string - The ProjectName of EIP.
- Status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
[]Get
Addresses Tag - Tags.
- associated
Instance StringId - An id of associated instance.
- associated
Instance StringType - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - eip
Addresses List<String> - A list of EIP ip address that you want to query.
- ids List<String>
- A list of EIP allocation ids.
- isp String
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - name String
- A name of EIP.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of EIP.
- status String
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
List<Get
Addresses Tag> - Tags.
- associated
Instance stringId - An id of associated instance.
- associated
Instance stringType - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - eip
Addresses string[] - A list of EIP ip address that you want to query.
- ids string[]
- A list of EIP allocation ids.
- isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - name string
- A name of EIP.
- output
File string - File name where to save data source results.
- project
Name string - The ProjectName of EIP.
- status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
Get
Addresses Tag[] - Tags.
- associated_
instance_ strid - An id of associated instance.
- associated_
instance_ strtype - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - eip_
addresses Sequence[str] - A list of EIP ip address that you want to query.
- ids Sequence[str]
- A list of EIP allocation ids.
- isp str
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - name str
- A name of EIP.
- output_
file str - File name where to save data source results.
- project_
name str - The ProjectName of EIP.
- status str
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
Sequence[Get
Addresses Tag] - Tags.
- associated
Instance StringId - An id of associated instance.
- associated
Instance StringType - A type of associated instance, the value can be
Nat,NetworkInterface,ClbInstance,AlbInstance,HaViporEcsInstance. - eip
Addresses List<String> - A list of EIP ip address that you want to query.
- ids List<String>
- A list of EIP allocation ids.
- isp String
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - name String
- A name of EIP.
- output
File String - File name where to save data source results.
- project
Name String - The ProjectName of EIP.
- status String
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. - List<Property Map>
- Tags.
getAddresses Result
The following output properties are available:
- Addresses
List<Get
Addresses Address> - The collection of EIP addresses.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of EIP addresses query.
- Associated
Instance stringId - Associated
Instance stringType - Eip
Addresses List<string> - Ids List<string>
- Isp string
- The ISP of EIP Address.
- Name string
- The name of the EIP.
- Output
File string - Project
Name string - The ProjectName of the EIP.
- Status string
- The status of the EIP.
-
List<Get
Addresses Tag> - Tags.
- Addresses
[]Get
Addresses Address - The collection of EIP addresses.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of EIP addresses query.
- Associated
Instance stringId - Associated
Instance stringType - Eip
Addresses []string - Ids []string
- Isp string
- The ISP of EIP Address.
- Name string
- The name of the EIP.
- Output
File string - Project
Name string - The ProjectName of the EIP.
- Status string
- The status of the EIP.
-
[]Get
Addresses Tag - Tags.
- addresses
List<Get
Addresses Address> - The collection of EIP addresses.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of EIP addresses query.
- associated
Instance StringId - associated
Instance StringType - eip
Addresses List<String> - ids List<String>
- isp String
- The ISP of EIP Address.
- name String
- The name of the EIP.
- output
File String - project
Name String - The ProjectName of the EIP.
- status String
- The status of the EIP.
-
List<Get
Addresses Tag> - Tags.
- addresses
Get
Addresses Address[] - The collection of EIP addresses.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of EIP addresses query.
- associated
Instance stringId - associated
Instance stringType - eip
Addresses string[] - ids string[]
- isp string
- The ISP of EIP Address.
- name string
- The name of the EIP.
- output
File string - project
Name string - The ProjectName of the EIP.
- status string
- The status of the EIP.
-
Get
Addresses Tag[] - Tags.
- addresses
Sequence[Get
Addresses Address] - The collection of EIP addresses.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of EIP addresses query.
- associated_
instance_ strid - associated_
instance_ strtype - eip_
addresses Sequence[str] - ids Sequence[str]
- isp str
- The ISP of EIP Address.
- name str
- The name of the EIP.
- output_
file str - project_
name str - The ProjectName of the EIP.
- status str
- The status of the EIP.
-
Sequence[Get
Addresses Tag] - Tags.
- addresses List<Property Map>
- The collection of EIP addresses.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of EIP addresses query.
- associated
Instance StringId - associated
Instance StringType - eip
Addresses List<String> - ids List<String>
- isp String
- The ISP of EIP Address.
- name String
- The name of the EIP.
- output
File String - project
Name String - The ProjectName of the EIP.
- status String
- The status of the EIP.
- List<Property Map>
- Tags.
Supporting Types
GetAddressesAddress
- Allocation
Id string - The id of the EIP address.
- Allocation
Time string - The allocation time of the EIP.
- Bandwidth int
- The peek bandwidth of the EIP.
- Bandwidth
Package stringId - The id of the bandwidth package.
- Billing
Type string - The billing type of the EIP.
- Business
Status string - The business status of the EIP.
- Deleted
Time string - The deleted time of the EIP.
- Description string
- The description of the EIP.
- Eip
Address string - The EIP ip address of the EIP.
- Expired
Time string - The expired time of the EIP.
- Id string
- The id of the EIP address.
- Instance
Id string - The instance id which be associated to the EIP.
- Instance
Type string - The type of the associated instance.
- Isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - Lock
Reason string - The lock reason of the EIP.
- Name string
- A name of EIP.
- Overdue
Time string - The overdue time of the EIP.
- Project
Name string - The ProjectName of EIP.
- Security
Protection List<string>Types - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - Status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
List<Get
Addresses Address Tag> - Tags.
- Updated
At string - The last update time of the EIP.
- Allocation
Id string - The id of the EIP address.
- Allocation
Time string - The allocation time of the EIP.
- Bandwidth int
- The peek bandwidth of the EIP.
- Bandwidth
Package stringId - The id of the bandwidth package.
- Billing
Type string - The billing type of the EIP.
- Business
Status string - The business status of the EIP.
- Deleted
Time string - The deleted time of the EIP.
- Description string
- The description of the EIP.
- Eip
Address string - The EIP ip address of the EIP.
- Expired
Time string - The expired time of the EIP.
- Id string
- The id of the EIP address.
- Instance
Id string - The instance id which be associated to the EIP.
- Instance
Type string - The type of the associated instance.
- Isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - Lock
Reason string - The lock reason of the EIP.
- Name string
- A name of EIP.
- Overdue
Time string - The overdue time of the EIP.
- Project
Name string - The ProjectName of EIP.
- Security
Protection []stringTypes - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - Status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
[]Get
Addresses Address Tag - Tags.
- Updated
At string - The last update time of the EIP.
- allocation
Id String - The id of the EIP address.
- allocation
Time String - The allocation time of the EIP.
- bandwidth Integer
- The peek bandwidth of the EIP.
- bandwidth
Package StringId - The id of the bandwidth package.
- billing
Type String - The billing type of the EIP.
- business
Status String - The business status of the EIP.
- deleted
Time String - The deleted time of the EIP.
- description String
- The description of the EIP.
- eip
Address String - The EIP ip address of the EIP.
- expired
Time String - The expired time of the EIP.
- id String
- The id of the EIP address.
- instance
Id String - The instance id which be associated to the EIP.
- instance
Type String - The type of the associated instance.
- isp String
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - lock
Reason String - The lock reason of the EIP.
- name String
- A name of EIP.
- overdue
Time String - The overdue time of the EIP.
- project
Name String - The ProjectName of EIP.
- security
Protection List<String>Types - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - status String
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
List<Get
Addresses Address Tag> - Tags.
- updated
At String - The last update time of the EIP.
- allocation
Id string - The id of the EIP address.
- allocation
Time string - The allocation time of the EIP.
- bandwidth number
- The peek bandwidth of the EIP.
- bandwidth
Package stringId - The id of the bandwidth package.
- billing
Type string - The billing type of the EIP.
- business
Status string - The business status of the EIP.
- deleted
Time string - The deleted time of the EIP.
- description string
- The description of the EIP.
- eip
Address string - The EIP ip address of the EIP.
- expired
Time string - The expired time of the EIP.
- id string
- The id of the EIP address.
- instance
Id string - The instance id which be associated to the EIP.
- instance
Type string - The type of the associated instance.
- isp string
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - lock
Reason string - The lock reason of the EIP.
- name string
- A name of EIP.
- overdue
Time string - The overdue time of the EIP.
- project
Name string - The ProjectName of EIP.
- security
Protection string[]Types - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - status string
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
Get
Addresses Address Tag[] - Tags.
- updated
At string - The last update time of the EIP.
- allocation_
id str - The id of the EIP address.
- allocation_
time str - The allocation time of the EIP.
- bandwidth int
- The peek bandwidth of the EIP.
- bandwidth_
package_ strid - The id of the bandwidth package.
- billing_
type str - The billing type of the EIP.
- business_
status str - The business status of the EIP.
- deleted_
time str - The deleted time of the EIP.
- description str
- The description of the EIP.
- eip_
address str - The EIP ip address of the EIP.
- expired_
time str - The expired time of the EIP.
- id str
- The id of the EIP address.
- instance_
id str - The instance id which be associated to the EIP.
- instance_
type str - The type of the associated instance.
- isp str
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - lock_
reason str - The lock reason of the EIP.
- name str
- A name of EIP.
- overdue_
time str - The overdue time of the EIP.
- project_
name str - The ProjectName of EIP.
- security_
protection_ Sequence[str]types - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - status str
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. -
Sequence[Get
Addresses Address Tag] - Tags.
- updated_
at str - The last update time of the EIP.
- allocation
Id String - The id of the EIP address.
- allocation
Time String - The allocation time of the EIP.
- bandwidth Number
- The peek bandwidth of the EIP.
- bandwidth
Package StringId - The id of the bandwidth package.
- billing
Type String - The billing type of the EIP.
- business
Status String - The business status of the EIP.
- deleted
Time String - The deleted time of the EIP.
- description String
- The description of the EIP.
- eip
Address String - The EIP ip address of the EIP.
- expired
Time String - The expired time of the EIP.
- id String
- The id of the EIP address.
- instance
Id String - The instance id which be associated to the EIP.
- instance
Type String - The type of the associated instance.
- isp String
- An ISP of EIP Address, the value can be
BGPorChinaMobileorChinaUnicomorChinaTelecom. - lock
Reason String - The lock reason of the EIP.
- name String
- A name of EIP.
- overdue
Time String - The overdue time of the EIP.
- project
Name String - The ProjectName of EIP.
- security
Protection List<String>Types - Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value:
AntiDDoS_Enhanced. - status String
- A status of EIP, the value can be
AttachingorDetachingorAttachedorAvailable. - List<Property Map>
- Tags.
- updated
At String - The last update time of the EIP.
GetAddressesAddressTag
GetAddressesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
