1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. ecs
  5. getInstance
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
volcenginecc logo
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

    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 dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getInstance Result

    The following output properties are available:

    AffinityGroupSize int
    AutoRenew bool
    AutoRenewPeriod int
    CpuMaxFrequency double
    CpuMemory Volcengine.GetInstanceCpuMemory
    CreatedAt string
    CreditSpecification string
    DeletionProtection bool
    DeploymentSetGroupNumber int
    DeploymentSetId string
    Description string
    EipAddress Volcengine.GetInstanceEipAddress
    ExpiredAt string
    Hostname string
    HpcClusterId string
    Id string
    Image Volcengine.GetInstanceImage
    InstanceChargeType string
    InstanceId string
    InstanceName string
    InstanceType string
    KeyPair Volcengine.GetInstanceKeyPair
    OperationSystem Volcengine.GetInstanceOperationSystem
    Password string
    Period int
    PeriodUnit string
    Placement Volcengine.GetInstancePlacement
    PrimaryNetworkInterface Volcengine.GetInstancePrimaryNetworkInterface
    ProjectName string
    SecondaryNetworkInterfaces List<Volcengine.GetInstanceSecondaryNetworkInterface>
    SpotPriceLimit double
    SpotStrategy string
    Status string
    SystemVolume Volcengine.GetInstanceSystemVolume
    Tags List<Volcengine.GetInstanceTag>
    UpdatedAt string
    UserData string
    VpcId string
    ZoneId string
    AffinityGroupSize int
    AutoRenew bool
    AutoRenewPeriod int
    CpuMaxFrequency float64
    CpuMemory GetInstanceCpuMemory
    CreatedAt string
    CreditSpecification string
    DeletionProtection bool
    DeploymentSetGroupNumber int
    DeploymentSetId string
    Description string
    EipAddress GetInstanceEipAddress
    ExpiredAt string
    Hostname string
    HpcClusterId string
    Id string
    Image GetInstanceImage
    InstanceChargeType string
    InstanceId string
    InstanceName string
    InstanceType string
    KeyPair GetInstanceKeyPair
    OperationSystem GetInstanceOperationSystem
    Password string
    Period int
    PeriodUnit string
    Placement GetInstancePlacement
    PrimaryNetworkInterface GetInstancePrimaryNetworkInterface
    ProjectName string
    SecondaryNetworkInterfaces []GetInstanceSecondaryNetworkInterface
    SpotPriceLimit float64
    SpotStrategy string
    Status string
    SystemVolume GetInstanceSystemVolume
    Tags []GetInstanceTag
    UpdatedAt string
    UserData string
    VpcId string
    ZoneId string
    affinityGroupSize Integer
    autoRenew Boolean
    autoRenewPeriod Integer
    cpuMaxFrequency Double
    cpuMemory GetInstanceCpuMemory
    createdAt String
    creditSpecification String
    deletionProtection Boolean
    deploymentSetGroupNumber Integer
    deploymentSetId String
    description String
    eipAddress GetInstanceEipAddress
    expiredAt String
    hostname String
    hpcClusterId String
    id String
    image GetInstanceImage
    instanceChargeType String
    instanceId String
    instanceName String
    instanceType String
    keyPair GetInstanceKeyPair
    operationSystem GetInstanceOperationSystem
    password String
    period Integer
    periodUnit String
    placement GetInstancePlacement
    primaryNetworkInterface GetInstancePrimaryNetworkInterface
    projectName String
    secondaryNetworkInterfaces List<GetInstanceSecondaryNetworkInterface>
    spotPriceLimit Double
    spotStrategy String
    status String
    systemVolume GetInstanceSystemVolume
    tags List<GetInstanceTag>
    updatedAt String
    userData String
    vpcId String
    zoneId String
    affinityGroupSize number
    autoRenew boolean
    autoRenewPeriod number
    cpuMaxFrequency number
    cpuMemory GetInstanceCpuMemory
    createdAt string
    creditSpecification string
    deletionProtection boolean
    deploymentSetGroupNumber number
    deploymentSetId string
    description string
    eipAddress GetInstanceEipAddress
    expiredAt string
    hostname string
    hpcClusterId string
    id string
    image GetInstanceImage
    instanceChargeType string
    instanceId string
    instanceName string
    instanceType string
    keyPair GetInstanceKeyPair
    operationSystem GetInstanceOperationSystem
    password string
    period number
    periodUnit string
    placement GetInstancePlacement
    primaryNetworkInterface GetInstancePrimaryNetworkInterface
    projectName string
    secondaryNetworkInterfaces GetInstanceSecondaryNetworkInterface[]
    spotPriceLimit number
    spotStrategy string
    status string
    systemVolume GetInstanceSystemVolume
    tags GetInstanceTag[]
    updatedAt string
    userData string
    vpcId string
    zoneId string
    affinity_group_size int
    auto_renew bool
    auto_renew_period int
    cpu_max_frequency float
    cpu_memory GetInstanceCpuMemory
    created_at str
    credit_specification str
    deletion_protection bool
    deployment_set_group_number int
    deployment_set_id str
    description str
    eip_address GetInstanceEipAddress
    expired_at str
    hostname str
    hpc_cluster_id str
    id str
    image GetInstanceImage
    instance_charge_type str
    instance_id str
    instance_name str
    instance_type str
    key_pair GetInstanceKeyPair
    operation_system GetInstanceOperationSystem
    password str
    period int
    period_unit str
    placement GetInstancePlacement
    primary_network_interface GetInstancePrimaryNetworkInterface
    project_name str
    secondary_network_interfaces Sequence[GetInstanceSecondaryNetworkInterface]
    spot_price_limit float
    spot_strategy str
    status str
    system_volume GetInstanceSystemVolume
    tags Sequence[GetInstanceTag]
    updated_at str
    user_data str
    vpc_id str
    zone_id str

    Supporting Types

    GetInstanceCpuMemory

    CoreCount int
    实例的核数。
    CpuNumber int
    实例的CPU数量。
    MemorySize int
    实例的内存大小,单位MB。
    ThreadsPerCore int
    实例的每核线程数。
    CoreCount int
    实例的核数。
    CpuNumber int
    实例的CPU数量。
    MemorySize int
    实例的内存大小,单位MB。
    ThreadsPerCore int
    实例的每核线程数。
    coreCount Integer
    实例的核数。
    cpuNumber Integer
    实例的CPU数量。
    memorySize Integer
    实例的内存大小,单位MB。
    threadsPerCore Integer
    实例的每核线程数。
    coreCount number
    实例的核数。
    cpuNumber number
    实例的CPU数量。
    memorySize number
    实例的内存大小,单位MB。
    threadsPerCore number
    实例的每核线程数。
    core_count int
    实例的核数。
    cpu_number int
    实例的CPU数量。
    memory_size int
    实例的内存大小,单位MB。
    threads_per_core int
    实例的每核线程数。
    coreCount Number
    实例的核数。
    cpuNumber Number
    实例的CPU数量。
    memorySize Number
    实例的内存大小,单位MB。
    threadsPerCore Number
    实例的每核线程数。

    GetInstanceEipAddress

    AllocationId string
    实例的分配ID。
    BandwidthMbps int
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    BandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。

    • 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
    • 公网IP加入到共享带宽包必须同时满足如下条件:
      • 二者的安全防护类型相同。
      • 二者的地域相同。
      • 公网IP的计费方式必须是按量计费。
      • 共享带宽包为IPv4类型。
    ChargeType string
    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。
    • PayByTraffic:按量计费-按实际流量计费。
    • PrePaid:包年包月。 :::tip 实例的计费类型InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
    IpAddress string
    实例的IP地址。
    Isp string
    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。
    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
      • ChinaMobile:中国移动静态单线。
      • ChinaTelecom:中国电信静态单线。
      • ChinaUnicom:中国联通静态单线。
    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
    ReleaseWithInstance bool
    实例是否随实例释放。
    AllocationId string
    实例的分配ID。
    BandwidthMbps int
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    BandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。

    • 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
    • 公网IP加入到共享带宽包必须同时满足如下条件:
      • 二者的安全防护类型相同。
      • 二者的地域相同。
      • 公网IP的计费方式必须是按量计费。
      • 共享带宽包为IPv4类型。
    ChargeType string
    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。
    • PayByTraffic:按量计费-按实际流量计费。
    • PrePaid:包年包月。 :::tip 实例的计费类型InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
    IpAddress string
    实例的IP地址。
    Isp string
    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。
    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
      • ChinaMobile:中国移动静态单线。
      • ChinaTelecom:中国电信静态单线。
      • ChinaUnicom:中国联通静态单线。
    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
    ReleaseWithInstance bool
    实例是否随实例释放。
    allocationId String
    实例的分配ID。
    bandwidthMbps Integer
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    bandwidthPackageId String
    共享带宽包的ID,表示将公网IP加入到共享带宽包。

    • 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
    • 公网IP加入到共享带宽包必须同时满足如下条件:
      • 二者的安全防护类型相同。
      • 二者的地域相同。
      • 公网IP的计费方式必须是按量计费。
      • 共享带宽包为IPv4类型。
    chargeType String
    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。
    • PayByTraffic:按量计费-按实际流量计费。
    • PrePaid:包年包月。 :::tip 实例的计费类型InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
    ipAddress String
    实例的IP地址。
    isp String
    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。
    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
      • ChinaMobile:中国移动静态单线。
      • ChinaTelecom:中国电信静态单线。
      • ChinaUnicom:中国联通静态单线。
    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
    releaseWithInstance Boolean
    实例是否随实例释放。
    allocationId string
    实例的分配ID。
    bandwidthMbps number
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    bandwidthPackageId string
    共享带宽包的ID,表示将公网IP加入到共享带宽包。

    • 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
    • 公网IP加入到共享带宽包必须同时满足如下条件:
      • 二者的安全防护类型相同。
      • 二者的地域相同。
      • 公网IP的计费方式必须是按量计费。
      • 共享带宽包为IPv4类型。
    chargeType string
    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。
    • PayByTraffic:按量计费-按实际流量计费。
    • PrePaid:包年包月。 :::tip 实例的计费类型InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
    ipAddress string
    实例的IP地址。
    isp string
    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。
    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
      • ChinaMobile:中国移动静态单线。
      • ChinaTelecom:中国电信静态单线。
      • ChinaUnicom:中国联通静态单线。
    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
    releaseWithInstance boolean
    实例是否随实例释放。
    allocation_id str
    实例的分配ID。
    bandwidth_mbps int
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    bandwidth_package_id str
    共享带宽包的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_instance bool
    实例是否随实例释放。
    allocationId String
    实例的分配ID。
    bandwidthMbps Number
    公网IP的带宽上限,默认值为1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1~500。
    • ChargeType传入PayByTraffic:取值范围1~200。
    bandwidthPackageId String
    共享带宽包的ID,表示将公网IP加入到共享带宽包。

    • 您可以调用DescribeBandwidthPackages接口,查询共享带宽包的ID。
    • 公网IP加入到共享带宽包必须同时满足如下条件:
      • 二者的安全防护类型相同。
      • 二者的地域相同。
      • 公网IP的计费方式必须是按量计费。
      • 共享带宽包为IPv4类型。
    chargeType String
    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。
    • PayByTraffic:按量计费-按实际流量计费。
    • PrePaid:包年包月。 :::tip 实例的计费类型InstanceChargeType取值为PostPaid时,该参数取值不能为PrePaid。 :::
    ipAddress String
    实例的IP地址。
    isp String
    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。
    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:
      • ChinaMobile:中国移动静态单线。
      • ChinaTelecom:中国电信静态单线。
      • ChinaUnicom:中国联通静态单线。
    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。
    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。
    releaseWithInstance Boolean
    实例是否随实例释放。

    GetInstanceImage

    ImageId string
    实例的镜像ID。
    ImageReleaseVersion string
    实例的镜像发布版本。
    KeepImageCredential bool
    实例是否保留镜像凭证。
    SecurityEnhancementStrategy string
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    ImageId string
    实例的镜像ID。
    ImageReleaseVersion string
    实例的镜像发布版本。
    KeepImageCredential bool
    实例是否保留镜像凭证。
    SecurityEnhancementStrategy string
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    imageId String
    实例的镜像ID。
    imageReleaseVersion String
    实例的镜像发布版本。
    keepImageCredential Boolean
    实例是否保留镜像凭证。
    securityEnhancementStrategy String
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    imageId string
    实例的镜像ID。
    imageReleaseVersion string
    实例的镜像发布版本。
    keepImageCredential boolean
    实例是否保留镜像凭证。
    securityEnhancementStrategy string
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    image_id str
    实例的镜像ID。
    image_release_version str
    实例的镜像发布版本。
    keep_image_credential bool
    实例是否保留镜像凭证。
    security_enhancement_strategy str
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。
    imageId String
    实例的镜像ID。
    imageReleaseVersion String
    实例的镜像发布版本。
    keepImageCredential Boolean
    实例是否保留镜像凭证。
    securityEnhancementStrategy String
    实例的安全增强策略。Active:开启安全加固,仅对公共镜像生效。InActive:关闭安全加固,对所有镜像生效。

    GetInstanceKeyPair

    KeyPairId string
    实例的公钥。
    KeyPairName string
    实例的密钥对名称。
    KeyPairId string
    实例的公钥。
    KeyPairName string
    实例的密钥对名称。
    keyPairId String
    实例的公钥。
    keyPairName String
    实例的密钥对名称。
    keyPairId string
    实例的公钥。
    keyPairName string
    实例的密钥对名称。
    key_pair_id str
    实例的公钥。
    key_pair_name str
    实例的密钥对名称。
    keyPairId String
    实例的公钥。
    keyPairName String
    实例的密钥对名称。

    GetInstanceOperationSystem

    Name string
    实例的操作系统名称。
    Type string
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。
    Name string
    实例的操作系统名称。
    Type string
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。
    name String
    实例的操作系统名称。
    type String
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。
    name string
    实例的操作系统名称。
    type string
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。
    name str
    实例的操作系统名称。
    type str
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。
    name String
    实例的操作系统名称。
    type String
    实例的操作系统类型。Linux:Linux系统。Windows:Windows系统。

    GetInstancePlacement

    Affinity string
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    DedicatedHostClusterId string
    实例的专用主机集群ID。
    DedicatedHostId string
    实例的专用主机ID。
    Tenancy string
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
    Affinity string
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    DedicatedHostClusterId string
    实例的专用主机集群ID。
    DedicatedHostId string
    实例的专用主机ID。
    Tenancy string
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
    affinity String
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    dedicatedHostClusterId String
    实例的专用主机集群ID。
    dedicatedHostId String
    实例的专用主机ID。
    tenancy String
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
    affinity string
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    dedicatedHostClusterId string
    实例的专用主机集群ID。
    dedicatedHostId string
    实例的专用主机ID。
    tenancy string
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
    affinity str
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    dedicated_host_cluster_id str
    实例的专用主机集群ID。
    dedicated_host_id str
    实例的专用主机ID。
    tenancy str
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例
    affinity String
    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于查看ECS实例重新启动时是否仍固定部署在原宿主机上。取值:Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
    dedicatedHostClusterId String
    实例的专用主机集群ID。
    dedicatedHostId String
    实例的专用主机ID。
    tenancy String
    是否在专有宿主机上创建实例,取值:Default(默认):创建普通云服务器实例。Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例

    GetInstancePrimaryNetworkInterface

    Ipv6AddressCount int
    实例的IPv6地址数量。
    Ipv6Addresses List<string>
    实例的IPv6地址。
    MacAddress string
    实例的MAC地址。
    NetworkInterfaceId string
    实例的网络接口ID。
    PrimaryIpAddress string
    实例的主IP地址。
    PrivateIpAddresses List<string>
    实例的私有IP地址。
    SecurityGroupIds List<string>
    实例的安全组ID。
    SubnetId string
    实例的子网ID。
    VpcId string
    实例的VPC ID。
    Ipv6AddressCount int
    实例的IPv6地址数量。
    Ipv6Addresses []string
    实例的IPv6地址。
    MacAddress string
    实例的MAC地址。
    NetworkInterfaceId string
    实例的网络接口ID。
    PrimaryIpAddress string
    实例的主IP地址。
    PrivateIpAddresses []string
    实例的私有IP地址。
    SecurityGroupIds []string
    实例的安全组ID。
    SubnetId string
    实例的子网ID。
    VpcId string
    实例的VPC ID。
    ipv6AddressCount Integer
    实例的IPv6地址数量。
    ipv6Addresses List<String>
    实例的IPv6地址。
    macAddress String
    实例的MAC地址。
    networkInterfaceId String
    实例的网络接口ID。
    primaryIpAddress String
    实例的主IP地址。
    privateIpAddresses List<String>
    实例的私有IP地址。
    securityGroupIds List<String>
    实例的安全组ID。
    subnetId String
    实例的子网ID。
    vpcId String
    实例的VPC ID。
    ipv6AddressCount number
    实例的IPv6地址数量。
    ipv6Addresses string[]
    实例的IPv6地址。
    macAddress string
    实例的MAC地址。
    networkInterfaceId string
    实例的网络接口ID。
    primaryIpAddress string
    实例的主IP地址。
    privateIpAddresses string[]
    实例的私有IP地址。
    securityGroupIds string[]
    实例的安全组ID。
    subnetId string
    实例的子网ID。
    vpcId string
    实例的VPC ID。
    ipv6_address_count int
    实例的IPv6地址数量。
    ipv6_addresses Sequence[str]
    实例的IPv6地址。
    mac_address str
    实例的MAC地址。
    network_interface_id str
    实例的网络接口ID。
    primary_ip_address str
    实例的主IP地址。
    private_ip_addresses Sequence[str]
    实例的私有IP地址。
    security_group_ids Sequence[str]
    实例的安全组ID。
    subnet_id str
    实例的子网ID。
    vpc_id str
    实例的VPC ID。
    ipv6AddressCount Number
    实例的IPv6地址数量。
    ipv6Addresses List<String>
    实例的IPv6地址。
    macAddress String
    实例的MAC地址。
    networkInterfaceId String
    实例的网络接口ID。
    primaryIpAddress String
    实例的主IP地址。
    privateIpAddresses List<String>
    实例的私有IP地址。
    securityGroupIds List<String>
    实例的安全组ID。
    subnetId String
    实例的子网ID。
    vpcId String
    实例的VPC ID。

    GetInstanceSecondaryNetworkInterface

    Ipv6AddressCount int
    实例的IPv6地址数量。
    Ipv6Addresses List<string>
    实例的IPv6地址。
    MacAddress string
    实例的MAC地址。
    NetworkInterfaceId string
    实例的网络接口ID。
    PrimaryIpAddress string
    实例的主IP地址。
    PrivateIpAddresses List<string>
    实例的私有IP地址。
    SecurityGroupIds List<string>
    实例的安全组ID。
    SubnetId string
    实例的子网ID。
    VpcId string
    实例的VPC ID。
    Ipv6AddressCount int
    实例的IPv6地址数量。
    Ipv6Addresses []string
    实例的IPv6地址。
    MacAddress string
    实例的MAC地址。
    NetworkInterfaceId string
    实例的网络接口ID。
    PrimaryIpAddress string
    实例的主IP地址。
    PrivateIpAddresses []string
    实例的私有IP地址。
    SecurityGroupIds []string
    实例的安全组ID。
    SubnetId string
    实例的子网ID。
    VpcId string
    实例的VPC ID。
    ipv6AddressCount Integer
    实例的IPv6地址数量。
    ipv6Addresses List<String>
    实例的IPv6地址。
    macAddress String
    实例的MAC地址。
    networkInterfaceId String
    实例的网络接口ID。
    primaryIpAddress String
    实例的主IP地址。
    privateIpAddresses List<String>
    实例的私有IP地址。
    securityGroupIds List<String>
    实例的安全组ID。
    subnetId String
    实例的子网ID。
    vpcId String
    实例的VPC ID。
    ipv6AddressCount number
    实例的IPv6地址数量。
    ipv6Addresses string[]
    实例的IPv6地址。
    macAddress string
    实例的MAC地址。
    networkInterfaceId string
    实例的网络接口ID。
    primaryIpAddress string
    实例的主IP地址。
    privateIpAddresses string[]
    实例的私有IP地址。
    securityGroupIds string[]
    实例的安全组ID。
    subnetId string
    实例的子网ID。
    vpcId string
    实例的VPC ID。
    ipv6_address_count int
    实例的IPv6地址数量。
    ipv6_addresses Sequence[str]
    实例的IPv6地址。
    mac_address str
    实例的MAC地址。
    network_interface_id str
    实例的网络接口ID。
    primary_ip_address str
    实例的主IP地址。
    private_ip_addresses Sequence[str]
    实例的私有IP地址。
    security_group_ids Sequence[str]
    实例的安全组ID。
    subnet_id str
    实例的子网ID。
    vpc_id str
    实例的VPC ID。
    ipv6AddressCount Number
    实例的IPv6地址数量。
    ipv6Addresses List<String>
    实例的IPv6地址。
    macAddress String
    实例的MAC地址。
    networkInterfaceId String
    实例的网络接口ID。
    primaryIpAddress String
    实例的主IP地址。
    privateIpAddresses List<String>
    实例的私有IP地址。
    securityGroupIds List<String>
    实例的安全组ID。
    subnetId String
    实例的子网ID。
    vpcId String
    实例的VPC ID。

    GetInstanceSystemVolume

    DeleteWithInstance bool
    实例是否随实例删除。
    ExtraPerformanceIops int
    实例的额外性能IOPS。
    ExtraPerformanceThroughputMb int
    实例的额外性能吞吐量,单位MB。
    ExtraPerformanceTypeId string
    额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    Size int
    实例的大小,单位GiB。
    SnapshotId string
    实例的快照ID。
    VolumeId string
    实例的卷ID。
    VolumeType string
    云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
    DeleteWithInstance bool
    实例是否随实例删除。
    ExtraPerformanceIops int
    实例的额外性能IOPS。
    ExtraPerformanceThroughputMb int
    实例的额外性能吞吐量,单位MB。
    ExtraPerformanceTypeId string
    额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    Size int
    实例的大小,单位GiB。
    SnapshotId string
    实例的快照ID。
    VolumeId string
    实例的卷ID。
    VolumeType string
    云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
    deleteWithInstance Boolean
    实例是否随实例删除。
    extraPerformanceIops Integer
    实例的额外性能IOPS。
    extraPerformanceThroughputMb Integer
    实例的额外性能吞吐量,单位MB。
    extraPerformanceTypeId String
    额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size Integer
    实例的大小,单位GiB。
    snapshotId String
    实例的快照ID。
    volumeId String
    实例的卷ID。
    volumeType String
    云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
    deleteWithInstance boolean
    实例是否随实例删除。
    extraPerformanceIops number
    实例的额外性能IOPS。
    extraPerformanceThroughputMb number
    实例的额外性能吞吐量,单位MB。
    extraPerformanceTypeId string
    额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size number
    实例的大小,单位GiB。
    snapshotId string
    实例的快照ID。
    volumeId string
    实例的卷ID。
    volumeType string
    云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。
    delete_with_instance bool
    实例是否随实例删除。
    extra_performance_iops int
    实例的额外性能IOPS。
    extra_performance_throughput_mb int
    实例的额外性能吞吐量,单位MB。
    extra_performance_type_id str
    额外性能的类型,取值如下: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云盘。
    deleteWithInstance Boolean
    实例是否随实例删除。
    extraPerformanceIops Number
    实例的额外性能IOPS。
    extraPerformanceThroughputMb Number
    实例的额外性能吞吐量,单位MB。
    extraPerformanceTypeId String
    额外性能的类型,取值如下:Balance:均衡型额外性能。IOPS:IOPS型额外性能。Throughput:吞吐量型额外性能。
    size Number
    实例的大小,单位GiB。
    snapshotId String
    实例的快照ID。
    volumeId String
    实例的卷ID。
    volumeType String
    云盘类型,取值说明如下:PTSSD:性能型SSD。ESSD_PL0:极速型SSD云盘,PL0规格。ESSD_FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘。

    GetInstanceTag

    Key string
    实例的键。
    Value string
    实例的值。
    Key string
    实例的键。
    Value string
    实例的值。
    key String
    实例的键。
    value String
    实例的值。
    key string
    实例的键。
    value string
    实例的值。
    key str
    实例的键。
    value str
    实例的值。
    key String
    实例的键。
    value String
    实例的值。

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate