import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages Scaleway Managed Inference deployments. * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/inference/). * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const deployment = new scaleway.InferenceDeployment("deployment", { * acceptEula: true, * modelName: "meta/llama-3.1-8b-instruct:fp8", * nodeType: "L4", * publicEndpoint: { * isEnabled: true, * }, * }); * ``` * * ## Import * * Functions can be imported using, `{region}/{id}`, as shown below: * * bash * * ```sh * $ pulumi import scaleway:index/inferenceDeployment:InferenceDeployment deployment fr-par/11111111-1111-1111-1111-111111111111 * ``` */ export declare class InferenceDeployment extends pulumi.CustomResource { /** * Get an existing InferenceDeployment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: InferenceDeploymentState, opts?: pulumi.CustomResourceOptions): InferenceDeployment; /** * Returns true if the given object is an instance of InferenceDeployment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InferenceDeployment; /** * Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept. */ readonly acceptEula: pulumi.Output; /** * The date and time of the creation of the deployment. */ readonly createdAt: pulumi.Output; /** * The maximum size of the pool. */ readonly maxSize: pulumi.Output; /** * The minimum size of the pool. */ readonly minSize: pulumi.Output; /** * The model id used for the deployment. */ readonly modelId: pulumi.Output; /** * The model name to use for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`) */ readonly modelName: pulumi.Output; /** * The deployment name. */ readonly name: pulumi.Output; /** * The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`) */ readonly nodeType: pulumi.Output; /** * Configuration of the deployment's private endpoint. */ readonly privateEndpoint: pulumi.Output; /** * `projectId`) The ID of the project the deployment is associated with. */ readonly projectId: pulumi.Output; /** * Configuration of the deployment's public endpoint. */ readonly publicEndpoint: pulumi.Output; /** * `region`) The region in which the deployment is created. */ readonly region: pulumi.Output; /** * The size of the pool. */ readonly size: pulumi.Output; /** * The status of the deployment. */ readonly status: pulumi.Output; /** * The tags associated with the deployment. */ readonly tags: pulumi.Output; /** * The date and time of the last update of the deployment. */ readonly updatedAt: pulumi.Output; /** * Create a InferenceDeployment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InferenceDeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InferenceDeployment resources. */ export interface InferenceDeploymentState { /** * Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept. */ acceptEula?: pulumi.Input; /** * The date and time of the creation of the deployment. */ createdAt?: pulumi.Input; /** * The maximum size of the pool. */ maxSize?: pulumi.Input; /** * The minimum size of the pool. */ minSize?: pulumi.Input; /** * The model id used for the deployment. */ modelId?: pulumi.Input; /** * The model name to use for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`) */ modelName?: pulumi.Input; /** * The deployment name. */ name?: pulumi.Input; /** * The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`) */ nodeType?: pulumi.Input; /** * Configuration of the deployment's private endpoint. */ privateEndpoint?: pulumi.Input; /** * `projectId`) The ID of the project the deployment is associated with. */ projectId?: pulumi.Input; /** * Configuration of the deployment's public endpoint. */ publicEndpoint?: pulumi.Input; /** * `region`) The region in which the deployment is created. */ region?: pulumi.Input; /** * The size of the pool. */ size?: pulumi.Input; /** * The status of the deployment. */ status?: pulumi.Input; /** * The tags associated with the deployment. */ tags?: pulumi.Input[]>; /** * The date and time of the last update of the deployment. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a InferenceDeployment resource. */ export interface InferenceDeploymentArgs { /** * Some models (e.g Meta Llama) require end-user license agreements. Set `true` to accept. */ acceptEula?: pulumi.Input; /** * The maximum size of the pool. */ maxSize?: pulumi.Input; /** * The minimum size of the pool. */ minSize?: pulumi.Input; /** * The model name to use for the deployment. Model names can be found in Console or using Scaleway's CLI (`scw inference model list`) */ modelName: pulumi.Input; /** * The deployment name. */ name?: pulumi.Input; /** * The node type to use for the deployment. Node types can be found using Scaleway's CLI (`scw inference node-type list`) */ nodeType: pulumi.Input; /** * Configuration of the deployment's private endpoint. */ privateEndpoint?: pulumi.Input; /** * `projectId`) The ID of the project the deployment is associated with. */ projectId?: pulumi.Input; /** * Configuration of the deployment's public endpoint. */ publicEndpoint?: pulumi.Input; /** * `region`) The region in which the deployment is created. */ region?: pulumi.Input; /** * The tags associated with the deployment. */ tags?: pulumi.Input[]>; }