volcengine.cen.AttachInstances
Explore with Pulumi AI
Use this data source to query detailed information of cen attach instances
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Cen.AttachInstances.Invoke(new()
{
CenId = "cen-2bzrl3srxsv0g2dx0efyoojn3",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cen.AttachInstances(ctx, &cen.AttachInstancesArgs{
CenId: pulumi.StringRef("cen-2bzrl3srxsv0g2dx0efyoojn3"),
}, 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.cen.CenFunctions;
import com.pulumi.volcengine.cen.inputs.AttachInstancesArgs;
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 foo = CenFunctions.AttachInstances(AttachInstancesArgs.builder()
.cenId("cen-2bzrl3srxsv0g2dx0efyoojn3")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cen.attach_instances(cen_id="cen-2bzrl3srxsv0g2dx0efyoojn3")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cen.AttachInstances({
cenId: "cen-2bzrl3srxsv0g2dx0efyoojn3",
});
variables:
foo:
fn::invoke:
Function: volcengine:cen:AttachInstances
Arguments:
cenId: cen-2bzrl3srxsv0g2dx0efyoojn3
Using AttachInstances
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 attachInstances(args: AttachInstancesArgs, opts?: InvokeOptions): Promise<AttachInstancesResult>
function attachInstancesOutput(args: AttachInstancesOutputArgs, opts?: InvokeOptions): Output<AttachInstancesResult>
def attach_instances(cen_id: Optional[str] = None,
instance_id: Optional[str] = None,
instance_region_id: Optional[str] = None,
instance_type: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AttachInstancesResult
def attach_instances_output(cen_id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
instance_region_id: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AttachInstancesResult]
func AttachInstances(ctx *Context, args *AttachInstancesArgs, opts ...InvokeOption) (*AttachInstancesResult, error)
func AttachInstancesOutput(ctx *Context, args *AttachInstancesOutputArgs, opts ...InvokeOption) AttachInstancesResultOutput
public static class AttachInstances
{
public static Task<AttachInstancesResult> InvokeAsync(AttachInstancesArgs args, InvokeOptions? opts = null)
public static Output<AttachInstancesResult> Invoke(AttachInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AttachInstancesResult> attachInstances(AttachInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:cen:AttachInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Cen
Id string A cen ID.
- Instance
Id string An instance ID.
- Instance
Region stringId A region id of instance.
- Instance
Type string An instance type.
- Output
File string File name where to save data source results.
- Cen
Id string A cen ID.
- Instance
Id string An instance ID.
- Instance
Region stringId A region id of instance.
- Instance
Type string An instance type.
- Output
File string File name where to save data source results.
- cen
Id String A cen ID.
- instance
Id String An instance ID.
- instance
Region StringId A region id of instance.
- instance
Type String An instance type.
- output
File String File name where to save data source results.
- cen
Id string A cen ID.
- instance
Id string An instance ID.
- instance
Region stringId A region id of instance.
- instance
Type string An instance type.
- output
File string File name where to save data source results.
- cen_
id str A cen ID.
- instance_
id str An instance ID.
- instance_
region_ strid A region id of instance.
- instance_
type str An instance type.
- output_
file str File name where to save data source results.
- cen
Id String A cen ID.
- instance
Id String An instance ID.
- instance
Region StringId A region id of instance.
- instance
Type String An instance type.
- output
File String File name where to save data source results.
AttachInstances Result
The following output properties are available:
- Attach
Instances List<Volcengine.Attach Instances Attach Instance> The collection of cen attach instance query.
- Id string
The provider-assigned unique ID for this managed resource.
- Total
Count int The total count of cen attach instance query.
- Cen
Id string The ID of the cen.
- Instance
Id string The ID of the instance.
- Instance
Region stringId The region id of the instance.
- Instance
Type string The type of the instance.
- Output
File string
- Attach
Instances []AttachInstances Attach Instance The collection of cen attach instance query.
- Id string
The provider-assigned unique ID for this managed resource.
- Total
Count int The total count of cen attach instance query.
- Cen
Id string The ID of the cen.
- Instance
Id string The ID of the instance.
- Instance
Region stringId The region id of the instance.
- Instance
Type string The type of the instance.
- Output
File string
- attach
Instances List<AttachInstances Attach Instance> The collection of cen attach instance query.
- id String
The provider-assigned unique ID for this managed resource.
- total
Count Integer The total count of cen attach instance query.
- cen
Id String The ID of the cen.
- instance
Id String The ID of the instance.
- instance
Region StringId The region id of the instance.
- instance
Type String The type of the instance.
- output
File String
- attach
Instances AttachInstances Attach Instance[] The collection of cen attach instance query.
- id string
The provider-assigned unique ID for this managed resource.
- total
Count number The total count of cen attach instance query.
- cen
Id string The ID of the cen.
- instance
Id string The ID of the instance.
- instance
Region stringId The region id of the instance.
- instance
Type string The type of the instance.
- output
File string
- attach_
instances Sequence[AttachInstances Attach Instance] The collection of cen attach instance query.
- id str
The provider-assigned unique ID for this managed resource.
- total_
count int The total count of cen attach instance query.
- cen_
id str The ID of the cen.
- instance_
id str The ID of the instance.
- instance_
region_ strid The region id of the instance.
- instance_
type str The type of the instance.
- output_
file str
- attach
Instances List<Property Map> The collection of cen attach instance query.
- id String
The provider-assigned unique ID for this managed resource.
- total
Count Number The total count of cen attach instance query.
- cen
Id String The ID of the cen.
- instance
Id String The ID of the instance.
- instance
Region StringId The region id of the instance.
- instance
Type String The type of the instance.
- output
File String
Supporting Types
AttachInstancesAttachInstance
- Cen
Id string A cen ID.
- Creation
Time string The create time of the cen attaching instance.
- Instance
Id string An instance ID.
- Instance
Owner stringId The owner ID of the instance.
- Instance
Region stringId A region id of instance.
- Instance
Type string An instance type.
- Status string
The status of the cen attaching instance.
- Cen
Id string A cen ID.
- Creation
Time string The create time of the cen attaching instance.
- Instance
Id string An instance ID.
- Instance
Owner stringId The owner ID of the instance.
- Instance
Region stringId A region id of instance.
- Instance
Type string An instance type.
- Status string
The status of the cen attaching instance.
- cen
Id String A cen ID.
- creation
Time String The create time of the cen attaching instance.
- instance
Id String An instance ID.
- instance
Owner StringId The owner ID of the instance.
- instance
Region StringId A region id of instance.
- instance
Type String An instance type.
- status String
The status of the cen attaching instance.
- cen
Id string A cen ID.
- creation
Time string The create time of the cen attaching instance.
- instance
Id string An instance ID.
- instance
Owner stringId The owner ID of the instance.
- instance
Region stringId A region id of instance.
- instance
Type string An instance type.
- status string
The status of the cen attaching instance.
- cen_
id str A cen ID.
- creation_
time str The create time of the cen attaching instance.
- instance_
id str An instance ID.
- instance_
owner_ strid The owner ID of the instance.
- instance_
region_ strid A region id of instance.
- instance_
type str An instance type.
- status str
The status of the cen attaching instance.
- cen
Id String A cen ID.
- creation
Time String The create time of the cen attaching instance.
- instance
Id String An instance ID.
- instance
Owner StringId The owner ID of the instance.
- instance
Region StringId A region id of instance.
- instance
Type String An instance type.
- status String
The status of the cen attaching instance.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
volcengine
Terraform Provider.