1. Registry
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. vpc
  6. Ipv4Gateway
Viewing docs for bytepluscc v0.0.53
published on Thursday, Sep 10, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.53
published on Thursday, Sep 10, 2026 by Byteplus

    Volcengine VPC IPv4 gateway resource. The IPv4 gateway serves as the unified exit for private VPCs to access the public network. After creation, it can be associated with a specified VPC to enable public network access. This resource only manages the lifecycle of the gateway itself (create, query, modify, delete, list). Association between the gateway and VPC (Attach/Detach), and enabling/disabling (Enable/Disable) are managed by separate association operations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const example = new bytepluscc.vpc.Ipv4Gateway("example", {
        ipv4GatewayName: "ccapi-ipv4-gw-full",
        description: "ccapi ipv4 gateway full case",
        vpcId: "vpc-xxxxx",
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    example = bytepluscc.vpc.Ipv4Gateway("example",
        ipv4_gateway_name="ccapi-ipv4-gw-full",
        description="ccapi ipv4 gateway full case",
        vpc_id="vpc-xxxxx")
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpc.NewIpv4Gateway(ctx, "example", &vpc.Ipv4GatewayArgs{
    			Ipv4GatewayName: pulumi.String("ccapi-ipv4-gw-full"),
    			Description:     pulumi.String("ccapi ipv4 gateway full case"),
    			VpcId:           pulumi.String("vpc-xxxxx"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Bytepluscc.Vpc.Ipv4Gateway("example", new()
        {
            Ipv4GatewayName = "ccapi-ipv4-gw-full",
            Description = "ccapi ipv4 gateway full case",
            VpcId = "vpc-xxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.vpc.Ipv4Gateway;
    import com.byteplus.bytepluscc.vpc.Ipv4GatewayArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new Ipv4Gateway("example", Ipv4GatewayArgs.builder()
                .ipv4GatewayName("ccapi-ipv4-gw-full")
                .description("ccapi ipv4 gateway full case")
                .vpcId("vpc-xxxxx")
                .build());
    
        }
    }
    
    resources:
      example:
        type: bytepluscc:vpc:Ipv4Gateway
        properties:
          ipv4GatewayName: ccapi-ipv4-gw-full
          description: ccapi ipv4 gateway full case
          vpcId: vpc-xxxxx
    
    pulumi {
      required_providers {
        bytepluscc = {
          source = "pulumi/bytepluscc"
        }
      }
    }
    
    resource "bytepluscc_vpc_ipv4gateway" "example" {
      ipv4_gateway_name = "ccapi-ipv4-gw-full"
      description       = "ccapi ipv4 gateway full case"
      vpc_id            = "vpc-xxxxx"
    }
    

    Create Ipv4Gateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ipv4Gateway(name: string, args?: Ipv4GatewayArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv4Gateway(resource_name: str,
                    args: Optional[Ipv4GatewayArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv4Gateway(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    ipv4_gateway_name: Optional[str] = None,
                    vpc_id: Optional[str] = None)
    func NewIpv4Gateway(ctx *Context, name string, args *Ipv4GatewayArgs, opts ...ResourceOption) (*Ipv4Gateway, error)
    public Ipv4Gateway(string name, Ipv4GatewayArgs? args = null, CustomResourceOptions? opts = null)
    public Ipv4Gateway(String name, Ipv4GatewayArgs args)
    public Ipv4Gateway(String name, Ipv4GatewayArgs args, CustomResourceOptions options)
    
    type: bytepluscc:vpc:Ipv4Gateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_vpc_ipv4_gateway" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args Ipv4GatewayArgs
    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 Ipv4GatewayArgs
    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 Ipv4GatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv4GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv4GatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ipv4GatewayResource = new Bytepluscc.Vpc.Ipv4Gateway("ipv4GatewayResource", new()
    {
        Description = "string",
        Enabled = false,
        Ipv4GatewayName = "string",
        VpcId = "string",
    });
    
    example, err := vpc.NewIpv4Gateway(ctx, "ipv4GatewayResource", &vpc.Ipv4GatewayArgs{
    	Description:     pulumi.String("string"),
    	Enabled:         pulumi.Bool(false),
    	Ipv4GatewayName: pulumi.String("string"),
    	VpcId:           pulumi.String("string"),
    })
    
    resource "bytepluscc_vpc_ipv4_gateway" "ipv4GatewayResource" {
      lifecycle {
        create_before_destroy = true
      }
      description       = "string"
      enabled           = false
      ipv4_gateway_name = "string"
      vpc_id            = "string"
    }
    
    var ipv4GatewayResource = new Ipv4Gateway("ipv4GatewayResource", Ipv4GatewayArgs.builder()
        .description("string")
        .enabled(false)
        .ipv4GatewayName("string")
        .vpcId("string")
        .build());
    
    ipv4_gateway_resource = bytepluscc.vpc.Ipv4Gateway("ipv4GatewayResource",
        description="string",
        enabled=False,
        ipv4_gateway_name="string",
        vpc_id="string")
    
    const ipv4GatewayResource = new bytepluscc.vpc.Ipv4Gateway("ipv4GatewayResource", {
        description: "string",
        enabled: false,
        ipv4GatewayName: "string",
        vpcId: "string",
    });
    
    type: bytepluscc:vpc:Ipv4Gateway
    properties:
        description: string
        enabled: false
        ipv4GatewayName: string
        vpcId: string
    

    Ipv4Gateway 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 Ipv4Gateway resource accepts the following input properties:

    Description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    Enabled bool
    Whether the IPv4 gateway is enabled.
    Ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    VpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    Description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    Enabled bool
    Whether the IPv4 gateway is enabled.
    Ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    VpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled bool
    Whether the IPv4 gateway is enabled.
    ipv4_gateway_name string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    vpc_id string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    description String
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled Boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayName String
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    vpcId String
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    vpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    description str
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled bool
    Whether the IPv4 gateway is enabled.
    ipv4_gateway_name str
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    vpc_id str
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    description String
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled Boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayName String
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    vpcId String
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.

    Outputs

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

    AccountId string
    ID of the account to which the IPv4 gateway belongs.
    CreationTime string
    Creation time of the IPv4 gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4GatewayId string
    ID of the IPv4 gateway.
    RouteTableId string
    ID of the route table associated with the IPv4 gateway.
    Status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    UpdatedAt string
    Last modification time of the IPv4 gateway.
    AccountId string
    ID of the account to which the IPv4 gateway belongs.
    CreationTime string
    Creation time of the IPv4 gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4GatewayId string
    ID of the IPv4 gateway.
    RouteTableId string
    ID of the route table associated with the IPv4 gateway.
    Status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    UpdatedAt string
    Last modification time of the IPv4 gateway.
    account_id string
    ID of the account to which the IPv4 gateway belongs.
    creation_time string
    Creation time of the IPv4 gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv4_gateway_id string
    ID of the IPv4 gateway.
    route_table_id string
    ID of the route table associated with the IPv4 gateway.
    status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updated_at string
    Last modification time of the IPv4 gateway.
    accountId String
    ID of the account to which the IPv4 gateway belongs.
    creationTime String
    Creation time of the IPv4 gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4GatewayId String
    ID of the IPv4 gateway.
    routeTableId String
    ID of the route table associated with the IPv4 gateway.
    status String
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt String
    Last modification time of the IPv4 gateway.
    accountId string
    ID of the account to which the IPv4 gateway belongs.
    creationTime string
    Creation time of the IPv4 gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv4GatewayId string
    ID of the IPv4 gateway.
    routeTableId string
    ID of the route table associated with the IPv4 gateway.
    status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt string
    Last modification time of the IPv4 gateway.
    account_id str
    ID of the account to which the IPv4 gateway belongs.
    creation_time str
    Creation time of the IPv4 gateway.
    id str
    The provider-assigned unique ID for this managed resource.
    ipv4_gateway_id str
    ID of the IPv4 gateway.
    route_table_id str
    ID of the route table associated with the IPv4 gateway.
    status str
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updated_at str
    Last modification time of the IPv4 gateway.
    accountId String
    ID of the account to which the IPv4 gateway belongs.
    creationTime String
    Creation time of the IPv4 gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4GatewayId String
    ID of the IPv4 gateway.
    routeTableId String
    ID of the route table associated with the IPv4 gateway.
    status String
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt String
    Last modification time of the IPv4 gateway.

    Look up Existing Ipv4Gateway Resource

    Get an existing Ipv4Gateway 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?: Ipv4GatewayState, opts?: CustomResourceOptions): Ipv4Gateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            creation_time: Optional[str] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            ipv4_gateway_id: Optional[str] = None,
            ipv4_gateway_name: Optional[str] = None,
            route_table_id: Optional[str] = None,
            status: Optional[str] = None,
            updated_at: Optional[str] = None,
            vpc_id: Optional[str] = None) -> Ipv4Gateway
    func GetIpv4Gateway(ctx *Context, name string, id IDInput, state *Ipv4GatewayState, opts ...ResourceOption) (*Ipv4Gateway, error)
    public static Ipv4Gateway Get(string name, Input<string> id, Ipv4GatewayState? state, CustomResourceOptions? opts = null)
    public static Ipv4Gateway get(String name, Output<String> id, Ipv4GatewayState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:vpc:Ipv4Gateway    get:      id: ${id}
    import {
      to = bytepluscc_vpc_ipv4_gateway.example
      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.
    The following state arguments are supported:
    AccountId string
    ID of the account to which the IPv4 gateway belongs.
    CreationTime string
    Creation time of the IPv4 gateway.
    Description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    Enabled bool
    Whether the IPv4 gateway is enabled.
    Ipv4GatewayId string
    ID of the IPv4 gateway.
    Ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    RouteTableId string
    ID of the route table associated with the IPv4 gateway.
    Status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    UpdatedAt string
    Last modification time of the IPv4 gateway.
    VpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    AccountId string
    ID of the account to which the IPv4 gateway belongs.
    CreationTime string
    Creation time of the IPv4 gateway.
    Description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    Enabled bool
    Whether the IPv4 gateway is enabled.
    Ipv4GatewayId string
    ID of the IPv4 gateway.
    Ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    RouteTableId string
    ID of the route table associated with the IPv4 gateway.
    Status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    UpdatedAt string
    Last modification time of the IPv4 gateway.
    VpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    account_id string
    ID of the account to which the IPv4 gateway belongs.
    creation_time string
    Creation time of the IPv4 gateway.
    description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled bool
    Whether the IPv4 gateway is enabled.
    ipv4_gateway_id string
    ID of the IPv4 gateway.
    ipv4_gateway_name string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    route_table_id string
    ID of the route table associated with the IPv4 gateway.
    status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updated_at string
    Last modification time of the IPv4 gateway.
    vpc_id string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    accountId String
    ID of the account to which the IPv4 gateway belongs.
    creationTime String
    Creation time of the IPv4 gateway.
    description String
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled Boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayId String
    ID of the IPv4 gateway.
    ipv4GatewayName String
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    routeTableId String
    ID of the route table associated with the IPv4 gateway.
    status String
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt String
    Last modification time of the IPv4 gateway.
    vpcId String
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    accountId string
    ID of the account to which the IPv4 gateway belongs.
    creationTime string
    Creation time of the IPv4 gateway.
    description string
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayId string
    ID of the IPv4 gateway.
    ipv4GatewayName string
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    routeTableId string
    ID of the route table associated with the IPv4 gateway.
    status string
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt string
    Last modification time of the IPv4 gateway.
    vpcId string
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    account_id str
    ID of the account to which the IPv4 gateway belongs.
    creation_time str
    Creation time of the IPv4 gateway.
    description str
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled bool
    Whether the IPv4 gateway is enabled.
    ipv4_gateway_id str
    ID of the IPv4 gateway.
    ipv4_gateway_name str
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    route_table_id str
    ID of the route table associated with the IPv4 gateway.
    status str
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updated_at str
    Last modification time of the IPv4 gateway.
    vpc_id str
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.
    accountId String
    ID of the account to which the IPv4 gateway belongs.
    creationTime String
    Creation time of the IPv4 gateway.
    description String
    Description of the IPv4 gateway. Length must be between 0 and 255 characters. Must start with a letter, Chinese character, or number, and can include English commas (,), periods (.), underscores (_), spaces, equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
    enabled Boolean
    Whether the IPv4 gateway is enabled.
    ipv4GatewayId String
    ID of the IPv4 gateway.
    ipv4GatewayName String
    Name of the IPv4 gateway. Length must be between 1 and 128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the IPv4 gateway ID.
    routeTableId String
    ID of the route table associated with the IPv4 gateway.
    status String
    Status of the IPv4 gateway. Available: available. Creating: creating. Pending: configuring. Deleting: deleting.
    updatedAt String
    Last modification time of the IPv4 gateway.
    vpcId String
    ID of the VPC associated with the IPv4 gateway. If not associated, this field is empty.

    Import

    $ pulumi import bytepluscc:vpc/ipv4Gateway:Ipv4Gateway example "ipv4_gateway_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.53
    published on Thursday, Sep 10, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial