1. Packages
  2. Volcengine
  3. API Docs
  4. veenedge
  5. getCloudServers
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.veenedge.getCloudServers

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of veenedge cloud servers

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.veenedge.getCloudServers({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.veenedge.get_cloud_servers()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/veenedge"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := veenedge.GetCloudServers(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Veenedge.GetCloudServers.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.veenedge.VeenedgeFunctions;
    import com.pulumi.volcengine.veenedge.inputs.GetCloudServersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = VeenedgeFunctions.getCloudServers();
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:veenedge:getCloudServers
          Arguments: {}
    

    Using getCloudServers

    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 getCloudServers(args: GetCloudServersArgs, opts?: InvokeOptions): Promise<GetCloudServersResult>
    function getCloudServersOutput(args: GetCloudServersOutputArgs, opts?: InvokeOptions): Output<GetCloudServersResult>
    def get_cloud_servers(ids: Optional[Sequence[str]] = None,
                          name_regex: Optional[str] = None,
                          output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCloudServersResult
    def get_cloud_servers_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          name_regex: Optional[pulumi.Input[str]] = None,
                          output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCloudServersResult]
    func GetCloudServers(ctx *Context, args *GetCloudServersArgs, opts ...InvokeOption) (*GetCloudServersResult, error)
    func GetCloudServersOutput(ctx *Context, args *GetCloudServersOutputArgs, opts ...InvokeOption) GetCloudServersResultOutput

    > Note: This function is named GetCloudServers in the Go SDK.

    public static class GetCloudServers 
    {
        public static Task<GetCloudServersResult> InvokeAsync(GetCloudServersArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudServersResult> Invoke(GetCloudServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudServersResult> getCloudServers(GetCloudServersArgs args, InvokeOptions options)
    public static Output<GetCloudServersResult> getCloudServers(GetCloudServersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:veenedge/getCloudServers:getCloudServers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of cloud server IDs.
    NameRegex string
    A Name Regex of Cloud Server.
    OutputFile string
    File name where to save data source results.
    Ids []string
    A list of cloud server IDs.
    NameRegex string
    A Name Regex of Cloud Server.
    OutputFile string
    File name where to save data source results.
    ids List<String>
    A list of cloud server IDs.
    nameRegex String
    A Name Regex of Cloud Server.
    outputFile String
    File name where to save data source results.
    ids string[]
    A list of cloud server IDs.
    nameRegex string
    A Name Regex of Cloud Server.
    outputFile string
    File name where to save data source results.
    ids Sequence[str]
    A list of cloud server IDs.
    name_regex str
    A Name Regex of Cloud Server.
    output_file str
    File name where to save data source results.
    ids List<String>
    A list of cloud server IDs.
    nameRegex String
    A Name Regex of Cloud Server.
    outputFile String
    File name where to save data source results.

    getCloudServers Result

    The following output properties are available:

    CloudServers List<GetCloudServersCloudServer>
    The collection of cloud servers query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of cloud servers query.
    Ids List<string>
    NameRegex string
    OutputFile string
    CloudServers []GetCloudServersCloudServer
    The collection of cloud servers query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of cloud servers query.
    Ids []string
    NameRegex string
    OutputFile string
    cloudServers List<GetCloudServersCloudServer>
    The collection of cloud servers query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of cloud servers query.
    ids List<String>
    nameRegex String
    outputFile String
    cloudServers GetCloudServersCloudServer[]
    The collection of cloud servers query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of cloud servers query.
    ids string[]
    nameRegex string
    outputFile string
    cloud_servers Sequence[GetCloudServersCloudServer]
    The collection of cloud servers query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of cloud servers query.
    ids Sequence[str]
    name_regex str
    output_file str
    cloudServers List<Property Map>
    The collection of cloud servers query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of cloud servers query.
    ids List<String>
    nameRegex String
    outputFile String

    Supporting Types

    GetCloudServersCloudServer

    BillingConfig GetCloudServersCloudServerBillingConfig
    The config of billing.
    CloudServerIdentity string
    The Id of cloud server.
    Cpu string
    The cpu info of cloud server.
    CreateTime int
    The create time info.
    CustomData GetCloudServersCloudServerCustomData
    The config of custom data.
    Gpu GetCloudServersCloudServerGpu
    The config of gpu.
    Id string
    The Id of cloud server.
    Image GetCloudServersCloudServerImage
    The config of image.
    InstanceCount int
    The count of instance.
    InstanceStatuses List<GetCloudServersCloudServerInstanceStatus>
    The status of instances.
    Mem string
    The memory info of cloud server.
    Name string
    The name of cloud server.
    Network GetCloudServersCloudServerNetwork
    The config of network.
    ScheduleStrategyConfigs GetCloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    SecretConfig GetCloudServersCloudServerSecretConfig
    The config of secret.
    ServerAreaCount int
    The server area count number.
    ServerAreaLevel string
    The area level of cloud server.
    ServerAreas List<GetCloudServersCloudServerServerArea>
    The server areas info.
    Spec string
    The spec info of cloud server.
    SpecDisplay string
    The Chinese spec info of cloud server.
    SpecSum Dictionary<string, object>
    The spec summary of cloud server.
    Storage GetCloudServersCloudServerStorage
    The config of storage.
    UpdateTime int
    The update time info.
    BillingConfig GetCloudServersCloudServerBillingConfig
    The config of billing.
    CloudServerIdentity string
    The Id of cloud server.
    Cpu string
    The cpu info of cloud server.
    CreateTime int
    The create time info.
    CustomData GetCloudServersCloudServerCustomData
    The config of custom data.
    Gpu GetCloudServersCloudServerGpu
    The config of gpu.
    Id string
    The Id of cloud server.
    Image GetCloudServersCloudServerImage
    The config of image.
    InstanceCount int
    The count of instance.
    InstanceStatuses []GetCloudServersCloudServerInstanceStatus
    The status of instances.
    Mem string
    The memory info of cloud server.
    Name string
    The name of cloud server.
    Network GetCloudServersCloudServerNetwork
    The config of network.
    ScheduleStrategyConfigs GetCloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    SecretConfig GetCloudServersCloudServerSecretConfig
    The config of secret.
    ServerAreaCount int
    The server area count number.
    ServerAreaLevel string
    The area level of cloud server.
    ServerAreas []GetCloudServersCloudServerServerArea
    The server areas info.
    Spec string
    The spec info of cloud server.
    SpecDisplay string
    The Chinese spec info of cloud server.
    SpecSum map[string]interface{}
    The spec summary of cloud server.
    Storage GetCloudServersCloudServerStorage
    The config of storage.
    UpdateTime int
    The update time info.
    billingConfig GetCloudServersCloudServerBillingConfig
    The config of billing.
    cloudServerIdentity String
    The Id of cloud server.
    cpu String
    The cpu info of cloud server.
    createTime Integer
    The create time info.
    customData GetCloudServersCloudServerCustomData
    The config of custom data.
    gpu GetCloudServersCloudServerGpu
    The config of gpu.
    id String
    The Id of cloud server.
    image GetCloudServersCloudServerImage
    The config of image.
    instanceCount Integer
    The count of instance.
    instanceStatuses List<GetCloudServersCloudServerInstanceStatus>
    The status of instances.
    mem String
    The memory info of cloud server.
    name String
    The name of cloud server.
    network GetCloudServersCloudServerNetwork
    The config of network.
    scheduleStrategyConfigs GetCloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secretConfig GetCloudServersCloudServerSecretConfig
    The config of secret.
    serverAreaCount Integer
    The server area count number.
    serverAreaLevel String
    The area level of cloud server.
    serverAreas List<GetCloudServersCloudServerServerArea>
    The server areas info.
    spec String
    The spec info of cloud server.
    specDisplay String
    The Chinese spec info of cloud server.
    specSum Map<String,Object>
    The spec summary of cloud server.
    storage GetCloudServersCloudServerStorage
    The config of storage.
    updateTime Integer
    The update time info.
    billingConfig GetCloudServersCloudServerBillingConfig
    The config of billing.
    cloudServerIdentity string
    The Id of cloud server.
    cpu string
    The cpu info of cloud server.
    createTime number
    The create time info.
    customData GetCloudServersCloudServerCustomData
    The config of custom data.
    gpu GetCloudServersCloudServerGpu
    The config of gpu.
    id string
    The Id of cloud server.
    image GetCloudServersCloudServerImage
    The config of image.
    instanceCount number
    The count of instance.
    instanceStatuses GetCloudServersCloudServerInstanceStatus[]
    The status of instances.
    mem string
    The memory info of cloud server.
    name string
    The name of cloud server.
    network GetCloudServersCloudServerNetwork
    The config of network.
    scheduleStrategyConfigs GetCloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secretConfig GetCloudServersCloudServerSecretConfig
    The config of secret.
    serverAreaCount number
    The server area count number.
    serverAreaLevel string
    The area level of cloud server.
    serverAreas GetCloudServersCloudServerServerArea[]
    The server areas info.
    spec string
    The spec info of cloud server.
    specDisplay string
    The Chinese spec info of cloud server.
    specSum {[key: string]: any}
    The spec summary of cloud server.
    storage GetCloudServersCloudServerStorage
    The config of storage.
    updateTime number
    The update time info.
    billing_config GetCloudServersCloudServerBillingConfig
    The config of billing.
    cloud_server_identity str
    The Id of cloud server.
    cpu str
    The cpu info of cloud server.
    create_time int
    The create time info.
    custom_data GetCloudServersCloudServerCustomData
    The config of custom data.
    gpu GetCloudServersCloudServerGpu
    The config of gpu.
    id str
    The Id of cloud server.
    image GetCloudServersCloudServerImage
    The config of image.
    instance_count int
    The count of instance.
    instance_statuses Sequence[GetCloudServersCloudServerInstanceStatus]
    The status of instances.
    mem str
    The memory info of cloud server.
    name str
    The name of cloud server.
    network GetCloudServersCloudServerNetwork
    The config of network.
    schedule_strategy_configs GetCloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secret_config GetCloudServersCloudServerSecretConfig
    The config of secret.
    server_area_count int
    The server area count number.
    server_area_level str
    The area level of cloud server.
    server_areas Sequence[GetCloudServersCloudServerServerArea]
    The server areas info.
    spec str
    The spec info of cloud server.
    spec_display str
    The Chinese spec info of cloud server.
    spec_sum Mapping[str, Any]
    The spec summary of cloud server.
    storage GetCloudServersCloudServerStorage
    The config of storage.
    update_time int
    The update time info.
    billingConfig Property Map
    The config of billing.
    cloudServerIdentity String
    The Id of cloud server.
    cpu String
    The cpu info of cloud server.
    createTime Number
    The create time info.
    customData Property Map
    The config of custom data.
    gpu Property Map
    The config of gpu.
    id String
    The Id of cloud server.
    image Property Map
    The config of image.
    instanceCount Number
    The count of instance.
    instanceStatuses List<Property Map>
    The status of instances.
    mem String
    The memory info of cloud server.
    name String
    The name of cloud server.
    network Property Map
    The config of network.
    scheduleStrategyConfigs Property Map
    The config of schedule strategy.
    secretConfig Property Map
    The config of secret.
    serverAreaCount Number
    The server area count number.
    serverAreaLevel String
    The area level of cloud server.
    serverAreas List<Property Map>
    The server areas info.
    spec String
    The spec info of cloud server.
    specDisplay String
    The Chinese spec info of cloud server.
    specSum Map<Any>
    The spec summary of cloud server.
    storage Property Map
    The config of storage.
    updateTime Number
    The update time info.

    GetCloudServersCloudServerBillingConfig

    BandwidthBillingMethod string
    The bandwidth billing method.
    ComputingBillingMethod string
    The computing billing method.
    BandwidthBillingMethod string
    The bandwidth billing method.
    ComputingBillingMethod string
    The computing billing method.
    bandwidthBillingMethod String
    The bandwidth billing method.
    computingBillingMethod String
    The computing billing method.
    bandwidthBillingMethod string
    The bandwidth billing method.
    computingBillingMethod string
    The computing billing method.
    bandwidth_billing_method str
    The bandwidth billing method.
    computing_billing_method str
    The computing billing method.
    bandwidthBillingMethod String
    The bandwidth billing method.
    computingBillingMethod String
    The computing billing method.

    GetCloudServersCloudServerCustomData

    Data string
    The data info.
    Data string
    The data info.
    data String
    The data info.
    data string
    The data info.
    data str
    The data info.
    data String
    The data info.

    GetCloudServersCloudServerGpu

    gpuses List<Property Map>
    The list gpu info.

    GetCloudServersCloudServerGpuGpus

    GpuSpec GetCloudServersCloudServerGpuGpusGpuSpec
    The spec of gpu.
    Num int
    The number of gpu.
    GpuSpec GetCloudServersCloudServerGpuGpusGpuSpec
    The spec of gpu.
    Num int
    The number of gpu.
    gpuSpec GetCloudServersCloudServerGpuGpusGpuSpec
    The spec of gpu.
    num Integer
    The number of gpu.
    gpuSpec GetCloudServersCloudServerGpuGpusGpuSpec
    The spec of gpu.
    num number
    The number of gpu.
    gpu_spec GetCloudServersCloudServerGpuGpusGpuSpec
    The spec of gpu.
    num int
    The number of gpu.
    gpuSpec Property Map
    The spec of gpu.
    num Number
    The number of gpu.

    GetCloudServersCloudServerGpuGpusGpuSpec

    GpuType string
    The type of gpu.
    GpuType string
    The type of gpu.
    gpuType String
    The type of gpu.
    gpuType string
    The type of gpu.
    gpu_type str
    The type of gpu.
    gpuType String
    The type of gpu.

    GetCloudServersCloudServerImage

    ImageIdentity string
    The id of image.
    ImageName string
    The name of image.
    Property string
    The property of system.
    SystemArch string
    The arch of system.
    SystemBit string
    The bit of system.
    SystemType string
    The type of system.
    SystemVersion string
    The version of system.
    ImageIdentity string
    The id of image.
    ImageName string
    The name of image.
    Property string
    The property of system.
    SystemArch string
    The arch of system.
    SystemBit string
    The bit of system.
    SystemType string
    The type of system.
    SystemVersion string
    The version of system.
    imageIdentity String
    The id of image.
    imageName String
    The name of image.
    property String
    The property of system.
    systemArch String
    The arch of system.
    systemBit String
    The bit of system.
    systemType String
    The type of system.
    systemVersion String
    The version of system.
    imageIdentity string
    The id of image.
    imageName string
    The name of image.
    property string
    The property of system.
    systemArch string
    The arch of system.
    systemBit string
    The bit of system.
    systemType string
    The type of system.
    systemVersion string
    The version of system.
    image_identity str
    The id of image.
    image_name str
    The name of image.
    property str
    The property of system.
    system_arch str
    The arch of system.
    system_bit str
    The bit of system.
    system_type str
    The type of system.
    system_version str
    The version of system.
    imageIdentity String
    The id of image.
    imageName String
    The name of image.
    property String
    The property of system.
    systemArch String
    The arch of system.
    systemBit String
    The bit of system.
    systemType String
    The type of system.
    systemVersion String
    The version of system.

    GetCloudServersCloudServerInstanceStatus

    InstanceCount int
    The count of instance.
    Status string
    The status info.
    InstanceCount int
    The count of instance.
    Status string
    The status info.
    instanceCount Integer
    The count of instance.
    status String
    The status info.
    instanceCount number
    The count of instance.
    status string
    The status info.
    instance_count int
    The count of instance.
    status str
    The status info.
    instanceCount Number
    The count of instance.
    status String
    The status info.

    GetCloudServersCloudServerNetwork

    BandwidthPeak string
    The peak of bandwidth.
    EnableIpv6 bool
    Whether enable ipv6.
    InternalBandwidthPeak string
    The internal peak of bandwidth.
    BandwidthPeak string
    The peak of bandwidth.
    EnableIpv6 bool
    Whether enable ipv6.
    InternalBandwidthPeak string
    The internal peak of bandwidth.
    bandwidthPeak String
    The peak of bandwidth.
    enableIpv6 Boolean
    Whether enable ipv6.
    internalBandwidthPeak String
    The internal peak of bandwidth.
    bandwidthPeak string
    The peak of bandwidth.
    enableIpv6 boolean
    Whether enable ipv6.
    internalBandwidthPeak string
    The internal peak of bandwidth.
    bandwidth_peak str
    The peak of bandwidth.
    enable_ipv6 bool
    Whether enable ipv6.
    internal_bandwidth_peak str
    The internal peak of bandwidth.
    bandwidthPeak String
    The peak of bandwidth.
    enableIpv6 Boolean
    Whether enable ipv6.
    internalBandwidthPeak String
    The internal peak of bandwidth.

    GetCloudServersCloudServerScheduleStrategyConfigs

    PriceStrategy string
    The price strategy.
    ScheduleStrategy string
    The schedule strategy.
    PriceStrategy string
    The price strategy.
    ScheduleStrategy string
    The schedule strategy.
    priceStrategy String
    The price strategy.
    scheduleStrategy String
    The schedule strategy.
    priceStrategy string
    The price strategy.
    scheduleStrategy string
    The schedule strategy.
    price_strategy str
    The price strategy.
    schedule_strategy str
    The schedule strategy.
    priceStrategy String
    The price strategy.
    scheduleStrategy String
    The schedule strategy.

    GetCloudServersCloudServerSecretConfig

    SecretData string
    The data of secret.
    SecretType int
    The type of secret.
    SecretData string
    The data of secret.
    SecretType int
    The type of secret.
    secretData String
    The data of secret.
    secretType Integer
    The type of secret.
    secretData string
    The data of secret.
    secretType number
    The type of secret.
    secret_data str
    The data of secret.
    secret_type int
    The type of secret.
    secretData String
    The data of secret.
    secretType Number
    The type of secret.

    GetCloudServersCloudServerServerArea

    Area string
    The area info.
    InstanceNum int
    The number of instance.
    Isp string
    The isp info.
    Area string
    The area info.
    InstanceNum int
    The number of instance.
    Isp string
    The isp info.
    area String
    The area info.
    instanceNum Integer
    The number of instance.
    isp String
    The isp info.
    area string
    The area info.
    instanceNum number
    The number of instance.
    isp string
    The isp info.
    area str
    The area info.
    instance_num int
    The number of instance.
    isp str
    The isp info.
    area String
    The area info.
    instanceNum Number
    The number of instance.
    isp String
    The isp info.

    GetCloudServersCloudServerStorage

    dataDisk Property Map
    The disk info of data.
    dataDiskLists List<Property Map>
    The disk list info of data.
    systemDisk Property Map
    The disk info of system.

    GetCloudServersCloudServerStorageDataDisk

    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.
    capacity string
    The capacity of storage.
    storageType string
    The type of storage.
    capacity str
    The capacity of storage.
    storage_type str
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.

    GetCloudServersCloudServerStorageDataDiskList

    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.
    capacity string
    The capacity of storage.
    storageType string
    The type of storage.
    capacity str
    The capacity of storage.
    storage_type str
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.

    GetCloudServersCloudServerStorageSystemDisk

    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    Capacity string
    The capacity of storage.
    StorageType string
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.
    capacity string
    The capacity of storage.
    storageType string
    The type of storage.
    capacity str
    The capacity of storage.
    storage_type str
    The type of storage.
    capacity String
    The capacity of storage.
    storageType String
    The type of storage.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine