@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
83 lines (82 loc) • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of veenedge cloud servers
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.veenedge.getCloudServers({});
* ```
*/
/** @deprecated volcengine.veenedge.CloudServers has been deprecated in favor of volcengine.veenedge.getCloudServers */
export declare function cloudServers(args?: CloudServersArgs, opts?: pulumi.InvokeOptions): Promise<CloudServersResult>;
/**
* A collection of arguments for invoking CloudServers.
*/
export interface CloudServersArgs {
/**
* A list of cloud server IDs.
*/
ids?: string[];
/**
* A Name Regex of Cloud Server.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by CloudServers.
*/
export interface CloudServersResult {
/**
* The collection of cloud servers query.
*/
readonly cloudServers: outputs.veenedge.CloudServersCloudServer[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The total count of cloud servers query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of veenedge cloud servers
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.veenedge.getCloudServers({});
* ```
*/
/** @deprecated volcengine.veenedge.CloudServers has been deprecated in favor of volcengine.veenedge.getCloudServers */
export declare function cloudServersOutput(args?: CloudServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CloudServersResult>;
/**
* A collection of arguments for invoking CloudServers.
*/
export interface CloudServersOutputArgs {
/**
* A list of cloud server IDs.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A Name Regex of Cloud Server.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}