Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.veecp.BatchEdgeMachines
Explore with Pulumi AI
Deprecated: volcengine.veecp.BatchEdgeMachines has been deprecated in favor of volcengine.veecp.getBatchEdgeMachines
Use this data source to query detailed information of veecp batch edge machines
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooBatchEdgeMachine = new volcengine.veecp.BatchEdgeMachine("fooBatchEdgeMachine", {
clusterId: "ccvd7mte6t101fno98u60",
nodePoolId: "pcvd90uacnsr73g6bjic0",
ttlHours: 1,
});
const fooBatchEdgeMachines = volcengine.veecp.getBatchEdgeMachinesOutput({
clusterIds: [fooBatchEdgeMachine.clusterId],
ids: [fooBatchEdgeMachine.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_batch_edge_machine = volcengine.veecp.BatchEdgeMachine("fooBatchEdgeMachine",
cluster_id="ccvd7mte6t101fno98u60",
node_pool_id="pcvd90uacnsr73g6bjic0",
ttl_hours=1)
foo_batch_edge_machines = volcengine.veecp.get_batch_edge_machines_output(cluster_ids=[foo_batch_edge_machine.cluster_id],
ids=[foo_batch_edge_machine.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 {
fooBatchEdgeMachine, err := veecp.NewBatchEdgeMachine(ctx, "fooBatchEdgeMachine", &veecp.BatchEdgeMachineArgs{
ClusterId: pulumi.String("ccvd7mte6t101fno98u60"),
NodePoolId: pulumi.String("pcvd90uacnsr73g6bjic0"),
TtlHours: pulumi.Int(1),
})
if err != nil {
return err
}
_ = veecp.GetBatchEdgeMachinesOutput(ctx, veecp.GetBatchEdgeMachinesOutputArgs{
ClusterIds: pulumi.StringArray{
fooBatchEdgeMachine.ClusterId,
},
Ids: pulumi.StringArray{
fooBatchEdgeMachine.ID(),
},
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooBatchEdgeMachine = new Volcengine.Veecp.BatchEdgeMachine("fooBatchEdgeMachine", new()
{
ClusterId = "ccvd7mte6t101fno98u60",
NodePoolId = "pcvd90uacnsr73g6bjic0",
TtlHours = 1,
});
var fooBatchEdgeMachines = Volcengine.Veecp.GetBatchEdgeMachines.Invoke(new()
{
ClusterIds = new[]
{
fooBatchEdgeMachine.ClusterId,
},
Ids = new[]
{
fooBatchEdgeMachine.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.veecp.BatchEdgeMachine;
import com.pulumi.volcengine.veecp.BatchEdgeMachineArgs;
import com.pulumi.volcengine.veecp.VeecpFunctions;
import com.pulumi.volcengine.veecp.inputs.GetBatchEdgeMachinesArgs;
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 fooBatchEdgeMachine = new BatchEdgeMachine("fooBatchEdgeMachine", BatchEdgeMachineArgs.builder()
.clusterId("ccvd7mte6t101fno98u60")
.nodePoolId("pcvd90uacnsr73g6bjic0")
.ttlHours(1)
.build());
final var fooBatchEdgeMachines = VeecpFunctions.getBatchEdgeMachines(GetBatchEdgeMachinesArgs.builder()
.clusterIds(fooBatchEdgeMachine.clusterId())
.ids(fooBatchEdgeMachine.id())
.build());
}
}
resources:
fooBatchEdgeMachine:
type: volcengine:veecp:BatchEdgeMachine
properties:
clusterId: ccvd7mte6t101fno98u60
nodePoolId: pcvd90uacnsr73g6bjic0
ttlHours: 1
variables:
fooBatchEdgeMachines:
fn::invoke:
Function: volcengine:veecp:getBatchEdgeMachines
Arguments:
clusterIds:
- ${fooBatchEdgeMachine.clusterId}
ids:
- ${fooBatchEdgeMachine.id}
Using BatchEdgeMachines
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 batchEdgeMachines(args: BatchEdgeMachinesArgs, opts?: InvokeOptions): Promise<BatchEdgeMachinesResult>
function batchEdgeMachinesOutput(args: BatchEdgeMachinesOutputArgs, opts?: InvokeOptions): Output<BatchEdgeMachinesResult>
def batch_edge_machines(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,
need_bootstrap_script: Optional[str] = None,
output_file: Optional[str] = None,
statuses: Optional[Sequence[BatchEdgeMachinesStatus]] = None,
zone_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> BatchEdgeMachinesResult
def batch_edge_machines_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,
need_bootstrap_script: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[BatchEdgeMachinesStatusArgs]]]] = None,
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[BatchEdgeMachinesResult]
func BatchEdgeMachines(ctx *Context, args *BatchEdgeMachinesArgs, opts ...InvokeOption) (*BatchEdgeMachinesResult, error)
func BatchEdgeMachinesOutput(ctx *Context, args *BatchEdgeMachinesOutputArgs, opts ...InvokeOption) BatchEdgeMachinesResultOutput
public static class BatchEdgeMachines
{
public static Task<BatchEdgeMachinesResult> InvokeAsync(BatchEdgeMachinesArgs args, InvokeOptions? opts = null)
public static Output<BatchEdgeMachinesResult> Invoke(BatchEdgeMachinesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<BatchEdgeMachinesResult> batchEdgeMachines(BatchEdgeMachinesArgs args, InvokeOptions options)
public static Output<BatchEdgeMachinesResult> batchEdgeMachines(BatchEdgeMachinesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:veecp:BatchEdgeMachines
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Ids List<string> - The ClusterIds of NodePool IDs.
- Create
Client stringToken - The ClientToken when successfully created.
- Ids List<string>
- A list of IDs.
- Ips List<string>
- The IPs.
- Name string
- The Name of NodePool.
- Need
Bootstrap stringScript - Whether it is necessary to query the node management script.
- Output
File string - File name where to save data source results.
- Statuses
List<Batch
Edge Machines Status> - The Status of NodePool.
- Zone
Ids List<string> - The Zone Ids.
- Cluster
Ids []string - The ClusterIds of NodePool IDs.
- Create
Client stringToken - The ClientToken when successfully created.
- Ids []string
- A list of IDs.
- Ips []string
- The IPs.
- Name string
- The Name of NodePool.
- Need
Bootstrap stringScript - Whether it is necessary to query the node management script.
- Output
File string - File name where to save data source results.
- Statuses
[]Batch
Edge Machines Status - The Status of NodePool.
- Zone
Ids []string - The Zone Ids.
- cluster
Ids List<String> - The ClusterIds of NodePool IDs.
- create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- A list of IDs.
- ips List<String>
- The IPs.
- name String
- The Name of NodePool.
- need
Bootstrap StringScript - Whether it is necessary to query the node management script.
- output
File String - File name where to save data source results.
- statuses
List<Batch
Edge Machines Status> - The Status of NodePool.
- zone
Ids List<String> - The Zone Ids.
- cluster
Ids string[] - The ClusterIds of NodePool IDs.
- create
Client stringToken - The ClientToken when successfully created.
- ids string[]
- A list of IDs.
- ips string[]
- The IPs.
- name string
- The Name of NodePool.
- need
Bootstrap stringScript - Whether it is necessary to query the node management script.
- output
File string - File name where to save data source results.
- statuses
Batch
Edge Machines Status[] - The Status of NodePool.
- zone
Ids string[] - The Zone Ids.
- cluster_
ids Sequence[str] - The ClusterIds of NodePool IDs.
- create_
client_ strtoken - The ClientToken when successfully created.
- ids Sequence[str]
- A list of IDs.
- ips Sequence[str]
- The IPs.
- name str
- The Name of NodePool.
- need_
bootstrap_ strscript - Whether it is necessary to query the node management script.
- output_
file str - File name where to save data source results.
- statuses
Sequence[Batch
Edge Machines Status] - The Status of NodePool.
- zone_
ids Sequence[str] - The Zone Ids.
- cluster
Ids List<String> - The ClusterIds of NodePool IDs.
- create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- A list of IDs.
- ips List<String>
- The IPs.
- name String
- The Name of NodePool.
- need
Bootstrap StringScript - Whether it is necessary to query the node management script.
- output
File String - File name where to save data source results.
- statuses List<Property Map>
- The Status of NodePool.
- zone
Ids List<String> - The Zone Ids.
BatchEdgeMachines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Machines
List<Batch
Edge Machines Machine> - The collection of query.
- Total
Count int - The total count of query.
- Cluster
Ids List<string> - Create
Client stringToken - The ClientToken when successfully created.
- Ids List<string>
- Ips List<string>
- Name string
- The Name of NodePool.
- Need
Bootstrap stringScript - Output
File string - Statuses
List<Batch
Edge Machines Status> - Zone
Ids List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Machines
[]Batch
Edge Machines Machine - The collection of query.
- Total
Count int - The total count of query.
- Cluster
Ids []string - Create
Client stringToken - The ClientToken when successfully created.
- Ids []string
- Ips []string
- Name string
- The Name of NodePool.
- Need
Bootstrap stringScript - Output
File string - Statuses
[]Batch
Edge Machines Status - Zone
Ids []string
- id String
- The provider-assigned unique ID for this managed resource.
- machines
List<Batch
Edge Machines Machine> - The collection of query.
- total
Count Integer - The total count of query.
- cluster
Ids List<String> - create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- ips List<String>
- name String
- The Name of NodePool.
- need
Bootstrap StringScript - output
File String - statuses
List<Batch
Edge Machines Status> - zone
Ids List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- machines
Batch
Edge Machines Machine[] - The collection of query.
- total
Count number - The total count of query.
- cluster
Ids string[] - create
Client stringToken - The ClientToken when successfully created.
- ids string[]
- ips string[]
- name string
- The Name of NodePool.
- need
Bootstrap stringScript - output
File string - statuses
Batch
Edge Machines Status[] - zone
Ids string[]
- id str
- The provider-assigned unique ID for this managed resource.
- machines
Sequence[Batch
Edge Machines Machine] - The collection of query.
- total_
count int - The total count of query.
- cluster_
ids Sequence[str] - create_
client_ strtoken - The ClientToken when successfully created.
- ids Sequence[str]
- ips Sequence[str]
- name str
- The Name of NodePool.
- need_
bootstrap_ strscript - output_
file str - statuses
Sequence[Batch
Edge Machines Status] - zone_
ids Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- machines List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- cluster
Ids List<String> - create
Client StringToken - The ClientToken when successfully created.
- ids List<String>
- ips List<String>
- name String
- The Name of NodePool.
- need
Bootstrap StringScript - output
File String - statuses List<Property Map>
- zone
Ids List<String>
Supporting Types
BatchEdgeMachinesMachine
- Bootstrap
Script string - The bootstrap script.
- Cluster
Id string - The ClusterId of NodePool.
- Condition
Types List<string> - The Condition of Status.
- Create
Client stringToken - The ClientToken when successfully created.
- Create
Time string - The CreateTime of NodePool.
- Edge
Node stringType - Edge node type.
- Id string
- The Id of NodePool.
- Name string
- The Name of NodePool.
- Phase string
- The Phase of Status.
- Profile string
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- Ttl
Time int - The TTL time.
- Update
Time string - The UpdateTime time of NodePool.
- Bootstrap
Script string - The bootstrap script.
- Cluster
Id string - The ClusterId of NodePool.
- Condition
Types []string - The Condition of Status.
- Create
Client stringToken - The ClientToken when successfully created.
- Create
Time string - The CreateTime of NodePool.
- Edge
Node stringType - Edge node type.
- Id string
- The Id of NodePool.
- Name string
- The Name of NodePool.
- Phase string
- The Phase of Status.
- Profile string
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- Ttl
Time int - The TTL time.
- Update
Time string - The UpdateTime time of NodePool.
- bootstrap
Script String - The bootstrap script.
- cluster
Id String - The ClusterId of NodePool.
- condition
Types List<String> - The Condition of Status.
- create
Client StringToken - The ClientToken when successfully created.
- create
Time String - The CreateTime of NodePool.
- edge
Node StringType - Edge node type.
- id String
- The Id of NodePool.
- name String
- The Name of NodePool.
- phase String
- The Phase of Status.
- profile String
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- ttl
Time Integer - The TTL time.
- update
Time String - The UpdateTime time of NodePool.
- bootstrap
Script string - The bootstrap script.
- cluster
Id string - The ClusterId of NodePool.
- condition
Types string[] - The Condition of Status.
- create
Client stringToken - The ClientToken when successfully created.
- create
Time string - The CreateTime of NodePool.
- edge
Node stringType - Edge node type.
- id string
- The Id of NodePool.
- name string
- The Name of NodePool.
- phase string
- The Phase of Status.
- profile string
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- ttl
Time number - The TTL time.
- update
Time string - The UpdateTime time of NodePool.
- bootstrap_
script str - The bootstrap script.
- cluster_
id str - The ClusterId of NodePool.
- condition_
types Sequence[str] - The Condition of Status.
- create_
client_ strtoken - The ClientToken when successfully created.
- create_
time str - The CreateTime of NodePool.
- edge_
node_ strtype - Edge node type.
- id str
- The Id of NodePool.
- name str
- The Name of NodePool.
- phase str
- The Phase of Status.
- profile str
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- ttl_
time int - The TTL time.
- update_
time str - The UpdateTime time of NodePool.
- bootstrap
Script String - The bootstrap script.
- cluster
Id String - The ClusterId of NodePool.
- condition
Types List<String> - The Condition of Status.
- create
Client StringToken - The ClientToken when successfully created.
- create
Time String - The CreateTime of NodePool.
- edge
Node StringType - Edge node type.
- id String
- The Id of NodePool.
- name String
- The Name of NodePool.
- phase String
- The Phase of Status.
- profile String
- Edge: Edge node pool. If the return value is empty, it is the central node pool.
- ttl
Time Number - The TTL time.
- update
Time String - The UpdateTime time of NodePool.
BatchEdgeMachinesStatus
- Edge
Node stringStatus Condition Type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - Phase string
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
- Edge
Node stringStatus Condition Type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - Phase string
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
- edge
Node StringStatus Condition Type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - phase String
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
- edge
Node stringStatus Condition Type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - phase string
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
- edge_
node_ strstatus_ condition_ type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - phase str
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
- edge
Node StringStatus Condition Type - Indicates the status condition of the node pool in the active state. The value can be
Progressing
orOk
orVersionPartlyUpgraded
orStockOut
orLimitedByQuota
orBalance
orDegraded
orClusterVersionUpgrading
orCluster
orResourceCleanupFailed
orUnknown
orClusterNotRunning
orSetByProvider
. - phase String
- The Phase of Status. The value can be
Creating
orRunning
orUpdating
orDeleting
orFailed
orScaling
.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.