UNPKG

@pulumi/digitalocean

Version:

A Pulumi package for creating and managing DigitalOcean cloud resources.

48 lines 1.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Returns the supported GPU and model compatibility matrix for dedicated inference * endpoints. Use this data source to discover which models can be deployed on which * GPU types. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const available = digitalocean.getDedicatedInferenceGpuModelConfig({}); * export const gpuModelConfigs = available.then(available => available.gpuModelConfigs); * ``` */ export declare function getDedicatedInferenceGpuModelConfig(opts?: pulumi.InvokeOptions): Promise<GetDedicatedInferenceGpuModelConfigResult>; /** * A collection of values returned by getDedicatedInferenceGpuModelConfig. */ export interface GetDedicatedInferenceGpuModelConfigResult { /** * The list of supported GPU and model combinations. Each element contains: */ readonly gpuModelConfigs: outputs.GetDedicatedInferenceGpuModelConfigGpuModelConfig[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * Returns the supported GPU and model compatibility matrix for dedicated inference * endpoints. Use this data source to discover which models can be deployed on which * GPU types. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const available = digitalocean.getDedicatedInferenceGpuModelConfig({}); * export const gpuModelConfigs = available.then(available => available.gpuModelConfigs); * ``` */ export declare function getDedicatedInferenceGpuModelConfigOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDedicatedInferenceGpuModelConfigResult>; //# sourceMappingURL=getDedicatedInferenceGpuModelConfig.d.ts.map