UNPKG

@pulumi/digitalocean

Version:

A Pulumi package for creating and managing DigitalOcean cloud resources.

103 lines 3.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get information on a dedicated inference endpoint for use in other resources. This * data source provides all of the endpoint's properties as configured on your * DigitalOcean account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const example = digitalocean.getDedicatedInference({ * id: "endpoint-id", * }); * export const endpointStatus = example.then(example => example.status); * ``` */ export declare function getDedicatedInference(args: GetDedicatedInferenceArgs, opts?: pulumi.InvokeOptions): Promise<GetDedicatedInferenceResult>; /** * A collection of arguments for invoking getDedicatedInference. */ export interface GetDedicatedInferenceArgs { /** * The ID of the dedicated inference endpoint. */ id: string; } /** * A collection of values returned by getDedicatedInference. */ export interface GetDedicatedInferenceResult { /** * The date and time when the dedicated inference endpoint was created. */ readonly createdAt: string; /** * Whether the public HTTPS endpoint is enabled. */ readonly enablePublicEndpoint: boolean; readonly id: string; /** * The list of model deployments running on the endpoint. Each element contains: */ readonly modelDeployments: outputs.GetDedicatedInferenceModelDeployment[]; /** * The name of the dedicated inference endpoint. */ readonly name: string; /** * The fully-qualified domain name of the private endpoint. */ readonly privateEndpointFqdn: string; /** * The fully-qualified domain name of the public endpoint, if enabled. */ readonly publicEndpointFqdn: string; /** * The region where the dedicated inference endpoint is deployed. */ readonly region: string; /** * The current status of the dedicated inference endpoint. */ readonly status: string; /** * The date and time when the dedicated inference endpoint was last updated. */ readonly updatedAt: string; /** * The UUID of the VPC the dedicated inference endpoint is deployed in. */ readonly vpcUuid: string; } /** * Get information on a dedicated inference endpoint for use in other resources. This * data source provides all of the endpoint's properties as configured on your * DigitalOcean account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as digitalocean from "@pulumi/digitalocean"; * * const example = digitalocean.getDedicatedInference({ * id: "endpoint-id", * }); * export const endpointStatus = example.then(example => example.status); * ``` */ export declare function getDedicatedInferenceOutput(args: GetDedicatedInferenceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDedicatedInferenceResult>; /** * A collection of arguments for invoking getDedicatedInference. */ export interface GetDedicatedInferenceOutputArgs { /** * The ID of the dedicated inference endpoint. */ id: pulumi.Input<string>; } //# sourceMappingURL=getDedicatedInference.d.ts.map