import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves the given flavor in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const flavor = ovh.getCloudProjectFlavor({ * serviceName: "YYYY", * id: "XXXX", * }); * ``` */ export declare function getCloudProjectFlavor(args: GetCloudProjectFlavorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudProjectFlavor. */ export interface GetCloudProjectFlavorArgs { /** * Flavor id */ id: string; /** * Service name */ serviceName: string; } /** * A collection of values returned by getCloudProjectFlavor. */ export interface GetCloudProjectFlavorResult { /** * Available in stock */ readonly available: boolean; /** * Capabilities of the flavor */ readonly capabilities: outputs.GetCloudProjectFlavorCapability[]; /** * Number of disks */ readonly disk: number; /** * Flavor id */ readonly id: string; /** * Max capacity of inbound traffic in Mbit/s */ readonly inboundBandwidth: number; /** * Flavor name */ readonly name: string; /** * OS to install on */ readonly osType: string; /** * Max capacity of outbound traffic in Mbit/s */ readonly outboundBandwidth: number; /** * Plan codes to order instances */ readonly planCodes: outputs.GetCloudProjectFlavorPlanCodes; /** * Number instance you can spawn with your actual quota */ readonly quota: number; /** * Ram quantity (Gio) */ readonly ram: number; /** * Flavor region */ readonly region: string; /** * Service name */ readonly serviceName: string; /** * Flavor type */ readonly type: string; /** * Number of VCPUs */ readonly vcpus: number; } /** * Retrieves the given flavor in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const flavor = ovh.getCloudProjectFlavor({ * serviceName: "YYYY", * id: "XXXX", * }); * ``` */ export declare function getCloudProjectFlavorOutput(args: GetCloudProjectFlavorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudProjectFlavor. */ export interface GetCloudProjectFlavorOutputArgs { /** * Flavor id */ id: pulumi.Input; /** * Service name */ serviceName: pulumi.Input; }