1. Packages
  2. Volcengine
  3. API Docs
  4. vpc
  5. Ipv6Gateway
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.vpc.Ipv6Gateway

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Provides a resource to manage vpc ipv6 gateway

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Vpc.Ipv6Gateway("foo", new()
        {
            Description = "test",
            VpcId = "vpc-12afxho4sxyio17q7y2kkp8ej",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpc.NewIpv6Gateway(ctx, "foo", &vpc.Ipv6GatewayArgs{
    			Description: pulumi.String("test"),
    			VpcId:       pulumi.String("vpc-12afxho4sxyio17q7y2kkp8ej"),
    		})
    		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.vpc.Ipv6Gateway;
    import com.pulumi.volcengine.vpc.Ipv6GatewayArgs;
    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 Ipv6Gateway("foo", Ipv6GatewayArgs.builder()        
                .description("test")
                .vpcId("vpc-12afxho4sxyio17q7y2kkp8ej")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.vpc.Ipv6Gateway("foo",
        description="test",
        vpc_id="vpc-12afxho4sxyio17q7y2kkp8ej")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.vpc.Ipv6Gateway("foo", {
        description: "test",
        vpcId: "vpc-12afxho4sxyio17q7y2kkp8ej",
    });
    
    resources:
      foo:
        type: volcengine:vpc:Ipv6Gateway
        properties:
          description: test
          vpcId: vpc-12afxho4sxyio17q7y2kkp8ej
    

    Create Ipv6Gateway Resource

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

    Constructor syntax

    new Ipv6Gateway(name: string, args: Ipv6GatewayArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv6Gateway(resource_name: str,
                    args: Ipv6GatewayArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6Gateway(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    vpc_id: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None)
    func NewIpv6Gateway(ctx *Context, name string, args Ipv6GatewayArgs, opts ...ResourceOption) (*Ipv6Gateway, error)
    public Ipv6Gateway(string name, Ipv6GatewayArgs args, CustomResourceOptions? opts = null)
    public Ipv6Gateway(String name, Ipv6GatewayArgs args)
    public Ipv6Gateway(String name, Ipv6GatewayArgs args, CustomResourceOptions options)
    
    type: volcengine:vpc:Ipv6Gateway
    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 Ipv6GatewayArgs
    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 Ipv6GatewayArgs
    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 Ipv6GatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv6GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv6GatewayArgs
    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 ipv6GatewayResource = new Volcengine.Vpc.Ipv6Gateway("ipv6GatewayResource", new()
    {
        VpcId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := vpc.NewIpv6Gateway(ctx, "ipv6GatewayResource", &vpc.Ipv6GatewayArgs{
    	VpcId:       pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var ipv6GatewayResource = new Ipv6Gateway("ipv6GatewayResource", Ipv6GatewayArgs.builder()
        .vpcId("string")
        .description("string")
        .name("string")
        .build());
    
    ipv6_gateway_resource = volcengine.vpc.Ipv6Gateway("ipv6GatewayResource",
        vpc_id="string",
        description="string",
        name="string")
    
    const ipv6GatewayResource = new volcengine.vpc.Ipv6Gateway("ipv6GatewayResource", {
        vpcId: "string",
        description: "string",
        name: "string",
    });
    
    type: volcengine:vpc:Ipv6Gateway
    properties:
        description: string
        name: string
        vpcId: string
    

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

    VpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    Description string
    The description of the Ipv6Gateway.
    Name string
    The name of the Ipv6Gateway.
    VpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    Description string
    The description of the Ipv6Gateway.
    Name string
    The name of the Ipv6Gateway.
    vpcId String
    The ID of the VPC which the Ipv6Gateway belongs to.
    description String
    The description of the Ipv6Gateway.
    name String
    The name of the Ipv6Gateway.
    vpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    description string
    The description of the Ipv6Gateway.
    name string
    The name of the Ipv6Gateway.
    vpc_id str
    The ID of the VPC which the Ipv6Gateway belongs to.
    description str
    The description of the Ipv6Gateway.
    name str
    The name of the Ipv6Gateway.
    vpcId String
    The ID of the VPC which the Ipv6Gateway belongs to.
    description String
    The description of the Ipv6Gateway.
    name String
    The name of the Ipv6Gateway.

    Outputs

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

    CreationTime string
    Creation time of the Ipv6Gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6GatewayId string
    The ID of the Ipv6Gateway.
    Status string
    The Status of the Ipv6Gateway.
    UpdateTime string
    Update time of the Ipv6Gateway.
    CreationTime string
    Creation time of the Ipv6Gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6GatewayId string
    The ID of the Ipv6Gateway.
    Status string
    The Status of the Ipv6Gateway.
    UpdateTime string
    Update time of the Ipv6Gateway.
    creationTime String
    Creation time of the Ipv6Gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6GatewayId String
    The ID of the Ipv6Gateway.
    status String
    The Status of the Ipv6Gateway.
    updateTime String
    Update time of the Ipv6Gateway.
    creationTime string
    Creation time of the Ipv6Gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6GatewayId string
    The ID of the Ipv6Gateway.
    status string
    The Status of the Ipv6Gateway.
    updateTime string
    Update time of the Ipv6Gateway.
    creation_time str
    Creation time of the Ipv6Gateway.
    id str
    The provider-assigned unique ID for this managed resource.
    ipv6_gateway_id str
    The ID of the Ipv6Gateway.
    status str
    The Status of the Ipv6Gateway.
    update_time str
    Update time of the Ipv6Gateway.
    creationTime String
    Creation time of the Ipv6Gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6GatewayId String
    The ID of the Ipv6Gateway.
    status String
    The Status of the Ipv6Gateway.
    updateTime String
    Update time of the Ipv6Gateway.

    Look up Existing Ipv6Gateway Resource

    Get an existing Ipv6Gateway 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?: Ipv6GatewayState, opts?: CustomResourceOptions): Ipv6Gateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_time: Optional[str] = None,
            description: Optional[str] = None,
            ipv6_gateway_id: Optional[str] = None,
            name: Optional[str] = None,
            status: Optional[str] = None,
            update_time: Optional[str] = None,
            vpc_id: Optional[str] = None) -> Ipv6Gateway
    func GetIpv6Gateway(ctx *Context, name string, id IDInput, state *Ipv6GatewayState, opts ...ResourceOption) (*Ipv6Gateway, error)
    public static Ipv6Gateway Get(string name, Input<string> id, Ipv6GatewayState? state, CustomResourceOptions? opts = null)
    public static Ipv6Gateway get(String name, Output<String> id, Ipv6GatewayState 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:
    CreationTime string
    Creation time of the Ipv6Gateway.
    Description string
    The description of the Ipv6Gateway.
    Ipv6GatewayId string
    The ID of the Ipv6Gateway.
    Name string
    The name of the Ipv6Gateway.
    Status string
    The Status of the Ipv6Gateway.
    UpdateTime string
    Update time of the Ipv6Gateway.
    VpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    CreationTime string
    Creation time of the Ipv6Gateway.
    Description string
    The description of the Ipv6Gateway.
    Ipv6GatewayId string
    The ID of the Ipv6Gateway.
    Name string
    The name of the Ipv6Gateway.
    Status string
    The Status of the Ipv6Gateway.
    UpdateTime string
    Update time of the Ipv6Gateway.
    VpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    creationTime String
    Creation time of the Ipv6Gateway.
    description String
    The description of the Ipv6Gateway.
    ipv6GatewayId String
    The ID of the Ipv6Gateway.
    name String
    The name of the Ipv6Gateway.
    status String
    The Status of the Ipv6Gateway.
    updateTime String
    Update time of the Ipv6Gateway.
    vpcId String
    The ID of the VPC which the Ipv6Gateway belongs to.
    creationTime string
    Creation time of the Ipv6Gateway.
    description string
    The description of the Ipv6Gateway.
    ipv6GatewayId string
    The ID of the Ipv6Gateway.
    name string
    The name of the Ipv6Gateway.
    status string
    The Status of the Ipv6Gateway.
    updateTime string
    Update time of the Ipv6Gateway.
    vpcId string
    The ID of the VPC which the Ipv6Gateway belongs to.
    creation_time str
    Creation time of the Ipv6Gateway.
    description str
    The description of the Ipv6Gateway.
    ipv6_gateway_id str
    The ID of the Ipv6Gateway.
    name str
    The name of the Ipv6Gateway.
    status str
    The Status of the Ipv6Gateway.
    update_time str
    Update time of the Ipv6Gateway.
    vpc_id str
    The ID of the VPC which the Ipv6Gateway belongs to.
    creationTime String
    Creation time of the Ipv6Gateway.
    description String
    The description of the Ipv6Gateway.
    ipv6GatewayId String
    The ID of the Ipv6Gateway.
    name String
    The name of the Ipv6Gateway.
    status String
    The Status of the Ipv6Gateway.
    updateTime String
    Update time of the Ipv6Gateway.
    vpcId String
    The ID of the VPC which the Ipv6Gateway belongs to.

    Import

    Ipv6Gateway can be imported using the id, e.g.

     $ pulumi import volcengine:vpc/ipv6Gateway:Ipv6Gateway default ipv6gw-12bcapllb5ukg17q7y2sd3thx
    

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

    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.26 published on Friday, Sep 13, 2024 by Volcengine