1. Packages
  2. Volcengine
  3. API Docs
  4. veenedge
  5. CloudServers
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.veenedge.CloudServers

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Veenedge.CloudServers.Invoke();
    
    });
    
    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.CloudServers(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.CloudServersArgs;
    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.CloudServers();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.veenedge.cloud_servers()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.veenedge.CloudServers({});
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:veenedge:CloudServers
          Arguments: {}
    

    Using CloudServers

    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 cloudServers(args: CloudServersArgs, opts?: InvokeOptions): Promise<CloudServersResult>
    function cloudServersOutput(args: CloudServersOutputArgs, opts?: InvokeOptions): Output<CloudServersResult>
    def cloud_servers(ids: Optional[Sequence[str]] = None,
                      name_regex: Optional[str] = None,
                      output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> CloudServersResult
    def 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[CloudServersResult]
    func CloudServers(ctx *Context, args *CloudServersArgs, opts ...InvokeOption) (*CloudServersResult, error)
    func CloudServersOutput(ctx *Context, args *CloudServersOutputArgs, opts ...InvokeOption) CloudServersResultOutput
    public static class CloudServers 
    {
        public static Task<CloudServersResult> InvokeAsync(CloudServersArgs args, InvokeOptions? opts = null)
        public static Output<CloudServersResult> Invoke(CloudServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<CloudServersResult> cloudServers(CloudServersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:veenedge:CloudServers
      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.

    CloudServers Result

    The following output properties are available:

    CloudServers List<CloudServersCloudServer>
    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 []CloudServersCloudServer
    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<CloudServersCloudServer>
    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 CloudServersCloudServer[]
    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[CloudServersCloudServer]
    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

    CloudServersCloudServer

    BillingConfig CloudServersCloudServerBillingConfig
    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 CloudServersCloudServerCustomData
    The config of custom data.
    Gpu CloudServersCloudServerGpu
    The config of gpu.
    Id string
    The Id of cloud server.
    Image CloudServersCloudServerImage
    The config of image.
    InstanceCount int
    The count of instance.
    InstanceStatuses List<CloudServersCloudServerInstanceStatus>
    The status of instances.
    Mem string
    The memory info of cloud server.
    Name string
    The name of cloud server.
    Network CloudServersCloudServerNetwork
    The config of network.
    ScheduleStrategyConfigs CloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    SecretConfig CloudServersCloudServerSecretConfig
    The config of secret.
    ServerAreaCount int
    The server area count number.
    ServerAreaLevel string
    The area level of cloud server.
    ServerAreas List<CloudServersCloudServerServerArea>
    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 CloudServersCloudServerStorage
    The config of storage.
    UpdateTime int
    The update time info.
    BillingConfig CloudServersCloudServerBillingConfig
    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 CloudServersCloudServerCustomData
    The config of custom data.
    Gpu CloudServersCloudServerGpu
    The config of gpu.
    Id string
    The Id of cloud server.
    Image CloudServersCloudServerImage
    The config of image.
    InstanceCount int
    The count of instance.
    InstanceStatuses []CloudServersCloudServerInstanceStatus
    The status of instances.
    Mem string
    The memory info of cloud server.
    Name string
    The name of cloud server.
    Network CloudServersCloudServerNetwork
    The config of network.
    ScheduleStrategyConfigs CloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    SecretConfig CloudServersCloudServerSecretConfig
    The config of secret.
    ServerAreaCount int
    The server area count number.
    ServerAreaLevel string
    The area level of cloud server.
    ServerAreas []CloudServersCloudServerServerArea
    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 CloudServersCloudServerStorage
    The config of storage.
    UpdateTime int
    The update time info.
    billingConfig CloudServersCloudServerBillingConfig
    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 CloudServersCloudServerCustomData
    The config of custom data.
    gpu CloudServersCloudServerGpu
    The config of gpu.
    id String
    The Id of cloud server.
    image CloudServersCloudServerImage
    The config of image.
    instanceCount Integer
    The count of instance.
    instanceStatuses List<CloudServersCloudServerInstanceStatus>
    The status of instances.
    mem String
    The memory info of cloud server.
    name String
    The name of cloud server.
    network CloudServersCloudServerNetwork
    The config of network.
    scheduleStrategyConfigs CloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secretConfig CloudServersCloudServerSecretConfig
    The config of secret.
    serverAreaCount Integer
    The server area count number.
    serverAreaLevel String
    The area level of cloud server.
    serverAreas List<CloudServersCloudServerServerArea>
    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 CloudServersCloudServerStorage
    The config of storage.
    updateTime Integer
    The update time info.
    billingConfig CloudServersCloudServerBillingConfig
    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 CloudServersCloudServerCustomData
    The config of custom data.
    gpu CloudServersCloudServerGpu
    The config of gpu.
    id string
    The Id of cloud server.
    image CloudServersCloudServerImage
    The config of image.
    instanceCount number
    The count of instance.
    instanceStatuses CloudServersCloudServerInstanceStatus[]
    The status of instances.
    mem string
    The memory info of cloud server.
    name string
    The name of cloud server.
    network CloudServersCloudServerNetwork
    The config of network.
    scheduleStrategyConfigs CloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secretConfig CloudServersCloudServerSecretConfig
    The config of secret.
    serverAreaCount number
    The server area count number.
    serverAreaLevel string
    The area level of cloud server.
    serverAreas CloudServersCloudServerServerArea[]
    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 CloudServersCloudServerStorage
    The config of storage.
    updateTime number
    The update time info.
    billing_config CloudServersCloudServerBillingConfig
    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 CloudServersCloudServerCustomData
    The config of custom data.
    gpu CloudServersCloudServerGpu
    The config of gpu.
    id str
    The Id of cloud server.
    image CloudServersCloudServerImage
    The config of image.
    instance_count int
    The count of instance.
    instance_statuses Sequence[CloudServersCloudServerInstanceStatus]
    The status of instances.
    mem str
    The memory info of cloud server.
    name str
    The name of cloud server.
    network CloudServersCloudServerNetwork
    The config of network.
    schedule_strategy_configs CloudServersCloudServerScheduleStrategyConfigs
    The config of schedule strategy.
    secret_config CloudServersCloudServerSecretConfig
    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[CloudServersCloudServerServerArea]
    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 CloudServersCloudServerStorage
    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.

    CloudServersCloudServerBillingConfig

    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.

    CloudServersCloudServerCustomData

    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.

    CloudServersCloudServerGpu

    gpuses List<Property Map>
    The list gpu info.

    CloudServersCloudServerGpuGpus

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

    CloudServersCloudServerGpuGpusGpuSpec

    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.

    CloudServersCloudServerImage

    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.

    CloudServersCloudServerInstanceStatus

    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.

    CloudServersCloudServerNetwork

    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.

    CloudServersCloudServerScheduleStrategyConfigs

    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.

    CloudServersCloudServerSecretConfig

    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.

    CloudServersCloudServerServerArea

    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.

    CloudServersCloudServerStorage

    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.

    CloudServersCloudServerStorageDataDisk

    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.

    CloudServersCloudServerStorageDataDiskList

    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.

    CloudServersCloudServerStorageSystemDisk

    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.26 published on Friday, Sep 13, 2024 by Volcengine