volcengine.vpc.Ipv6Gateway
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ipv6Gateway resource accepts the following input properties:
- Vpc
Id 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 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 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 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.
- vpc
Id 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:
- Creation
Time string - Creation time of the Ipv6Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- Status string
- The Status of the Ipv6Gateway.
- Update
Time string - Update time of the Ipv6Gateway.
- Creation
Time string - Creation time of the Ipv6Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- Status string
- The Status of the Ipv6Gateway.
- Update
Time string - Update time of the Ipv6Gateway.
- creation
Time String - Creation time of the Ipv6Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Gateway
Id String - The ID of the Ipv6Gateway.
- status String
- The Status of the Ipv6Gateway.
- update
Time String - Update time of the Ipv6Gateway.
- creation
Time string - Creation time of the Ipv6Gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- status string
- The Status of the Ipv6Gateway.
- update
Time 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_ strid - The ID of the Ipv6Gateway.
- status str
- The Status of the Ipv6Gateway.
- update_
time str - Update time of the Ipv6Gateway.
- creation
Time String - Creation time of the Ipv6Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Gateway
Id String - The ID of the Ipv6Gateway.
- status String
- The Status of the Ipv6Gateway.
- update
Time 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.
- Creation
Time string - Creation time of the Ipv6Gateway.
- Description string
- The description of the Ipv6Gateway.
- Ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- Name string
- The name of the Ipv6Gateway.
- Status string
- The Status of the Ipv6Gateway.
- Update
Time string - Update time of the Ipv6Gateway.
- Vpc
Id string - The ID of the VPC which the Ipv6Gateway belongs to.
- Creation
Time string - Creation time of the Ipv6Gateway.
- Description string
- The description of the Ipv6Gateway.
- Ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- Name string
- The name of the Ipv6Gateway.
- Status string
- The Status of the Ipv6Gateway.
- Update
Time string - Update time of the Ipv6Gateway.
- Vpc
Id string - The ID of the VPC which the Ipv6Gateway belongs to.
- creation
Time String - Creation time of the Ipv6Gateway.
- description String
- The description of the Ipv6Gateway.
- ipv6Gateway
Id String - The ID of the Ipv6Gateway.
- name String
- The name of the Ipv6Gateway.
- status String
- The Status of the Ipv6Gateway.
- update
Time String - Update time of the Ipv6Gateway.
- vpc
Id String - The ID of the VPC which the Ipv6Gateway belongs to.
- creation
Time string - Creation time of the Ipv6Gateway.
- description string
- The description of the Ipv6Gateway.
- ipv6Gateway
Id string - The ID of the Ipv6Gateway.
- name string
- The name of the Ipv6Gateway.
- status string
- The Status of the Ipv6Gateway.
- update
Time string - Update time of the Ipv6Gateway.
- vpc
Id 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_ strid - 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.
- creation
Time String - Creation time of the Ipv6Gateway.
- description String
- The description of the Ipv6Gateway.
- ipv6Gateway
Id String - The ID of the Ipv6Gateway.
- name String
- The name of the Ipv6Gateway.
- status String
- The Status of the Ipv6Gateway.
- update
Time String - Update time of the Ipv6Gateway.
- vpc
Id 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.