volcenginecc.directconnect.DirectConnectGateway
专线网关是本地数据中心访问云上的入口,用于连接私有网络(VPC)与物理专线,实现云下数据中心(IDC)和云上私有网络(VPC)互访。
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const directConnectDirectConnectGatewayDemo = new volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
description: "DirectConnectDirectConnectGatewayDemo-Description",
directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
enableIpv6: false,
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
direct_connect_direct_connect_gateway_demo = volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo",
description="DirectConnectDirectConnectGatewayDemo-Description",
direct_connect_gateway_name="DirectConnectDirectConnectGatewayDemo",
enable_ipv6=False,
project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/directconnect"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := directconnect.NewDirectConnectGateway(ctx, "DirectConnectDirectConnectGatewayDemo", &directconnect.DirectConnectGatewayArgs{
Description: pulumi.String("DirectConnectDirectConnectGatewayDemo-Description"),
DirectConnectGatewayName: pulumi.String("DirectConnectDirectConnectGatewayDemo"),
EnableIpv6: pulumi.Bool(false),
ProjectName: pulumi.String("default"),
Tags: directconnect.DirectConnectGatewayTagArray{
&directconnect.DirectConnectGatewayTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var directConnectDirectConnectGatewayDemo = new Volcenginecc.Directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", new()
{
Description = "DirectConnectDirectConnectGatewayDemo-Description",
DirectConnectGatewayName = "DirectConnectDirectConnectGatewayDemo",
EnableIpv6 = false,
ProjectName = "default",
Tags = new[]
{
new Volcenginecc.Directconnect.Inputs.DirectConnectGatewayTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.directconnect.DirectConnectGateway;
import com.volcengine.volcenginecc.directconnect.DirectConnectGatewayArgs;
import com.pulumi.volcenginecc.directconnect.inputs.DirectConnectGatewayTagArgs;
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 directConnectDirectConnectGatewayDemo = new DirectConnectGateway("directConnectDirectConnectGatewayDemo", DirectConnectGatewayArgs.builder()
.description("DirectConnectDirectConnectGatewayDemo-Description")
.directConnectGatewayName("DirectConnectDirectConnectGatewayDemo")
.enableIpv6(false)
.projectName("default")
.tags(DirectConnectGatewayTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
directConnectDirectConnectGatewayDemo:
type: volcenginecc:directconnect:DirectConnectGateway
name: DirectConnectDirectConnectGatewayDemo
properties:
description: DirectConnectDirectConnectGatewayDemo-Description
directConnectGatewayName: DirectConnectDirectConnectGatewayDemo
enableIpv6: false
projectName: default
tags:
- key: env
value: test
Create DirectConnectGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DirectConnectGateway(name: string, args?: DirectConnectGatewayArgs, opts?: CustomResourceOptions);@overload
def DirectConnectGateway(resource_name: str,
args: Optional[DirectConnectGatewayArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DirectConnectGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
associate_cens: Optional[Sequence[DirectConnectGatewayAssociateCenArgs]] = None,
description: Optional[str] = None,
direct_connect_gateway_name: Optional[str] = None,
enable_ipv6: Optional[bool] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayTagArgs]] = None)func NewDirectConnectGateway(ctx *Context, name string, args *DirectConnectGatewayArgs, opts ...ResourceOption) (*DirectConnectGateway, error)public DirectConnectGateway(string name, DirectConnectGatewayArgs? args = null, CustomResourceOptions? opts = null)
public DirectConnectGateway(String name, DirectConnectGatewayArgs args)
public DirectConnectGateway(String name, DirectConnectGatewayArgs args, CustomResourceOptions options)
type: volcenginecc:directconnect:DirectConnectGateway
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 DirectConnectGatewayArgs
- 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 DirectConnectGatewayArgs
- 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 DirectConnectGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectConnectGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DirectConnectGatewayArgs
- 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 directConnectGatewayResource = new Volcenginecc.Directconnect.DirectConnectGateway("directConnectGatewayResource", new()
{
AssociateCens = new[]
{
null,
},
Description = "string",
DirectConnectGatewayName = "string",
EnableIpv6 = false,
ProjectName = "string",
Tags = new[]
{
new Volcenginecc.Directconnect.Inputs.DirectConnectGatewayTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := directconnect.NewDirectConnectGateway(ctx, "directConnectGatewayResource", &directconnect.DirectConnectGatewayArgs{
AssociateCens: directconnect.DirectConnectGatewayAssociateCenArray{
&directconnect.DirectConnectGatewayAssociateCenArgs{},
},
Description: pulumi.String("string"),
DirectConnectGatewayName: pulumi.String("string"),
EnableIpv6: pulumi.Bool(false),
ProjectName: pulumi.String("string"),
Tags: directconnect.DirectConnectGatewayTagArray{
&directconnect.DirectConnectGatewayTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var directConnectGatewayResource = new DirectConnectGateway("directConnectGatewayResource", DirectConnectGatewayArgs.builder()
.associateCens(DirectConnectGatewayAssociateCenArgs.builder()
.build())
.description("string")
.directConnectGatewayName("string")
.enableIpv6(false)
.projectName("string")
.tags(DirectConnectGatewayTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
direct_connect_gateway_resource = volcenginecc.directconnect.DirectConnectGateway("directConnectGatewayResource",
associate_cens=[{}],
description="string",
direct_connect_gateway_name="string",
enable_ipv6=False,
project_name="string",
tags=[{
"key": "string",
"value": "string",
}])
const directConnectGatewayResource = new volcenginecc.directconnect.DirectConnectGateway("directConnectGatewayResource", {
associateCens: [{}],
description: "string",
directConnectGatewayName: "string",
enableIpv6: false,
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:directconnect:DirectConnectGateway
properties:
associateCens:
- {}
description: string
directConnectGatewayName: string
enableIpv6: false
projectName: string
tags:
- key: string
value: string
DirectConnectGateway 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 DirectConnectGateway resource accepts the following input properties:
- Associate
Cens List<Volcengine.Direct Connect Gateway Associate Cen> - Description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- Enable
Ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- Project
Name string - 专线网关所属的项目。
-
List<Volcengine.
Direct Connect Gateway Tag>
- Associate
Cens []DirectConnect Gateway Associate Cen Args - Description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- Enable
Ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- Project
Name string - 专线网关所属的项目。
-
[]Direct
Connect Gateway Tag Args
- associate
Cens List<DirectConnect Gateway Associate Cen> - description String
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect StringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 Boolean - 是否支持IPv6。true:支持。false:不支持。
- project
Name String - 专线网关所属的项目。
-
List<Direct
Connect Gateway Tag>
- associate
Cens DirectConnect Gateway Associate Cen[] - description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 boolean - 是否支持IPv6。true:支持。false:不支持。
- project
Name string - 专线网关所属的项目。
-
Direct
Connect Gateway Tag[]
- associate_
cens Sequence[DirectConnect Gateway Associate Cen Args] - description str
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct_
connect_ strgateway_ name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable_
ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- project_
name str - 专线网关所属的项目。
-
Sequence[Direct
Connect Gateway Tag Args]
- associate
Cens List<Property Map> - description String
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect StringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 Boolean - 是否支持IPv6。true:支持。false:不支持。
- project
Name String - 专线网关所属的项目。
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the DirectConnectGateway resource produces the following output properties:
- Account
Id string - 专线网关所属账号的ID。
- Business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- Created
Time string - 创建专线网关的时间。
- Deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Direct
Connect stringGateway Id - 专线网关的ID。
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- Updated
Time string - 更新专线网关的时间。
- Account
Id string - 专线网关所属账号的ID。
- Business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- Created
Time string - 创建专线网关的时间。
- Deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Direct
Connect stringGateway Id - 专线网关的ID。
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- Updated
Time string - 更新专线网关的时间。
- account
Id String - 专线网关所属账号的ID。
- business
Status String - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time String - 创建专线网关的时间。
- deleted
Time String - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- direct
Connect StringGateway Id - 专线网关的ID。
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- status String
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- updated
Time String - 更新专线网关的时间。
- account
Id string - 专线网关所属账号的ID。
- business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time string - 创建专线网关的时间。
- deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- direct
Connect stringGateway Id - 专线网关的ID。
- id string
- The provider-assigned unique ID for this managed resource.
- lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- updated
Time string - 更新专线网关的时间。
- account_
id str - 专线网关所属账号的ID。
- business_
status str - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created_
time str - 创建专线网关的时间。
- deleted_
time str - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- direct_
connect_ strgateway_ id - 专线网关的ID。
- id str
- The provider-assigned unique ID for this managed resource.
- lock_
reason str - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue_
time str - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- status str
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- updated_
time str - 更新专线网关的时间。
- account
Id String - 专线网关所属账号的ID。
- business
Status String - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time String - 创建专线网关的时间。
- deleted
Time String - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- direct
Connect StringGateway Id - 专线网关的ID。
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- status String
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- updated
Time String - 更新专线网关的时间。
Look up Existing DirectConnectGateway Resource
Get an existing DirectConnectGateway 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?: DirectConnectGatewayState, opts?: CustomResourceOptions): DirectConnectGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
associate_cens: Optional[Sequence[DirectConnectGatewayAssociateCenArgs]] = None,
business_status: Optional[str] = None,
created_time: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
direct_connect_gateway_name: Optional[str] = None,
enable_ipv6: Optional[bool] = None,
lock_reason: Optional[str] = None,
overdue_time: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayTagArgs]] = None,
updated_time: Optional[str] = None) -> DirectConnectGatewayfunc GetDirectConnectGateway(ctx *Context, name string, id IDInput, state *DirectConnectGatewayState, opts ...ResourceOption) (*DirectConnectGateway, error)public static DirectConnectGateway Get(string name, Input<string> id, DirectConnectGatewayState? state, CustomResourceOptions? opts = null)public static DirectConnectGateway get(String name, Output<String> id, DirectConnectGatewayState state, CustomResourceOptions options)resources: _: type: volcenginecc:directconnect:DirectConnectGateway 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.
- Account
Id string - 专线网关所属账号的ID。
- Associate
Cens List<Volcengine.Direct Connect Gateway Associate Cen> - Business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- Created
Time string - 创建专线网关的时间。
- Deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Direct
Connect stringGateway Id - 专线网关的ID。
- Direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- Enable
Ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- Lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Project
Name string - 专线网关所属的项目。
- Status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
List<Volcengine.
Direct Connect Gateway Tag> - Updated
Time string - 更新专线网关的时间。
- Account
Id string - 专线网关所属账号的ID。
- Associate
Cens []DirectConnect Gateway Associate Cen Args - Business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- Created
Time string - 创建专线网关的时间。
- Deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Direct
Connect stringGateway Id - 专线网关的ID。
- Direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- Enable
Ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- Lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- Project
Name string - 专线网关所属的项目。
- Status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
[]Direct
Connect Gateway Tag Args - Updated
Time string - 更新专线网关的时间。
- account
Id String - 专线网关所属账号的ID。
- associate
Cens List<DirectConnect Gateway Associate Cen> - business
Status String - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time String - 创建专线网关的时间。
- deleted
Time String - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- description String
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect StringGateway Id - 专线网关的ID。
- direct
Connect StringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 Boolean - 是否支持IPv6。true:支持。false:不支持。
- lock
Reason String - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- project
Name String - 专线网关所属的项目。
- status String
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
List<Direct
Connect Gateway Tag> - updated
Time String - 更新专线网关的时间。
- account
Id string - 专线网关所属账号的ID。
- associate
Cens DirectConnect Gateway Associate Cen[] - business
Status string - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time string - 创建专线网关的时间。
- deleted
Time string - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- description string
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect stringGateway Id - 专线网关的ID。
- direct
Connect stringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 boolean - 是否支持IPv6。true:支持。false:不支持。
- lock
Reason string - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- project
Name string - 专线网关所属的项目。
- status string
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
Direct
Connect Gateway Tag[] - updated
Time string - 更新专线网关的时间。
- account_
id str - 专线网关所属账号的ID。
- associate_
cens Sequence[DirectConnect Gateway Associate Cen Args] - business_
status str - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created_
time str - 创建专线网关的时间。
- deleted_
time str - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- description str
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct_
connect_ strgateway_ id - 专线网关的ID。
- direct_
connect_ strgateway_ name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable_
ipv6 bool - 是否支持IPv6。true:支持。false:不支持。
- lock_
reason str - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue_
time str - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- project_
name str - 专线网关所属的项目。
- status str
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
Sequence[Direct
Connect Gateway Tag Args] - updated_
time str - 更新专线网关的时间。
- account
Id String - 专线网关所属账号的ID。
- associate
Cens List<Property Map> - business
Status String - 专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
- created
Time String - 创建专线网关的时间。
- deleted
Time String - 预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- description String
- 专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- direct
Connect StringGateway Id - 专线网关的ID。
- direct
Connect StringGateway Name - 专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
- enable
Ipv6 Boolean - 是否支持IPv6。true:支持。false:不支持。
- lock
Reason String - 专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
- project
Name String - 专线网关所属的项目。
- status String
- 专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- List<Property Map>
- updated
Time String - 更新专线网关的时间。
Supporting Types
DirectConnectGatewayTag, DirectConnectGatewayTagArgs
Import
$ pulumi import volcenginecc:directconnect/directConnectGateway:DirectConnectGateway example "direct_connect_gateway_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
