import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Endpoint resource in Oracle Cloud Infrastructure Ai Language service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/language/latest/Endpoint * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/aiLanguage * * Creates a new endpoint and deploy the trained model * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEndpoint = new oci.ailanguage.Endpoint("test_endpoint", { * compartmentId: compartmentId, * modelId: testModel.id, * alias: endpointAlias, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: endpointDescription, * displayName: endpointDisplayName, * freeformTags: { * "bar-key": "value", * }, * inferenceUnits: Number(endpointInferenceUnits), * }); * ``` * * ## Import * * Endpoints can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:AiLanguage/endpoint:Endpoint test_endpoint "id" * ``` */ export declare class Endpoint extends pulumi.CustomResource { /** * Get an existing Endpoint 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, state?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint; /** * Returns true if the given object is an instance of Endpoint. 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 Endpoint; /** * (Updatable) Unique name across user tenancy in a region to identify an endpoint to be used for inferencing. */ readonly alias: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) compartment identifier for the endpoint */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A short description of the an endpoint. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1. */ readonly inferenceUnits: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly modelId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the Endpoint. */ readonly projectId: pulumi.Output; /** * The state of the endpoint. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the the endpoint was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the endpoint was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a Endpoint 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: EndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Endpoint resources. */ export interface EndpointState { /** * (Updatable) Unique name across user tenancy in a region to identify an endpoint to be used for inferencing. */ alias?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) compartment identifier for the endpoint */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A short description of the an endpoint. */ description?: pulumi.Input; /** * (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1. */ inferenceUnits?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ modelId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the Endpoint. */ projectId?: pulumi.Input; /** * The state of the endpoint. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the the endpoint was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the endpoint was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a Endpoint resource. */ export interface EndpointArgs { /** * (Updatable) Unique name across user tenancy in a region to identify an endpoint to be used for inferencing. */ alias?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) compartment identifier for the endpoint */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A short description of the an endpoint. */ description?: pulumi.Input; /** * (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1. */ inferenceUnits?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model to associate with the endpoint. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ modelId: pulumi.Input; } //# sourceMappingURL=endpoint.d.ts.map