UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

79 lines (78 loc) 2.33 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of redis instance specs */ /** @deprecated volcengine.redis.InstanceSpecs has been deprecated in favor of volcengine.redis.getInstanceSpecs */ export declare function instanceSpecs(args?: InstanceSpecsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceSpecsResult>; /** * A collection of arguments for invoking InstanceSpecs. */ export interface InstanceSpecsArgs { /** * The architecture type of the Redis instance. */ archType?: string; /** * The type of Redis instance. */ instanceClass?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by InstanceSpecs. */ export interface InstanceSpecsResult { /** * The architecture type of the Redis instance. */ readonly archType?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceClass?: string; /** * The List of Redis instance specifications. */ readonly instanceSpecs: outputs.redis.InstanceSpecsInstanceSpec[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of redis instance specs */ /** @deprecated volcengine.redis.InstanceSpecs has been deprecated in favor of volcengine.redis.getInstanceSpecs */ export declare function instanceSpecsOutput(args?: InstanceSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceSpecsResult>; /** * A collection of arguments for invoking InstanceSpecs. */ export interface InstanceSpecsOutputArgs { /** * The architecture type of the Redis instance. */ archType?: pulumi.Input<string>; /** * The type of Redis instance. */ instanceClass?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }