UNPKG

@pulumi/digitalocean

Version:

A Pulumi package for creating and managing DigitalOcean cloud resources.

161 lines (160 loc) 5.33 kB
import * as pulumi from "@pulumi/pulumi"; export declare class GenaiIndexingJobCancel extends pulumi.CustomResource { /** * Get an existing GenaiIndexingJobCancel 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<pulumi.ID>, state?: GenaiIndexingJobCancelState, opts?: pulumi.CustomResourceOptions): GenaiIndexingJobCancel; /** * Returns true if the given object is an instance of GenaiIndexingJobCancel. 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 GenaiIndexingJobCancel; /** * Number of data sources that were completed before cancellation. */ readonly completedDatasources: pulumi.Output<number>; /** * When the indexing job was created. */ readonly createdAt: pulumi.Output<string>; /** * List of data source UUIDs associated with this indexing job. */ readonly dataSourceUuids: pulumi.Output<string[]>; /** * When the indexing job was finished. */ readonly finishedAt: pulumi.Output<string>; /** * The UUID of the knowledge base associated with this indexing job. */ readonly knowledgeBaseUuid: pulumi.Output<string>; /** * Current phase of the indexing job. */ readonly phase: pulumi.Output<string>; /** * When the indexing job was started. */ readonly startedAt: pulumi.Output<string>; /** * The status of the indexing job after cancellation. */ readonly status: pulumi.Output<string>; /** * Number of tokens processed before cancellation. */ readonly tokens: pulumi.Output<number>; /** * Total number of data sources in the indexing job. */ readonly totalDatasources: pulumi.Output<number>; /** * Total number of items that failed during indexing. */ readonly totalItemsFailed: pulumi.Output<number>; /** * Total number of items that were successfully indexed. */ readonly totalItemsIndexed: pulumi.Output<number>; /** * Total number of items that were skipped during indexing. */ readonly totalItemsSkipped: pulumi.Output<number>; /** * When the indexing job was last updated. */ readonly updatedAt: pulumi.Output<string>; /** * The UUID of the indexing job to cancel. */ readonly uuid: pulumi.Output<string>; /** * Create a GenaiIndexingJobCancel 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: GenaiIndexingJobCancelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GenaiIndexingJobCancel resources. */ export interface GenaiIndexingJobCancelState { /** * Number of data sources that were completed before cancellation. */ completedDatasources?: pulumi.Input<number>; /** * When the indexing job was created. */ createdAt?: pulumi.Input<string>; /** * List of data source UUIDs associated with this indexing job. */ dataSourceUuids?: pulumi.Input<pulumi.Input<string>[]>; /** * When the indexing job was finished. */ finishedAt?: pulumi.Input<string>; /** * The UUID of the knowledge base associated with this indexing job. */ knowledgeBaseUuid?: pulumi.Input<string>; /** * Current phase of the indexing job. */ phase?: pulumi.Input<string>; /** * When the indexing job was started. */ startedAt?: pulumi.Input<string>; /** * The status of the indexing job after cancellation. */ status?: pulumi.Input<string>; /** * Number of tokens processed before cancellation. */ tokens?: pulumi.Input<number>; /** * Total number of data sources in the indexing job. */ totalDatasources?: pulumi.Input<number>; /** * Total number of items that failed during indexing. */ totalItemsFailed?: pulumi.Input<number>; /** * Total number of items that were successfully indexed. */ totalItemsIndexed?: pulumi.Input<number>; /** * Total number of items that were skipped during indexing. */ totalItemsSkipped?: pulumi.Input<number>; /** * When the indexing job was last updated. */ updatedAt?: pulumi.Input<string>; /** * The UUID of the indexing job to cancel. */ uuid?: pulumi.Input<string>; } /** * The set of arguments for constructing a GenaiIndexingJobCancel resource. */ export interface GenaiIndexingJobCancelArgs { /** * The UUID of the indexing job to cancel. */ uuid: pulumi.Input<string>; }