import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog AI Gateway provider resource. A provider connects the AI Gateway to a model vendor through an integration account, and its models become routable under its slug. This resource is in Preview. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const openai = new datadog.AiGatewayProvider("openai", { * name: "OpenAI production", * slug: "openai-prod", * knownProvider: "openai", * integrationAccountId: "", * costMultiplier: 1.2, * }); * const bedrock = new datadog.AiGatewayProvider("bedrock", { * name: "Bedrock us-east-1", * slug: "bedrock-us-east-1", * knownProvider: "bedrock", * integrationAccountId: "", * integrationConfig: { * bedrock_region: "us-east-1", * }, * }); * ``` * * ## Import * * Use the `pulumi import` command. For example: * * ```sh * $ pulumi import datadog:index/aiGatewayProvider:AiGatewayProvider openai "" * ``` */ export declare class AiGatewayProvider extends pulumi.CustomResource { /** * Get an existing AiGatewayProvider 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?: AiGatewayProviderState, opts?: pulumi.CustomResourceOptions): AiGatewayProvider; /** * Check whether an existing AiGatewayProvider resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: AiGatewayProviderState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of AiGatewayProvider. 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 AiGatewayProvider; /** * Multiplier applied to provider costs. Must be greater than 0 and at most 1000000. The API defaults to 1. */ readonly costMultiplier: pulumi.Output; /** * ID of the integration account that holds the vendor credentials. Changing it forces a new provider. */ readonly integrationAccountId: pulumi.Output; /** * Provider-specific integration settings. The API returns this block for every `custom` provider, so it is computed when unset. Changing any field forces a new provider. */ readonly integrationConfig: pulumi.Output; /** * Provider implementation. Use `custom` for an OpenAI-compatible endpoint. Changing it forces a new provider. Valid values are `custom`, `anthropic`, `openai`, `azureOpenai`, `bedrock`, `gemini`, `baseten`, `fireworks`, `together`, `typesafe`, `azureFoundry`. */ readonly knownProvider: pulumi.Output; /** * Human-readable name of the provider. */ readonly name: pulumi.Output; /** * Routing identifier of the provider. Changing it forces a new provider. Must contain only letters, digits, hyphens, and underscores. */ readonly slug: pulumi.Output; /** * Create a AiGatewayProvider 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: AiGatewayProviderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AiGatewayProvider resources. */ export interface AiGatewayProviderState { /** * Multiplier applied to provider costs. Must be greater than 0 and at most 1000000. The API defaults to 1. */ costMultiplier?: pulumi.Input; /** * ID of the integration account that holds the vendor credentials. Changing it forces a new provider. */ integrationAccountId?: pulumi.Input; /** * Provider-specific integration settings. The API returns this block for every `custom` provider, so it is computed when unset. Changing any field forces a new provider. */ integrationConfig?: pulumi.Input; /** * Provider implementation. Use `custom` for an OpenAI-compatible endpoint. Changing it forces a new provider. Valid values are `custom`, `anthropic`, `openai`, `azureOpenai`, `bedrock`, `gemini`, `baseten`, `fireworks`, `together`, `typesafe`, `azureFoundry`. */ knownProvider?: pulumi.Input; /** * Human-readable name of the provider. */ name?: pulumi.Input; /** * Routing identifier of the provider. Changing it forces a new provider. Must contain only letters, digits, hyphens, and underscores. */ slug?: pulumi.Input; } /** * The set of arguments for constructing a AiGatewayProvider resource. */ export interface AiGatewayProviderArgs { /** * Multiplier applied to provider costs. Must be greater than 0 and at most 1000000. The API defaults to 1. */ costMultiplier?: pulumi.Input; /** * ID of the integration account that holds the vendor credentials. Changing it forces a new provider. */ integrationAccountId?: pulumi.Input; /** * Provider-specific integration settings. The API returns this block for every `custom` provider, so it is computed when unset. Changing any field forces a new provider. */ integrationConfig?: pulumi.Input; /** * Provider implementation. Use `custom` for an OpenAI-compatible endpoint. Changing it forces a new provider. Valid values are `custom`, `anthropic`, `openai`, `azureOpenai`, `bedrock`, `gemini`, `baseten`, `fireworks`, `together`, `typesafe`, `azureFoundry`. */ knownProvider: pulumi.Input; /** * Human-readable name of the provider. */ name: pulumi.Input; /** * Routing identifier of the provider. Changing it forces a new provider. Must contain only letters, digits, hyphens, and underscores. */ slug: pulumi.Input; } //# sourceMappingURL=aiGatewayProvider.d.ts.map