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::NatGateway::NatIp
Using getNatIp
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 getNatIp(args: GetNatIpArgs, opts?: InvokeOptions): Promise<GetNatIpResult>
function getNatIpOutput(args: GetNatIpOutputArgs, opts?: InvokeOptions): Output<GetNatIpResult>def get_nat_ip(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatIpResult
def get_nat_ip_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatIpResult]func LookupNatIp(ctx *Context, args *LookupNatIpArgs, opts ...InvokeOption) (*LookupNatIpResult, error)
func LookupNatIpOutput(ctx *Context, args *LookupNatIpOutputArgs, opts ...InvokeOption) LookupNatIpResultOutput> Note: This function is named LookupNatIp in the Go SDK.
public static class GetNatIp
{
public static Task<GetNatIpResult> InvokeAsync(GetNatIpArgs args, InvokeOptions? opts = null)
public static Output<GetNatIpResult> Invoke(GetNatIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNatIpResult> getNatIp(GetNatIpArgs args, InvokeOptions options)
public static Output<GetNatIpResult> getNatIp(GetNatIpArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:natgateway/getNatIp:getNatIp
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.
getNatIp Result
The following output properties are available:
- Id string
- Uniquely identifies the resource.
- Is
Default bool - 是否为默认中转IP。true:是。false:否。
- Nat
Gateway stringId - 私网NAT网关ID。
- Nat
Ip string - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- Nat
Ip stringDescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Nat
Ip stringId - 中转IP的ID。
- Nat
Ip stringName - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- Status string
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- Using
Status string - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
- Id string
- Uniquely identifies the resource.
- Is
Default bool - 是否为默认中转IP。true:是。false:否。
- Nat
Gateway stringId - 私网NAT网关ID。
- Nat
Ip string - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- Nat
Ip stringDescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Nat
Ip stringId - 中转IP的ID。
- Nat
Ip stringName - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- Status string
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- Using
Status string - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
- id String
- Uniquely identifies the resource.
- is
Default Boolean - 是否为默认中转IP。true:是。false:否。
- nat
Gateway StringId - 私网NAT网关ID。
- nat
Ip String - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- nat
Ip StringDescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- nat
Ip StringId - 中转IP的ID。
- nat
Ip StringName - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- status String
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- using
Status String - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
- id string
- Uniquely identifies the resource.
- is
Default boolean - 是否为默认中转IP。true:是。false:否。
- nat
Gateway stringId - 私网NAT网关ID。
- nat
Ip string - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- nat
Ip stringDescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- nat
Ip stringId - 中转IP的ID。
- nat
Ip stringName - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- status string
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- using
Status string - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
- id str
- Uniquely identifies the resource.
- is_
default bool - 是否为默认中转IP。true:是。false:否。
- nat_
gateway_ strid - 私网NAT网关ID。
- nat_
ip str - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- nat_
ip_ strdescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- nat_
ip_ strid - 中转IP的ID。
- nat_
ip_ strname - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- status str
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- using_
status str - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
- id String
- Uniquely identifies the resource.
- is
Default Boolean - 是否为默认中转IP。true:是。false:否。
- nat
Gateway StringId - 私网NAT网关ID。
- nat
Ip String - 中转IP的地址。若不填,则系统自动从私网NAT网关所在子网随机分配一个空闲的IP地址。
- nat
Ip StringDescription - 中转IP的描述。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- nat
Ip StringId - 中转IP的ID。
- nat
Ip StringName - 中转IP的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。不填默认为中转IP的ID。
- status String
- 中转IP的状态。Creating:创建中。Available:可用。Deleting:删除中。Deleted:已删除。
- using
Status String - 中转IP的使用状态。Idle:未使用。UsedBySnat:被SNAT规则使用。UsedByDnat:被DNAT规则使用。UsedByNat:被SNAT/DNAT规则同时使用。
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
