1. Packages
  2. Volcengine
  3. API Docs
  4. eip
  5. Address
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

volcengine.eip.Address

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

    Import

    Eip address can be imported using the id, e.g.

     $ pulumi import volcengine:eip/address:Address default eip-274oj9a8rs9a87fap8sf9515b
    

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Eip.Address("foo", new()
        {
            Bandwidth = 1,
            BillingType = "PostPaidByBandwidth",
            Description = "acc-test",
            Isp = "ChinaUnicom",
            ProjectName = "default",
        });
    
    });
    
    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 {
    		_, err := eip.NewAddress(ctx, "foo", &eip.AddressArgs{
    			Bandwidth:   pulumi.Int(1),
    			BillingType: pulumi.String("PostPaidByBandwidth"),
    			Description: pulumi.String("acc-test"),
    			Isp:         pulumi.String("ChinaUnicom"),
    			ProjectName: pulumi.String("default"),
    		})
    		if err != nil {
    			return err
    		}
    		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 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 foo = new Address("foo", AddressArgs.builder()        
                .bandwidth(1)
                .billingType("PostPaidByBandwidth")
                .description("acc-test")
                .isp("ChinaUnicom")
                .projectName("default")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.eip.Address("foo",
        bandwidth=1,
        billing_type="PostPaidByBandwidth",
        description="acc-test",
        isp="ChinaUnicom",
        project_name="default")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.eip.Address("foo", {
        bandwidth: 1,
        billingType: "PostPaidByBandwidth",
        description: "acc-test",
        isp: "ChinaUnicom",
        projectName: "default",
    });
    
    resources:
      foo:
        type: volcengine:eip:Address
        properties:
          bandwidth: 1
          billingType: PostPaidByBandwidth
          description: acc-test
          isp: ChinaUnicom
          projectName: default
    

    Create Address Resource

    new Address(name: string, args: AddressArgs, opts?: CustomResourceOptions);
    @overload
    def Address(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                bandwidth: Optional[int] = None,
                billing_type: Optional[str] = None,
                description: Optional[str] = None,
                isp: Optional[str] = None,
                name: Optional[str] = None,
                period: Optional[int] = None,
                project_name: Optional[str] = None,
                tags: Optional[Sequence[AddressTagArgs]] = None)
    @overload
    def Address(resource_name: str,
                args: AddressArgs,
                opts: Optional[ResourceOptions] = None)
    func NewAddress(ctx *Context, name string, args AddressArgs, opts ...ResourceOption) (*Address, error)
    public Address(string name, AddressArgs args, CustomResourceOptions? opts = null)
    public Address(String name, AddressArgs args)
    public Address(String name, AddressArgs args, CustomResourceOptions options)
    
    type: volcengine:eip:Address
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AddressArgs
    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 AddressArgs
    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 AddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Address Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Address resource accepts the following input properties:

    BillingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    Bandwidth int

    The peek bandwidth of the EIP.

    Description string

    The description of the EIP.

    Isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    Name string

    The name of the EIP Address.

    Period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    ProjectName string

    The ProjectName of the EIP.

    Tags List<Volcengine.AddressTag>

    Tags.

    BillingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    Bandwidth int

    The peek bandwidth of the EIP.

    Description string

    The description of the EIP.

    Isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    Name string

    The name of the EIP Address.

    Period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    ProjectName string

    The ProjectName of the EIP.

    Tags []AddressTagArgs

    Tags.

    billingType String

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    bandwidth Integer

    The peek bandwidth of the EIP.

    description String

    The description of the EIP.

    isp String

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name String

    The name of the EIP Address.

    period Integer

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName String

    The ProjectName of the EIP.

    tags List<AddressTag>

    Tags.

    billingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    bandwidth number

    The peek bandwidth of the EIP.

    description string

    The description of the EIP.

    isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name string

    The name of the EIP Address.

    period number

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName string

    The ProjectName of the EIP.

    tags AddressTag[]

    Tags.

    billing_type str

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    bandwidth int

    The peek bandwidth of the EIP.

    description str

    The description of the EIP.

    isp str

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name str

    The name of the EIP Address.

    period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    project_name str

    The ProjectName of the EIP.

    tags Sequence[AddressTagArgs]

    Tags.

    billingType String

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    bandwidth Number

    The peek bandwidth of the EIP.

    description String

    The description of the EIP.

    isp String

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name String

    The name of the EIP Address.

    period Number

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName String

    The ProjectName of the EIP.

    tags List<Property Map>

    Tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Address resource produces the following output properties:

    DeletedTime string

    The deleted time of the EIP.

    EipAddress string

    The ip address of the EIP.

    ExpiredTime string

    The expired time of the EIP.

    Id string

    The provider-assigned unique ID for this managed resource.

    OverdueTime string

    The overdue time of the EIP.

    Status string

    The status of the EIP.

    DeletedTime string

    The deleted time of the EIP.

    EipAddress string

    The ip address of the EIP.

    ExpiredTime string

    The expired time of the EIP.

    Id string

    The provider-assigned unique ID for this managed resource.

    OverdueTime string

    The overdue time of the EIP.

    Status string

    The status of the EIP.

    deletedTime String

    The deleted time of the EIP.

    eipAddress String

    The ip address of the EIP.

    expiredTime String

    The expired time of the EIP.

    id String

    The provider-assigned unique ID for this managed resource.

    overdueTime String

    The overdue time of the EIP.

    status String

    The status of the EIP.

    deletedTime string

    The deleted time of the EIP.

    eipAddress string

    The ip address of the EIP.

    expiredTime string

    The expired time of the EIP.

    id string

    The provider-assigned unique ID for this managed resource.

    overdueTime string

    The overdue time of the EIP.

    status string

    The status of the EIP.

    deleted_time str

    The deleted time of the EIP.

    eip_address str

    The ip address of the EIP.

    expired_time str

    The expired time of the EIP.

    id str

    The provider-assigned unique ID for this managed resource.

    overdue_time str

    The overdue time of the EIP.

    status str

    The status of the EIP.

    deletedTime String

    The deleted time of the EIP.

    eipAddress String

    The ip address of the EIP.

    expiredTime String

    The expired time of the EIP.

    id String

    The provider-assigned unique ID for this managed resource.

    overdueTime String

    The overdue time of the EIP.

    status String

    The status of the EIP.

    Look up Existing Address Resource

    Get an existing Address 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?: AddressState, opts?: CustomResourceOptions): Address
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[int] = None,
            billing_type: Optional[str] = None,
            deleted_time: Optional[str] = None,
            description: Optional[str] = None,
            eip_address: Optional[str] = None,
            expired_time: Optional[str] = None,
            isp: Optional[str] = None,
            name: Optional[str] = None,
            overdue_time: Optional[str] = None,
            period: Optional[int] = None,
            project_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[AddressTagArgs]] = None) -> Address
    func GetAddress(ctx *Context, name string, id IDInput, state *AddressState, opts ...ResourceOption) (*Address, error)
    public static Address Get(string name, Input<string> id, AddressState? state, CustomResourceOptions? opts = null)
    public static Address get(String name, Output<String> id, AddressState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Bandwidth int

    The peek bandwidth of the EIP.

    BillingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    DeletedTime string

    The deleted time of the EIP.

    Description string

    The description of the EIP.

    EipAddress string

    The ip address of the EIP.

    ExpiredTime string

    The expired time of the EIP.

    Isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    Name string

    The name of the EIP Address.

    OverdueTime string

    The overdue time of the EIP.

    Period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    ProjectName string

    The ProjectName of the EIP.

    Status string

    The status of the EIP.

    Tags List<Volcengine.AddressTag>

    Tags.

    Bandwidth int

    The peek bandwidth of the EIP.

    BillingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    DeletedTime string

    The deleted time of the EIP.

    Description string

    The description of the EIP.

    EipAddress string

    The ip address of the EIP.

    ExpiredTime string

    The expired time of the EIP.

    Isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    Name string

    The name of the EIP Address.

    OverdueTime string

    The overdue time of the EIP.

    Period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    ProjectName string

    The ProjectName of the EIP.

    Status string

    The status of the EIP.

    Tags []AddressTagArgs

    Tags.

    bandwidth Integer

    The peek bandwidth of the EIP.

    billingType String

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    deletedTime String

    The deleted time of the EIP.

    description String

    The description of the EIP.

    eipAddress String

    The ip address of the EIP.

    expiredTime String

    The expired time of the EIP.

    isp String

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name String

    The name of the EIP Address.

    overdueTime String

    The overdue time of the EIP.

    period Integer

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName String

    The ProjectName of the EIP.

    status String

    The status of the EIP.

    tags List<AddressTag>

    Tags.

    bandwidth number

    The peek bandwidth of the EIP.

    billingType string

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    deletedTime string

    The deleted time of the EIP.

    description string

    The description of the EIP.

    eipAddress string

    The ip address of the EIP.

    expiredTime string

    The expired time of the EIP.

    isp string

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name string

    The name of the EIP Address.

    overdueTime string

    The overdue time of the EIP.

    period number

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName string

    The ProjectName of the EIP.

    status string

    The status of the EIP.

    tags AddressTag[]

    Tags.

    bandwidth int

    The peek bandwidth of the EIP.

    billing_type str

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    deleted_time str

    The deleted time of the EIP.

    description str

    The description of the EIP.

    eip_address str

    The ip address of the EIP.

    expired_time str

    The expired time of the EIP.

    isp str

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name str

    The name of the EIP Address.

    overdue_time str

    The overdue time of the EIP.

    period int

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    project_name str

    The ProjectName of the EIP.

    status str

    The status of the EIP.

    tags Sequence[AddressTagArgs]

    Tags.

    bandwidth Number

    The peek bandwidth of the EIP.

    billingType String

    The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.

    deletedTime String

    The deleted time of the EIP.

    description String

    The description of the EIP.

    eipAddress String

    The ip address of the EIP.

    expiredTime String

    The expired time of the EIP.

    isp String

    The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP.

    name String

    The name of the EIP Address.

    overdueTime String

    The overdue time of the EIP.

    period Number

    The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.

    projectName String

    The ProjectName of the EIP.

    status String

    The status of the EIP.

    tags List<Property Map>

    Tags.

    Supporting Types

    AddressTag, AddressTagArgs

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    key string

    The Key of Tags.

    value string

    The Value of Tags.

    key str

    The Key of Tags.

    value str

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the volcengine Terraform Provider.

    volcengine logo
    Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine