1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. AiLanguage
  5. Endpoint
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.AiLanguage.Endpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Endpoint resource in Oracle Cloud Infrastructure Ai Language service.

    Creates a new endpoint and deploy the trained model

    Example Usage

    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,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: endpointDescription,
        displayName: endpointDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
        inferenceUnits: endpointInferenceUnits,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_endpoint = oci.ai_language.Endpoint("test_endpoint",
        compartment_id=compartment_id,
        model_id=test_model["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=endpoint_description,
        display_name=endpoint_display_name,
        freeform_tags={
            "bar-key": "value",
        },
        inference_units=endpoint_inference_units)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/AiLanguage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := AiLanguage.NewEndpoint(ctx, "test_endpoint", &AiLanguage.EndpointArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			ModelId:       pulumi.Any(testModel.Id),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(endpointDescription),
    			DisplayName: pulumi.Any(endpointDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			InferenceUnits: pulumi.Any(endpointInferenceUnits),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testEndpoint = new Oci.AiLanguage.Endpoint("test_endpoint", new()
        {
            CompartmentId = compartmentId,
            ModelId = testModel.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = endpointDescription,
            DisplayName = endpointDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            InferenceUnits = endpointInferenceUnits,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.AiLanguage.Endpoint;
    import com.pulumi.oci.AiLanguage.EndpointArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testEndpoint = new Endpoint("testEndpoint", EndpointArgs.builder()
                .compartmentId(compartmentId)
                .modelId(testModel.id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(endpointDescription)
                .displayName(endpointDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .inferenceUnits(endpointInferenceUnits)
                .build());
    
        }
    }
    
    resources:
      testEndpoint:
        type: oci:AiLanguage:Endpoint
        name: test_endpoint
        properties:
          compartmentId: ${compartmentId}
          modelId: ${testModel.id}
          definedTags:
            foo-namespace.bar-key: value
          description: ${endpointDescription}
          displayName: ${endpointDisplayName}
          freeformTags:
            bar-key: value
          inferenceUnits: ${endpointInferenceUnits}
    

    Create Endpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
    @overload
    def Endpoint(resource_name: str,
                 args: EndpointArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Endpoint(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 compartment_id: Optional[str] = None,
                 model_id: Optional[str] = None,
                 defined_tags: Optional[Mapping[str, str]] = None,
                 description: Optional[str] = None,
                 display_name: Optional[str] = None,
                 freeform_tags: Optional[Mapping[str, str]] = None,
                 inference_units: Optional[int] = None)
    func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
    public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
    public Endpoint(String name, EndpointArgs args)
    public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
    
    type: oci:AiLanguage:Endpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var endpointResource = new Oci.AiLanguage.Endpoint("endpointResource", new()
    {
        CompartmentId = "string",
        ModelId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        InferenceUnits = 0,
    });
    
    example, err := AiLanguage.NewEndpoint(ctx, "endpointResource", &AiLanguage.EndpointArgs{
    	CompartmentId: pulumi.String("string"),
    	ModelId:       pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	InferenceUnits: pulumi.Int(0),
    })
    
    var endpointResource = new Endpoint("endpointResource", EndpointArgs.builder()
        .compartmentId("string")
        .modelId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .inferenceUnits(0)
        .build());
    
    endpoint_resource = oci.ai_language.Endpoint("endpointResource",
        compartment_id="string",
        model_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        inference_units=0)
    
    const endpointResource = new oci.ailanguage.Endpoint("endpointResource", {
        compartmentId: "string",
        modelId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        inferenceUnits: 0,
    });
    
    type: oci:AiLanguage:Endpoint
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        inferenceUnits: 0
        modelId: string
    

    Endpoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Endpoint resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    ModelId string

    (Updatable) The OCID 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

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the an endpoint.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InferenceUnits int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    CompartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    ModelId string

    (Updatable) The OCID 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

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the an endpoint.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InferenceUnits int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    compartmentId String
    (Updatable) The OCID compartment identifier for the endpoint
    modelId String

    (Updatable) The OCID 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

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the an endpoint.
    displayName String
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits Integer
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    compartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    modelId string

    (Updatable) The OCID 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

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A short description of the an endpoint.
    displayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits number
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    compartment_id str
    (Updatable) The OCID compartment identifier for the endpoint
    model_id str

    (Updatable) The OCID 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

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A short description of the an endpoint.
    display_name str
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inference_units int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    compartmentId String
    (Updatable) The OCID compartment identifier for the endpoint
    modelId String

    (Updatable) The OCID 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

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the an endpoint.
    displayName String
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits Number
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    ProjectId string
    The OCID of the project to associate with the Endpoint.
    State string
    The state of the endpoint.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    ProjectId string
    The OCID of the project to associate with the Endpoint.
    State string
    The state of the endpoint.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    projectId String
    The OCID of the project to associate with the Endpoint.
    state String
    The state of the endpoint.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    projectId string
    The OCID of the project to associate with the Endpoint.
    state string
    The state of the endpoint.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    project_id str
    The OCID of the project to associate with the Endpoint.
    state str
    The state of the endpoint.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    time_updated str
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    projectId String
    The OCID of the project to associate with the Endpoint.
    state String
    The state of the endpoint.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the endpoint was updated. An RFC3339 formatted datetime string.

    Look up Existing Endpoint Resource

    Get an existing Endpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EndpointState, opts?: CustomResourceOptions): Endpoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            inference_units: Optional[int] = None,
            lifecycle_details: Optional[str] = None,
            model_id: Optional[str] = None,
            project_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Endpoint
    func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)
    public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)
    public static Endpoint get(String name, Output<String> id, EndpointState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the an endpoint.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InferenceUnits int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    ModelId string

    (Updatable) The OCID 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

    ProjectId string
    The OCID of the project to associate with the Endpoint.
    State string
    The state of the endpoint.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    CompartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A short description of the an endpoint.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InferenceUnits int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    ModelId string

    (Updatable) The OCID 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

    ProjectId string
    The OCID of the project to associate with the Endpoint.
    State string
    The state of the endpoint.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) The OCID compartment identifier for the endpoint
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the an endpoint.
    displayName String
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits Integer
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    modelId String

    (Updatable) The OCID 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

    projectId String
    The OCID of the project to associate with the Endpoint.
    state String
    The state of the endpoint.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    compartmentId string
    (Updatable) The OCID compartment identifier for the endpoint
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A short description of the an endpoint.
    displayName string
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits number
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    modelId string

    (Updatable) The OCID 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

    projectId string
    The OCID of the project to associate with the Endpoint.
    state string
    The state of the endpoint.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    compartment_id str
    (Updatable) The OCID compartment identifier for the endpoint
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A short description of the an endpoint.
    display_name str
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inference_units int
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    model_id str

    (Updatable) The OCID 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

    project_id str
    The OCID of the project to associate with the Endpoint.
    state str
    The state of the endpoint.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    time_updated str
    The time the endpoint was updated. An RFC3339 formatted datetime string.
    compartmentId String
    (Updatable) The OCID compartment identifier for the endpoint
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A short description of the an endpoint.
    displayName String
    (Updatable) A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    inferenceUnits Number
    (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
    modelId String

    (Updatable) The OCID 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

    projectId String
    The OCID of the project to associate with the Endpoint.
    state String
    The state of the endpoint.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the endpoint was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the endpoint was updated. An RFC3339 formatted datetime string.

    Import

    Endpoints can be imported using the id, e.g.

    $ pulumi import oci:AiLanguage/endpoint:Endpoint test_endpoint "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi