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

volcengine.veecp.EdgeNodes

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
    Deprecated: volcengine.veecp.EdgeNodes has been deprecated in favor of volcengine.veecp.getEdgeNodes

    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 EdgeNodes

    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 edgeNodes(args: EdgeNodesArgs, opts?: InvokeOptions): Promise<EdgeNodesResult>
    function edgeNodesOutput(args: EdgeNodesOutputArgs, opts?: InvokeOptions): Output<EdgeNodesResult>
    def 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[EdgeNodesStatus]] = None,
                   zone_ids: Optional[Sequence[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> EdgeNodesResult
    def 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[EdgeNodesStatusArgs]]]] = None,
                   zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[EdgeNodesResult]
    func EdgeNodes(ctx *Context, args *EdgeNodesArgs, opts ...InvokeOption) (*EdgeNodesResult, error)
    func EdgeNodesOutput(ctx *Context, args *EdgeNodesOutputArgs, opts ...InvokeOption) EdgeNodesResultOutput
    public static class EdgeNodes 
    {
        public static Task<EdgeNodesResult> InvokeAsync(EdgeNodesArgs args, InvokeOptions? opts = null)
        public static Output<EdgeNodesResult> Invoke(EdgeNodesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<EdgeNodesResult> edgeNodes(EdgeNodesArgs args, InvokeOptions options)
    public static Output<EdgeNodesResult> edgeNodes(EdgeNodesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:veecp:EdgeNodes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterIds List<string>
    A list of Cluster IDs.
    CreateClientToken string
    The Create Client Token.
    Ids List<string>
    A list of Node IDs.
    Ips List<string>
    The node ips.
    Name string
    The Name of Node.
    NameRegex string
    A Name Regex of Node.
    NeedBootstrapScript string
    Whether to query the node management script is needed.
    NodePoolIds List<string>
    The Node Pool IDs.
    OutputFile string
    File name where to save data source results.
    Statuses List<EdgeNodesStatus>
    The Status of filter.
    ZoneIds List<string>
    The Zone IDs.
    ClusterIds []string
    A list of Cluster IDs.
    CreateClientToken string
    The Create Client Token.
    Ids []string
    A list of Node IDs.
    Ips []string
    The node ips.
    Name string
    The Name of Node.
    NameRegex string
    A Name Regex of Node.
    NeedBootstrapScript string
    Whether to query the node management script is needed.
    NodePoolIds []string
    The Node Pool IDs.
    OutputFile string
    File name where to save data source results.
    Statuses []EdgeNodesStatus
    The Status of filter.
    ZoneIds []string
    The Zone IDs.
    clusterIds List<String>
    A list of Cluster IDs.
    createClientToken String
    The Create Client Token.
    ids List<String>
    A list of Node IDs.
    ips List<String>
    The node ips.
    name String
    The Name of Node.
    nameRegex String
    A Name Regex of Node.
    needBootstrapScript String
    Whether to query the node management script is needed.
    nodePoolIds List<String>
    The Node Pool IDs.
    outputFile String
    File name where to save data source results.
    statuses List<EdgeNodesStatus>
    The Status of filter.
    zoneIds List<String>
    The Zone IDs.
    clusterIds string[]
    A list of Cluster IDs.
    createClientToken string
    The Create Client Token.
    ids string[]
    A list of Node IDs.
    ips string[]
    The node ips.
    name string
    The Name of Node.
    nameRegex string
    A Name Regex of Node.
    needBootstrapScript string
    Whether to query the node management script is needed.
    nodePoolIds string[]
    The Node Pool IDs.
    outputFile string
    File name where to save data source results.
    statuses EdgeNodesStatus[]
    The Status of filter.
    zoneIds string[]
    The Zone IDs.
    cluster_ids Sequence[str]
    A list of Cluster IDs.
    create_client_token str
    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_script str
    Whether to query the node management script is needed.
    node_pool_ids Sequence[str]
    The Node Pool IDs.
    output_file str
    File name where to save data source results.
    statuses Sequence[EdgeNodesStatus]
    The Status of filter.
    zone_ids Sequence[str]
    The Zone IDs.
    clusterIds List<String>
    A list of Cluster IDs.
    createClientToken String
    The Create Client Token.
    ids List<String>
    A list of Node IDs.
    ips List<String>
    The node ips.
    name String
    The Name of Node.
    nameRegex String
    A Name Regex of Node.
    needBootstrapScript String
    Whether to query the node management script is needed.
    nodePoolIds List<String>
    The Node Pool IDs.
    outputFile String
    File name where to save data source results.
    statuses List<Property Map>
    The Status of filter.
    zoneIds List<String>
    The Zone IDs.

    EdgeNodes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Nodes List<EdgeNodesNode>
    The collection of query.
    TotalCount int
    The total count of Node query.
    ClusterIds List<string>
    CreateClientToken string
    The create client token of node.
    Ids List<string>
    Ips List<string>
    Name string
    The name of Node.
    NameRegex string
    NeedBootstrapScript string
    NodePoolIds List<string>
    OutputFile string
    Statuses List<EdgeNodesStatus>
    ZoneIds List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Nodes []EdgeNodesNode
    The collection of query.
    TotalCount int
    The total count of Node query.
    ClusterIds []string
    CreateClientToken string
    The create client token of node.
    Ids []string
    Ips []string
    Name string
    The name of Node.
    NameRegex string
    NeedBootstrapScript string
    NodePoolIds []string
    OutputFile string
    Statuses []EdgeNodesStatus
    ZoneIds []string
    id String
    The provider-assigned unique ID for this managed resource.
    nodes List<EdgeNodesNode>
    The collection of query.
    totalCount Integer
    The total count of Node query.
    clusterIds List<String>
    createClientToken String
    The create client token of node.
    ids List<String>
    ips List<String>
    name String
    The name of Node.
    nameRegex String
    needBootstrapScript String
    nodePoolIds List<String>
    outputFile String
    statuses List<EdgeNodesStatus>
    zoneIds List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    nodes EdgeNodesNode[]
    The collection of query.
    totalCount number
    The total count of Node query.
    clusterIds string[]
    createClientToken string
    The create client token of node.
    ids string[]
    ips string[]
    name string
    The name of Node.
    nameRegex string
    needBootstrapScript string
    nodePoolIds string[]
    outputFile string
    statuses EdgeNodesStatus[]
    zoneIds string[]
    id str
    The provider-assigned unique ID for this managed resource.
    nodes Sequence[EdgeNodesNode]
    The collection of query.
    total_count int
    The total count of Node query.
    cluster_ids Sequence[str]
    create_client_token str
    The create client token of node.
    ids Sequence[str]
    ips Sequence[str]
    name str
    The name of Node.
    name_regex str
    need_bootstrap_script str
    node_pool_ids Sequence[str]
    output_file str
    statuses Sequence[EdgeNodesStatus]
    zone_ids Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    nodes List<Property Map>
    The collection of query.
    totalCount Number
    The total count of Node query.
    clusterIds List<String>
    createClientToken String
    The create client token of node.
    ids List<String>
    ips List<String>
    name String
    The name of Node.
    nameRegex String
    needBootstrapScript String
    nodePoolIds List<String>
    outputFile String
    statuses List<Property Map>
    zoneIds List<String>

    Supporting Types

    EdgeNodesNode

    BootstrapScript string
    The bootstrap script of node.
    ClusterId string
    The cluster id of node.
    ConditionTypes List<string>
    The Condition of Node.
    CreateClientToken string
    The Create Client Token.
    CreateTime string
    The create time of Node.
    EdgeNodeType string
    The edge node type of node.
    Id string
    The ID of Node.
    InstanceId string
    The instance id of node.
    Name string
    The Name of Node.
    NodePoolId string
    The node pool id.
    Phase string
    The Phase of Node.
    Profile string
    The profile of node. Distinguish between edge and central nodes.
    ProviderId string
    The provider id of node.
    UpdateTime string
    The update time of Node.
    BootstrapScript string
    The bootstrap script of node.
    ClusterId string
    The cluster id of node.
    ConditionTypes []string
    The Condition of Node.
    CreateClientToken string
    The Create Client Token.
    CreateTime string
    The create time of Node.
    EdgeNodeType string
    The edge node type of node.
    Id string
    The ID of Node.
    InstanceId string
    The instance id of node.
    Name string
    The Name of Node.
    NodePoolId string
    The node pool id.
    Phase string
    The Phase of Node.
    Profile string
    The profile of node. Distinguish between edge and central nodes.
    ProviderId string
    The provider id of node.
    UpdateTime string
    The update time of Node.
    bootstrapScript String
    The bootstrap script of node.
    clusterId String
    The cluster id of node.
    conditionTypes List<String>
    The Condition of Node.
    createClientToken String
    The Create Client Token.
    createTime String
    The create time of Node.
    edgeNodeType String
    The edge node type of node.
    id String
    The ID of Node.
    instanceId String
    The instance id of node.
    name String
    The Name of Node.
    nodePoolId String
    The node pool id.
    phase String
    The Phase of Node.
    profile String
    The profile of node. Distinguish between edge and central nodes.
    providerId String
    The provider id of node.
    updateTime String
    The update time of Node.
    bootstrapScript string
    The bootstrap script of node.
    clusterId string
    The cluster id of node.
    conditionTypes string[]
    The Condition of Node.
    createClientToken string
    The Create Client Token.
    createTime string
    The create time of Node.
    edgeNodeType string
    The edge node type of node.
    id string
    The ID of Node.
    instanceId string
    The instance id of node.
    name string
    The Name of Node.
    nodePoolId string
    The node pool id.
    phase string
    The Phase of Node.
    profile string
    The profile of node. Distinguish between edge and central nodes.
    providerId string
    The provider id of node.
    updateTime 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_token str
    The Create Client Token.
    create_time str
    The create time of Node.
    edge_node_type str
    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_id str
    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.
    bootstrapScript String
    The bootstrap script of node.
    clusterId String
    The cluster id of node.
    conditionTypes List<String>
    The Condition of Node.
    createClientToken String
    The Create Client Token.
    createTime String
    The create time of Node.
    edgeNodeType String
    The edge node type of node.
    id String
    The ID of Node.
    instanceId String
    The instance id of node.
    name String
    The Name of Node.
    nodePoolId String
    The node pool id.
    phase String
    The Phase of Node.
    profile String
    The profile of node. Distinguish between edge and central nodes.
    providerId String
    The provider id of node.
    updateTime String
    The update time of Node.

    EdgeNodesStatus

    EdgeNodeStatusConditionType string
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    Phase string
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
    EdgeNodeStatusConditionType string
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    Phase string
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
    edgeNodeStatusConditionType String
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    phase String
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
    edgeNodeStatusConditionType string
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    phase string
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
    edge_node_status_condition_type str
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    phase str
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.
    edgeNodeStatusConditionType String
    The Type of Node Condition, the value is Progressing or Ok or Unschedulable or InitilizeFailed or Unknown or NotReady or Security or Balance or ResourceCleanupFailed.
    phase String
    The Phase of Node, the value is Creating or Running or Updating or Deleting or Failed or Starting or Stopping or Stopped.

    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