import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately. */ export declare class DataStore extends pulumi.CustomResource { /** * Get an existing DataStore 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DataStore; /** * Returns true if the given object is an instance of DataStore. 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 DataStore; readonly collectionId: pulumi.Output; /** * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */ readonly contentConfig: pulumi.Output; /** * A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */ readonly createAdvancedSiteSearch: pulumi.Output; /** * Timestamp the DataStore was created at. */ readonly createTime: pulumi.Output; /** * Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */ readonly dataStoreId: pulumi.Output; /** * The id of the default Schema asscociated to this data store. */ readonly defaultSchemaId: pulumi.Output; /** * The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */ readonly displayName: pulumi.Output; /** * Immutable. The industry vertical that the data store registers. */ readonly industryVertical: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */ readonly solutionTypes: pulumi.Output; /** * Create a DataStore 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: DataStoreArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataStore resource. */ export interface DataStoreArgs { collectionId: pulumi.Input; /** * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */ contentConfig?: pulumi.Input; /** * A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */ createAdvancedSiteSearch?: pulumi.Input; /** * Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */ dataStoreId: pulumi.Input; /** * The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */ displayName: pulumi.Input; /** * Immutable. The industry vertical that the data store registers. */ industryVertical?: pulumi.Input; location?: pulumi.Input; /** * Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */ name?: pulumi.Input; project?: pulumi.Input; /** * The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */ solutionTypes?: pulumi.Input[]>; }