@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
80 lines (79 loc) • 2.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
*/
export declare function getAiIndex(args: GetAiIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetAiIndexResult>;
/**
* A collection of arguments for invoking getAiIndex.
*/
export interface GetAiIndexArgs {
/**
* The name of the index.
*/
name: string;
/**
* The ID of the project in which the resource belongs.
*/
project?: string;
/**
* The region of the index.
*
* - - -
*/
region: string;
}
/**
* A collection of values returned by getAiIndex.
*/
export interface GetAiIndexResult {
readonly createTime: string;
readonly deployedIndexes: outputs.vertex.GetAiIndexDeployedIndex[];
readonly description: string;
readonly displayName: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly etag: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly indexStats: outputs.vertex.GetAiIndexIndexStat[];
readonly indexUpdateMethod: string;
readonly labels: {
[key: string]: string;
};
readonly metadataSchemaUri: string;
readonly metadatas: outputs.vertex.GetAiIndexMetadata[];
readonly name: string;
readonly project?: string;
readonly pulumiLabels: {
[key: string]: string;
};
readonly region: string;
readonly updateTime: string;
}
/**
* A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
*/
export declare function getAiIndexOutput(args: GetAiIndexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiIndexResult>;
/**
* A collection of arguments for invoking getAiIndex.
*/
export interface GetAiIndexOutputArgs {
/**
* The name of the index.
*/
name: pulumi.Input<string>;
/**
* The ID of the project in which the resource belongs.
*/
project?: pulumi.Input<string>;
/**
* The region of the index.
*
* - - -
*/
region: pulumi.Input<string>;
}