volcengine.eip.Addresses
Explore with Pulumi AI
Use this data source to query detailed information of eip addresses
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
using Volcengine = Volcengine.Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooAddress = new Volcengine.Eip.Address("fooAddress", new()
{
BillingType = "PostPaidByTraffic",
});
var fooAddresses = Volcengine.Eip.Addresses.Invoke(new()
{
Ids = new[]
{
fooAddress.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.AddressesOutput(ctx, eip.AddressesOutputArgs{
Ids: pulumi.StringArray{
fooAddress.ID(),
},
}, nil)
return nil
})
}
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.AddressesArgs;
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.Addresses(AddressesArgs.builder()
.ids(fooAddress.id())
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo_address = volcengine.eip.Address("fooAddress", billing_type="PostPaidByTraffic")
foo_addresses = volcengine.eip.addresses_output(ids=[foo_address.id])
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.AddressesOutput({
ids: [fooAddress.id],
});
resources:
fooAddress:
type: volcengine:eip:Address
properties:
billingType: PostPaidByTraffic
variables:
fooAddresses:
fn::invoke:
Function: volcengine:eip:Addresses
Arguments:
ids:
- ${fooAddress.id}
Using Addresses
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 addresses(args: AddressesArgs, opts?: InvokeOptions): Promise<AddressesResult>
function addressesOutput(args: AddressesOutputArgs, opts?: InvokeOptions): Output<AddressesResult>
def 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[AddressesTag]] = None,
opts: Optional[InvokeOptions] = None) -> AddressesResult
def 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[AddressesTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AddressesResult]
func Addresses(ctx *Context, args *AddressesArgs, opts ...InvokeOption) (*AddressesResult, error)
func AddressesOutput(ctx *Context, args *AddressesOutputArgs, opts ...InvokeOption) AddressesResultOutput
public static class Addresses
{
public static Task<AddressesResult> InvokeAsync(AddressesArgs args, InvokeOptions? opts = null)
public static Output<AddressesResult> Invoke(AddressesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AddressesResult> addresses(AddressesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:eip:Addresses
arguments:
# arguments dictionary
The 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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- List<Volcengine.
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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- []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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- List<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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- 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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- Sequence[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
orEcsInstance
.- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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
Attaching
orDetaching
orAttached
orAvailable
.- List<Property Map>
Tags.
Addresses Result
The following output properties are available:
- Addresses
List<Volcengine.
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<Volcengine.
Addresses Tag> Tags.
- Addresses
[]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.
- []Addresses
Tag Tags.
- addresses
List<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<Addresses
Tag> Tags.
- addresses
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.
- Addresses
Tag[] Tags.
- addresses
Sequence[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[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
AddressesAddress
- 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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- Status string
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- List<Volcengine.
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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- Status string
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- []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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- status String
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- List<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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- status string
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- 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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- status str
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- Sequence[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.
- 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
BGP
orChinaMobile
orChinaUnicom
orChinaTelecom
.- 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.
- status String
A status of EIP, the value can be
Attaching
orDetaching
orAttached
orAvailable
.- List<Property Map>
Tags.
- updated
At String The last update time of the EIP.
AddressesAddressTag
AddressesTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
volcengine
Terraform Provider.