ucloud 1.39.1 published on Monday, Apr 14, 2025 by ucloud
ucloud.getEips
Explore with Pulumi AI
This data source provides a list of EIP resources (Elastic IP address) according to their EIP ID.
Using getEips
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 getEips(args: GetEipsArgs, opts?: InvokeOptions): Promise<GetEipsResult>
function getEipsOutput(args: GetEipsOutputArgs, opts?: InvokeOptions): Output<GetEipsResult>def get_eips(id: Optional[str] = None,
             ids: Optional[Sequence[str]] = None,
             name_regex: Optional[str] = None,
             output_file: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetEipsResult
def get_eips_output(id: Optional[pulumi.Input[str]] = None,
             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
             name_regex: Optional[pulumi.Input[str]] = None,
             output_file: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetEipsResult]func GetEips(ctx *Context, args *GetEipsArgs, opts ...InvokeOption) (*GetEipsResult, error)
func GetEipsOutput(ctx *Context, args *GetEipsOutputArgs, opts ...InvokeOption) GetEipsResultOutput> Note: This function is named GetEips in the Go SDK.
public static class GetEips 
{
    public static Task<GetEipsResult> InvokeAsync(GetEipsArgs args, InvokeOptions? opts = null)
    public static Output<GetEipsResult> Invoke(GetEipsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEipsResult> getEips(GetEipsArgs args, InvokeOptions options)
public static Output<GetEipsResult> getEips(GetEipsArgs args, InvokeOptions options)
fn::invoke:
  function: ucloud:index/getEips:getEips
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- Ids List<string>
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- NameRegex string
- A regex string to filter resulting eips by name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- Id string
- Ids []string
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- NameRegex string
- A regex string to filter resulting eips by name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- id String
- ids List<String>
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- nameRegex String
- A regex string to filter resulting eips by name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- id string
- ids string[]
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- nameRegex string
- A regex string to filter resulting eips by name.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- id str
- ids Sequence[str]
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- name_regex str
- A regex string to filter resulting eips by name.
- output_file str
- File name where to save data source results (after running pulumi preview).
- id String
- ids List<String>
- A list of Elastic IP IDs, all the EIPs belong to this region will be retrieved if the ID is [].
- nameRegex String
- A regex string to filter resulting eips by name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
getEips Result
The following output properties are available:
- Eips
List<GetEips Eip> 
- It is a nested type which documented below.
- Id string
- Ids List<string>
- TotalCount double
- Total number of Elastic IPs that satisfy the condition.
- NameRegex string
- OutputFile string
- Eips
[]GetEips Eip 
- It is a nested type which documented below.
- Id string
- Ids []string
- TotalCount float64
- Total number of Elastic IPs that satisfy the condition.
- NameRegex string
- OutputFile string
- eips
List<GetEips Eip> 
- It is a nested type which documented below.
- id String
- ids List<String>
- totalCount Double
- Total number of Elastic IPs that satisfy the condition.
- nameRegex String
- outputFile String
- eips
GetEips Eip[] 
- It is a nested type which documented below.
- id string
- ids string[]
- totalCount number
- Total number of Elastic IPs that satisfy the condition.
- nameRegex string
- outputFile string
- eips
Sequence[GetEips Eip] 
- It is a nested type which documented below.
- id str
- ids Sequence[str]
- total_count float
- Total number of Elastic IPs that satisfy the condition.
- name_regex str
- output_file str
- eips List<Property Map>
- It is a nested type which documented below.
- id String
- ids List<String>
- totalCount Number
- Total number of Elastic IPs that satisfy the condition.
- nameRegex String
- outputFile String
Supporting Types
GetEipsEip  
- Bandwidth double
- Maximum bandwidth to the elastic public network, measured in Mbps.
- ChargeMode string
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- ChargeType string
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- CreateTime string
- The creation time of Elastic IP, formatted in RFC3339 time string.
- ExpireTime string
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- IpSets List<GetEips Eip Ip Set> 
- It is a nested type which documented below.
- Name string
- The name of Elastic IP.
- Remark string
- The remarks of Elastic IP.
- Status string
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- Tag string
- A tag assigned to Elastic IP.
- Bandwidth float64
- Maximum bandwidth to the elastic public network, measured in Mbps.
- ChargeMode string
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- ChargeType string
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- CreateTime string
- The creation time of Elastic IP, formatted in RFC3339 time string.
- ExpireTime string
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- IpSets []GetEips Eip Ip Set 
- It is a nested type which documented below.
- Name string
- The name of Elastic IP.
- Remark string
- The remarks of Elastic IP.
- Status string
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- Tag string
- A tag assigned to Elastic IP.
- bandwidth Double
- Maximum bandwidth to the elastic public network, measured in Mbps.
- chargeMode String
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- chargeType String
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- createTime String
- The creation time of Elastic IP, formatted in RFC3339 time string.
- expireTime String
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- ipSets List<GetEips Eip Ip Set> 
- It is a nested type which documented below.
- name String
- The name of Elastic IP.
- remark String
- The remarks of Elastic IP.
- status String
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- tag String
- A tag assigned to Elastic IP.
- bandwidth number
- Maximum bandwidth to the elastic public network, measured in Mbps.
- chargeMode string
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- chargeType string
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- createTime string
- The creation time of Elastic IP, formatted in RFC3339 time string.
- expireTime string
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- ipSets GetEips Eip Ip Set[] 
- It is a nested type which documented below.
- name string
- The name of Elastic IP.
- remark string
- The remarks of Elastic IP.
- status string
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- tag string
- A tag assigned to Elastic IP.
- bandwidth float
- Maximum bandwidth to the elastic public network, measured in Mbps.
- charge_mode str
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- charge_type str
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- create_time str
- The creation time of Elastic IP, formatted in RFC3339 time string.
- expire_time str
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- ip_sets Sequence[GetEips Eip Ip Set] 
- It is a nested type which documented below.
- name str
- The name of Elastic IP.
- remark str
- The remarks of Elastic IP.
- status str
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- tag str
- A tag assigned to Elastic IP.
- bandwidth Number
- Maximum bandwidth to the elastic public network, measured in Mbps.
- chargeMode String
- The charge mode of Elastic IP. Possible values are: trafficas pay by traffic,bandwidthas pay by bandwidth.
- chargeType String
- The charge type of Elastic IP. Possible values are: yearas pay by year,monthas pay by month,dynamicas pay by hour.
- createTime String
- The creation time of Elastic IP, formatted in RFC3339 time string.
- expireTime String
- The expiration time for Elastic IP, formatted in RFC3339 time string.
- ipSets List<Property Map>
- It is a nested type which documented below.
- name String
- The name of Elastic IP.
- remark String
- The remarks of Elastic IP.
- status String
- Elastic IP status. Possible values are: usedas in use,freeas available andfreezeas associating.
- tag String
- A tag assigned to Elastic IP.
GetEipsEipIpSet    
- InternetType string
- Type of Elastic IP routes.
- Ip string
- Elastic IP address.
- InternetType string
- Type of Elastic IP routes.
- Ip string
- Elastic IP address.
- internetType String
- Type of Elastic IP routes.
- ip String
- Elastic IP address.
- internetType string
- Type of Elastic IP routes.
- ip string
- Elastic IP address.
- internet_type str
- Type of Elastic IP routes.
- ip str
- Elastic IP address.
- internetType String
- Type of Elastic IP routes.
- ip String
- Elastic IP address.
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the ucloudTerraform Provider.