Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.veenedge.CloudServers
Explore with Pulumi AI
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.
- Name
Regex string - A Name Regex of Cloud Server.
- Output
File string - File name where to save data source results.
- Ids []string
- A list of cloud server IDs.
- Name
Regex string - A Name Regex of Cloud Server.
- Output
File string - File name where to save data source results.
- ids List<String>
- A list of cloud server IDs.
- name
Regex String - A Name Regex of Cloud Server.
- output
File String - File name where to save data source results.
- ids string[]
- A list of cloud server IDs.
- name
Regex string - A Name Regex of Cloud Server.
- output
File 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.
- name
Regex String - A Name Regex of Cloud Server.
- output
File String - File name where to save data source results.
CloudServers Result
The following output properties are available:
- Cloud
Servers List<CloudServers Cloud Server> - The collection of cloud servers query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of cloud servers query.
- Ids List<string>
- Name
Regex string - Output
File string
- Cloud
Servers []CloudServers Cloud Server - The collection of cloud servers query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of cloud servers query.
- Ids []string
- Name
Regex string - Output
File string
- cloud
Servers List<CloudServers Cloud Server> - The collection of cloud servers query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of cloud servers query.
- ids List<String>
- name
Regex String - output
File String
- cloud
Servers CloudServers Cloud Server[] - The collection of cloud servers query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of cloud servers query.
- ids string[]
- name
Regex string - output
File string
- cloud_
servers Sequence[CloudServers Cloud Server] - 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
- cloud
Servers List<Property Map> - The collection of cloud servers query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of cloud servers query.
- ids List<String>
- name
Regex String - output
File String
Supporting Types
CloudServersCloudServer
- Billing
Config CloudServers Cloud Server Billing Config - The config of billing.
- Cloud
Server stringIdentity - The Id of cloud server.
- Cpu string
- The cpu info of cloud server.
- Create
Time int - The create time info.
- Custom
Data CloudServers Cloud Server Custom Data - The config of custom data.
- Gpu
Cloud
Servers Cloud Server Gpu - The config of gpu.
- Id string
- The Id of cloud server.
- Image
Cloud
Servers Cloud Server Image - The config of image.
- Instance
Count int - The count of instance.
- Instance
Statuses List<CloudServers Cloud Server Instance Status> - The status of instances.
- Mem string
- The memory info of cloud server.
- Name string
- The name of cloud server.
- Network
Cloud
Servers Cloud Server Network - The config of network.
- Schedule
Strategy CloudConfigs Servers Cloud Server Schedule Strategy Configs - The config of schedule strategy.
- Secret
Config CloudServers Cloud Server Secret Config - The config of secret.
- Server
Area intCount - The server area count number.
- Server
Area stringLevel - The area level of cloud server.
- Server
Areas List<CloudServers Cloud Server Server Area> - The server areas info.
- Spec string
- The spec info of cloud server.
- Spec
Display string - The Chinese spec info of cloud server.
- Spec
Sum Dictionary<string, object> - The spec summary of cloud server.
- Storage
Cloud
Servers Cloud Server Storage - The config of storage.
- Update
Time int - The update time info.
- Billing
Config CloudServers Cloud Server Billing Config - The config of billing.
- Cloud
Server stringIdentity - The Id of cloud server.
- Cpu string
- The cpu info of cloud server.
- Create
Time int - The create time info.
- Custom
Data CloudServers Cloud Server Custom Data - The config of custom data.
- Gpu
Cloud
Servers Cloud Server Gpu - The config of gpu.
- Id string
- The Id of cloud server.
- Image
Cloud
Servers Cloud Server Image - The config of image.
- Instance
Count int - The count of instance.
- Instance
Statuses []CloudServers Cloud Server Instance Status - The status of instances.
- Mem string
- The memory info of cloud server.
- Name string
- The name of cloud server.
- Network
Cloud
Servers Cloud Server Network - The config of network.
- Schedule
Strategy CloudConfigs Servers Cloud Server Schedule Strategy Configs - The config of schedule strategy.
- Secret
Config CloudServers Cloud Server Secret Config - The config of secret.
- Server
Area intCount - The server area count number.
- Server
Area stringLevel - The area level of cloud server.
- Server
Areas []CloudServers Cloud Server Server Area - The server areas info.
- Spec string
- The spec info of cloud server.
- Spec
Display string - The Chinese spec info of cloud server.
- Spec
Sum map[string]interface{} - The spec summary of cloud server.
- Storage
Cloud
Servers Cloud Server Storage - The config of storage.
- Update
Time int - The update time info.
- billing
Config CloudServers Cloud Server Billing Config - The config of billing.
- cloud
Server StringIdentity - The Id of cloud server.
- cpu String
- The cpu info of cloud server.
- create
Time Integer - The create time info.
- custom
Data CloudServers Cloud Server Custom Data - The config of custom data.
- gpu
Cloud
Servers Cloud Server Gpu - The config of gpu.
- id String
- The Id of cloud server.
- image
Cloud
Servers Cloud Server Image - The config of image.
- instance
Count Integer - The count of instance.
- instance
Statuses List<CloudServers Cloud Server Instance Status> - The status of instances.
- mem String
- The memory info of cloud server.
- name String
- The name of cloud server.
- network
Cloud
Servers Cloud Server Network - The config of network.
- schedule
Strategy CloudConfigs Servers Cloud Server Schedule Strategy Configs - The config of schedule strategy.
- secret
Config CloudServers Cloud Server Secret Config - The config of secret.
- server
Area IntegerCount - The server area count number.
- server
Area StringLevel - The area level of cloud server.
- server
Areas List<CloudServers Cloud Server Server Area> - The server areas info.
- spec String
- The spec info of cloud server.
- spec
Display String - The Chinese spec info of cloud server.
- spec
Sum Map<String,Object> - The spec summary of cloud server.
- storage
Cloud
Servers Cloud Server Storage - The config of storage.
- update
Time Integer - The update time info.
- billing
Config CloudServers Cloud Server Billing Config - The config of billing.
- cloud
Server stringIdentity - The Id of cloud server.
- cpu string
- The cpu info of cloud server.
- create
Time number - The create time info.
- custom
Data CloudServers Cloud Server Custom Data - The config of custom data.
- gpu
Cloud
Servers Cloud Server Gpu - The config of gpu.
- id string
- The Id of cloud server.
- image
Cloud
Servers Cloud Server Image - The config of image.
- instance
Count number - The count of instance.
- instance
Statuses CloudServers Cloud Server Instance Status[] - The status of instances.
- mem string
- The memory info of cloud server.
- name string
- The name of cloud server.
- network
Cloud
Servers Cloud Server Network - The config of network.
- schedule
Strategy CloudConfigs Servers Cloud Server Schedule Strategy Configs - The config of schedule strategy.
- secret
Config CloudServers Cloud Server Secret Config - The config of secret.
- server
Area numberCount - The server area count number.
- server
Area stringLevel - The area level of cloud server.
- server
Areas CloudServers Cloud Server Server Area[] - The server areas info.
- spec string
- The spec info of cloud server.
- spec
Display string - The Chinese spec info of cloud server.
- spec
Sum {[key: string]: any} - The spec summary of cloud server.
- storage
Cloud
Servers Cloud Server Storage - The config of storage.
- update
Time number - The update time info.
- billing_
config CloudServers Cloud Server Billing Config - The config of billing.
- cloud_
server_ stridentity - The Id of cloud server.
- cpu str
- The cpu info of cloud server.
- create_
time int - The create time info.
- custom_
data CloudServers Cloud Server Custom Data - The config of custom data.
- gpu
Cloud
Servers Cloud Server Gpu - The config of gpu.
- id str
- The Id of cloud server.
- image
Cloud
Servers Cloud Server Image - The config of image.
- instance_
count int - The count of instance.
- instance_
statuses Sequence[CloudServers Cloud Server Instance Status] - The status of instances.
- mem str
- The memory info of cloud server.
- name str
- The name of cloud server.
- network
Cloud
Servers Cloud Server Network - The config of network.
- schedule_
strategy_ Cloudconfigs Servers Cloud Server Schedule Strategy Configs - The config of schedule strategy.
- secret_
config CloudServers Cloud Server Secret Config - The config of secret.
- server_
area_ intcount - The server area count number.
- server_
area_ strlevel - The area level of cloud server.
- server_
areas Sequence[CloudServers Cloud Server Server Area] - 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
Cloud
Servers Cloud Server Storage - The config of storage.
- update_
time int - The update time info.
- billing
Config Property Map - The config of billing.
- cloud
Server StringIdentity - The Id of cloud server.
- cpu String
- The cpu info of cloud server.
- create
Time Number - The create time info.
- custom
Data 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.
- instance
Count Number - The count of instance.
- instance
Statuses 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.
- schedule
Strategy Property MapConfigs - The config of schedule strategy.
- secret
Config Property Map - The config of secret.
- server
Area NumberCount - The server area count number.
- server
Area StringLevel - The area level of cloud server.
- server
Areas List<Property Map> - The server areas info.
- spec String
- The spec info of cloud server.
- spec
Display String - The Chinese spec info of cloud server.
- spec
Sum Map<Any> - The spec summary of cloud server.
- storage Property Map
- The config of storage.
- update
Time Number - The update time info.
CloudServersCloudServerBillingConfig
- Bandwidth
Billing stringMethod - The bandwidth billing method.
- Computing
Billing stringMethod - The computing billing method.
- Bandwidth
Billing stringMethod - The bandwidth billing method.
- Computing
Billing stringMethod - The computing billing method.
- bandwidth
Billing StringMethod - The bandwidth billing method.
- computing
Billing StringMethod - The computing billing method.
- bandwidth
Billing stringMethod - The bandwidth billing method.
- computing
Billing stringMethod - The computing billing method.
- bandwidth_
billing_ strmethod - The bandwidth billing method.
- computing_
billing_ strmethod - The computing billing method.
- bandwidth
Billing StringMethod - The bandwidth billing method.
- computing
Billing StringMethod - 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<Cloud
Servers Cloud Server Gpu Gpus> - The list gpu info.
- Gpuses
[]Cloud
Servers Cloud Server Gpu Gpus - The list gpu info.
- gpuses
List<Cloud
Servers Cloud Server Gpu Gpus> - The list gpu info.
- gpuses
Cloud
Servers Cloud Server Gpu Gpus[] - The list gpu info.
- gpuses
Sequence[Cloud
Servers Cloud Server Gpu Gpus] - The list gpu info.
- gpuses List<Property Map>
- The list gpu info.
CloudServersCloudServerGpuGpus
- Gpu
Spec CloudServers Cloud Server Gpu Gpus Gpu Spec - The spec of gpu.
- Num int
- The number of gpu.
- Gpu
Spec CloudServers Cloud Server Gpu Gpus Gpu Spec - The spec of gpu.
- Num int
- The number of gpu.
- gpu
Spec CloudServers Cloud Server Gpu Gpus Gpu Spec - The spec of gpu.
- num Integer
- The number of gpu.
- gpu
Spec CloudServers Cloud Server Gpu Gpus Gpu Spec - The spec of gpu.
- num number
- The number of gpu.
- gpu_
spec CloudServers Cloud Server Gpu Gpus Gpu Spec - The spec of gpu.
- num int
- The number of gpu.
- gpu
Spec Property Map - The spec of gpu.
- num Number
- The number of gpu.
CloudServersCloudServerGpuGpusGpuSpec
- Gpu
Type string - The type of gpu.
- Gpu
Type string - The type of gpu.
- gpu
Type String - The type of gpu.
- gpu
Type string - The type of gpu.
- gpu_
type str - The type of gpu.
- gpu
Type String - The type of gpu.
CloudServersCloudServerImage
- Image
Identity string - The id of image.
- Image
Name string - The name of image.
- Property string
- The property of system.
- System
Arch string - The arch of system.
- System
Bit string - The bit of system.
- System
Type string - The type of system.
- System
Version string - The version of system.
- Image
Identity string - The id of image.
- Image
Name string - The name of image.
- Property string
- The property of system.
- System
Arch string - The arch of system.
- System
Bit string - The bit of system.
- System
Type string - The type of system.
- System
Version string - The version of system.
- image
Identity String - The id of image.
- image
Name String - The name of image.
- property String
- The property of system.
- system
Arch String - The arch of system.
- system
Bit String - The bit of system.
- system
Type String - The type of system.
- system
Version String - The version of system.
- image
Identity string - The id of image.
- image
Name string - The name of image.
- property string
- The property of system.
- system
Arch string - The arch of system.
- system
Bit string - The bit of system.
- system
Type string - The type of system.
- system
Version 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.
- image
Identity String - The id of image.
- image
Name String - The name of image.
- property String
- The property of system.
- system
Arch String - The arch of system.
- system
Bit String - The bit of system.
- system
Type String - The type of system.
- system
Version String - The version of system.
CloudServersCloudServerInstanceStatus
- Instance
Count int - The count of instance.
- Status string
- The status info.
- Instance
Count int - The count of instance.
- Status string
- The status info.
- instance
Count Integer - The count of instance.
- status String
- The status info.
- instance
Count number - The count of instance.
- status string
- The status info.
- instance_
count int - The count of instance.
- status str
- The status info.
- instance
Count Number - The count of instance.
- status String
- The status info.
CloudServersCloudServerNetwork
- Bandwidth
Peak string - The peak of bandwidth.
- Enable
Ipv6 bool - Whether enable ipv6.
- Internal
Bandwidth stringPeak - The internal peak of bandwidth.
- Bandwidth
Peak string - The peak of bandwidth.
- Enable
Ipv6 bool - Whether enable ipv6.
- Internal
Bandwidth stringPeak - The internal peak of bandwidth.
- bandwidth
Peak String - The peak of bandwidth.
- enable
Ipv6 Boolean - Whether enable ipv6.
- internal
Bandwidth StringPeak - The internal peak of bandwidth.
- bandwidth
Peak string - The peak of bandwidth.
- enable
Ipv6 boolean - Whether enable ipv6.
- internal
Bandwidth stringPeak - The internal peak of bandwidth.
- bandwidth_
peak str - The peak of bandwidth.
- enable_
ipv6 bool - Whether enable ipv6.
- internal_
bandwidth_ strpeak - The internal peak of bandwidth.
- bandwidth
Peak String - The peak of bandwidth.
- enable
Ipv6 Boolean - Whether enable ipv6.
- internal
Bandwidth StringPeak - The internal peak of bandwidth.
CloudServersCloudServerScheduleStrategyConfigs
- Price
Strategy string - The price strategy.
- Schedule
Strategy string - The schedule strategy.
- Price
Strategy string - The price strategy.
- Schedule
Strategy string - The schedule strategy.
- price
Strategy String - The price strategy.
- schedule
Strategy String - The schedule strategy.
- price
Strategy string - The price strategy.
- schedule
Strategy string - The schedule strategy.
- price_
strategy str - The price strategy.
- schedule_
strategy str - The schedule strategy.
- price
Strategy String - The price strategy.
- schedule
Strategy String - The schedule strategy.
CloudServersCloudServerSecretConfig
- Secret
Data string - The data of secret.
- Secret
Type int - The type of secret.
- Secret
Data string - The data of secret.
- Secret
Type int - The type of secret.
- secret
Data String - The data of secret.
- secret
Type Integer - The type of secret.
- secret
Data string - The data of secret.
- secret
Type number - The type of secret.
- secret_
data str - The data of secret.
- secret_
type int - The type of secret.
- secret
Data String - The data of secret.
- secret
Type Number - The type of secret.
CloudServersCloudServerServerArea
- Area string
- The area info.
- Instance
Num int - The number of instance.
- Isp string
- The isp info.
- Area string
- The area info.
- Instance
Num int - The number of instance.
- Isp string
- The isp info.
- area String
- The area info.
- instance
Num Integer - The number of instance.
- isp String
- The isp info.
- area string
- The area info.
- instance
Num 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.
- instance
Num Number - The number of instance.
- isp String
- The isp info.
CloudServersCloudServerStorage
- Data
Disk CloudServers Cloud Server Storage Data Disk - The disk info of data.
- Data
Disk List<CloudLists Servers Cloud Server Storage Data Disk List> - The disk list info of data.
- System
Disk CloudServers Cloud Server Storage System Disk - The disk info of system.
- Data
Disk CloudServers Cloud Server Storage Data Disk - The disk info of data.
- Data
Disk []CloudLists Servers Cloud Server Storage Data Disk List - The disk list info of data.
- System
Disk CloudServers Cloud Server Storage System Disk - The disk info of system.
- data
Disk CloudServers Cloud Server Storage Data Disk - The disk info of data.
- data
Disk List<CloudLists Servers Cloud Server Storage Data Disk List> - The disk list info of data.
- system
Disk CloudServers Cloud Server Storage System Disk - The disk info of system.
- data
Disk CloudServers Cloud Server Storage Data Disk - The disk info of data.
- data
Disk CloudLists Servers Cloud Server Storage Data Disk List[] - The disk list info of data.
- system
Disk CloudServers Cloud Server Storage System Disk - The disk info of system.
- data_
disk CloudServers Cloud Server Storage Data Disk - The disk info of data.
- data_
disk_ Sequence[Cloudlists Servers Cloud Server Storage Data Disk List] - The disk list info of data.
- system_
disk CloudServers Cloud Server Storage System Disk - The disk info of system.
- data
Disk Property Map - The disk info of data.
- data
Disk List<Property Map>Lists - The disk list info of data.
- system
Disk Property Map - The disk info of system.
CloudServersCloudServerStorageDataDisk
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type String - The type of storage.
- capacity string
- The capacity of storage.
- storage
Type string - The type of storage.
- capacity str
- The capacity of storage.
- storage_
type str - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type String - The type of storage.
CloudServersCloudServerStorageDataDiskList
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type String - The type of storage.
- capacity string
- The capacity of storage.
- storage
Type string - The type of storage.
- capacity str
- The capacity of storage.
- storage_
type str - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type String - The type of storage.
CloudServersCloudServerStorageSystemDisk
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- Capacity string
- The capacity of storage.
- Storage
Type string - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type String - The type of storage.
- capacity string
- The capacity of storage.
- storage
Type string - The type of storage.
- capacity str
- The capacity of storage.
- storage_
type str - The type of storage.
- capacity String
- The capacity of storage.
- storage
Type 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.