volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine
volcenginecc.ecs.getInstance
Start a Neo task
Explain and create a volcenginecc.ecs.getInstance resource
Data Source schema for Volcengine::ECS::Instance
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>def get_instance(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput> Note: This function is named LookupInstance in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:ecs/getInstance:getInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getInstance Result
The following output properties are available:
- Affinity
Group intSize - Auto
Renew bool - Auto
Renew intPeriod - Cpu
Max doubleFrequency - Cpu
Memory Volcengine.Get Instance Cpu Memory - Created
At string - Credit
Specification string - Deletion
Protection bool - Deployment
Set intGroup Number - Deployment
Set stringId - Description string
- Eip
Address Volcengine.Get Instance Eip Address - Expired
At string - Hostname string
- Hpc
Cluster stringId - Id string
- Image
Volcengine.
Get Instance Image - Instance
Charge stringType - Instance
Id string - Instance
Name string - Instance
Type string - Key
Pair Volcengine.Get Instance Key Pair - Operation
System Volcengine.Get Instance Operation System - Password string
- Period int
- Period
Unit string - Placement
Volcengine.
Get Instance Placement - Primary
Network Volcengine.Interface Get Instance Primary Network Interface - Project
Name string - Secondary
Network List<Volcengine.Interfaces Get Instance Secondary Network Interface> - Spot
Price doubleLimit - Spot
Strategy string - Status string
- System
Volume Volcengine.Get Instance System Volume -
List<Volcengine.
Get Instance Tag> - Updated
At string - User
Data string - Vpc
Id string - Zone
Id string
- Affinity
Group intSize - Auto
Renew bool - Auto
Renew intPeriod - Cpu
Max float64Frequency - Cpu
Memory GetInstance Cpu Memory - Created
At string - Credit
Specification string - Deletion
Protection bool - Deployment
Set intGroup Number - Deployment
Set stringId - Description string
- Eip
Address GetInstance Eip Address - Expired
At string - Hostname string
- Hpc
Cluster stringId - Id string
- Image
Get
Instance Image - Instance
Charge stringType - Instance
Id string - Instance
Name string - Instance
Type string - Key
Pair GetInstance Key Pair - Operation
System GetInstance Operation System - Password string
- Period int
- Period
Unit string - Placement
Get
Instance Placement - Primary
Network GetInterface Instance Primary Network Interface - Project
Name string - Secondary
Network []GetInterfaces Instance Secondary Network Interface - Spot
Price float64Limit - Spot
Strategy string - Status string
- System
Volume GetInstance System Volume -
[]Get
Instance Tag - Updated
At string - User
Data string - Vpc
Id string - Zone
Id string
- affinity
Group IntegerSize - auto
Renew Boolean - auto
Renew IntegerPeriod - cpu
Max DoubleFrequency - cpu
Memory GetInstance Cpu Memory - created
At String - credit
Specification String - deletion
Protection Boolean - deployment
Set IntegerGroup Number - deployment
Set StringId - description String
- eip
Address GetInstance Eip Address - expired
At String - hostname String
- hpc
Cluster StringId - id String
- image
Get
Instance Image - instance
Charge StringType - instance
Id String - instance
Name String - instance
Type String - key
Pair GetInstance Key Pair - operation
System GetInstance Operation System - password String
- period Integer
- period
Unit String - placement
Get
Instance Placement - primary
Network GetInterface Instance Primary Network Interface - project
Name String - secondary
Network List<GetInterfaces Instance Secondary Network Interface> - spot
Price DoubleLimit - spot
Strategy String - status String
- system
Volume GetInstance System Volume -
List<Get
Instance Tag> - updated
At String - user
Data String - vpc
Id String - zone
Id String
- affinity
Group numberSize - auto
Renew boolean - auto
Renew numberPeriod - cpu
Max numberFrequency - cpu
Memory GetInstance Cpu Memory - created
At string - credit
Specification string - deletion
Protection boolean - deployment
Set numberGroup Number - deployment
Set stringId - description string
- eip
Address GetInstance Eip Address - expired
At string - hostname string
- hpc
Cluster stringId - id string
- image
Get
Instance Image - instance
Charge stringType - instance
Id string - instance
Name string - instance
Type string - key
Pair GetInstance Key Pair - operation
System GetInstance Operation System - password string
- period number
- period
Unit string - placement
Get
Instance Placement - primary
Network GetInterface Instance Primary Network Interface - project
Name string - secondary
Network GetInterfaces Instance Secondary Network Interface[] - spot
Price numberLimit - spot
Strategy string - status string
- system
Volume GetInstance System Volume -
Get
Instance Tag[] - updated
At string - user
Data string - vpc
Id string - zone
Id string
- affinity_
group_ intsize - auto_
renew bool - auto_
renew_ intperiod - cpu_
max_ floatfrequency - cpu_
memory GetInstance Cpu Memory - created_
at str - credit_
specification str - deletion_
protection bool - deployment_
set_ intgroup_ number - deployment_
set_ strid - description str
- eip_
address GetInstance Eip Address - expired_
at str - hostname str
- hpc_
cluster_ strid - id str
- image
Get
Instance Image - instance_
charge_ strtype - instance_
id str - instance_
name str - instance_
type str - key_
pair GetInstance Key Pair - operation_
system GetInstance Operation System - password str
- period int
- period_
unit str - placement
Get
Instance Placement - primary_
network_ Getinterface Instance Primary Network Interface - project_
name str - secondary_
network_ Sequence[Getinterfaces Instance Secondary Network Interface] - spot_
price_ floatlimit - spot_
strategy str - status str
- system_
volume GetInstance System Volume -
Sequence[Get
Instance Tag] - updated_
at str - user_
data str - vpc_
id str - zone_
id str
- affinity
Group NumberSize - auto
Renew Boolean - auto
Renew NumberPeriod - cpu
Max NumberFrequency - cpu
Memory Property Map - created
At String - credit
Specification String - deletion
Protection Boolean - deployment
Set NumberGroup Number - deployment
Set StringId - description String
- eip
Address Property Map - expired
At String - hostname String
- hpc
Cluster StringId - id String
- image Property Map
- instance
Charge StringType - instance
Id String - instance
Name String - instance
Type String - key
Pair Property Map - operation
System Property Map - password String
- period Number
- period
Unit String - placement Property Map
- primary
Network Property MapInterface - project
Name String - secondary
Network List<Property Map>Interfaces - spot
Price NumberLimit - spot
Strategy String - status String
- system
Volume Property Map - List<Property Map>
- updated
At String - user
Data String - vpc
Id String - zone
Id String
Supporting Types
GetInstanceCpuMemory
- Core
Count int - 实例的核数。
- Cpu
Number int - 实例的CPU数量。
- Memory
Size int - 实例的内存大小,单位MB。
- Threads
Per intCore - 实例的每核线程数。
- Core
Count int - 实例的核数。
- Cpu
Number int - 实例的CPU数量。
- Memory
Size int - 实例的内存大小,单位MB。
- Threads
Per intCore - 实例的每核线程数。
- core
Count Integer - 实例的核数。
- cpu
Number Integer - 实例的CPU数量。
- memory
Size Integer - 实例的内存大小,单位MB。
- threads
Per IntegerCore - 实例的每核线程数。
- core
Count number - 实例的核数。
- cpu
Number number - 实例的CPU数量。
- memory
Size number - 实例的内存大小,单位MB。
- threads
Per numberCore - 实例的每核线程数。
- core_
count int - 实例的核数。
- cpu_
number int - 实例的CPU数量。
- memory_
size int - 实例的内存大小,单位MB。
- threads_
per_ intcore - 实例的每核线程数。
- core
Count Number - 实例的核数。
- cpu
Number Number - 实例的CPU数量。
- memory
Size Number - 实例的内存大小,单位MB。
- threads
Per NumberCore - 实例的每核线程数。
GetInstanceEipAddress
- Allocation
Id string - 实例的分配ID。
- Bandwidth
Mbps int - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- Bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- Charge
Type string - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- Ip
Address string - 实例的IP地址。
- Isp string
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- Release
With boolInstance - 实例是否随实例释放。
- Allocation
Id string - 实例的分配ID。
- Bandwidth
Mbps int - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- Bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- Charge
Type string - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- Ip
Address string - 实例的IP地址。
- Isp string
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- Release
With boolInstance - 实例是否随实例释放。
- allocation
Id String - 实例的分配ID。
- bandwidth
Mbps Integer - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- bandwidth
Package StringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- charge
Type String - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- ip
Address String - 实例的IP地址。
- isp String
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- release
With BooleanInstance - 实例是否随实例释放。
- allocation
Id string - 实例的分配ID。
- bandwidth
Mbps number - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- bandwidth
Package stringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- charge
Type string - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- ip
Address string - 实例的IP地址。
- isp string
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- release
With booleanInstance - 实例是否随实例释放。
- allocation_
id str - 实例的分配ID。
- bandwidth_
mbps int - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- bandwidth_
package_ strid - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- charge_
type str - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- ip_
address str - 实例的IP地址。
- isp str
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- release_
with_ boolinstance - 实例是否随实例释放。
- allocation
Id String - 实例的分配ID。
- bandwidth
Mbps Number - 公网IP的带宽上限,默认值为1,单位:Mbps。
ChargeType传入PayByBandwidth:取值范围1~500。ChargeType传入PayByTraffic:取值范围1~200。
- bandwidth
Package StringId - 共享带宽包的ID,表示将公网IP加入到共享带宽包。
- 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
- 公网IP加入到共享带宽包必须同时满足如下条件:
- 二者的安全防护类型相同。
- 二者的地域相同。
- 公网IP的计费方式必须是按量计费。
- 共享带宽包为IPv4类型。
- charge
Type String - 公网IP的计费方式,取值:
- PayByBandwidth(默认):按量计费-按带宽上限计费。
- PayByTraffic:按量计费-按实际流量计费。
- PrePaid:包年包月。
:::tip
实例的计费类型
InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
- ip
Address String - 实例的IP地址。
- isp String
- 公网IP的线路类型,默认为BGP。取值:
- BGP:BGP(多线)。
- 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
- ChinaMobile:中国移动静态单线。
- ChinaTelecom:中国电信静态单线。
- ChinaUnicom:中国联通静态单线。
- 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
- 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
- release
With BooleanInstance - 实例是否随实例释放。
GetInstanceImage
- Image
Id string - 实例的镜像ID。
- Image
Release stringVersion - 实例的镜像发布版本。
- Keep
Image boolCredential - 实例是否保留镜像凭证。
- Security
Enhancement stringStrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
- Image
Id string - 实例的镜像ID。
- Image
Release stringVersion - 实例的镜像发布版本。
- Keep
Image boolCredential - 实例是否保留镜像凭证。
- Security
Enhancement stringStrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
- image
Id String - 实例的镜像ID。
- image
Release StringVersion - 实例的镜像发布版本。
- keep
Image BooleanCredential - 实例是否保留镜像凭证。
- security
Enhancement StringStrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
- image
Id string - 实例的镜像ID。
- image
Release stringVersion - 实例的镜像发布版本。
- keep
Image booleanCredential - 实例是否保留镜像凭证。
- security
Enhancement stringStrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
- image_
id str - 实例的镜像ID。
- image_
release_ strversion - 实例的镜像发布版本。
- keep_
image_ boolcredential - 实例是否保留镜像凭证。
- security_
enhancement_ strstrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
- image
Id String - 实例的镜像ID。
- image
Release StringVersion - 实例的镜像发布版本。
- keep
Image BooleanCredential - 实例是否保留镜像凭证。
- security
Enhancement StringStrategy - 实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
GetInstanceKeyPair
- Key
Pair stringId - 实例的公钥。
- Key
Pair stringName - 实例的密钥对名称。
- Key
Pair stringId - 实例的公钥。
- Key
Pair stringName - 实例的密钥对名称。
- key
Pair StringId - 实例的公钥。
- key
Pair StringName - 实例的密钥对名称。
- key
Pair stringId - 实例的公钥。
- key
Pair stringName - 实例的密钥对名称。
- key_
pair_ strid - 实例的公钥。
- key_
pair_ strname - 实例的密钥对名称。
- key
Pair StringId - 实例的公钥。
- key
Pair StringName - 实例的密钥对名称。
GetInstanceOperationSystem
GetInstancePlacement
- Affinity string
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- Dedicated
Host stringCluster Id - 实例的专用主机集群ID。
- Dedicated
Host stringId - 实例的专用主机ID。
- Tenancy string
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
- Affinity string
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- Dedicated
Host stringCluster Id - 实例的专用主机集群ID。
- Dedicated
Host stringId - 实例的专用主机ID。
- Tenancy string
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
- affinity String
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- dedicated
Host StringCluster Id - 实例的专用主机集群ID。
- dedicated
Host StringId - 实例的专用主机ID。
- tenancy String
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
- affinity string
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- dedicated
Host stringCluster Id - 实例的专用主机集群ID。
- dedicated
Host stringId - 实例的专用主机ID。
- tenancy string
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
- affinity str
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- dedicated_
host_ strcluster_ id - 实例的专用主机集群ID。
- dedicated_
host_ strid - 实例的专用主机ID。
- tenancy str
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
- affinity String
- 针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
- dedicated
Host StringCluster Id - 实例的专用主机集群ID。
- dedicated
Host StringId - 实例的专用主机ID。
- tenancy String
- 是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
GetInstancePrimaryNetworkInterface
- Ipv6Address
Count int - 实例的IPv6地址数量。
- Ipv6Addresses List<string>
- 实例的IPv6地址。
- Mac
Address string - 实例的MAC地址。
- Network
Interface stringId - 实例的网络接口ID。
- Primary
Ip stringAddress - 实例的主IP地址。
- Private
Ip List<string>Addresses - 实例的私有IP地址。
- Security
Group List<string>Ids - 实例的安全组ID。
- Subnet
Id string - 实例的子网ID。
- Vpc
Id string - 实例的VPC ID。
- Ipv6Address
Count int - 实例的IPv6地址数量。
- Ipv6Addresses []string
- 实例的IPv6地址。
- Mac
Address string - 实例的MAC地址。
- Network
Interface stringId - 实例的网络接口ID。
- Primary
Ip stringAddress - 实例的主IP地址。
- Private
Ip []stringAddresses - 实例的私有IP地址。
- Security
Group []stringIds - 实例的安全组ID。
- Subnet
Id string - 实例的子网ID。
- Vpc
Id string - 实例的VPC ID。
- ipv6Address
Count Integer - 实例的IPv6地址数量。
- ipv6Addresses List<String>
- 实例的IPv6地址。
- mac
Address String - 实例的MAC地址。
- network
Interface StringId - 实例的网络接口ID。
- primary
Ip StringAddress - 实例的主IP地址。
- private
Ip List<String>Addresses - 实例的私有IP地址。
- security
Group List<String>Ids - 实例的安全组ID。
- subnet
Id String - 实例的子网ID。
- vpc
Id String - 实例的VPC ID。
- ipv6Address
Count number - 实例的IPv6地址数量。
- ipv6Addresses string[]
- 实例的IPv6地址。
- mac
Address string - 实例的MAC地址。
- network
Interface stringId - 实例的网络接口ID。
- primary
Ip stringAddress - 实例的主IP地址。
- private
Ip string[]Addresses - 实例的私有IP地址。
- security
Group string[]Ids - 实例的安全组ID。
- subnet
Id string - 实例的子网ID。
- vpc
Id string - 实例的VPC ID。
- ipv6_
address_ intcount - 实例的IPv6地址数量。
- ipv6_
addresses Sequence[str] - 实例的IPv6地址。
- mac_
address str - 实例的MAC地址。
- network_
interface_ strid - 实例的网络接口ID。
- primary_
ip_ straddress - 实例的主IP地址。
- private_
ip_ Sequence[str]addresses - 实例的私有IP地址。
- security_
group_ Sequence[str]ids - 实例的安全组ID。
- subnet_
id str - 实例的子网ID。
- vpc_
id str - 实例的VPC ID。
- ipv6Address
Count Number - 实例的IPv6地址数量。
- ipv6Addresses List<String>
- 实例的IPv6地址。
- mac
Address String - 实例的MAC地址。
- network
Interface StringId - 实例的网络接口ID。
- primary
Ip StringAddress - 实例的主IP地址。
- private
Ip List<String>Addresses - 实例的私有IP地址。
- security
Group List<String>Ids - 实例的安全组ID。
- subnet
Id String - 实例的子网ID。
- vpc
Id String - 实例的VPC ID。
GetInstanceSecondaryNetworkInterface
- Ipv6Address
Count int - 实例的IPv6地址数量。
- Ipv6Addresses List<string>
- 实例的IPv6地址。
- Mac
Address string - 实例的MAC地址。
- Network
Interface stringId - 实例的网络接口ID。
- Primary
Ip stringAddress - 实例的主IP地址。
- Private
Ip List<string>Addresses - 实例的私有IP地址。
- Security
Group List<string>Ids - 实例的安全组ID。
- Subnet
Id string - 实例的子网ID。
- Vpc
Id string - 实例的VPC ID。
- Ipv6Address
Count int - 实例的IPv6地址数量。
- Ipv6Addresses []string
- 实例的IPv6地址。
- Mac
Address string - 实例的MAC地址。
- Network
Interface stringId - 实例的网络接口ID。
- Primary
Ip stringAddress - 实例的主IP地址。
- Private
Ip []stringAddresses - 实例的私有IP地址。
- Security
Group []stringIds - 实例的安全组ID。
- Subnet
Id string - 实例的子网ID。
- Vpc
Id string - 实例的VPC ID。
- ipv6Address
Count Integer - 实例的IPv6地址数量。
- ipv6Addresses List<String>
- 实例的IPv6地址。
- mac
Address String - 实例的MAC地址。
- network
Interface StringId - 实例的网络接口ID。
- primary
Ip StringAddress - 实例的主IP地址。
- private
Ip List<String>Addresses - 实例的私有IP地址。
- security
Group List<String>Ids - 实例的安全组ID。
- subnet
Id String - 实例的子网ID。
- vpc
Id String - 实例的VPC ID。
- ipv6Address
Count number - 实例的IPv6地址数量。
- ipv6Addresses string[]
- 实例的IPv6地址。
- mac
Address string - 实例的MAC地址。
- network
Interface stringId - 实例的网络接口ID。
- primary
Ip stringAddress - 实例的主IP地址。
- private
Ip string[]Addresses - 实例的私有IP地址。
- security
Group string[]Ids - 实例的安全组ID。
- subnet
Id string - 实例的子网ID。
- vpc
Id string - 实例的VPC ID。
- ipv6_
address_ intcount - 实例的IPv6地址数量。
- ipv6_
addresses Sequence[str] - 实例的IPv6地址。
- mac_
address str - 实例的MAC地址。
- network_
interface_ strid - 实例的网络接口ID。
- primary_
ip_ straddress - 实例的主IP地址。
- private_
ip_ Sequence[str]addresses - 实例的私有IP地址。
- security_
group_ Sequence[str]ids - 实例的安全组ID。
- subnet_
id str - 实例的子网ID。
- vpc_
id str - 实例的VPC ID。
- ipv6Address
Count Number - 实例的IPv6地址数量。
- ipv6Addresses List<String>
- 实例的IPv6地址。
- mac
Address String - 实例的MAC地址。
- network
Interface StringId - 实例的网络接口ID。
- primary
Ip StringAddress - 实例的主IP地址。
- private
Ip List<String>Addresses - 实例的私有IP地址。
- security
Group List<String>Ids - 实例的安全组ID。
- subnet
Id String - 实例的子网ID。
- vpc
Id String - 实例的VPC ID。
GetInstanceSystemVolume
- Delete
With boolInstance - 实例是否随实例删除。
- Extra
Performance intIops - 实例的额外性能IOPS。
- Extra
Performance intThroughput Mb - 实例的额外性能吞吐量,单位MB。
- Extra
Performance stringType Id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- Size int
- 实例的大小,单位GiB。
- Snapshot
Id string - 实例的快照ID。
- Volume
Id string - 实例的卷ID。
- Volume
Type string - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
- Delete
With boolInstance - 实例是否随实例删除。
- Extra
Performance intIops - 实例的额外性能IOPS。
- Extra
Performance intThroughput Mb - 实例的额外性能吞吐量,单位MB。
- Extra
Performance stringType Id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- Size int
- 实例的大小,单位GiB。
- Snapshot
Id string - 实例的快照ID。
- Volume
Id string - 实例的卷ID。
- Volume
Type string - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
- delete
With BooleanInstance - 实例是否随实例删除。
- extra
Performance IntegerIops - 实例的额外性能IOPS。
- extra
Performance IntegerThroughput Mb - 实例的额外性能吞吐量,单位MB。
- extra
Performance StringType Id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- size Integer
- 实例的大小,单位GiB。
- snapshot
Id String - 实例的快照ID。
- volume
Id String - 实例的卷ID。
- volume
Type String - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
- delete
With booleanInstance - 实例是否随实例删除。
- extra
Performance numberIops - 实例的额外性能IOPS。
- extra
Performance numberThroughput Mb - 实例的额外性能吞吐量,单位MB。
- extra
Performance stringType Id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- size number
- 实例的大小,单位GiB。
- snapshot
Id string - 实例的快照ID。
- volume
Id string - 实例的卷ID。
- volume
Type string - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
- delete_
with_ boolinstance - 实例是否随实例删除。
- extra_
performance_ intiops - 实例的额外性能IOPS。
- extra_
performance_ intthroughput_ mb - 实例的额外性能吞吐量,单位MB。
- extra_
performance_ strtype_ id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- size int
- 实例的大小,单位GiB。
- snapshot_
id str - 实例的快照ID。
- volume_
id str - 实例的卷ID。
- volume_
type str - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
- delete
With BooleanInstance - 实例是否随实例删除。
- extra
Performance NumberIops - 实例的额外性能IOPS。
- extra
Performance NumberThroughput Mb - 实例的额外性能吞吐量,单位MB。
- extra
Performance StringType Id - 额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
- size Number
- 实例的大小,单位GiB。
- snapshot
Id String - 实例的快照ID。
- volume
Id String - 实例的卷ID。
- volume
Type String - 云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
GetInstanceTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
