oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.DataScience.ModelDeployment

This resource provides the Model Deployment resource in Oracle Cloud Infrastructure Datascience service.

Creates a new model deployment.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testModelDeployment = new Oci.DataScience.ModelDeployment("testModelDeployment", new()
    {
        CompartmentId = @var.Compartment_id,
        ModelDeploymentConfigurationDetails = new Oci.DataScience.Inputs.ModelDeploymentModelDeploymentConfigurationDetailsArgs
        {
            DeploymentType = @var.Model_deployment_model_deployment_configuration_details_deployment_type,
            ModelConfigurationDetails = new Oci.DataScience.Inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs
            {
                InstanceConfiguration = new Oci.DataScience.Inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs
                {
                    InstanceShapeName = oci_core_shape.Test_shape.Name,
                    ModelDeploymentInstanceShapeConfigDetails = new Oci.DataScience.Inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs
                    {
                        MemoryInGbs = @var.Model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs,
                        Ocpus = @var.Model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus,
                    },
                },
                ModelId = oci_datascience_model.Test_model.Id,
                BandwidthMbps = @var.Model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps,
                ScalingPolicy = new Oci.DataScience.Inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs
                {
                    InstanceCount = @var.Model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count,
                    PolicyType = @var.Model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type,
                },
            },
        },
        ProjectId = oci_datascience_project.Test_project.Id,
        CategoryLogDetails = new Oci.DataScience.Inputs.ModelDeploymentCategoryLogDetailsArgs
        {
            Access = new Oci.DataScience.Inputs.ModelDeploymentCategoryLogDetailsAccessArgs
            {
                LogGroupId = oci_logging_log_group.Test_log_group.Id,
                LogId = oci_logging_log.Test_log.Id,
            },
            Predict = new Oci.DataScience.Inputs.ModelDeploymentCategoryLogDetailsPredictArgs
            {
                LogGroupId = oci_logging_log_group.Test_log_group.Id,
                LogId = oci_logging_log.Test_log.Id,
            },
        },
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        Description = @var.Model_deployment_description,
        DisplayName = @var.Model_deployment_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });

});
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.NewModelDeployment(ctx, "testModelDeployment", &DataScience.ModelDeploymentArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			ModelDeploymentConfigurationDetails: &datascience.ModelDeploymentModelDeploymentConfigurationDetailsArgs{
				DeploymentType: pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_deployment_type),
				ModelConfigurationDetails: &datascience.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs{
					InstanceConfiguration: &datascience.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs{
						InstanceShapeName: pulumi.Any(oci_core_shape.Test_shape.Name),
						ModelDeploymentInstanceShapeConfigDetails: &datascience.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs{
							MemoryInGbs: pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs),
							Ocpus:       pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus),
						},
					},
					ModelId:       pulumi.Any(oci_datascience_model.Test_model.Id),
					BandwidthMbps: pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps),
					ScalingPolicy: &datascience.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs{
						InstanceCount: pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count),
						PolicyType:    pulumi.Any(_var.Model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type),
					},
				},
			},
			ProjectId: pulumi.Any(oci_datascience_project.Test_project.Id),
			CategoryLogDetails: &datascience.ModelDeploymentCategoryLogDetailsArgs{
				Access: &datascience.ModelDeploymentCategoryLogDetailsAccessArgs{
					LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
					LogId:      pulumi.Any(oci_logging_log.Test_log.Id),
				},
				Predict: &datascience.ModelDeploymentCategoryLogDetailsPredictArgs{
					LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
					LogId:      pulumi.Any(oci_logging_log.Test_log.Id),
				},
			},
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(_var.Model_deployment_description),
			DisplayName: pulumi.Any(_var.Model_deployment_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
		})
		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.ModelDeployment;
import com.pulumi.oci.DataScience.ModelDeploymentArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentModelDeploymentConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentCategoryLogDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentCategoryLogDetailsAccessArgs;
import com.pulumi.oci.DataScience.inputs.ModelDeploymentCategoryLogDetailsPredictArgs;
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 testModelDeployment = new ModelDeployment("testModelDeployment", ModelDeploymentArgs.builder()        
            .compartmentId(var_.compartment_id())
            .modelDeploymentConfigurationDetails(ModelDeploymentModelDeploymentConfigurationDetailsArgs.builder()
                .deploymentType(var_.model_deployment_model_deployment_configuration_details_deployment_type())
                .modelConfigurationDetails(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.builder()
                    .instanceConfiguration(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs.builder()
                        .instanceShapeName(oci_core_shape.test_shape().name())
                        .modelDeploymentInstanceShapeConfigDetails(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs.builder()
                            .memoryInGbs(var_.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs())
                            .ocpus(var_.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus())
                            .build())
                        .build())
                    .modelId(oci_datascience_model.test_model().id())
                    .bandwidthMbps(var_.model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps())
                    .scalingPolicy(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs.builder()
                        .instanceCount(var_.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count())
                        .policyType(var_.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type())
                        .build())
                    .build())
                .build())
            .projectId(oci_datascience_project.test_project().id())
            .categoryLogDetails(ModelDeploymentCategoryLogDetailsArgs.builder()
                .access(ModelDeploymentCategoryLogDetailsAccessArgs.builder()
                    .logGroupId(oci_logging_log_group.test_log_group().id())
                    .logId(oci_logging_log.test_log().id())
                    .build())
                .predict(ModelDeploymentCategoryLogDetailsPredictArgs.builder()
                    .logGroupId(oci_logging_log_group.test_log_group().id())
                    .logId(oci_logging_log.test_log().id())
                    .build())
                .build())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .description(var_.model_deployment_description())
            .displayName(var_.model_deployment_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_model_deployment = oci.data_science.ModelDeployment("testModelDeployment",
    compartment_id=var["compartment_id"],
    model_deployment_configuration_details=oci.data_science.ModelDeploymentModelDeploymentConfigurationDetailsArgs(
        deployment_type=var["model_deployment_model_deployment_configuration_details_deployment_type"],
        model_configuration_details=oci.data_science.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs(
            instance_configuration=oci.data_science.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs(
                instance_shape_name=oci_core_shape["test_shape"]["name"],
                model_deployment_instance_shape_config_details=oci.data_science.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs(
                    memory_in_gbs=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs"],
                    ocpus=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus"],
                ),
            ),
            model_id=oci_datascience_model["test_model"]["id"],
            bandwidth_mbps=var["model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps"],
            scaling_policy=oci.data_science.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs(
                instance_count=var["model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count"],
                policy_type=var["model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type"],
            ),
        ),
    ),
    project_id=oci_datascience_project["test_project"]["id"],
    category_log_details=oci.data_science.ModelDeploymentCategoryLogDetailsArgs(
        access=oci.data_science.ModelDeploymentCategoryLogDetailsAccessArgs(
            log_group_id=oci_logging_log_group["test_log_group"]["id"],
            log_id=oci_logging_log["test_log"]["id"],
        ),
        predict=oci.data_science.ModelDeploymentCategoryLogDetailsPredictArgs(
            log_group_id=oci_logging_log_group["test_log_group"]["id"],
            log_id=oci_logging_log["test_log"]["id"],
        ),
    ),
    defined_tags={
        "Operations.CostCenter": "42",
    },
    description=var["model_deployment_description"],
    display_name=var["model_deployment_display_name"],
    freeform_tags={
        "Department": "Finance",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testModelDeployment = new oci.datascience.ModelDeployment("testModelDeployment", {
    compartmentId: _var.compartment_id,
    modelDeploymentConfigurationDetails: {
        deploymentType: _var.model_deployment_model_deployment_configuration_details_deployment_type,
        modelConfigurationDetails: {
            instanceConfiguration: {
                instanceShapeName: oci_core_shape.test_shape.name,
                modelDeploymentInstanceShapeConfigDetails: {
                    memoryInGbs: _var.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs,
                    ocpus: _var.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus,
                },
            },
            modelId: oci_datascience_model.test_model.id,
            bandwidthMbps: _var.model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps,
            scalingPolicy: {
                instanceCount: _var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count,
                policyType: _var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type,
            },
        },
    },
    projectId: oci_datascience_project.test_project.id,
    categoryLogDetails: {
        access: {
            logGroupId: oci_logging_log_group.test_log_group.id,
            logId: oci_logging_log.test_log.id,
        },
        predict: {
            logGroupId: oci_logging_log_group.test_log_group.id,
            logId: oci_logging_log.test_log.id,
        },
    },
    definedTags: {
        "Operations.CostCenter": "42",
    },
    description: _var.model_deployment_description,
    displayName: _var.model_deployment_display_name,
    freeformTags: {
        Department: "Finance",
    },
});
resources:
  testModelDeployment:
    type: oci:DataScience:ModelDeployment
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      modelDeploymentConfigurationDetails:
        deploymentType: ${var.model_deployment_model_deployment_configuration_details_deployment_type}
        modelConfigurationDetails:
          instanceConfiguration:
            instanceShapeName: ${oci_core_shape.test_shape.name}
            modelDeploymentInstanceShapeConfigDetails:
              memoryInGbs: ${var.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs}
              ocpus: ${var.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus}
          modelId: ${oci_datascience_model.test_model.id}
          bandwidthMbps: ${var.model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps}
          scalingPolicy:
            instanceCount: ${var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count}
            policyType: ${var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type}
      projectId: ${oci_datascience_project.test_project.id}
      categoryLogDetails:
        access:
          logGroupId: ${oci_logging_log_group.test_log_group.id}
          logId: ${oci_logging_log.test_log.id}
        predict:
          logGroupId: ${oci_logging_log_group.test_log_group.id}
          logId: ${oci_logging_log.test_log.id}
      definedTags:
        Operations.CostCenter: '42'
      description: ${var.model_deployment_description}
      displayName: ${var.model_deployment_display_name}
      freeformTags:
        Department: Finance

Create ModelDeployment Resource

new ModelDeployment(name: string, args: ModelDeploymentArgs, opts?: CustomResourceOptions);
@overload
def ModelDeployment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    category_log_details: Optional[_datascience.ModelDeploymentCategoryLogDetailsArgs] = None,
                    compartment_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    description: Optional[str] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = None,
                    model_deployment_configuration_details: Optional[_datascience.ModelDeploymentModelDeploymentConfigurationDetailsArgs] = None,
                    project_id: Optional[str] = None,
                    state: Optional[str] = None)
@overload
def ModelDeployment(resource_name: str,
                    args: ModelDeploymentArgs,
                    opts: Optional[ResourceOptions] = None)
func NewModelDeployment(ctx *Context, name string, args ModelDeploymentArgs, opts ...ResourceOption) (*ModelDeployment, error)
public ModelDeployment(string name, ModelDeploymentArgs args, CustomResourceOptions? opts = null)
public ModelDeployment(String name, ModelDeploymentArgs args)
public ModelDeployment(String name, ModelDeploymentArgs args, CustomResourceOptions options)
type: oci:DataScience:ModelDeployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ModelDeploymentArgs
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 ModelDeploymentArgs
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 ModelDeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ModelDeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ModelDeploymentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ModelDeployment Resource Properties

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

Inputs

The ModelDeployment resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

ModelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

ProjectId string

The OCID of the project to associate with the model deployment.

CategoryLogDetails ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

DefinedTags Dictionary<string, object>

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

Description string

(Updatable) A short description of the model deployment.

DisplayName string

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

FreeformTags Dictionary<string, object>

(Updatable) 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"}

State string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

CompartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

ModelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

ProjectId string

The OCID of the project to associate with the model deployment.

CategoryLogDetails ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

DefinedTags map[string]interface{}

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

Description string

(Updatable) A short description of the model deployment.

DisplayName string

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

FreeformTags map[string]interface{}

(Updatable) 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"}

State string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

compartmentId String

(Updatable) The OCID of the compartment where you want to create the model deployment.

modelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

projectId String

The OCID of the project to associate with the model deployment.

categoryLogDetails ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

definedTags Map<String,Object>

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

description String

(Updatable) A short description of the model deployment.

displayName String

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

freeformTags Map<String,Object>

(Updatable) 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"}

state String

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

compartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

modelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

projectId string

The OCID of the project to associate with the model deployment.

categoryLogDetails ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

definedTags {[key: string]: any}

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

description string

(Updatable) A short description of the model deployment.

displayName string

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

freeformTags {[key: string]: any}

(Updatable) 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"}

state string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

compartment_id str

(Updatable) The OCID of the compartment where you want to create the model deployment.

model_deployment_configuration_details ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

project_id str

The OCID of the project to associate with the model deployment.

category_log_details ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

defined_tags Mapping[str, Any]

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

description str

(Updatable) A short description of the model deployment.

display_name str

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

freeform_tags Mapping[str, Any]

(Updatable) 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"}

state str

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

compartmentId String

(Updatable) The OCID of the compartment where you want to create the model deployment.

modelDeploymentConfigurationDetails Property Map

(Updatable) The model deployment configuration details.

projectId String

The OCID of the project to associate with the model deployment.

categoryLogDetails Property Map

(Updatable) The log details for each category.

definedTags Map<Any>

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

description String

(Updatable) A short description of the model deployment.

displayName String

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

freeformTags Map<Any>

(Updatable) 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"}

state String

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

Outputs

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

CreatedBy string

The OCID of the user who created the model deployment.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the state of the model deployment.

ModelDeploymentUrl string

The URL to interact with the model deployment.

TimeCreated string

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

CreatedBy string

The OCID of the user who created the model deployment.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the state of the model deployment.

ModelDeploymentUrl string

The URL to interact with the model deployment.

TimeCreated string

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

createdBy String

The OCID of the user who created the model deployment.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the state of the model deployment.

modelDeploymentUrl String

The URL to interact with the model deployment.

timeCreated String

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

createdBy string

The OCID of the user who created the model deployment.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

Details about the state of the model deployment.

modelDeploymentUrl string

The URL to interact with the model deployment.

timeCreated string

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

created_by str

The OCID of the user who created the model deployment.

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

Details about the state of the model deployment.

model_deployment_url str

The URL to interact with the model deployment.

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

createdBy String

The OCID of the user who created the model deployment.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the state of the model deployment.

modelDeploymentUrl String

The URL to interact with the model deployment.

timeCreated String

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

Look up Existing ModelDeployment Resource

Get an existing ModelDeployment 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?: ModelDeploymentState, opts?: CustomResourceOptions): ModelDeployment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        category_log_details: Optional[_datascience.ModelDeploymentCategoryLogDetailsArgs] = None,
        compartment_id: Optional[str] = None,
        created_by: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        model_deployment_configuration_details: Optional[_datascience.ModelDeploymentModelDeploymentConfigurationDetailsArgs] = None,
        model_deployment_url: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> ModelDeployment
func GetModelDeployment(ctx *Context, name string, id IDInput, state *ModelDeploymentState, opts ...ResourceOption) (*ModelDeployment, error)
public static ModelDeployment Get(string name, Input<string> id, ModelDeploymentState? state, CustomResourceOptions? opts = null)
public static ModelDeployment get(String name, Output<String> id, ModelDeploymentState 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:
CategoryLogDetails ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

CompartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

CreatedBy string

The OCID of the user who created the model deployment.

DefinedTags Dictionary<string, object>

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

Description string

(Updatable) A short description of the model deployment.

DisplayName string

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

FreeformTags Dictionary<string, object>

(Updatable) 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"}

LifecycleDetails string

Details about the state of the model deployment.

ModelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

ModelDeploymentUrl string

The URL to interact with the model deployment.

ProjectId string

The OCID of the project to associate with the model deployment.

State string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

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 ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

CompartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

CreatedBy string

The OCID of the user who created the model deployment.

DefinedTags map[string]interface{}

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

Description string

(Updatable) A short description of the model deployment.

DisplayName string

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

FreeformTags map[string]interface{}

(Updatable) 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"}

LifecycleDetails string

Details about the state of the model deployment.

ModelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

ModelDeploymentUrl string

The URL to interact with the model deployment.

ProjectId string

The OCID of the project to associate with the model deployment.

State string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

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 ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

compartmentId String

(Updatable) The OCID of the compartment where you want to create the model deployment.

createdBy String

The OCID of the user who created the model deployment.

definedTags Map<String,Object>

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

description String

(Updatable) A short description of the model deployment.

displayName String

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

freeformTags Map<String,Object>

(Updatable) 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"}

lifecycleDetails String

Details about the state of the model deployment.

modelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

modelDeploymentUrl String

The URL to interact with the model deployment.

projectId String

The OCID of the project to associate with the model deployment.

state String

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

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 ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

compartmentId string

(Updatable) The OCID of the compartment where you want to create the model deployment.

createdBy string

The OCID of the user who created the model deployment.

definedTags {[key: string]: any}

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

description string

(Updatable) A short description of the model deployment.

displayName string

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

freeformTags {[key: string]: any}

(Updatable) 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"}

lifecycleDetails string

Details about the state of the model deployment.

modelDeploymentConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

modelDeploymentUrl string

The URL to interact with the model deployment.

projectId string

The OCID of the project to associate with the model deployment.

state string

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

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 ModelDeploymentCategoryLogDetailsArgs

(Updatable) The log details for each category.

compartment_id str

(Updatable) The OCID of the compartment where you want to create the model deployment.

created_by str

The OCID of the user who created the model deployment.

defined_tags Mapping[str, Any]

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

description str

(Updatable) A short description of the model deployment.

display_name str

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

freeform_tags Mapping[str, Any]

(Updatable) 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"}

lifecycle_details str

Details about the state of the model deployment.

model_deployment_configuration_details ModelDeploymentModelDeploymentConfigurationDetailsArgs

(Updatable) The model deployment configuration details.

model_deployment_url str

The URL to interact with the model deployment.

project_id str

The OCID of the project to associate with the model deployment.

state str

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

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 Property Map

(Updatable) The log details for each category.

compartmentId String

(Updatable) The OCID of the compartment where you want to create the model deployment.

createdBy String

The OCID of the user who created the model deployment.

definedTags Map<Any>

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

description String

(Updatable) A short description of the model deployment.

displayName String

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

freeformTags Map<Any>

(Updatable) 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"}

lifecycleDetails String

Details about the state of the model deployment.

modelDeploymentConfigurationDetails Property Map

(Updatable) The model deployment configuration details.

modelDeploymentUrl String

The URL to interact with the model deployment.

projectId String

The OCID of the project to associate with the model deployment.

state String

(Updatable) The target state for the Model Deployment. Could be set to ACTIVE or INACTIVE.

timeCreated String

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

Supporting Types

ModelDeploymentCategoryLogDetails

access Property Map

(Updatable) The log details.

predict Property Map

(Updatable) The log details.

ModelDeploymentCategoryLogDetailsAccess

LogGroupId string

(Updatable) The OCID of a log group to work with.

LogId string

(Updatable) The OCID of a log to work with.

LogGroupId string

(Updatable) The OCID of a log group to work with.

LogId string

(Updatable) The OCID of a log to work with.

logGroupId String

(Updatable) The OCID of a log group to work with.

logId String

(Updatable) The OCID of a log to work with.

logGroupId string

(Updatable) The OCID of a log group to work with.

logId string

(Updatable) The OCID of a log to work with.

log_group_id str

(Updatable) The OCID of a log group to work with.

log_id str

(Updatable) The OCID of a log to work with.

logGroupId String

(Updatable) The OCID of a log group to work with.

logId String

(Updatable) The OCID of a log to work with.

ModelDeploymentCategoryLogDetailsPredict

LogGroupId string

(Updatable) The OCID of a log group to work with.

LogId string

(Updatable) The OCID of a log to work with.

LogGroupId string

(Updatable) The OCID of a log group to work with.

LogId string

(Updatable) The OCID of a log to work with.

logGroupId String

(Updatable) The OCID of a log group to work with.

logId String

(Updatable) The OCID of a log to work with.

logGroupId string

(Updatable) The OCID of a log group to work with.

logId string

(Updatable) The OCID of a log to work with.

log_group_id str

(Updatable) The OCID of a log group to work with.

log_id str

(Updatable) The OCID of a log to work with.

logGroupId String

(Updatable) The OCID of a log group to work with.

logId String

(Updatable) The OCID of a log to work with.

ModelDeploymentModelDeploymentConfigurationDetails

DeploymentType string

(Updatable) The type of the model deployment.

ModelConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

(Updatable) The model configuration details.

DeploymentType string

(Updatable) The type of the model deployment.

ModelConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

(Updatable) The model configuration details.

deploymentType String

(Updatable) The type of the model deployment.

modelConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

(Updatable) The model configuration details.

deploymentType string

(Updatable) The type of the model deployment.

modelConfigurationDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

(Updatable) The model configuration details.

deployment_type str

(Updatable) The type of the model deployment.

model_configuration_details ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

(Updatable) The model configuration details.

deploymentType String

(Updatable) The type of the model deployment.

modelConfigurationDetails Property Map

(Updatable) The model configuration details.

ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails

InstanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

(Updatable) The model deployment instance configuration

ModelId string

(Updatable) The OCID of the model you want to deploy.

BandwidthMbps int

(Updatable) The network bandwidth for the model.

ScalingPolicy ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

(Updatable) The scaling policy to apply to each model of the deployment.

InstanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

(Updatable) The model deployment instance configuration

ModelId string

(Updatable) The OCID of the model you want to deploy.

BandwidthMbps int

(Updatable) The network bandwidth for the model.

ScalingPolicy ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

(Updatable) The scaling policy to apply to each model of the deployment.

instanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

(Updatable) The model deployment instance configuration

modelId String

(Updatable) The OCID of the model you want to deploy.

bandwidthMbps Integer

(Updatable) The network bandwidth for the model.

scalingPolicy ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

(Updatable) The scaling policy to apply to each model of the deployment.

instanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

(Updatable) The model deployment instance configuration

modelId string

(Updatable) The OCID of the model you want to deploy.

bandwidthMbps number

(Updatable) The network bandwidth for the model.

scalingPolicy ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

(Updatable) The scaling policy to apply to each model of the deployment.

instance_configuration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

(Updatable) The model deployment instance configuration

model_id str

(Updatable) The OCID of the model you want to deploy.

bandwidth_mbps int

(Updatable) The network bandwidth for the model.

scaling_policy ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

(Updatable) The scaling policy to apply to each model of the deployment.

instanceConfiguration Property Map

(Updatable) The model deployment instance configuration

modelId String

(Updatable) The OCID of the model you want to deploy.

bandwidthMbps Number

(Updatable) The network bandwidth for the model.

scalingPolicy Property Map

(Updatable) The scaling policy to apply to each model of the deployment.

ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration

InstanceShapeName string

(Updatable) The shape used to launch the model deployment instances.

ModelDeploymentInstanceShapeConfigDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

(Updatable) Details for the model-deployment instance shape configuration.

InstanceShapeName string

(Updatable) The shape used to launch the model deployment instances.

ModelDeploymentInstanceShapeConfigDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

(Updatable) Details for the model-deployment instance shape configuration.

instanceShapeName String

(Updatable) The shape used to launch the model deployment instances.

modelDeploymentInstanceShapeConfigDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

(Updatable) Details for the model-deployment instance shape configuration.

instanceShapeName string

(Updatable) The shape used to launch the model deployment instances.

modelDeploymentInstanceShapeConfigDetails ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

(Updatable) Details for the model-deployment instance shape configuration.

instance_shape_name str

(Updatable) The shape used to launch the model deployment instances.

model_deployment_instance_shape_config_details ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

(Updatable) Details for the model-deployment instance shape configuration.

instanceShapeName String

(Updatable) The shape used to launch the model deployment instances.

modelDeploymentInstanceShapeConfigDetails Property Map

(Updatable) Details for the model-deployment instance shape configuration.

ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails

MemoryInGbs double

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

Ocpus double

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

MemoryInGbs float64

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

Ocpus float64

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

memoryInGbs Double

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

ocpus Double

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

memoryInGbs number

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

ocpus number

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

memory_in_gbs float

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

ocpus float

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

memoryInGbs Number

(Updatable) 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 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB.

ocpus Number

(Updatable) 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 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu.

ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy

InstanceCount int

(Updatable) The number of instances for the model deployment.

PolicyType string

(Updatable) The type of scaling policy.

InstanceCount int

(Updatable) The number of instances for the model deployment.

PolicyType string

(Updatable) The type of scaling policy.

instanceCount Integer

(Updatable) The number of instances for the model deployment.

policyType String

(Updatable) The type of scaling policy.

instanceCount number

(Updatable) The number of instances for the model deployment.

policyType string

(Updatable) The type of scaling policy.

instance_count int

(Updatable) The number of instances for the model deployment.

policy_type str

(Updatable) The type of scaling policy.

instanceCount Number

(Updatable) The number of instances for the model deployment.

policyType String

(Updatable) The type of scaling policy.

Import

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

 $ pulumi import oci:DataScience/modelDeployment:ModelDeployment test_model_deployment "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.