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::VPN::CustomerGateway
Using getCustomerGateway
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 getCustomerGateway(args: GetCustomerGatewayArgs, opts?: InvokeOptions): Promise<GetCustomerGatewayResult>
function getCustomerGatewayOutput(args: GetCustomerGatewayOutputArgs, opts?: InvokeOptions): Output<GetCustomerGatewayResult>def get_customer_gateway(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomerGatewayResult
def get_customer_gateway_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomerGatewayResult]func LookupCustomerGateway(ctx *Context, args *LookupCustomerGatewayArgs, opts ...InvokeOption) (*LookupCustomerGatewayResult, error)
func LookupCustomerGatewayOutput(ctx *Context, args *LookupCustomerGatewayOutputArgs, opts ...InvokeOption) LookupCustomerGatewayResultOutput> Note: This function is named LookupCustomerGateway in the Go SDK.
public static class GetCustomerGateway
{
public static Task<GetCustomerGatewayResult> InvokeAsync(GetCustomerGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetCustomerGatewayResult> Invoke(GetCustomerGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
public static Output<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:vpn/getCustomerGateway:getCustomerGateway
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.
getCustomerGateway Result
The following output properties are available:
- Account
Id string - 用户网关所属账户的ID。
- Asn int
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- Connection
Count int - 用户网关关联的IPsec连接的数量。
- Created
Time string - 创建用户网关的时间。
- Customer
Gateway stringId - 网关ID。
- Customer
Gateway stringName - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- Description string
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- Id string
- Uniquely identifies the resource.
- Ip
Address string - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- Ip
Version string - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- Project
Name string - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- Status string
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
-
List<Byteplus.
Get Customer Gateway Tag> - 标签列表。
- Updated
Time string - 更新用户网关的时间。
- Account
Id string - 用户网关所属账户的ID。
- Asn int
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- Connection
Count int - 用户网关关联的IPsec连接的数量。
- Created
Time string - 创建用户网关的时间。
- Customer
Gateway stringId - 网关ID。
- Customer
Gateway stringName - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- Description string
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- Id string
- Uniquely identifies the resource.
- Ip
Address string - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- Ip
Version string - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- Project
Name string - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- Status string
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
-
[]Get
Customer Gateway Tag - 标签列表。
- Updated
Time string - 更新用户网关的时间。
- account
Id String - 用户网关所属账户的ID。
- asn Integer
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- connection
Count Integer - 用户网关关联的IPsec连接的数量。
- created
Time String - 创建用户网关的时间。
- customer
Gateway StringId - 网关ID。
- customer
Gateway StringName - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- description String
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- id String
- Uniquely identifies the resource.
- ip
Address String - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- ip
Version String - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- project
Name String - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- status String
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
-
List<Get
Customer Gateway Tag> - 标签列表。
- updated
Time String - 更新用户网关的时间。
- account
Id string - 用户网关所属账户的ID。
- asn number
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- connection
Count number - 用户网关关联的IPsec连接的数量。
- created
Time string - 创建用户网关的时间。
- customer
Gateway stringId - 网关ID。
- customer
Gateway stringName - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- description string
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- id string
- Uniquely identifies the resource.
- ip
Address string - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- ip
Version string - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- project
Name string - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- status string
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
-
Get
Customer Gateway Tag[] - 标签列表。
- updated
Time string - 更新用户网关的时间。
- account_
id str - 用户网关所属账户的ID。
- asn int
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- connection_
count int - 用户网关关联的IPsec连接的数量。
- created_
time str - 创建用户网关的时间。
- customer_
gateway_ strid - 网关ID。
- customer_
gateway_ strname - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- description str
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- id str
- Uniquely identifies the resource.
- ip_
address str - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- ip_
version str - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- project_
name str - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- status str
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
-
Sequence[Get
Customer Gateway Tag] - 标签列表。
- updated_
time str - 更新用户网关的时间。
- account
Id String - 用户网关所属账户的ID。
- asn Number
- 用户网关的ASN(Autonomous System Number)。如需使用BGP功能,则此参数必须填写。ASN有效范围1~4294967295(137718 、150436、65533除外)。
- connection
Count Number - 用户网关关联的IPsec连接的数量。
- created
Time String - 创建用户网关的时间。
- customer
Gateway StringId - 网关ID。
- customer
Gateway StringName - 用户网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短划线(-)。长度限制为1 ~ 128个字符。不填默认为用户网关的ID。
- description String
- 用户网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填默认为空字符串。
- id String
- Uniquely identifies the resource.
- ip
Address String - 对端本地数据中心网关的静态公网IP地址或其他VPC的VPN网关出口IP地址。若对端为非固定静态公网IP,此处需传入0.0.0.0。
- ip
Version String - VPN网关的IP地址协议类型,取值如下:ipv4 (默认值)ipv6
- project
Name String - 用户网关所属的项目。不填默认为default,即创建的资源属于default项目。
- status String
- 用户网关的状态。Creating: 创建中。Deleting: 删除中。Pending:配置中。Available:可用。
- List<Property Map>
- 标签列表。
- updated
Time String - 更新用户网关的时间。
Supporting Types
GetCustomerGatewayTag
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
