@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
77 lines (76 loc) • 2.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of redis instance specs
*/
export declare function getInstanceSpecs(args?: GetInstanceSpecsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceSpecsResult>;
/**
* A collection of arguments for invoking getInstanceSpecs.
*/
export interface GetInstanceSpecsArgs {
/**
* 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 getInstanceSpecs.
*/
export interface GetInstanceSpecsResult {
/**
* 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.GetInstanceSpecsInstanceSpec[];
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
*/
export declare function getInstanceSpecsOutput(args?: GetInstanceSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceSpecsResult>;
/**
* A collection of arguments for invoking getInstanceSpecs.
*/
export interface GetInstanceSpecsOutputArgs {
/**
* 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>;
}