UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

83 lines (82 loc) 2.52 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of ecs instance types * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.ecs.getInstanceTypes({}); * ``` */ /** @deprecated volcengine.ecs.InstanceTypes has been deprecated in favor of volcengine.ecs.getInstanceTypes */ export declare function instanceTypes(args?: InstanceTypesArgs, opts?: pulumi.InvokeOptions): Promise<InstanceTypesResult>; /** * A collection of arguments for invoking InstanceTypes. */ export interface InstanceTypesArgs { /** * A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective. */ ids?: string[]; /** * The id of image. */ imageId?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by InstanceTypes. */ export interface InstanceTypesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly imageId?: string; /** * The collection of query. */ readonly instanceTypes: outputs.ecs.InstanceTypesInstanceType[]; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of ecs instance types * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.ecs.getInstanceTypes({}); * ``` */ /** @deprecated volcengine.ecs.InstanceTypes has been deprecated in favor of volcengine.ecs.getInstanceTypes */ export declare function instanceTypesOutput(args?: InstanceTypesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceTypesResult>; /** * A collection of arguments for invoking InstanceTypes. */ export interface InstanceTypesOutputArgs { /** * A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * The id of image. */ imageId?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }