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::VPC::EIP
Using getEip
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 getEip(args: GetEipArgs, opts?: InvokeOptions): Promise<GetEipResult>
function getEipOutput(args: GetEipOutputArgs, opts?: InvokeOptions): Output<GetEipResult>def get_eip(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEipResult
def get_eip_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEipResult]func LookupEip(ctx *Context, args *LookupEipArgs, opts ...InvokeOption) (*LookupEipResult, error)
func LookupEipOutput(ctx *Context, args *LookupEipOutputArgs, opts ...InvokeOption) LookupEipResultOutput> Note: This function is named LookupEip in the Go SDK.
public static class GetEip
{
public static Task<GetEipResult> InvokeAsync(GetEipArgs args, InvokeOptions? opts = null)
public static Output<GetEipResult> Invoke(GetEipInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEipResult> getEip(GetEipArgs args, InvokeOptions options)
public static Output<GetEipResult> getEip(GetEipArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:vpc/getEip:getEip
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.
getEip Result
The following output properties are available:
- Allocation
Id string - 公网IP的ID。
- Bandwidth int
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- Bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- Billing
Type int - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- Business
Status string - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- Created
Time string - 公网IP的创建时间。
- Deleted
Time string - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- Description string
- 公网IP的描述信息。
- Direct
Mode bool - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- Eip
Address string - 公网IP地址。
- Expired
Time string - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 当前绑定的实例ID。
- Instance
Type string - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- Ip
Address string - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- Ip
Address stringPool Id - IP地址池的ID。
- Is
Blocked bool - 是否被封禁。true:是。false:否。
- Isp string
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- Lock
Reason string - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- Name string
- 公网IP的名称。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- Period int
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- Period
Unit int - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- Private
Ip stringAddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- Project
Name string - 公网IP所属项目的名称。
- Release
With boolInstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- Renew
Period intTimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- Renew
Type int - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- Security
Protection intInstance Id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- Security
Protection List<string>Types - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- Service
Managed bool - 是否由服务管理
- Status string
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
-
List<Byteplus.
Get Eip Tag> - 公网IP的标签信息
- Updated
Time string - 更新公网IP的时间。
- Allocation
Id string - 公网IP的ID。
- Bandwidth int
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- Bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- Billing
Type int - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- Business
Status string - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- Created
Time string - 公网IP的创建时间。
- Deleted
Time string - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- Description string
- 公网IP的描述信息。
- Direct
Mode bool - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- Eip
Address string - 公网IP地址。
- Expired
Time string - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 当前绑定的实例ID。
- Instance
Type string - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- Ip
Address string - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- Ip
Address stringPool Id - IP地址池的ID。
- Is
Blocked bool - 是否被封禁。true:是。false:否。
- Isp string
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- Lock
Reason string - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- Name string
- 公网IP的名称。
- Overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- Period int
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- Period
Unit int - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- Private
Ip stringAddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- Project
Name string - 公网IP所属项目的名称。
- Release
With boolInstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- Renew
Period intTimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- Renew
Type int - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- Security
Protection intInstance Id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- Security
Protection []stringTypes - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- Service
Managed bool - 是否由服务管理
- Status string
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
-
[]Get
Eip Tag - 公网IP的标签信息
- Updated
Time string - 更新公网IP的时间。
- allocation
Id String - 公网IP的ID。
- bandwidth Integer
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- bandwidth
Package StringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- billing
Type Integer - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- business
Status String - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- created
Time String - 公网IP的创建时间。
- deleted
Time String - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- description String
- 公网IP的描述信息。
- direct
Mode Boolean - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- eip
Address String - 公网IP地址。
- expired
Time String - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- id String
- Uniquely identifies the resource.
- instance
Id String - 当前绑定的实例ID。
- instance
Type String - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- ip
Address String - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- ip
Address StringPool Id - IP地址池的ID。
- is
Blocked Boolean - 是否被封禁。true:是。false:否。
- isp String
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- lock
Reason String - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- name String
- 公网IP的名称。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- period Integer
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- period
Unit Integer - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- private
Ip StringAddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- project
Name String - 公网IP所属项目的名称。
- release
With BooleanInstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- renew
Period IntegerTimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- renew
Type Integer - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- security
Protection IntegerInstance Id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- security
Protection List<String>Types - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- service
Managed Boolean - 是否由服务管理
- status String
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
-
List<Get
Eip Tag> - 公网IP的标签信息
- updated
Time String - 更新公网IP的时间。
- allocation
Id string - 公网IP的ID。
- bandwidth number
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- billing
Type number - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- business
Status string - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- created
Time string - 公网IP的创建时间。
- deleted
Time string - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- description string
- 公网IP的描述信息。
- direct
Mode boolean - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- eip
Address string - 公网IP地址。
- expired
Time string - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- id string
- Uniquely identifies the resource.
- instance
Id string - 当前绑定的实例ID。
- instance
Type string - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- ip
Address string - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- ip
Address stringPool Id - IP地址池的ID。
- is
Blocked boolean - 是否被封禁。true:是。false:否。
- isp string
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- lock
Reason string - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- name string
- 公网IP的名称。
- overdue
Time string - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- period number
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- period
Unit number - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- private
Ip stringAddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- project
Name string - 公网IP所属项目的名称。
- release
With booleanInstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- renew
Period numberTimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- renew
Type number - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- security
Protection numberInstance Id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- security
Protection string[]Types - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- service
Managed boolean - 是否由服务管理
- status string
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
-
Get
Eip Tag[] - 公网IP的标签信息
- updated
Time string - 更新公网IP的时间。
- allocation_
id str - 公网IP的ID。
- bandwidth int
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- bandwidth_
package_ strid - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- billing_
type int - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- business_
status str - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- created_
time str - 公网IP的创建时间。
- deleted_
time str - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- description str
- 公网IP的描述信息。
- direct_
mode bool - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- eip_
address str - 公网IP地址。
- expired_
time str - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- id str
- Uniquely identifies the resource.
- instance_
id str - 当前绑定的实例ID。
- instance_
type str - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- ip_
address str - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- ip_
address_ strpool_ id - IP地址池的ID。
- is_
blocked bool - 是否被封禁。true:是。false:否。
- isp str
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- lock_
reason str - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- name str
- 公网IP的名称。
- overdue_
time str - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- period int
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- period_
unit int - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- private_
ip_ straddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- project_
name str - 公网IP所属项目的名称。
- release_
with_ boolinstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- renew_
period_ inttimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- renew_
type int - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- security_
protection_ intinstance_ id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- security_
protection_ Sequence[str]types - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- service_
managed bool - 是否由服务管理
- status str
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
-
Sequence[Get
Eip Tag] - 公网IP的标签信息
- updated_
time str - 更新公网IP的时间。
- allocation
Id String - 公网IP的ID。
- bandwidth Number
- 公网IP的带宽上限,默认为“1”,单位:Mbps,BillingType传入1:取值范围1 ~ 500。BillingType传入2:取值范围1 ~ 500。BillingType传入3:取值范围1 ~ 200。
- bandwidth
Package StringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。公网IP加入到共享带宽包必须同时满足如下条件:二者的安全防护类型相同。二者的地域相同。公网IP的计费方式必须是按量计费。共享带宽包为IPv4类型。
- billing
Type Number - 公网IP的计费方式。取值如下:1:包年包月。2:按量计费-按带宽上限计费。3:按量计费-按实际流量计费。
- business
Status String - 公网IP是否被锁定。Normal: 正常。FinancialLocked: 被锁定。
- created
Time String - 公网IP的创建时间。
- deleted
Time String - 预期资源强制回收时间。包年包月公网IP,此参数有返回值。按量计费公网IP,仅欠费冻结时,此参数有返回值。
- description String
- 公网IP的描述信息。
- direct
Mode Boolean - 绑定公网IP时是否启用直通模式。请严格按照以下枚举值的大小写输入,不要传入其他取值。false(默认):不使用直通模式。true:使用直通模式。
- eip
Address String - 公网IP地址。
- expired
Time String - 公网IP的到期时间。包年包月,返回值为到期时间。按量计费,返回值为空。
- id String
- Uniquely identifies the resource.
- instance
Id String - 当前绑定的实例ID。
- instance
Type String - 当前绑定的实例类型。Nat:公网NAT网关。NetworkInterface: 弹性网卡。ClbInstance: 负载均衡。EcsInstance:云服务器。HaVip:高可用虚拟IP。
- ip
Address String - 申请申请指定的公网IP地址。仅支持填写使用后释放的IP地址,不填则表示自动分配。指定的公网IP地址
- ip
Address StringPool Id - IP地址池的ID。
- is
Blocked Boolean - 是否被封禁。true:是。false:否。
- isp String
- 线路类型。BGP:BGP(多线)。ChinaMobile:中国移动静态单线。ChinaTelecom:中国电信静态单线。ChinaUnicom:中国联通静态单线。SingleLineBGP:BGP单线。FusionBGP:融合BGP。ChinaMobileValue:中国移动惠选型静态单线。ChinaUnicomValue:中国联通惠选型静态单线。ChinaTelecom_Value:中国电信惠选型静态单线。
- lock
Reason String - 公网IP被锁定的原因。financial: 因欠费被锁定。unlock: 欠费关停后充值恢复过程中。空值 : 没有被锁定。
- name String
- 公网IP的名称。
- overdue
Time String - 资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值。
- period Number
- 代表购买包年包月公网IP的时长时,默认为“1”。当PeriodUnit传入1,Period取值范围:1~9、12、24、36、48、60。当PeriodUnit传入2,Period取值范围:1~5。代表临时升配的时长时:单位为小时,取值范围:1~720。
- period
Unit Number - 购买包年包月公网IP时长的单位。取值如下:1(默认值):月。2 :年。
- private
Ip StringAddress - 要绑定公网IP的实例的私网IP地址。只支持传入云服务ECS主网卡的私网IP地址和辅助网卡IP地址。若不填写:InstanceType传入EcsInstance,则绑定云服务器ECS主网卡的主私网IP地址。InstanceType传入NetworkInterface,则绑定辅助网卡主私网IP地址。
- project
Name String - 公网IP所属项目的名称。
- release
With BooleanInstance - 是否随云服务器实例删除。仅按量计费公网IP有效。开启后,当云服务器实例被系统自动回收(退订24小时后、到期回收、欠费回收)或被调用DeleteInstances接口时,公网IP随其一同释放。true:是。false:否。
- renew
Period NumberTimes - 自动续费的时长,取值范围1、2、3、6、12,单位:月。若RenewType传入2,则必须传入RenewPeriodTimes
- renew
Type Number - 包年包月公网IP续费的方式。取值如下:1(默认值):手动续费。2:自动续费。3:到期不续费。
- security
Protection NumberInstance Id - DDoS原生防护(企业版)ID。您可以调用 DescInstanceList 接口,查询DDoS原生防护(企业版)的ID。当SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
- security
Protection List<String>Types - 防护类型。AntiDDoS_Enhanced:增强防护类型的公网IP,可以加入到DDoS原生防护(企业版)实例。空值:默认防护类型的公网IP。
- service
Managed Boolean - 是否由服务管理
- status String
- 公网IP的状态。Attaching:绑定中。Detaching:解绑中。Attached:已绑定。Available:可用。Deleting:删除中。
- List<Property Map>
- 公网IP的标签信息
- updated
Time String - 更新公网IP的时间。
Supporting Types
GetEipTag
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
