UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

80 lines (79 loc) 3.1 kB
import * as pulumi from "@pulumi/pulumi"; /** * A Resource Classifier Configuration is a configuration for a resource classifier. */ export declare class ResourceClassifierConfiguration extends pulumi.CustomResource { /** * Get an existing ResourceClassifierConfiguration 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?: ResourceClassifierConfigurationState, opts?: pulumi.CustomResourceOptions): ResourceClassifierConfiguration; /** * Returns true if the given object is an instance of ResourceClassifierConfiguration. 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 ResourceClassifierConfiguration; /** * The timestamp of the Resource Classifier Preference creation. */ readonly createdAt: pulumi.Output<number>; /** * The preference. Supported values are `nlp`, `llm`, `both`, and `none`. */ readonly preference: pulumi.Output<string>; /** * The ID of the Resource. */ readonly resourceId: pulumi.Output<string>; /** * The timestamp of the Resource Classifier Preference update. */ readonly updatedAt: pulumi.Output<number>; /** * Create a ResourceClassifierConfiguration 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: ResourceClassifierConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceClassifierConfiguration resources. */ export interface ResourceClassifierConfigurationState { /** * The timestamp of the Resource Classifier Preference creation. */ createdAt?: pulumi.Input<number>; /** * The preference. Supported values are `nlp`, `llm`, `both`, and `none`. */ preference?: pulumi.Input<string>; /** * The ID of the Resource. */ resourceId?: pulumi.Input<string>; /** * The timestamp of the Resource Classifier Preference update. */ updatedAt?: pulumi.Input<number>; } /** * The set of arguments for constructing a ResourceClassifierConfiguration resource. */ export interface ResourceClassifierConfigurationArgs { /** * The preference. Supported values are `nlp`, `llm`, `both`, and `none`. */ preference: pulumi.Input<string>; /** * The ID of the Resource. */ resourceId: pulumi.Input<string>; }