Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.veecp.getEdgeNodes
Explore with Pulumi AI
Use this data source to query detailed information of veecp edge nodes
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooEdgeNode = new volcengine.veecp.EdgeNode("fooEdgeNode", {
clusterId: "ccvmf49t1ndqeechmj8p0",
nodePoolId: "pcvpkdn7ic26jjcjsa20g",
autoCompleteConfig: {
enable: true,
directAdd: true,
directAddInstances: [{
cloudServerIdentity: "cloudserver-wvvflw9qdns2qrk",
instanceIdentity: "veen91912104432151420041",
}],
},
});
const fooEdgeNodes = volcengine.veecp.getEdgeNodesOutput({
ids: [fooEdgeNode.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_edge_node = volcengine.veecp.EdgeNode("fooEdgeNode",
cluster_id="ccvmf49t1ndqeechmj8p0",
node_pool_id="pcvpkdn7ic26jjcjsa20g",
auto_complete_config=volcengine.veecp.EdgeNodeAutoCompleteConfigArgs(
enable=True,
direct_add=True,
direct_add_instances=[volcengine.veecp.EdgeNodeAutoCompleteConfigDirectAddInstanceArgs(
cloud_server_identity="cloudserver-wvvflw9qdns2qrk",
instance_identity="veen91912104432151420041",
)],
))
foo_edge_nodes = volcengine.veecp.get_edge_nodes_output(ids=[foo_edge_node.id])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/veecp"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooEdgeNode, err := veecp.NewEdgeNode(ctx, "fooEdgeNode", &veecp.EdgeNodeArgs{
ClusterId: pulumi.String("ccvmf49t1ndqeechmj8p0"),
NodePoolId: pulumi.String("pcvpkdn7ic26jjcjsa20g"),
AutoCompleteConfig: &veecp.EdgeNodeAutoCompleteConfigArgs{
Enable: pulumi.Bool(true),
DirectAdd: pulumi.Bool(true),
DirectAddInstances: veecp.EdgeNodeAutoCompleteConfigDirectAddInstanceArray{
&veecp.EdgeNodeAutoCompleteConfigDirectAddInstanceArgs{
CloudServerIdentity: pulumi.String("cloudserver-wvvflw9qdns2qrk"),
InstanceIdentity: pulumi.String("veen91912104432151420041"),
},
},
},
})
if err != nil {
return err
}
_ = veecp.GetEdgeNodesOutput(ctx, veecp.GetEdgeNodesOutputArgs{
Ids: pulumi.StringArray{
fooEdgeNode.ID(),
},
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooEdgeNode = new Volcengine.Veecp.EdgeNode("fooEdgeNode", new()
{
ClusterId = "ccvmf49t1ndqeechmj8p0",
NodePoolId = "pcvpkdn7ic26jjcjsa20g",
AutoCompleteConfig = new Volcengine.Veecp.Inputs.EdgeNodeAutoCompleteConfigArgs
{
Enable = true,
DirectAdd = true,
DirectAddInstances = new[]
{
new Volcengine.Veecp.Inputs.EdgeNodeAutoCompleteConfigDirectAddInstanceArgs
{
CloudServerIdentity = "cloudserver-wvvflw9qdns2qrk",
InstanceIdentity = "veen91912104432151420041",
},
},
},
});
var fooEdgeNodes = Volcengine.Veecp.GetEdgeNodes.Invoke(new()
{
Ids = new[]
{
fooEdgeNode.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.veecp.EdgeNode;
import com.pulumi.volcengine.veecp.EdgeNodeArgs;
import com.pulumi.volcengine.veecp.inputs.EdgeNodeAutoCompleteConfigArgs;
import com.pulumi.volcengine.veecp.VeecpFunctions;
import com.pulumi.volcengine.veecp.inputs.GetEdgeNodesArgs;
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) {
var fooEdgeNode = new EdgeNode("fooEdgeNode", EdgeNodeArgs.builder()
.clusterId("ccvmf49t1ndqeechmj8p0")
.nodePoolId("pcvpkdn7ic26jjcjsa20g")
.autoCompleteConfig(EdgeNodeAutoCompleteConfigArgs.builder()
.enable(true)
.directAdd(true)
.directAddInstances(EdgeNodeAutoCompleteConfigDirectAddInstanceArgs.builder()
.cloudServerIdentity("cloudserver-wvvflw9qdns2qrk")
.instanceIdentity("veen91912104432151420041")
.build())
.build())
.build());
final var fooEdgeNodes = VeecpFunctions.getEdgeNodes(GetEdgeNodesArgs.builder()
.ids(fooEdgeNode.id())
.build());
}
}
resources:
fooEdgeNode:
type: volcengine:veecp:EdgeNode
properties:
clusterId: ccvmf49t1ndqeechmj8p0
nodePoolId: pcvpkdn7ic26jjcjsa20g
autoCompleteConfig:
enable: true
directAdd: true
directAddInstances:
- cloudServerIdentity: cloudserver-wvvflw9qdns2qrk
instanceIdentity: veen91912104432151420041
variables:
fooEdgeNodes:
fn::invoke:
Function: volcengine:veecp:getEdgeNodes
Arguments:
ids:
- ${fooEdgeNode.id}
Using getEdgeNodes
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 getEdgeNodes(args: GetEdgeNodesArgs, opts?: InvokeOptions): Promise<GetEdgeNodesResult>
function getEdgeNodesOutput(args: GetEdgeNodesOutputArgs, opts?: InvokeOptions): Output<GetEdgeNodesResult>
def get_edge_nodes(cluster_ids: Optional[Sequence[str]] = None,
create_client_token: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
ips: Optional[Sequence[str]] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
need_bootstrap_script: Optional[str] = None,
node_pool_ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
statuses: Optional[Sequence[GetEdgeNodesStatus]] = None,
zone_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetEdgeNodesResult
def get_edge_nodes_output(cluster_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
create_client_token: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
need_bootstrap_script: Optional[pulumi.Input[str]] = None,
node_pool_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[GetEdgeNodesStatusArgs]]]] = None,
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEdgeNodesResult]
func GetEdgeNodes(ctx *Context, args *GetEdgeNodesArgs, opts ...InvokeOption) (*GetEdgeNodesResult, error)
func GetEdgeNodesOutput(ctx *Context, args *GetEdgeNodesOutputArgs, opts ...InvokeOption) GetEdgeNodesResultOutput
> Note: This function is named GetEdgeNodes
in the Go SDK.
public static class GetEdgeNodes
{
public static Task<GetEdgeNodesResult> InvokeAsync(GetEdgeNodesArgs args, InvokeOptions? opts = null)
public static Output<GetEdgeNodesResult> Invoke(GetEdgeNodesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEdgeNodesResult> getEdgeNodes(GetEdgeNodesArgs args, InvokeOptions options)
public static Output<GetEdgeNodesResult> getEdgeNodes(GetEdgeNodesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:veecp/getEdgeNodes:getEdgeNodes
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Ids List<string> - A list of Cluster IDs.
- Create
Client stringToken - The Create Client Token.
- Ids List<string>
- A list of Node IDs.
- Ips List<string>
- The node ips.
- Name string
- The Name of Node.
- Name
Regex string - A Name Regex of Node.
- Need
Bootstrap stringScript - Whether to query the node management script is needed.
- Node
Pool List<string>Ids - The Node Pool IDs.
- Output
File string - File name where to save data source results.
- Statuses
List<Get
Edge Nodes Status> - The Status of filter.
- Zone
Ids List<string> - The Zone IDs.
- Cluster
Ids []string - A list of Cluster IDs.
- Create
Client stringToken - The Create Client Token.
- Ids []string
- A list of Node IDs.
- Ips []string
- The node ips.
- Name string
- The Name of Node.
- Name
Regex string - A Name Regex of Node.
- Need
Bootstrap stringScript - Whether to query the node management script is needed.
- Node
Pool []stringIds - The Node Pool IDs.
- Output
File string - File name where to save data source results.
- Statuses
[]Get
Edge Nodes Status - The Status of filter.
- Zone
Ids []string - The Zone IDs.
- cluster
Ids List<String> - A list of Cluster IDs.
- create
Client StringToken - The Create Client Token.
- ids List<String>
- A list of Node IDs.
- ips List<String>
- The node ips.
- name String
- The Name of Node.
- name
Regex String - A Name Regex of Node.
- need
Bootstrap StringScript - Whether to query the node management script is needed.
- node
Pool List<String>Ids - The Node Pool IDs.
- output
File String - File name where to save data source results.
- statuses
List<Get
Edge Nodes Status> - The Status of filter.
- zone
Ids List<String> - The Zone IDs.
- cluster
Ids string[] - A list of Cluster IDs.
- create
Client stringToken - The Create Client Token.
- ids string[]
- A list of Node IDs.
- ips string[]
- The node ips.
- name string
- The Name of Node.
- name
Regex string - A Name Regex of Node.
- need
Bootstrap stringScript - Whether to query the node management script is needed.
- node
Pool string[]Ids - The Node Pool IDs.
- output
File string - File name where to save data source results.
- statuses
Get
Edge Nodes Status[] - The Status of filter.
- zone
Ids string[] - The Zone IDs.
- cluster_
ids Sequence[str] - A list of Cluster IDs.
- create_
client_ strtoken - The Create Client Token.
- ids Sequence[str]
- A list of Node IDs.
- ips Sequence[str]
- The node ips.
- name str
- The Name of Node.
- name_
regex str - A Name Regex of Node.
- need_
bootstrap_ strscript - Whether to query the node management script is needed.
- node_
pool_ Sequence[str]ids - The Node Pool IDs.
- output_
file str - File name where to save data source results.
- statuses
Sequence[Get
Edge Nodes Status] - The Status of filter.
- zone_
ids Sequence[str] - The Zone IDs.
- cluster
Ids List<String> - A list of Cluster IDs.
- create
Client StringToken - The Create Client Token.
- ids List<String>
- A list of Node IDs.
- ips List<String>
- The node ips.
- name String
- The Name of Node.
- name
Regex String - A Name Regex of Node.
- need
Bootstrap StringScript - Whether to query the node management script is needed.
- node
Pool List<String>Ids - The Node Pool IDs.
- output
File String - File name where to save data source results.
- statuses List<Property Map>
- The Status of filter.
- zone
Ids List<String> - The Zone IDs.
getEdgeNodes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
List<Get
Edge Nodes Node> - The collection of query.
- Total
Count int - The total count of Node query.
- Cluster
Ids List<string> - Create
Client stringToken - The create client token of node.
- Ids List<string>
- Ips List<string>
- Name string
- The name of Node.
- Name
Regex string - Need
Bootstrap stringScript - Node
Pool List<string>Ids - Output
File string - Statuses
List<Get
Edge Nodes Status> - Zone
Ids List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
[]Get
Edge Nodes Node - The collection of query.
- Total
Count int - The total count of Node query.
- Cluster
Ids []string - Create
Client stringToken - The create client token of node.
- Ids []string
- Ips []string
- Name string
- The name of Node.
- Name
Regex string - Need
Bootstrap stringScript - Node
Pool []stringIds - Output
File string - Statuses
[]Get
Edge Nodes Status - Zone
Ids []string
- id String
- The provider-assigned unique ID for this managed resource.
- nodes
List<Get
Edge Nodes Node> - The collection of query.
- total
Count Integer - The total count of Node query.
- cluster
Ids List<String> - create
Client StringToken - The create client token of node.
- ids List<String>
- ips List<String>
- name String
- The name of Node.
- name
Regex String - need
Bootstrap StringScript - node
Pool List<String>Ids - output
File String - statuses
List<Get
Edge Nodes Status> - zone
Ids List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- nodes
Get
Edge Nodes Node[] - The collection of query.
- total
Count number - The total count of Node query.
- cluster
Ids string[] - create
Client stringToken - The create client token of node.
- ids string[]
- ips string[]
- name string
- The name of Node.
- name
Regex string - need
Bootstrap stringScript - node
Pool string[]Ids - output
File string - statuses
Get
Edge Nodes Status[] - zone
Ids string[]
- id str
- The provider-assigned unique ID for this managed resource.
- nodes
Sequence[Get
Edge Nodes Node] - The collection of query.
- total_
count int - The total count of Node query.
- cluster_
ids Sequence[str] - create_
client_ strtoken - The create client token of node.
- ids Sequence[str]
- ips Sequence[str]
- name str
- The name of Node.
- name_
regex str - need_
bootstrap_ strscript - node_
pool_ Sequence[str]ids - output_
file str - statuses
Sequence[Get
Edge Nodes Status] - zone_
ids Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- nodes List<Property Map>
- The collection of query.
- total
Count Number - The total count of Node query.
- cluster
Ids List<String> - create
Client StringToken - The create client token of node.
- ids List<String>
- ips List<String>
- name String
- The name of Node.
- name
Regex String - need
Bootstrap StringScript - node
Pool List<String>Ids - output
File String - statuses List<Property Map>
- zone
Ids List<String>
Supporting Types
GetEdgeNodesNode
- Bootstrap
Script string - The bootstrap script of node.
- Cluster
Id string - The cluster id of node.
- Condition
Types List<string> - The Condition of Node.
- Create
Client stringToken - The Create Client Token.
- Create
Time string - The create time of Node.
- Edge
Node stringType - The edge node type of node.
- Id string
- The ID of Node.
- Instance
Id string - The instance id of node.
- Name string
- The Name of Node.
- Node
Pool stringId - The node pool id.
- Phase string
- The Phase of Node.
- Profile string
- The profile of node. Distinguish between edge and central nodes.
- Provider
Id string - The provider id of node.
- Update
Time string - The update time of Node.
- Bootstrap
Script string - The bootstrap script of node.
- Cluster
Id string - The cluster id of node.
- Condition
Types []string - The Condition of Node.
- Create
Client stringToken - The Create Client Token.
- Create
Time string - The create time of Node.
- Edge
Node stringType - The edge node type of node.
- Id string
- The ID of Node.
- Instance
Id string - The instance id of node.
- Name string
- The Name of Node.
- Node
Pool stringId - The node pool id.
- Phase string
- The Phase of Node.
- Profile string
- The profile of node. Distinguish between edge and central nodes.
- Provider
Id string - The provider id of node.
- Update
Time string - The update time of Node.
- bootstrap
Script String - The bootstrap script of node.
- cluster
Id String - The cluster id of node.
- condition
Types List<String> - The Condition of Node.
- create
Client StringToken - The Create Client Token.
- create
Time String - The create time of Node.
- edge
Node StringType - The edge node type of node.
- id String
- The ID of Node.
- instance
Id String - The instance id of node.
- name String
- The Name of Node.
- node
Pool StringId - The node pool id.
- phase String
- The Phase of Node.
- profile String
- The profile of node. Distinguish between edge and central nodes.
- provider
Id String - The provider id of node.
- update
Time String - The update time of Node.
- bootstrap
Script string - The bootstrap script of node.
- cluster
Id string - The cluster id of node.
- condition
Types string[] - The Condition of Node.
- create
Client stringToken - The Create Client Token.
- create
Time string - The create time of Node.
- edge
Node stringType - The edge node type of node.
- id string
- The ID of Node.
- instance
Id string - The instance id of node.
- name string
- The Name of Node.
- node
Pool stringId - The node pool id.
- phase string
- The Phase of Node.
- profile string
- The profile of node. Distinguish between edge and central nodes.
- provider
Id string - The provider id of node.
- update
Time string - The update time of Node.
- bootstrap_
script str - The bootstrap script of node.
- cluster_
id str - The cluster id of node.
- condition_
types Sequence[str] - The Condition of Node.
- create_
client_ strtoken - The Create Client Token.
- create_
time str - The create time of Node.
- edge_
node_ strtype - The edge node type of node.
- id str
- The ID of Node.
- instance_
id str - The instance id of node.
- name str
- The Name of Node.
- node_
pool_ strid - The node pool id.
- phase str
- The Phase of Node.
- profile str
- The profile of node. Distinguish between edge and central nodes.
- provider_
id str - The provider id of node.
- update_
time str - The update time of Node.
- bootstrap
Script String - The bootstrap script of node.
- cluster
Id String - The cluster id of node.
- condition
Types List<String> - The Condition of Node.
- create
Client StringToken - The Create Client Token.
- create
Time String - The create time of Node.
- edge
Node StringType - The edge node type of node.
- id String
- The ID of Node.
- instance
Id String - The instance id of node.
- name String
- The Name of Node.
- node
Pool StringId - The node pool id.
- phase String
- The Phase of Node.
- profile String
- The profile of node. Distinguish between edge and central nodes.
- provider
Id String - The provider id of node.
- update
Time String - The update time of Node.
GetEdgeNodesStatus
- Edge
Node stringStatus Condition Type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - Phase string
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
- Edge
Node stringStatus Condition Type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - Phase string
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
- edge
Node StringStatus Condition Type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - phase String
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
- edge
Node stringStatus Condition Type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - phase string
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
- edge_
node_ strstatus_ condition_ type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - phase str
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
- edge
Node StringStatus Condition Type - The Type of Node Condition, the value is
Progressing
orOk
orUnschedulable
orInitilizeFailed
orUnknown
orNotReady
orSecurity
orBalance
orResourceCleanupFailed
. - phase String
- The Phase of Node, the value is
Creating
orRunning
orUpdating
orDeleting
orFailed
orStarting
orStopping
orStopped
.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.