Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Data Source schema for Byteplus::TransitRouter::VpnAttachment
Using getVpnAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpnAttachment(args: GetVpnAttachmentArgs, opts?: InvokeOptions): Promise<GetVpnAttachmentResult>
function getVpnAttachmentOutput(args: GetVpnAttachmentOutputArgs, opts?: InvokeOptions): Output<GetVpnAttachmentResult>def get_vpn_attachment(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpnAttachmentResult
def get_vpn_attachment_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpnAttachmentResult]func LookupVpnAttachment(ctx *Context, args *LookupVpnAttachmentArgs, opts ...InvokeOption) (*LookupVpnAttachmentResult, error)
func LookupVpnAttachmentOutput(ctx *Context, args *LookupVpnAttachmentOutputArgs, opts ...InvokeOption) LookupVpnAttachmentResultOutput> Note: This function is named LookupVpnAttachment in the Go SDK.
public static class GetVpnAttachment
{
public static Task<GetVpnAttachmentResult> InvokeAsync(GetVpnAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetVpnAttachmentResult> Invoke(GetVpnAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpnAttachmentResult> getVpnAttachment(GetVpnAttachmentArgs args, InvokeOptions options)
public static Output<GetVpnAttachmentResult> getVpnAttachment(GetVpnAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:transitrouter/getVpnAttachment:getVpnAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getVpnAttachment Result
The following output properties are available:
- Auto
Publish boolRoute Enabled - 是否自动同步TR路由到网络实例路由表中。
- Created
Time string - 创建时间。
- Description string
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Health
Check boolRevoke Route Enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- Id string
- Uniquely identifies the resource.
- Ipv6Enabled bool
- 是否开启IPv6功能。
- Status string
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
List<Byteplus.
Get Vpn Attachment Tag> - 标签列表。
- Transit
Router stringAttachment Id - 网络实例连接的ID。
- Transit
Router stringAttachment Name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- Transit
Router stringId - 中转路由器实例的ID。
- Transit
Router stringRoute Table Id - 关联的TR路由表ID。
- Updated
Time string - 更新时间。
- Vpn
Connection stringId - IPsec连接的ID。
- Zone
Id string - IPsec连接所属可用区的ID。
- Auto
Publish boolRoute Enabled - 是否自动同步TR路由到网络实例路由表中。
- Created
Time string - 创建时间。
- Description string
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Health
Check boolRevoke Route Enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- Id string
- Uniquely identifies the resource.
- Ipv6Enabled bool
- 是否开启IPv6功能。
- Status string
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
[]Get
Vpn Attachment Tag - 标签列表。
- Transit
Router stringAttachment Id - 网络实例连接的ID。
- Transit
Router stringAttachment Name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- Transit
Router stringId - 中转路由器实例的ID。
- Transit
Router stringRoute Table Id - 关联的TR路由表ID。
- Updated
Time string - 更新时间。
- Vpn
Connection stringId - IPsec连接的ID。
- Zone
Id string - IPsec连接所属可用区的ID。
- auto
Publish BooleanRoute Enabled - 是否自动同步TR路由到网络实例路由表中。
- created
Time String - 创建时间。
- description String
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- health
Check BooleanRevoke Route Enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- id String
- Uniquely identifies the resource.
- ipv6Enabled Boolean
- 是否开启IPv6功能。
- status String
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
List<Get
Vpn Attachment Tag> - 标签列表。
- transit
Router StringAttachment Id - 网络实例连接的ID。
- transit
Router StringAttachment Name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- transit
Router StringId - 中转路由器实例的ID。
- transit
Router StringRoute Table Id - 关联的TR路由表ID。
- updated
Time String - 更新时间。
- vpn
Connection StringId - IPsec连接的ID。
- zone
Id String - IPsec连接所属可用区的ID。
- auto
Publish booleanRoute Enabled - 是否自动同步TR路由到网络实例路由表中。
- created
Time string - 创建时间。
- description string
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- health
Check booleanRevoke Route Enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- id string
- Uniquely identifies the resource.
- ipv6Enabled boolean
- 是否开启IPv6功能。
- status string
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
Get
Vpn Attachment Tag[] - 标签列表。
- transit
Router stringAttachment Id - 网络实例连接的ID。
- transit
Router stringAttachment Name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- transit
Router stringId - 中转路由器实例的ID。
- transit
Router stringRoute Table Id - 关联的TR路由表ID。
- updated
Time string - 更新时间。
- vpn
Connection stringId - IPsec连接的ID。
- zone
Id string - IPsec连接所属可用区的ID。
- auto_
publish_ boolroute_ enabled - 是否自动同步TR路由到网络实例路由表中。
- created_
time str - 创建时间。
- description str
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- health_
check_ boolrevoke_ route_ enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- id str
- Uniquely identifies the resource.
- ipv6_
enabled bool - 是否开启IPv6功能。
- status str
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
-
Sequence[Get
Vpn Attachment Tag] - 标签列表。
- transit_
router_ strattachment_ id - 网络实例连接的ID。
- transit_
router_ strattachment_ name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- transit_
router_ strid - 中转路由器实例的ID。
- transit_
router_ strroute_ table_ id - 关联的TR路由表ID。
- updated_
time str - 更新时间。
- vpn_
connection_ strid - IPsec连接的ID。
- zone_
id str - IPsec连接所属可用区的ID。
- auto
Publish BooleanRoute Enabled - 是否自动同步TR路由到网络实例路由表中。
- created
Time String - 创建时间。
- description String
- 网络实例连接的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- health
Check BooleanRevoke Route Enabled - 是否开启健康检查收敛路由功能。true:是。仅当IPsec连接开启健康检查功能时生效,且只支持收敛静态路由,不支持收敛BGP路由。false:否。
- id String
- Uniquely identifies the resource.
- ipv6Enabled Boolean
- 是否开启IPv6功能。
- status String
- 网络实例连接的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
- List<Property Map>
- 标签列表。
- transit
Router StringAttachment Id - 网络实例连接的ID。
- transit
Router StringAttachment Name - 网络实例连接的名称。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为网络实例连接的ID。
- transit
Router StringId - 中转路由器实例的ID。
- transit
Router StringRoute Table Id - 关联的TR路由表ID。
- updated
Time String - 更新时间。
- vpn
Connection StringId - IPsec连接的ID。
- zone
Id String - IPsec连接所属可用区的ID。
Supporting Types
GetVpnAttachmentTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
