@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
111 lines (110 loc) • 3.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of veenedge instances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.veenedge.getInstances({
* ids: [
* "veen28*****21",
* "veen177110*****172",
* ],
* });
* ```
*/
/** @deprecated volcengine.veenedge.Instances has been deprecated in favor of volcengine.veenedge.getInstances */
export declare function instances(args?: InstancesArgs, opts?: pulumi.InvokeOptions): Promise<InstancesResult>;
/**
* A collection of arguments for invoking Instances.
*/
export interface InstancesArgs {
/**
* The list of cloud server ids.
*/
cloudServerIds?: string[];
/**
* A list of instance IDs.
*/
ids?: string[];
/**
* A list of instance names.
*/
names?: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The list of instance status. The value can be `opening` or `starting` or `running` or `stopping` or `stop` or `rebooting` or `terminating`.
*/
statuses?: string[];
}
/**
* A collection of values returned by Instances.
*/
export interface InstancesResult {
readonly cloudServerIds?: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
/**
* The collection of instance query.
*/
readonly instances: outputs.veenedge.InstancesInstance[];
readonly names?: string[];
readonly outputFile?: string;
readonly statuses?: string[];
/**
* The total count of instance query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of veenedge instances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.veenedge.getInstances({
* ids: [
* "veen28*****21",
* "veen177110*****172",
* ],
* });
* ```
*/
/** @deprecated volcengine.veenedge.Instances has been deprecated in favor of volcengine.veenedge.getInstances */
export declare function instancesOutput(args?: InstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstancesResult>;
/**
* A collection of arguments for invoking Instances.
*/
export interface InstancesOutputArgs {
/**
* The list of cloud server ids.
*/
cloudServerIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of instance IDs.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of instance names.
*/
names?: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The list of instance status. The value can be `opening` or `starting` or `running` or `stopping` or `stop` or `rebooting` or `terminating`.
*/
statuses?: pulumi.Input<pulumi.Input<string>[]>;
}