tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDayuEip
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query dayu eip rules
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const test = tencentcloud.getDayuEip({
resourceId: "bgpip-000004xg",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
test = tencentcloud.get_dayu_eip(resource_id="bgpip-000004xg")
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.LookupDayuEip(ctx, &tencentcloud.LookupDayuEipArgs{
ResourceId: "bgpip-000004xg",
}, 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 test = Tencentcloud.GetDayuEip.Invoke(new()
{
ResourceId = "bgpip-000004xg",
});
});
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.GetDayuEipArgs;
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 test = TencentcloudFunctions.getDayuEip(GetDayuEipArgs.builder()
.resourceId("bgpip-000004xg")
.build());
}
}
variables:
test:
fn::invoke:
function: tencentcloud:getDayuEip
arguments:
resourceId: bgpip-000004xg
Using getDayuEip
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 getDayuEip(args: GetDayuEipArgs, opts?: InvokeOptions): Promise<GetDayuEipResult>
function getDayuEipOutput(args: GetDayuEipOutputArgs, opts?: InvokeOptions): Output<GetDayuEipResult>
def get_dayu_eip(bind_statuses: Optional[Sequence[str]] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
resource_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDayuEipResult
def get_dayu_eip_output(bind_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDayuEipResult]
func LookupDayuEip(ctx *Context, args *LookupDayuEipArgs, opts ...InvokeOption) (*LookupDayuEipResult, error)
func LookupDayuEipOutput(ctx *Context, args *LookupDayuEipOutputArgs, opts ...InvokeOption) LookupDayuEipResultOutput
> Note: This function is named LookupDayuEip
in the Go SDK.
public static class GetDayuEip
{
public static Task<GetDayuEipResult> InvokeAsync(GetDayuEipArgs args, InvokeOptions? opts = null)
public static Output<GetDayuEipResult> Invoke(GetDayuEipInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDayuEipResult> getDayuEip(GetDayuEipArgs args, InvokeOptions options)
public static Output<GetDayuEipResult> getDayuEip(GetDayuEipArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDayuEip:getDayuEip
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Id string - Id of the resource.
- Bind
Statuses List<string> - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- Id string
- Limit double
- The number of pages, default is
10
. - Offset double
- The page start offset, default is
0
. - Result
Output stringFile - Used to save results.
- Resource
Id string - Id of the resource.
- Bind
Statuses []string - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- Id string
- Limit float64
- The number of pages, default is
10
. - Offset float64
- The page start offset, default is
0
. - Result
Output stringFile - Used to save results.
- resource
Id String - Id of the resource.
- bind
Statuses List<String> - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- id String
- limit Double
- The number of pages, default is
10
. - offset Double
- The page start offset, default is
0
. - result
Output StringFile - Used to save results.
- resource
Id string - Id of the resource.
- bind
Statuses string[] - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- id string
- limit number
- The number of pages, default is
10
. - offset number
- The page start offset, default is
0
. - result
Output stringFile - Used to save results.
- resource_
id str - Id of the resource.
- bind_
statuses Sequence[str] - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- id str
- limit float
- The number of pages, default is
10
. - offset float
- The page start offset, default is
0
. - result_
output_ strfile - Used to save results.
- resource
Id String - Id of the resource.
- bind
Statuses List<String> - The binding state of the instance, value range [BINDING, BIND, UNBINDING, UNBIND], default is [BINDING, BIND, UNBINDING, UNBIND].
- id String
- limit Number
- The number of pages, default is
10
. - offset Number
- The page start offset, default is
0
. - result
Output StringFile - Used to save results.
getDayuEip Result
The following output properties are available:
- Id string
- Lists
List<Get
Dayu Eip List> - A list of layer 4 rules. Each element contains the following attributes:
- Resource
Id string - Bind
Statuses List<string> - Limit double
- Offset double
- Result
Output stringFile
- Id string
- Lists
[]Get
Dayu Eip List - A list of layer 4 rules. Each element contains the following attributes:
- Resource
Id string - Bind
Statuses []string - Limit float64
- Offset float64
- Result
Output stringFile
- id String
- lists
List<Get
Dayu Eip List> - A list of layer 4 rules. Each element contains the following attributes:
- resource
Id String - bind
Statuses List<String> - limit Double
- offset Double
- result
Output StringFile
- id string
- lists
Get
Dayu Eip List[] - A list of layer 4 rules. Each element contains the following attributes:
- resource
Id string - bind
Statuses string[] - limit number
- offset number
- result
Output stringFile
- id str
- lists
Sequence[Get
Dayu Eip List] - A list of layer 4 rules. Each element contains the following attributes:
- resource_
id str - bind_
statuses Sequence[str] - limit float
- offset float
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of layer 4 rules. Each element contains the following attributes:
- resource
Id String - bind
Statuses List<String> - limit Number
- offset Number
- result
Output StringFile
Supporting Types
GetDayuEipList
- Created
Time string - Eip
Address stringStatus - Eip
Bound stringRsc Eni - Eip
Bound stringRsc Ins - Eip
Bound stringRsc Vip - Eip
Lists List<string> - Expired
Time string - Instance
Id string - Modify
Time string - Protection
Status string - Region string
- Created
Time string - Eip
Address stringStatus - Eip
Bound stringRsc Eni - Eip
Bound stringRsc Ins - Eip
Bound stringRsc Vip - Eip
Lists []string - Expired
Time string - Instance
Id string - Modify
Time string - Protection
Status string - Region string
- created
Time String - eip
Address StringStatus - eip
Bound StringRsc Eni - eip
Bound StringRsc Ins - eip
Bound StringRsc Vip - eip
Lists List<String> - expired
Time String - instance
Id String - modify
Time String - protection
Status String - region String
- created
Time string - eip
Address stringStatus - eip
Bound stringRsc Eni - eip
Bound stringRsc Ins - eip
Bound stringRsc Vip - eip
Lists string[] - expired
Time string - instance
Id string - modify
Time string - protection
Status string - region string
- created_
time str - eip_
address_ strstatus - eip_
bound_ strrsc_ eni - eip_
bound_ strrsc_ ins - eip_
bound_ strrsc_ vip - eip_
lists Sequence[str] - expired_
time str - instance_
id str - modify_
time str - protection_
status str - region str
- created
Time String - eip
Address StringStatus - eip
Bound StringRsc Eni - eip
Bound StringRsc Ins - eip
Bound StringRsc Vip - eip
Lists List<String> - expired
Time String - instance
Id String - modify
Time String - protection
Status String - region String
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