tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getHaVipEipAttachments
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of HA VIP EIP attachments
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getHaVipEipAttachments({
addressIp: "1.1.1.1",
havipId: "havip-kjqwe4ba",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_ha_vip_eip_attachments(address_ip="1.1.1.1",
havip_id="havip-kjqwe4ba")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetHaVipEipAttachments(ctx, &tencentcloud.GetHaVipEipAttachmentsArgs{
AddressIp: pulumi.StringRef("1.1.1.1"),
HavipId: "havip-kjqwe4ba",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = Tencentcloud.GetHaVipEipAttachments.Invoke(new()
{
AddressIp = "1.1.1.1",
HavipId = "havip-kjqwe4ba",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetHaVipEipAttachmentsArgs;
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 foo = TencentcloudFunctions.getHaVipEipAttachments(GetHaVipEipAttachmentsArgs.builder()
.addressIp("1.1.1.1")
.havipId("havip-kjqwe4ba")
.build());
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getHaVipEipAttachments
arguments:
addressIp: 1.1.1.1
havipId: havip-kjqwe4ba
Using getHaVipEipAttachments
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 getHaVipEipAttachments(args: GetHaVipEipAttachmentsArgs, opts?: InvokeOptions): Promise<GetHaVipEipAttachmentsResult>
function getHaVipEipAttachmentsOutput(args: GetHaVipEipAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetHaVipEipAttachmentsResult>
def get_ha_vip_eip_attachments(address_ip: Optional[str] = None,
havip_id: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHaVipEipAttachmentsResult
def get_ha_vip_eip_attachments_output(address_ip: Optional[pulumi.Input[str]] = None,
havip_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHaVipEipAttachmentsResult]
func GetHaVipEipAttachments(ctx *Context, args *GetHaVipEipAttachmentsArgs, opts ...InvokeOption) (*GetHaVipEipAttachmentsResult, error)
func GetHaVipEipAttachmentsOutput(ctx *Context, args *GetHaVipEipAttachmentsOutputArgs, opts ...InvokeOption) GetHaVipEipAttachmentsResultOutput
> Note: This function is named GetHaVipEipAttachments
in the Go SDK.
public static class GetHaVipEipAttachments
{
public static Task<GetHaVipEipAttachmentsResult> InvokeAsync(GetHaVipEipAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<GetHaVipEipAttachmentsResult> Invoke(GetHaVipEipAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHaVipEipAttachmentsResult> getHaVipEipAttachments(GetHaVipEipAttachmentsArgs args, InvokeOptions options)
public static Output<GetHaVipEipAttachmentsResult> getHaVipEipAttachments(GetHaVipEipAttachmentsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getHaVipEipAttachments:getHaVipEipAttachments
arguments:
# arguments dictionary
The following arguments are supported:
- Havip
Id string - ID of the attached HA VIP to be queried.
- Address
Ip string - Public IP address of EIP to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- Havip
Id string - ID of the attached HA VIP to be queried.
- Address
Ip string - Public IP address of EIP to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- havip
Id String - ID of the attached HA VIP to be queried.
- address
Ip String - Public IP address of EIP to be queried.
- id String
- result
Output StringFile - Used to save results.
- havip
Id string - ID of the attached HA VIP to be queried.
- address
Ip string - Public IP address of EIP to be queried.
- id string
- result
Output stringFile - Used to save results.
- havip_
id str - ID of the attached HA VIP to be queried.
- address_
ip str - Public IP address of EIP to be queried.
- id str
- result_
output_ strfile - Used to save results.
- havip
Id String - ID of the attached HA VIP to be queried.
- address
Ip String - Public IP address of EIP to be queried.
- id String
- result
Output StringFile - Used to save results.
getHaVipEipAttachments Result
The following output properties are available:
- Ha
Vip List<GetEip Attachment Lists Ha Vip Eip Attachments Ha Vip Eip Attachment List> - A list of HA VIP EIP attachments. Each element contains the following attributes:
- Havip
Id string - ID of the attached HA VIP.
- Id string
- Address
Ip string - Public IP address of EIP.
- Result
Output stringFile
- Ha
Vip []GetEip Attachment Lists Ha Vip Eip Attachments Ha Vip Eip Attachment List - A list of HA VIP EIP attachments. Each element contains the following attributes:
- Havip
Id string - ID of the attached HA VIP.
- Id string
- Address
Ip string - Public IP address of EIP.
- Result
Output stringFile
- ha
Vip List<GetEip Attachment Lists Ha Vip Eip Attachments Ha Vip Eip Attachment List> - A list of HA VIP EIP attachments. Each element contains the following attributes:
- havip
Id String - ID of the attached HA VIP.
- id String
- address
Ip String - Public IP address of EIP.
- result
Output StringFile
- ha
Vip GetEip Attachment Lists Ha Vip Eip Attachments Ha Vip Eip Attachment List[] - A list of HA VIP EIP attachments. Each element contains the following attributes:
- havip
Id string - ID of the attached HA VIP.
- id string
- address
Ip string - Public IP address of EIP.
- result
Output stringFile
- ha_
vip_ Sequence[Geteip_ attachment_ lists Ha Vip Eip Attachments Ha Vip Eip Attachment List] - A list of HA VIP EIP attachments. Each element contains the following attributes:
- havip_
id str - ID of the attached HA VIP.
- id str
- address_
ip str - Public IP address of EIP.
- result_
output_ strfile
- ha
Vip List<Property Map>Eip Attachment Lists - A list of HA VIP EIP attachments. Each element contains the following attributes:
- havip
Id String - ID of the attached HA VIP.
- id String
- address
Ip String - Public IP address of EIP.
- result
Output StringFile
Supporting Types
GetHaVipEipAttachmentsHaVipEipAttachmentList
- address_
ip str - Public IP address of EIP to be queried.
- havip_
id str - ID of the attached HA VIP to be queried.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack