1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getModelDeployments
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

oci.DataScience.getModelDeployments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

    This data source provides the list of Model Deployments in Oracle Cloud Infrastructure Datascience service.

    Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testModelDeployments = Oci.DataScience.GetModelDeployments.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            CreatedBy = @var.Model_deployment_created_by,
            DisplayName = @var.Model_deployment_display_name,
            Id = @var.Model_deployment_id,
            ProjectId = oci_datascience_project.Test_project.Id,
            State = @var.Model_deployment_state,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataScience.GetModelDeployments(ctx, &datascience.GetModelDeploymentsArgs{
    			CompartmentId: _var.Compartment_id,
    			CreatedBy:     pulumi.StringRef(_var.Model_deployment_created_by),
    			DisplayName:   pulumi.StringRef(_var.Model_deployment_display_name),
    			Id:            pulumi.StringRef(_var.Model_deployment_id),
    			ProjectId:     pulumi.StringRef(oci_datascience_project.Test_project.Id),
    			State:         pulumi.StringRef(_var.Model_deployment_state),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.DataScienceFunctions;
    import com.pulumi.oci.DataScience.inputs.GetModelDeploymentsArgs;
    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) {
            final var testModelDeployments = DataScienceFunctions.getModelDeployments(GetModelDeploymentsArgs.builder()
                .compartmentId(var_.compartment_id())
                .createdBy(var_.model_deployment_created_by())
                .displayName(var_.model_deployment_display_name())
                .id(var_.model_deployment_id())
                .projectId(oci_datascience_project.test_project().id())
                .state(var_.model_deployment_state())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_model_deployments = oci.DataScience.get_model_deployments(compartment_id=var["compartment_id"],
        created_by=var["model_deployment_created_by"],
        display_name=var["model_deployment_display_name"],
        id=var["model_deployment_id"],
        project_id=oci_datascience_project["test_project"]["id"],
        state=var["model_deployment_state"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testModelDeployments = oci.DataScience.getModelDeployments({
        compartmentId: _var.compartment_id,
        createdBy: _var.model_deployment_created_by,
        displayName: _var.model_deployment_display_name,
        id: _var.model_deployment_id,
        projectId: oci_datascience_project.test_project.id,
        state: _var.model_deployment_state,
    });
    
    variables:
      testModelDeployments:
        fn::invoke:
          Function: oci:DataScience:getModelDeployments
          Arguments:
            compartmentId: ${var.compartment_id}
            createdBy: ${var.model_deployment_created_by}
            displayName: ${var.model_deployment_display_name}
            id: ${var.model_deployment_id}
            projectId: ${oci_datascience_project.test_project.id}
            state: ${var.model_deployment_state}
    

    Using getModelDeployments

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getModelDeployments(args: GetModelDeploymentsArgs, opts?: InvokeOptions): Promise<GetModelDeploymentsResult>
    function getModelDeploymentsOutput(args: GetModelDeploymentsOutputArgs, opts?: InvokeOptions): Output<GetModelDeploymentsResult>
    def get_model_deployments(compartment_id: Optional[str] = None,
                              created_by: Optional[str] = None,
                              display_name: Optional[str] = None,
                              filters: Optional[Sequence[_datascience.GetModelDeploymentsFilter]] = None,
                              id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              state: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetModelDeploymentsResult
    def get_model_deployments_output(compartment_id: Optional[pulumi.Input[str]] = None,
                              created_by: Optional[pulumi.Input[str]] = None,
                              display_name: Optional[pulumi.Input[str]] = None,
                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datascience.GetModelDeploymentsFilterArgs]]]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              project_id: Optional[pulumi.Input[str]] = None,
                              state: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetModelDeploymentsResult]
    func GetModelDeployments(ctx *Context, args *GetModelDeploymentsArgs, opts ...InvokeOption) (*GetModelDeploymentsResult, error)
    func GetModelDeploymentsOutput(ctx *Context, args *GetModelDeploymentsOutputArgs, opts ...InvokeOption) GetModelDeploymentsResultOutput

    > Note: This function is named GetModelDeployments in the Go SDK.

    public static class GetModelDeployments 
    {
        public static Task<GetModelDeploymentsResult> InvokeAsync(GetModelDeploymentsArgs args, InvokeOptions? opts = null)
        public static Output<GetModelDeploymentsResult> Invoke(GetModelDeploymentsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetModelDeploymentsResult> getModelDeployments(GetModelDeploymentsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataScience/getModelDeployments:getModelDeployments
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string

    Filter results by the OCID of the compartment.

    CreatedBy string

    Filter results by the OCID of the user who created the resource.

    DisplayName string

    Filter results by its user-friendly name.

    Filters List<GetModelDeploymentsFilter>
    Id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    ProjectId string

    Filter results by the OCID of the project.

    State string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    CompartmentId string

    Filter results by the OCID of the compartment.

    CreatedBy string

    Filter results by the OCID of the user who created the resource.

    DisplayName string

    Filter results by its user-friendly name.

    Filters []GetModelDeploymentsFilter
    Id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    ProjectId string

    Filter results by the OCID of the project.

    State string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    compartmentId String

    Filter results by the OCID of the compartment.

    createdBy String

    Filter results by the OCID of the user who created the resource.

    displayName String

    Filter results by its user-friendly name.

    filters List<GetModelDeploymentsFilter>
    id String

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    projectId String

    Filter results by the OCID of the project.

    state String

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    compartmentId string

    Filter results by the OCID of the compartment.

    createdBy string

    Filter results by the OCID of the user who created the resource.

    displayName string

    Filter results by its user-friendly name.

    filters GetModelDeploymentsFilter[]
    id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    projectId string

    Filter results by the OCID of the project.

    state string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    compartment_id str

    Filter results by the OCID of the compartment.

    created_by str

    Filter results by the OCID of the user who created the resource.

    display_name str

    Filter results by its user-friendly name.

    filters GetModelDeploymentsFilter]
    id str

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    project_id str

    Filter results by the OCID of the project.

    state str

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    compartmentId String

    Filter results by the OCID of the compartment.

    createdBy String

    Filter results by the OCID of the user who created the resource.

    displayName String

    Filter results by its user-friendly name.

    filters List<Property Map>
    id String

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    projectId String

    Filter results by the OCID of the project.

    state String

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    getModelDeployments Result

    The following output properties are available:

    CompartmentId string

    The OCID of the model deployment's compartment.

    ModelDeployments List<GetModelDeploymentsModelDeployment>

    The list of model_deployments.

    CreatedBy string

    The OCID of the user who created the model deployment.

    DisplayName string

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    Filters List<GetModelDeploymentsFilter>
    Id string

    The OCID of the model deployment.

    ProjectId string

    The OCID of the project associated with the model deployment.

    State string

    The state of the model deployment.

    CompartmentId string

    The OCID of the model deployment's compartment.

    ModelDeployments []GetModelDeploymentsModelDeployment

    The list of model_deployments.

    CreatedBy string

    The OCID of the user who created the model deployment.

    DisplayName string

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    Filters []GetModelDeploymentsFilter
    Id string

    The OCID of the model deployment.

    ProjectId string

    The OCID of the project associated with the model deployment.

    State string

    The state of the model deployment.

    compartmentId String

    The OCID of the model deployment's compartment.

    modelDeployments List<GetModelDeploymentsModelDeployment>

    The list of model_deployments.

    createdBy String

    The OCID of the user who created the model deployment.

    displayName String

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    filters List<GetModelDeploymentsFilter>
    id String

    The OCID of the model deployment.

    projectId String

    The OCID of the project associated with the model deployment.

    state String

    The state of the model deployment.

    compartmentId string

    The OCID of the model deployment's compartment.

    modelDeployments GetModelDeploymentsModelDeployment[]

    The list of model_deployments.

    createdBy string

    The OCID of the user who created the model deployment.

    displayName string

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    filters GetModelDeploymentsFilter[]
    id string

    The OCID of the model deployment.

    projectId string

    The OCID of the project associated with the model deployment.

    state string

    The state of the model deployment.

    compartment_id str

    The OCID of the model deployment's compartment.

    model_deployments GetModelDeploymentsModelDeployment]

    The list of model_deployments.

    created_by str

    The OCID of the user who created the model deployment.

    display_name str

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    filters GetModelDeploymentsFilter]
    id str

    The OCID of the model deployment.

    project_id str

    The OCID of the project associated with the model deployment.

    state str

    The state of the model deployment.

    compartmentId String

    The OCID of the model deployment's compartment.

    modelDeployments List<Property Map>

    The list of model_deployments.

    createdBy String

    The OCID of the user who created the model deployment.

    displayName String

    A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment

    filters List<Property Map>
    id String

    The OCID of the model deployment.

    projectId String

    The OCID of the project associated with the model deployment.

    state String

    The state of the model deployment.

    Supporting Types

    GetModelDeploymentsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetModelDeploymentsModelDeployment

    CategoryLogDetails List<GetModelDeploymentsModelDeploymentCategoryLogDetail>

    The log details for each category.

    CompartmentId string

    Filter results by the OCID of the compartment.

    CreatedBy string

    Filter results by the OCID of the user who created the resource.

    DefinedTags Dictionary<string, object>

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    Description string

    A short description of the model deployment.

    DisplayName string

    Filter results by its user-friendly name.

    FreeformTags Dictionary<string, object>

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    Id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    LifecycleDetails string

    Details about the state of the model deployment.

    ModelDeploymentConfigurationDetails List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail>

    The model deployment configuration details.

    ModelDeploymentUrl string

    The URL to interact with the model deployment.

    ProjectId string

    Filter results by the OCID of the project.

    State string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    TimeCreated string

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    CategoryLogDetails []GetModelDeploymentsModelDeploymentCategoryLogDetail

    The log details for each category.

    CompartmentId string

    Filter results by the OCID of the compartment.

    CreatedBy string

    Filter results by the OCID of the user who created the resource.

    DefinedTags map[string]interface{}

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    Description string

    A short description of the model deployment.

    DisplayName string

    Filter results by its user-friendly name.

    FreeformTags map[string]interface{}

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    Id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    LifecycleDetails string

    Details about the state of the model deployment.

    ModelDeploymentConfigurationDetails []GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail

    The model deployment configuration details.

    ModelDeploymentUrl string

    The URL to interact with the model deployment.

    ProjectId string

    Filter results by the OCID of the project.

    State string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    TimeCreated string

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    categoryLogDetails List<GetModelDeploymentsModelDeploymentCategoryLogDetail>

    The log details for each category.

    compartmentId String

    Filter results by the OCID of the compartment.

    createdBy String

    Filter results by the OCID of the user who created the resource.

    definedTags Map<String,Object>

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    description String

    A short description of the model deployment.

    displayName String

    Filter results by its user-friendly name.

    freeformTags Map<String,Object>

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    id String

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    lifecycleDetails String

    Details about the state of the model deployment.

    modelDeploymentConfigurationDetails List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail>

    The model deployment configuration details.

    modelDeploymentUrl String

    The URL to interact with the model deployment.

    projectId String

    Filter results by the OCID of the project.

    state String

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    timeCreated String

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    categoryLogDetails GetModelDeploymentsModelDeploymentCategoryLogDetail[]

    The log details for each category.

    compartmentId string

    Filter results by the OCID of the compartment.

    createdBy string

    Filter results by the OCID of the user who created the resource.

    definedTags {[key: string]: any}

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    description string

    A short description of the model deployment.

    displayName string

    Filter results by its user-friendly name.

    freeformTags {[key: string]: any}

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    id string

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    lifecycleDetails string

    Details about the state of the model deployment.

    modelDeploymentConfigurationDetails GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail[]

    The model deployment configuration details.

    modelDeploymentUrl string

    The URL to interact with the model deployment.

    projectId string

    Filter results by the OCID of the project.

    state string

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    timeCreated string

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    category_log_details GetModelDeploymentsModelDeploymentCategoryLogDetail]

    The log details for each category.

    compartment_id str

    Filter results by the OCID of the compartment.

    created_by str

    Filter results by the OCID of the user who created the resource.

    defined_tags Mapping[str, Any]

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    description str

    A short description of the model deployment.

    display_name str

    Filter results by its user-friendly name.

    freeform_tags Mapping[str, Any]

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    id str

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    lifecycle_details str

    Details about the state of the model deployment.

    model_deployment_configuration_details GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail]

    The model deployment configuration details.

    model_deployment_url str

    The URL to interact with the model deployment.

    project_id str

    Filter results by the OCID of the project.

    state str

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    time_created str

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    categoryLogDetails List<Property Map>

    The log details for each category.

    compartmentId String

    Filter results by the OCID of the compartment.

    createdBy String

    Filter results by the OCID of the user who created the resource.

    definedTags Map<Any>

    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}

    description String

    A short description of the model deployment.

    displayName String

    Filter results by its user-friendly name.

    freeformTags Map<Any>

    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

    id String

    Filter results by OCID. Must be an OCID of the correct type for the resource type.

    lifecycleDetails String

    Details about the state of the model deployment.

    modelDeploymentConfigurationDetails List<Property Map>

    The model deployment configuration details.

    modelDeploymentUrl String

    The URL to interact with the model deployment.

    projectId String

    Filter results by the OCID of the project.

    state String

    Filter results by the specified lifecycle state. Must be a valid state for the resource type.

    timeCreated String

    The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    GetModelDeploymentsModelDeploymentCategoryLogDetail

    GetModelDeploymentsModelDeploymentCategoryLogDetailAccess

    LogGroupId string

    The OCID of a log group to work with.

    LogId string

    The OCID of a log to work with.

    LogGroupId string

    The OCID of a log group to work with.

    LogId string

    The OCID of a log to work with.

    logGroupId String

    The OCID of a log group to work with.

    logId String

    The OCID of a log to work with.

    logGroupId string

    The OCID of a log group to work with.

    logId string

    The OCID of a log to work with.

    log_group_id str

    The OCID of a log group to work with.

    log_id str

    The OCID of a log to work with.

    logGroupId String

    The OCID of a log group to work with.

    logId String

    The OCID of a log to work with.

    GetModelDeploymentsModelDeploymentCategoryLogDetailPredict

    LogGroupId string

    The OCID of a log group to work with.

    LogId string

    The OCID of a log to work with.

    LogGroupId string

    The OCID of a log group to work with.

    LogId string

    The OCID of a log to work with.

    logGroupId String

    The OCID of a log group to work with.

    logId String

    The OCID of a log to work with.

    logGroupId string

    The OCID of a log group to work with.

    logId string

    The OCID of a log to work with.

    log_group_id str

    The OCID of a log group to work with.

    log_id str

    The OCID of a log to work with.

    logGroupId String

    The OCID of a log group to work with.

    logId String

    The OCID of a log to work with.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetail

    deploymentType String

    The type of the model deployment.

    environmentConfigurationDetails List<Property Map>

    The configuration to carry the environment details thats used in Model Deployment creation

    modelConfigurationDetails List<Property Map>

    The model configuration details.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetail

    Cmds List<string>

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    Entrypoints List<string>

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    EnvironmentConfigurationType string

    The environment configuration type

    EnvironmentVariables Dictionary<string, object>

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    HealthCheckPort int

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    Image string

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    ImageDigest string

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    ServerPort int

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    Cmds []string

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    Entrypoints []string

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    EnvironmentConfigurationType string

    The environment configuration type

    EnvironmentVariables map[string]interface{}

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    HealthCheckPort int

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    Image string

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    ImageDigest string

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    ServerPort int

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    cmds List<String>

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    entrypoints List<String>

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    environmentConfigurationType String

    The environment configuration type

    environmentVariables Map<String,Object>

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    healthCheckPort Integer

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    image String

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    imageDigest String

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    serverPort Integer

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    cmds string[]

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    entrypoints string[]

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    environmentConfigurationType string

    The environment configuration type

    environmentVariables {[key: string]: any}

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    healthCheckPort number

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    image string

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    imageDigest string

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    serverPort number

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    cmds Sequence[str]

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    entrypoints Sequence[str]

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    environment_configuration_type str

    The environment configuration type

    environment_variables Mapping[str, Any]

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    health_check_port int

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    image str

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    image_digest str

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    server_port int

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    cmds List<String>

    The container image run CMD as a list of strings. Use CMD as arguments to the ENTRYPOINT or the only command to run in the absence of an ENTRYPOINT. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes.

    entrypoints List<String>

    The container image run ENTRYPOINT as a list of strings. Accept the CMD as extra arguments. The combined size of CMD and ENTRYPOINT must be less than 2048 bytes. More information on how CMD and ENTRYPOINT interact are here.

    environmentConfigurationType String

    The environment configuration type

    environmentVariables Map<Any>

    Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can't be reserved Model Deployment environment variables.

    healthCheckPort Number

    The port on which the container HEALTHCHECK would listen. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    image String

    The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag> <region>.ocir.io/<registry>/<image>:<tag>@digest

    imageDigest String

    The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030

    serverPort Number

    The port on which the web server serving the inference is running. The port can be anything between 1024 and 65535. The following ports cannot be used 24224, 8446, 8447.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail

    BandwidthMbps int

    The minimum network bandwidth for the model deployment.

    InstanceConfigurations List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration>

    The model deployment instance configuration

    ModelId string

    The OCID of the model you want to deploy.

    ScalingPolicies List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy>

    The scaling policy to apply to each model of the deployment.

    BandwidthMbps int

    The minimum network bandwidth for the model deployment.

    InstanceConfigurations []GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration

    The model deployment instance configuration

    ModelId string

    The OCID of the model you want to deploy.

    ScalingPolicies []GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy

    The scaling policy to apply to each model of the deployment.

    bandwidthMbps Integer

    The minimum network bandwidth for the model deployment.

    instanceConfigurations List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration>

    The model deployment instance configuration

    modelId String

    The OCID of the model you want to deploy.

    scalingPolicies List<GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy>

    The scaling policy to apply to each model of the deployment.

    bandwidthMbps number

    The minimum network bandwidth for the model deployment.

    instanceConfigurations GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration[]

    The model deployment instance configuration

    modelId string

    The OCID of the model you want to deploy.

    scalingPolicies GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy[]

    The scaling policy to apply to each model of the deployment.

    bandwidth_mbps int

    The minimum network bandwidth for the model deployment.

    instance_configurations GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration]

    The model deployment instance configuration

    model_id str

    The OCID of the model you want to deploy.

    scaling_policies GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy]

    The scaling policy to apply to each model of the deployment.

    bandwidthMbps Number

    The minimum network bandwidth for the model deployment.

    instanceConfigurations List<Property Map>

    The model deployment instance configuration

    modelId String

    The OCID of the model you want to deploy.

    scalingPolicies List<Property Map>

    The scaling policy to apply to each model of the deployment.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration

    instanceShapeName String

    The shape used to launch the model deployment instances.

    modelDeploymentInstanceShapeConfigDetails List<Property Map>

    Details for the model-deployment instance shape configuration.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetail

    MemoryInGbs double

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    Ocpus double

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    MemoryInGbs float64

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    Ocpus float64

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    memoryInGbs Double

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    ocpus Double

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    memoryInGbs number

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    ocpus number

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    memory_in_gbs float

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    ocpus float

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    memoryInGbs Number

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB.

    ocpus Number

    A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

    GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicy

    InstanceCount int

    The number of instances for the model deployment.

    PolicyType string

    The type of scaling policy.

    InstanceCount int

    The number of instances for the model deployment.

    PolicyType string

    The type of scaling policy.

    instanceCount Integer

    The number of instances for the model deployment.

    policyType String

    The type of scaling policy.

    instanceCount number

    The number of instances for the model deployment.

    policyType string

    The type of scaling policy.

    instance_count int

    The number of instances for the model deployment.

    policy_type str

    The type of scaling policy.

    instanceCount Number

    The number of instances for the model deployment.

    policyType String

    The type of scaling policy.

    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 v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi