tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.DayuEip
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this resource to create dayu eip rule
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const test = new tencentcloud.DayuEip("test", {
bindResourceId: "ins-4m0jvxic",
bindResourceRegion: "hk",
bindResourceType: "cvm",
eip: "162.62.163.50",
resourceId: "bgpip-000004xg",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
test = tencentcloud.DayuEip("test",
bind_resource_id="ins-4m0jvxic",
bind_resource_region="hk",
bind_resource_type="cvm",
eip="162.62.163.50",
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.NewDayuEip(ctx, "test", &tencentcloud.DayuEipArgs{
BindResourceId: pulumi.String("ins-4m0jvxic"),
BindResourceRegion: pulumi.String("hk"),
BindResourceType: pulumi.String("cvm"),
Eip: pulumi.String("162.62.163.50"),
ResourceId: pulumi.String("bgpip-000004xg"),
})
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 = new Tencentcloud.DayuEip("test", new()
{
BindResourceId = "ins-4m0jvxic",
BindResourceRegion = "hk",
BindResourceType = "cvm",
Eip = "162.62.163.50",
ResourceId = "bgpip-000004xg",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DayuEip;
import com.pulumi.tencentcloud.DayuEipArgs;
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 test = new DayuEip("test", DayuEipArgs.builder()
.bindResourceId("ins-4m0jvxic")
.bindResourceRegion("hk")
.bindResourceType("cvm")
.eip("162.62.163.50")
.resourceId("bgpip-000004xg")
.build());
}
}
resources:
test:
type: tencentcloud:DayuEip
properties:
bindResourceId: ins-4m0jvxic
bindResourceRegion: hk
bindResourceType: cvm
eip: 162.62.163.50
resourceId: bgpip-000004xg
Create DayuEip Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DayuEip(name: string, args: DayuEipArgs, opts?: CustomResourceOptions);
@overload
def DayuEip(resource_name: str,
args: DayuEipArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DayuEip(resource_name: str,
opts: Optional[ResourceOptions] = None,
bind_resource_id: Optional[str] = None,
bind_resource_region: Optional[str] = None,
bind_resource_type: Optional[str] = None,
eip: Optional[str] = None,
resource_id: Optional[str] = None,
dayu_eip_id: Optional[str] = None)
func NewDayuEip(ctx *Context, name string, args DayuEipArgs, opts ...ResourceOption) (*DayuEip, error)
public DayuEip(string name, DayuEipArgs args, CustomResourceOptions? opts = null)
public DayuEip(String name, DayuEipArgs args)
public DayuEip(String name, DayuEipArgs args, CustomResourceOptions options)
type: tencentcloud:DayuEip
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DayuEipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DayuEipArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DayuEipArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DayuEipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DayuEipArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DayuEip Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DayuEip resource accepts the following input properties:
- Bind
Resource stringId - Resource id to bind.
- Bind
Resource stringRegion - Resource region to bind.
- Bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - Eip string
- Eip of the resource.
- Resource
Id string - ID of the resource.
- Dayu
Eip stringId - ID of the resource.
- Bind
Resource stringId - Resource id to bind.
- Bind
Resource stringRegion - Resource region to bind.
- Bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - Eip string
- Eip of the resource.
- Resource
Id string - ID of the resource.
- Dayu
Eip stringId - ID of the resource.
- bind
Resource StringId - Resource id to bind.
- bind
Resource StringRegion - Resource region to bind.
- bind
Resource StringType - Resource type to bind, value range [
clb
,cvm
]. - eip String
- Eip of the resource.
- resource
Id String - ID of the resource.
- dayu
Eip StringId - ID of the resource.
- bind
Resource stringId - Resource id to bind.
- bind
Resource stringRegion - Resource region to bind.
- bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - eip string
- Eip of the resource.
- resource
Id string - ID of the resource.
- dayu
Eip stringId - ID of the resource.
- bind_
resource_ strid - Resource id to bind.
- bind_
resource_ strregion - Resource region to bind.
- bind_
resource_ strtype - Resource type to bind, value range [
clb
,cvm
]. - eip str
- Eip of the resource.
- resource_
id str - ID of the resource.
- dayu_
eip_ strid - ID of the resource.
- bind
Resource StringId - Resource id to bind.
- bind
Resource StringRegion - Resource region to bind.
- bind
Resource StringType - Resource type to bind, value range [
clb
,cvm
]. - eip String
- Eip of the resource.
- resource
Id String - ID of the resource.
- dayu
Eip StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DayuEip resource produces the following output properties:
- Created
Time string - Created time of the resource instance.
- Eip
Address stringStatus - Eip address status of the resource instance.
- Eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- Eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- Eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- Expired
Time string - Expired time of the resource instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - Modify time of the resource instance.
- Protection
Status string - Protection status of the resource instance.
- Resource
Region string - Region of the resource instance.
- Created
Time string - Created time of the resource instance.
- Eip
Address stringStatus - Eip address status of the resource instance.
- Eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- Eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- Eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- Expired
Time string - Expired time of the resource instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Time string - Modify time of the resource instance.
- Protection
Status string - Protection status of the resource instance.
- Resource
Region string - Region of the resource instance.
- created
Time String - Created time of the resource instance.
- eip
Address StringStatus - Eip address status of the resource instance.
- eip
Bound StringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound StringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound StringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time String - Expired time of the resource instance.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time String - Modify time of the resource instance.
- protection
Status String - Protection status of the resource instance.
- resource
Region String - Region of the resource instance.
- created
Time string - Created time of the resource instance.
- eip
Address stringStatus - Eip address status of the resource instance.
- eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time string - Expired time of the resource instance.
- id string
- The provider-assigned unique ID for this managed resource.
- modify
Time string - Modify time of the resource instance.
- protection
Status string - Protection status of the resource instance.
- resource
Region string - Region of the resource instance.
- created_
time str - Created time of the resource instance.
- eip_
address_ strstatus - Eip address status of the resource instance.
- eip_
bound_ strrsc_ eni - Eip bound rsc eni of the resource instance.
- eip_
bound_ strrsc_ ins - Eip bound rsc ins of the resource instance.
- eip_
bound_ strrsc_ vip - Eip bound rsc vip of the resource instance.
- expired_
time str - Expired time of the resource instance.
- id str
- The provider-assigned unique ID for this managed resource.
- modify_
time str - Modify time of the resource instance.
- protection_
status str - Protection status of the resource instance.
- resource_
region str - Region of the resource instance.
- created
Time String - Created time of the resource instance.
- eip
Address StringStatus - Eip address status of the resource instance.
- eip
Bound StringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound StringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound StringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time String - Expired time of the resource instance.
- id String
- The provider-assigned unique ID for this managed resource.
- modify
Time String - Modify time of the resource instance.
- protection
Status String - Protection status of the resource instance.
- resource
Region String - Region of the resource instance.
Look up Existing DayuEip Resource
Get an existing DayuEip resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DayuEipState, opts?: CustomResourceOptions): DayuEip
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bind_resource_id: Optional[str] = None,
bind_resource_region: Optional[str] = None,
bind_resource_type: Optional[str] = None,
created_time: Optional[str] = None,
dayu_eip_id: Optional[str] = None,
eip: Optional[str] = None,
eip_address_status: Optional[str] = None,
eip_bound_rsc_eni: Optional[str] = None,
eip_bound_rsc_ins: Optional[str] = None,
eip_bound_rsc_vip: Optional[str] = None,
expired_time: Optional[str] = None,
modify_time: Optional[str] = None,
protection_status: Optional[str] = None,
resource_id: Optional[str] = None,
resource_region: Optional[str] = None) -> DayuEip
func GetDayuEip(ctx *Context, name string, id IDInput, state *DayuEipState, opts ...ResourceOption) (*DayuEip, error)
public static DayuEip Get(string name, Input<string> id, DayuEipState? state, CustomResourceOptions? opts = null)
public static DayuEip get(String name, Output<String> id, DayuEipState state, CustomResourceOptions options)
resources: _: type: tencentcloud:DayuEip get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bind
Resource stringId - Resource id to bind.
- Bind
Resource stringRegion - Resource region to bind.
- Bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - Created
Time string - Created time of the resource instance.
- Dayu
Eip stringId - ID of the resource.
- Eip string
- Eip of the resource.
- Eip
Address stringStatus - Eip address status of the resource instance.
- Eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- Eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- Eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- Expired
Time string - Expired time of the resource instance.
- Modify
Time string - Modify time of the resource instance.
- Protection
Status string - Protection status of the resource instance.
- Resource
Id string - ID of the resource.
- Resource
Region string - Region of the resource instance.
- Bind
Resource stringId - Resource id to bind.
- Bind
Resource stringRegion - Resource region to bind.
- Bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - Created
Time string - Created time of the resource instance.
- Dayu
Eip stringId - ID of the resource.
- Eip string
- Eip of the resource.
- Eip
Address stringStatus - Eip address status of the resource instance.
- Eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- Eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- Eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- Expired
Time string - Expired time of the resource instance.
- Modify
Time string - Modify time of the resource instance.
- Protection
Status string - Protection status of the resource instance.
- Resource
Id string - ID of the resource.
- Resource
Region string - Region of the resource instance.
- bind
Resource StringId - Resource id to bind.
- bind
Resource StringRegion - Resource region to bind.
- bind
Resource StringType - Resource type to bind, value range [
clb
,cvm
]. - created
Time String - Created time of the resource instance.
- dayu
Eip StringId - ID of the resource.
- eip String
- Eip of the resource.
- eip
Address StringStatus - Eip address status of the resource instance.
- eip
Bound StringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound StringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound StringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time String - Expired time of the resource instance.
- modify
Time String - Modify time of the resource instance.
- protection
Status String - Protection status of the resource instance.
- resource
Id String - ID of the resource.
- resource
Region String - Region of the resource instance.
- bind
Resource stringId - Resource id to bind.
- bind
Resource stringRegion - Resource region to bind.
- bind
Resource stringType - Resource type to bind, value range [
clb
,cvm
]. - created
Time string - Created time of the resource instance.
- dayu
Eip stringId - ID of the resource.
- eip string
- Eip of the resource.
- eip
Address stringStatus - Eip address status of the resource instance.
- eip
Bound stringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound stringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound stringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time string - Expired time of the resource instance.
- modify
Time string - Modify time of the resource instance.
- protection
Status string - Protection status of the resource instance.
- resource
Id string - ID of the resource.
- resource
Region string - Region of the resource instance.
- bind_
resource_ strid - Resource id to bind.
- bind_
resource_ strregion - Resource region to bind.
- bind_
resource_ strtype - Resource type to bind, value range [
clb
,cvm
]. - created_
time str - Created time of the resource instance.
- dayu_
eip_ strid - ID of the resource.
- eip str
- Eip of the resource.
- eip_
address_ strstatus - Eip address status of the resource instance.
- eip_
bound_ strrsc_ eni - Eip bound rsc eni of the resource instance.
- eip_
bound_ strrsc_ ins - Eip bound rsc ins of the resource instance.
- eip_
bound_ strrsc_ vip - Eip bound rsc vip of the resource instance.
- expired_
time str - Expired time of the resource instance.
- modify_
time str - Modify time of the resource instance.
- protection_
status str - Protection status of the resource instance.
- resource_
id str - ID of the resource.
- resource_
region str - Region of the resource instance.
- bind
Resource StringId - Resource id to bind.
- bind
Resource StringRegion - Resource region to bind.
- bind
Resource StringType - Resource type to bind, value range [
clb
,cvm
]. - created
Time String - Created time of the resource instance.
- dayu
Eip StringId - ID of the resource.
- eip String
- Eip of the resource.
- eip
Address StringStatus - Eip address status of the resource instance.
- eip
Bound StringRsc Eni - Eip bound rsc eni of the resource instance.
- eip
Bound StringRsc Ins - Eip bound rsc ins of the resource instance.
- eip
Bound StringRsc Vip - Eip bound rsc vip of the resource instance.
- expired
Time String - Expired time of the resource instance.
- modify
Time String - Modify time of the resource instance.
- protection
Status String - Protection status of the resource instance.
- resource
Id String - ID of the resource.
- resource
Region String - Region of the resource instance.
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