@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
105 lines (104 loc) • 2.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of ebs max extra performances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.ebs.getMaxExtraPerformances({
* size: 60,
* volumeType: "TSSD_TL0",
* });
* ```
*/
export declare function getMaxExtraPerformances(args?: GetMaxExtraPerformancesArgs, opts?: pulumi.InvokeOptions): Promise<GetMaxExtraPerformancesResult>;
/**
* A collection of arguments for invoking getMaxExtraPerformances.
*/
export interface GetMaxExtraPerformancesArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The size of the volume. Unit: GiB.
*/
size?: number;
/**
* The id of the volume.
*/
volumeId?: string;
/**
* The type of the volume. Valid values: `TSSD_TL0`.
*/
volumeType?: string;
}
/**
* A collection of values returned by getMaxExtraPerformances.
*/
export interface GetMaxExtraPerformancesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly performances: outputs.ebs.GetMaxExtraPerformancesPerformance[];
readonly size?: number;
/**
* The total count of query.
*/
readonly totalCount: number;
readonly volumeId?: string;
readonly volumeType?: string;
}
/**
* Use this data source to query detailed information of ebs max extra performances
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.ebs.getMaxExtraPerformances({
* size: 60,
* volumeType: "TSSD_TL0",
* });
* ```
*/
export declare function getMaxExtraPerformancesOutput(args?: GetMaxExtraPerformancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaxExtraPerformancesResult>;
/**
* A collection of arguments for invoking getMaxExtraPerformances.
*/
export interface GetMaxExtraPerformancesOutputArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The size of the volume. Unit: GiB.
*/
size?: pulumi.Input<number>;
/**
* The id of the volume.
*/
volumeId?: pulumi.Input<string>;
/**
* The type of the volume. Valid values: `TSSD_TL0`.
*/
volumeType?: pulumi.Input<string>;
}