oci.DataScience.ModelGroup
Explore with Pulumi AI
This resource provides the Model Group resource in Oracle Cloud Infrastructure Data Science service.
Create a new Model Group resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testModelGroup = new oci.datascience.ModelGroup("test_model_group", {
compartmentId: compartmentId,
createType: modelGroupCreateType,
projectId: testProject.id,
definedTags: {
"Operations.CostCenter": "42",
},
description: modelGroupDescription,
displayName: modelGroupDisplayName,
freeformTags: {
Department: "Finance",
},
memberModelEntries: {
memberModelDetails: [{
inferenceKey: modelGroupMemberModelEntriesMemberModelDetailsInferenceKey,
modelId: testModel.id,
}],
},
modelGroupCloneSourceDetails: {
modelGroupCloneSourceType: modelGroupModelGroupCloneSourceDetailsModelGroupCloneSourceType,
sourceId: testSource.id,
modifyModelGroupDetails: {
definedTags: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDefinedTags,
description: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDescription,
displayName: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDisplayName,
freeformTags: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsFreeformTags,
modelGroupDetails: {
type: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsType,
baseModelId: testModel.id,
customMetadataLists: [{
category: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListCategory,
description: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListDescription,
key: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListKey,
value: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListValue,
}],
},
modelGroupVersionHistoryId: testModelGroupVersionHistory.id,
versionLabel: modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsVersionLabel,
},
patchModelGroupMemberModelDetails: {
items: [{
operation: modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsOperation,
values: [{
modelId: testModel.id,
inferenceKey: modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsValuesInferenceKey,
}],
}],
},
},
modelGroupDetails: {
type: modelGroupModelGroupDetailsType,
baseModelId: testModel.id,
customMetadataLists: [{
category: modelGroupModelGroupDetailsCustomMetadataListCategory,
description: modelGroupModelGroupDetailsCustomMetadataListDescription,
key: modelGroupModelGroupDetailsCustomMetadataListKey,
value: modelGroupModelGroupDetailsCustomMetadataListValue,
}],
},
modelGroupVersionHistoryId: testModelGroupVersionHistory.id,
versionLabel: modelGroupVersionLabel,
});
import pulumi
import pulumi_oci as oci
test_model_group = oci.datascience.ModelGroup("test_model_group",
compartment_id=compartment_id,
create_type=model_group_create_type,
project_id=test_project["id"],
defined_tags={
"Operations.CostCenter": "42",
},
description=model_group_description,
display_name=model_group_display_name,
freeform_tags={
"Department": "Finance",
},
member_model_entries={
"member_model_details": [{
"inference_key": model_group_member_model_entries_member_model_details_inference_key,
"model_id": test_model["id"],
}],
},
model_group_clone_source_details={
"model_group_clone_source_type": model_group_model_group_clone_source_details_model_group_clone_source_type,
"source_id": test_source["id"],
"modify_model_group_details": {
"defined_tags": model_group_model_group_clone_source_details_modify_model_group_details_defined_tags,
"description": model_group_model_group_clone_source_details_modify_model_group_details_description,
"display_name": model_group_model_group_clone_source_details_modify_model_group_details_display_name,
"freeform_tags": model_group_model_group_clone_source_details_modify_model_group_details_freeform_tags,
"model_group_details": {
"type": model_group_model_group_clone_source_details_modify_model_group_details_model_group_details_type,
"base_model_id": test_model["id"],
"custom_metadata_lists": [{
"category": model_group_model_group_clone_source_details_modify_model_group_details_model_group_details_custom_metadata_list_category,
"description": model_group_model_group_clone_source_details_modify_model_group_details_model_group_details_custom_metadata_list_description,
"key": model_group_model_group_clone_source_details_modify_model_group_details_model_group_details_custom_metadata_list_key,
"value": model_group_model_group_clone_source_details_modify_model_group_details_model_group_details_custom_metadata_list_value,
}],
},
"model_group_version_history_id": test_model_group_version_history["id"],
"version_label": model_group_model_group_clone_source_details_modify_model_group_details_version_label,
},
"patch_model_group_member_model_details": {
"items": [{
"operation": model_group_model_group_clone_source_details_patch_model_group_member_model_details_items_operation,
"values": [{
"model_id": test_model["id"],
"inference_key": model_group_model_group_clone_source_details_patch_model_group_member_model_details_items_values_inference_key,
}],
}],
},
},
model_group_details={
"type": model_group_model_group_details_type,
"base_model_id": test_model["id"],
"custom_metadata_lists": [{
"category": model_group_model_group_details_custom_metadata_list_category,
"description": model_group_model_group_details_custom_metadata_list_description,
"key": model_group_model_group_details_custom_metadata_list_key,
"value": model_group_model_group_details_custom_metadata_list_value,
}],
},
model_group_version_history_id=test_model_group_version_history["id"],
version_label=model_group_version_label)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datascience"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datascience.NewModelGroup(ctx, "test_model_group", &datascience.ModelGroupArgs{
CompartmentId: pulumi.Any(compartmentId),
CreateType: pulumi.Any(modelGroupCreateType),
ProjectId: pulumi.Any(testProject.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(modelGroupDescription),
DisplayName: pulumi.Any(modelGroupDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
MemberModelEntries: &datascience.ModelGroupMemberModelEntriesArgs{
MemberModelDetails: datascience.ModelGroupMemberModelEntriesMemberModelDetailArray{
&datascience.ModelGroupMemberModelEntriesMemberModelDetailArgs{
InferenceKey: pulumi.Any(modelGroupMemberModelEntriesMemberModelDetailsInferenceKey),
ModelId: pulumi.Any(testModel.Id),
},
},
},
ModelGroupCloneSourceDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsArgs{
ModelGroupCloneSourceType: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModelGroupCloneSourceType),
SourceId: pulumi.Any(testSource.Id),
ModifyModelGroupDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs{
DefinedTags: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDefinedTags),
Description: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDescription),
DisplayName: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDisplayName),
FreeformTags: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsFreeformTags),
ModelGroupDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs{
Type: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsType),
BaseModelId: pulumi.Any(testModel.Id),
CustomMetadataLists: datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs{
Category: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListCategory),
Description: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListDescription),
Key: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListKey),
Value: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListValue),
},
},
},
ModelGroupVersionHistoryId: pulumi.Any(testModelGroupVersionHistory.Id),
VersionLabel: pulumi.Any(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsVersionLabel),
},
PatchModelGroupMemberModelDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs{
Items: datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs{
Operation: pulumi.Any(modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsOperation),
Values: datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs{
ModelId: pulumi.Any(testModel.Id),
InferenceKey: pulumi.Any(modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsValuesInferenceKey),
},
},
},
},
},
},
ModelGroupDetails: &datascience.ModelGroupModelGroupDetailsArgs{
Type: pulumi.Any(modelGroupModelGroupDetailsType),
BaseModelId: pulumi.Any(testModel.Id),
CustomMetadataLists: datascience.ModelGroupModelGroupDetailsCustomMetadataListArray{
&datascience.ModelGroupModelGroupDetailsCustomMetadataListArgs{
Category: pulumi.Any(modelGroupModelGroupDetailsCustomMetadataListCategory),
Description: pulumi.Any(modelGroupModelGroupDetailsCustomMetadataListDescription),
Key: pulumi.Any(modelGroupModelGroupDetailsCustomMetadataListKey),
Value: pulumi.Any(modelGroupModelGroupDetailsCustomMetadataListValue),
},
},
},
ModelGroupVersionHistoryId: pulumi.Any(testModelGroupVersionHistory.Id),
VersionLabel: pulumi.Any(modelGroupVersionLabel),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testModelGroup = new Oci.DataScience.ModelGroup("test_model_group", new()
{
CompartmentId = compartmentId,
CreateType = modelGroupCreateType,
ProjectId = testProject.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = modelGroupDescription,
DisplayName = modelGroupDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
MemberModelEntries = new Oci.DataScience.Inputs.ModelGroupMemberModelEntriesArgs
{
MemberModelDetails = new[]
{
new Oci.DataScience.Inputs.ModelGroupMemberModelEntriesMemberModelDetailArgs
{
InferenceKey = modelGroupMemberModelEntriesMemberModelDetailsInferenceKey,
ModelId = testModel.Id,
},
},
},
ModelGroupCloneSourceDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsArgs
{
ModelGroupCloneSourceType = modelGroupModelGroupCloneSourceDetailsModelGroupCloneSourceType,
SourceId = testSource.Id,
ModifyModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs
{
DefinedTags = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDefinedTags,
Description = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDescription,
DisplayName = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDisplayName,
FreeformTags = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsFreeformTags,
ModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs
{
Type = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsType,
BaseModelId = testModel.Id,
CustomMetadataLists = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs
{
Category = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListCategory,
Description = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListDescription,
Key = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListKey,
Value = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListValue,
},
},
},
ModelGroupVersionHistoryId = testModelGroupVersionHistory.Id,
VersionLabel = modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsVersionLabel,
},
PatchModelGroupMemberModelDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs
{
Items = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs
{
Operation = modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsOperation,
Values = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs
{
ModelId = testModel.Id,
InferenceKey = modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsValuesInferenceKey,
},
},
},
},
},
},
ModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupDetailsArgs
{
Type = modelGroupModelGroupDetailsType,
BaseModelId = testModel.Id,
CustomMetadataLists = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupDetailsCustomMetadataListArgs
{
Category = modelGroupModelGroupDetailsCustomMetadataListCategory,
Description = modelGroupModelGroupDetailsCustomMetadataListDescription,
Key = modelGroupModelGroupDetailsCustomMetadataListKey,
Value = modelGroupModelGroupDetailsCustomMetadataListValue,
},
},
},
ModelGroupVersionHistoryId = testModelGroupVersionHistory.Id,
VersionLabel = modelGroupVersionLabel,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.ModelGroup;
import com.pulumi.oci.DataScience.ModelGroupArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupMemberModelEntriesArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupModelGroupCloneSourceDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs;
import com.pulumi.oci.DataScience.inputs.ModelGroupModelGroupDetailsArgs;
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 testModelGroup = new ModelGroup("testModelGroup", ModelGroupArgs.builder()
.compartmentId(compartmentId)
.createType(modelGroupCreateType)
.projectId(testProject.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(modelGroupDescription)
.displayName(modelGroupDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.memberModelEntries(ModelGroupMemberModelEntriesArgs.builder()
.memberModelDetails(ModelGroupMemberModelEntriesMemberModelDetailArgs.builder()
.inferenceKey(modelGroupMemberModelEntriesMemberModelDetailsInferenceKey)
.modelId(testModel.id())
.build())
.build())
.modelGroupCloneSourceDetails(ModelGroupModelGroupCloneSourceDetailsArgs.builder()
.modelGroupCloneSourceType(modelGroupModelGroupCloneSourceDetailsModelGroupCloneSourceType)
.sourceId(testSource.id())
.modifyModelGroupDetails(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs.builder()
.definedTags(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDefinedTags)
.description(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDescription)
.displayName(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDisplayName)
.freeformTags(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsFreeformTags)
.modelGroupDetails(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs.builder()
.type(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsType)
.baseModelId(testModel.id())
.customMetadataLists(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs.builder()
.category(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListCategory)
.description(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListDescription)
.key(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListKey)
.value(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListValue)
.build())
.build())
.modelGroupVersionHistoryId(testModelGroupVersionHistory.id())
.versionLabel(modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsVersionLabel)
.build())
.patchModelGroupMemberModelDetails(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs.builder()
.items(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs.builder()
.operation(modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsOperation)
.values(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs.builder()
.modelId(testModel.id())
.inferenceKey(modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsValuesInferenceKey)
.build())
.build())
.build())
.build())
.modelGroupDetails(ModelGroupModelGroupDetailsArgs.builder()
.type(modelGroupModelGroupDetailsType)
.baseModelId(testModel.id())
.customMetadataLists(ModelGroupModelGroupDetailsCustomMetadataListArgs.builder()
.category(modelGroupModelGroupDetailsCustomMetadataListCategory)
.description(modelGroupModelGroupDetailsCustomMetadataListDescription)
.key(modelGroupModelGroupDetailsCustomMetadataListKey)
.value(modelGroupModelGroupDetailsCustomMetadataListValue)
.build())
.build())
.modelGroupVersionHistoryId(testModelGroupVersionHistory.id())
.versionLabel(modelGroupVersionLabel)
.build());
}
}
resources:
testModelGroup:
type: oci:DataScience:ModelGroup
name: test_model_group
properties:
compartmentId: ${compartmentId}
createType: ${modelGroupCreateType}
projectId: ${testProject.id}
definedTags:
Operations.CostCenter: '42'
description: ${modelGroupDescription}
displayName: ${modelGroupDisplayName}
freeformTags:
Department: Finance
memberModelEntries:
memberModelDetails:
- inferenceKey: ${modelGroupMemberModelEntriesMemberModelDetailsInferenceKey}
modelId: ${testModel.id}
modelGroupCloneSourceDetails:
modelGroupCloneSourceType: ${modelGroupModelGroupCloneSourceDetailsModelGroupCloneSourceType}
sourceId: ${testSource.id}
modifyModelGroupDetails:
definedTags: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDefinedTags}
description: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDescription}
displayName: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsDisplayName}
freeformTags: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsFreeformTags}
modelGroupDetails:
type: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsType}
baseModelId: ${testModel.id}
customMetadataLists:
- category: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListCategory}
description: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListDescription}
key: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListKey}
value: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListValue}
modelGroupVersionHistoryId: ${testModelGroupVersionHistory.id}
versionLabel: ${modelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsVersionLabel}
patchModelGroupMemberModelDetails:
items:
- operation: ${modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsOperation}
values:
- modelId: ${testModel.id}
inferenceKey: ${modelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemsValuesInferenceKey}
modelGroupDetails:
type: ${modelGroupModelGroupDetailsType}
baseModelId: ${testModel.id}
customMetadataLists:
- category: ${modelGroupModelGroupDetailsCustomMetadataListCategory}
description: ${modelGroupModelGroupDetailsCustomMetadataListDescription}
key: ${modelGroupModelGroupDetailsCustomMetadataListKey}
value: ${modelGroupModelGroupDetailsCustomMetadataListValue}
modelGroupVersionHistoryId: ${testModelGroupVersionHistory.id}
versionLabel: ${modelGroupVersionLabel}
Create ModelGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ModelGroup(name: string, args: ModelGroupArgs, opts?: CustomResourceOptions);
@overload
def ModelGroup(resource_name: str,
args: ModelGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ModelGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
create_type: Optional[str] = None,
project_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
member_model_entries: Optional[ModelGroupMemberModelEntriesArgs] = None,
model_group_clone_source_details: Optional[ModelGroupModelGroupCloneSourceDetailsArgs] = None,
model_group_details: Optional[ModelGroupModelGroupDetailsArgs] = None,
model_group_version_history_id: Optional[str] = None,
version_label: Optional[str] = None)
func NewModelGroup(ctx *Context, name string, args ModelGroupArgs, opts ...ResourceOption) (*ModelGroup, error)
public ModelGroup(string name, ModelGroupArgs args, CustomResourceOptions? opts = null)
public ModelGroup(String name, ModelGroupArgs args)
public ModelGroup(String name, ModelGroupArgs args, CustomResourceOptions options)
type: oci:DataScience:ModelGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ModelGroupArgs
- 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 ModelGroupArgs
- 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 ModelGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ModelGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ModelGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var modelGroupResource = new Oci.DataScience.ModelGroup("modelGroupResource", new()
{
CompartmentId = "string",
CreateType = "string",
ProjectId = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
MemberModelEntries = new Oci.DataScience.Inputs.ModelGroupMemberModelEntriesArgs
{
MemberModelDetails = new[]
{
new Oci.DataScience.Inputs.ModelGroupMemberModelEntriesMemberModelDetailArgs
{
InferenceKey = "string",
ModelId = "string",
},
},
},
ModelGroupCloneSourceDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsArgs
{
ModelGroupCloneSourceType = "string",
SourceId = "string",
ModifyModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs
{
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
ModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs
{
Type = "string",
BaseModelId = "string",
CustomMetadataLists = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs
{
Category = "string",
Description = "string",
Key = "string",
Value = "string",
},
},
},
ModelGroupVersionHistoryId = "string",
VersionLabel = "string",
},
PatchModelGroupMemberModelDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs
{
Items = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs
{
Operation = "string",
Values = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs
{
ModelId = "string",
InferenceKey = "string",
},
},
},
},
},
},
ModelGroupDetails = new Oci.DataScience.Inputs.ModelGroupModelGroupDetailsArgs
{
Type = "string",
BaseModelId = "string",
CustomMetadataLists = new[]
{
new Oci.DataScience.Inputs.ModelGroupModelGroupDetailsCustomMetadataListArgs
{
Category = "string",
Description = "string",
Key = "string",
Value = "string",
},
},
},
ModelGroupVersionHistoryId = "string",
VersionLabel = "string",
});
example, err := datascience.NewModelGroup(ctx, "modelGroupResource", &datascience.ModelGroupArgs{
CompartmentId: pulumi.String("string"),
CreateType: pulumi.String("string"),
ProjectId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
MemberModelEntries: &datascience.ModelGroupMemberModelEntriesArgs{
MemberModelDetails: datascience.ModelGroupMemberModelEntriesMemberModelDetailArray{
&datascience.ModelGroupMemberModelEntriesMemberModelDetailArgs{
InferenceKey: pulumi.String("string"),
ModelId: pulumi.String("string"),
},
},
},
ModelGroupCloneSourceDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsArgs{
ModelGroupCloneSourceType: pulumi.String("string"),
SourceId: pulumi.String("string"),
ModifyModelGroupDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs{
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ModelGroupDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs{
Type: pulumi.String("string"),
BaseModelId: pulumi.String("string"),
CustomMetadataLists: datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs{
Category: pulumi.String("string"),
Description: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
ModelGroupVersionHistoryId: pulumi.String("string"),
VersionLabel: pulumi.String("string"),
},
PatchModelGroupMemberModelDetails: &datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs{
Items: datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs{
Operation: pulumi.String("string"),
Values: datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArray{
&datascience.ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs{
ModelId: pulumi.String("string"),
InferenceKey: pulumi.String("string"),
},
},
},
},
},
},
ModelGroupDetails: &datascience.ModelGroupModelGroupDetailsArgs{
Type: pulumi.String("string"),
BaseModelId: pulumi.String("string"),
CustomMetadataLists: datascience.ModelGroupModelGroupDetailsCustomMetadataListArray{
&datascience.ModelGroupModelGroupDetailsCustomMetadataListArgs{
Category: pulumi.String("string"),
Description: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
ModelGroupVersionHistoryId: pulumi.String("string"),
VersionLabel: pulumi.String("string"),
})
var modelGroupResource = new ModelGroup("modelGroupResource", ModelGroupArgs.builder()
.compartmentId("string")
.createType("string")
.projectId("string")
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.memberModelEntries(ModelGroupMemberModelEntriesArgs.builder()
.memberModelDetails(ModelGroupMemberModelEntriesMemberModelDetailArgs.builder()
.inferenceKey("string")
.modelId("string")
.build())
.build())
.modelGroupCloneSourceDetails(ModelGroupModelGroupCloneSourceDetailsArgs.builder()
.modelGroupCloneSourceType("string")
.sourceId("string")
.modifyModelGroupDetails(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs.builder()
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.modelGroupDetails(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs.builder()
.type("string")
.baseModelId("string")
.customMetadataLists(ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs.builder()
.category("string")
.description("string")
.key("string")
.value("string")
.build())
.build())
.modelGroupVersionHistoryId("string")
.versionLabel("string")
.build())
.patchModelGroupMemberModelDetails(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs.builder()
.items(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs.builder()
.operation("string")
.values(ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs.builder()
.modelId("string")
.inferenceKey("string")
.build())
.build())
.build())
.build())
.modelGroupDetails(ModelGroupModelGroupDetailsArgs.builder()
.type("string")
.baseModelId("string")
.customMetadataLists(ModelGroupModelGroupDetailsCustomMetadataListArgs.builder()
.category("string")
.description("string")
.key("string")
.value("string")
.build())
.build())
.modelGroupVersionHistoryId("string")
.versionLabel("string")
.build());
model_group_resource = oci.datascience.ModelGroup("modelGroupResource",
compartment_id="string",
create_type="string",
project_id="string",
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
member_model_entries={
"member_model_details": [{
"inference_key": "string",
"model_id": "string",
}],
},
model_group_clone_source_details={
"model_group_clone_source_type": "string",
"source_id": "string",
"modify_model_group_details": {
"defined_tags": {
"string": "string",
},
"description": "string",
"display_name": "string",
"freeform_tags": {
"string": "string",
},
"model_group_details": {
"type": "string",
"base_model_id": "string",
"custom_metadata_lists": [{
"category": "string",
"description": "string",
"key": "string",
"value": "string",
}],
},
"model_group_version_history_id": "string",
"version_label": "string",
},
"patch_model_group_member_model_details": {
"items": [{
"operation": "string",
"values": [{
"model_id": "string",
"inference_key": "string",
}],
}],
},
},
model_group_details={
"type": "string",
"base_model_id": "string",
"custom_metadata_lists": [{
"category": "string",
"description": "string",
"key": "string",
"value": "string",
}],
},
model_group_version_history_id="string",
version_label="string")
const modelGroupResource = new oci.datascience.ModelGroup("modelGroupResource", {
compartmentId: "string",
createType: "string",
projectId: "string",
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
memberModelEntries: {
memberModelDetails: [{
inferenceKey: "string",
modelId: "string",
}],
},
modelGroupCloneSourceDetails: {
modelGroupCloneSourceType: "string",
sourceId: "string",
modifyModelGroupDetails: {
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
modelGroupDetails: {
type: "string",
baseModelId: "string",
customMetadataLists: [{
category: "string",
description: "string",
key: "string",
value: "string",
}],
},
modelGroupVersionHistoryId: "string",
versionLabel: "string",
},
patchModelGroupMemberModelDetails: {
items: [{
operation: "string",
values: [{
modelId: "string",
inferenceKey: "string",
}],
}],
},
},
modelGroupDetails: {
type: "string",
baseModelId: "string",
customMetadataLists: [{
category: "string",
description: "string",
key: "string",
value: "string",
}],
},
modelGroupVersionHistoryId: "string",
versionLabel: "string",
});
type: oci:DataScience:ModelGroup
properties:
compartmentId: string
createType: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
memberModelEntries:
memberModelDetails:
- inferenceKey: string
modelId: string
modelGroupCloneSourceDetails:
modelGroupCloneSourceType: string
modifyModelGroupDetails:
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
modelGroupDetails:
baseModelId: string
customMetadataLists:
- category: string
description: string
key: string
value: string
type: string
modelGroupVersionHistoryId: string
versionLabel: string
patchModelGroupMemberModelDetails:
items:
- operation: string
values:
- inferenceKey: string
modelId: string
sourceId: string
modelGroupDetails:
baseModelId: string
customMetadataLists:
- category: string
description: string
key: string
value: string
type: string
modelGroupVersionHistoryId: string
projectId: string
versionLabel: string
ModelGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ModelGroup resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- Create
Type string - The type of the model group create operation.
- Project
Id string - The OCID of the project to associate with the modelGroup.
- Dictionary<string, string>
- (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 modelGroup.
- Display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Dictionary<string, string>
- (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"}
- Member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- Model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- Model
Group ModelDetails Group Model Group Details - The model group details.
- Model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- Version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- Create
Type string - The type of the model group create operation.
- Project
Id string - The OCID of the project to associate with the modelGroup.
- map[string]string
- (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 modelGroup.
- Display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- map[string]string
- (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"}
- Member
Model ModelEntries Group Member Model Entries Args - List of member models (inferenceKey & modelId) to be associated with the model group.
- Model
Group ModelClone Source Details Group Model Group Clone Source Details Args - Model Group clone source details.
- Model
Group ModelDetails Group Model Group Details Args - The model group details.
- Model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- Version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type String - The type of the model group create operation.
- project
Id String - The OCID of the project to associate with the modelGroup.
- Map<String,String>
- (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 modelGroup.
- display
Name String - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String,String>
- (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"}
- member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- model
Group ModelDetails Group Model Group Details - The model group details.
- model
Group StringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- version
Label String (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type string - The type of the model group create operation.
- project
Id string - The OCID of the project to associate with the modelGroup.
- {[key: string]: string}
- (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 modelGroup.
- display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- {[key: string]: string}
- (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"}
- member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- model
Group ModelDetails Group Model Group Details - The model group details.
- model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment to create the modelGroup in.
- create_
type str - The type of the model group create operation.
- project_
id str - The OCID of the project to associate with the modelGroup.
- Mapping[str, str]
- (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 modelGroup.
- display_
name str - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Mapping[str, str]
- (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"}
- member_
model_ Modelentries Group Member Model Entries Args - List of member models (inferenceKey & modelId) to be associated with the model group.
- model_
group_ Modelclone_ source_ details Group Model Group Clone Source Details Args - Model Group clone source details.
- model_
group_ Modeldetails Group Model Group Details Args - The model group details.
- model_
group_ strversion_ history_ id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- version_
label str (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type String - The type of the model group create operation.
- project
Id String - The OCID of the project to associate with the modelGroup.
- Map<String>
- (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 modelGroup.
- display
Name String - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String>
- (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"}
- member
Model Property MapEntries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group Property MapClone Source Details - Model Group clone source details.
- model
Group Property MapDetails - The model group details.
- model
Group StringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- version
Label String (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the ModelGroup resource produces the following output properties:
- Created
By string - The OCID of the user who created the modelGroup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the lifecycle state of the model group.
- Model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- Source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- State string
- The state of the modelGroup.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- Created
By string - The OCID of the user who created the modelGroup.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the lifecycle state of the model group.
- Model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- Source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- State string
- The state of the modelGroup.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- created
By String - The OCID of the user who created the modelGroup.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the lifecycle state of the model group.
- model
Group StringVersion History Name - The name of the model group version history to which the model group is associated.
- source
Model StringGroup Id - The OCID of the model group used for the clone operation.
- state String
- The state of the modelGroup.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id String - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- created
By string - The OCID of the user who created the modelGroup.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Details about the lifecycle state of the model group.
- model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- state string
- The state of the modelGroup.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- created_
by str - The OCID of the user who created the modelGroup.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Details about the lifecycle state of the model group.
- model_
group_ strversion_ history_ name - The name of the model group version history to which the model group is associated.
- source_
model_ strgroup_ id - The OCID of the model group used for the clone operation.
- state str
- The state of the modelGroup.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated str - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version_
id str - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- created
By String - The OCID of the user who created the modelGroup.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the lifecycle state of the model group.
- model
Group StringVersion History Name - The name of the model group version history to which the model group is associated.
- source
Model StringGroup Id - The OCID of the model group used for the clone operation.
- state String
- The state of the modelGroup.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id String - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
Look up Existing ModelGroup Resource
Get an existing ModelGroup 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?: ModelGroupState, opts?: CustomResourceOptions): ModelGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
create_type: Optional[str] = None,
created_by: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
member_model_entries: Optional[ModelGroupMemberModelEntriesArgs] = None,
model_group_clone_source_details: Optional[ModelGroupModelGroupCloneSourceDetailsArgs] = None,
model_group_details: Optional[ModelGroupModelGroupDetailsArgs] = None,
model_group_version_history_id: Optional[str] = None,
model_group_version_history_name: Optional[str] = None,
project_id: Optional[str] = None,
source_model_group_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
version_id: Optional[str] = None,
version_label: Optional[str] = None) -> ModelGroup
func GetModelGroup(ctx *Context, name string, id IDInput, state *ModelGroupState, opts ...ResourceOption) (*ModelGroup, error)
public static ModelGroup Get(string name, Input<string> id, ModelGroupState? state, CustomResourceOptions? opts = null)
public static ModelGroup get(String name, Output<String> id, ModelGroupState state, CustomResourceOptions options)
resources: _: type: oci:DataScience:ModelGroup get: id: ${id}
- 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.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- Create
Type string - The type of the model group create operation.
- Created
By string - The OCID of the user who created the modelGroup.
- Dictionary<string, string>
- (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 modelGroup.
- Display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Dictionary<string, string>
- (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 string - Details about the lifecycle state of the model group.
- Member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- Model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- Model
Group ModelDetails Group Model Group Details - The model group details.
- Model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- Model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- Project
Id string - The OCID of the project to associate with the modelGroup.
- Source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- State string
- The state of the modelGroup.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- Version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- Create
Type string - The type of the model group create operation.
- Created
By string - The OCID of the user who created the modelGroup.
- map[string]string
- (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 modelGroup.
- Display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- map[string]string
- (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 string - Details about the lifecycle state of the model group.
- Member
Model ModelEntries Group Member Model Entries Args - List of member models (inferenceKey & modelId) to be associated with the model group.
- Model
Group ModelClone Source Details Group Model Group Clone Source Details Args - Model Group clone source details.
- Model
Group ModelDetails Group Model Group Details Args - The model group details.
- Model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- Model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- Project
Id string - The OCID of the project to associate with the modelGroup.
- Source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- State string
- The state of the modelGroup.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- Version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type String - The type of the model group create operation.
- created
By String - The OCID of the user who created the modelGroup.
- Map<String,String>
- (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 modelGroup.
- display
Name String - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String,String>
- (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 String - Details about the lifecycle state of the model group.
- member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- model
Group ModelDetails Group Model Group Details - The model group details.
- model
Group StringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- model
Group StringVersion History Name - The name of the model group version history to which the model group is associated.
- project
Id String - The OCID of the project to associate with the modelGroup.
- source
Model StringGroup Id - The OCID of the model group used for the clone operation.
- state String
- The state of the modelGroup.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id String - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- version
Label String (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type string - The type of the model group create operation.
- created
By string - The OCID of the user who created the modelGroup.
- {[key: string]: string}
- (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 modelGroup.
- display
Name string - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- {[key: string]: string}
- (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 string - Details about the lifecycle state of the model group.
- member
Model ModelEntries Group Member Model Entries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group ModelClone Source Details Group Model Group Clone Source Details - Model Group clone source details.
- model
Group ModelDetails Group Model Group Details - The model group details.
- model
Group stringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- model
Group stringVersion History Name - The name of the model group version history to which the model group is associated.
- project
Id string - The OCID of the project to associate with the modelGroup.
- source
Model stringGroup Id - The OCID of the model group used for the clone operation.
- state string
- The state of the modelGroup.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated string - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id string - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- version
Label string (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment to create the modelGroup in.
- create_
type str - The type of the model group create operation.
- created_
by str - The OCID of the user who created the modelGroup.
- Mapping[str, str]
- (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 modelGroup.
- display_
name str - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Mapping[str, str]
- (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 lifecycle state of the model group.
- member_
model_ Modelentries Group Member Model Entries Args - List of member models (inferenceKey & modelId) to be associated with the model group.
- model_
group_ Modelclone_ source_ details Group Model Group Clone Source Details Args - Model Group clone source details.
- model_
group_ Modeldetails Group Model Group Details Args - The model group details.
- model_
group_ strversion_ history_ id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- model_
group_ strversion_ history_ name - The name of the model group version history to which the model group is associated.
- project_
id str - The OCID of the project to associate with the modelGroup.
- source_
model_ strgroup_ id - The OCID of the model group used for the clone operation.
- state str
- The state of the modelGroup.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated str - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version_
id str - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- version_
label str (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to create the modelGroup in.
- create
Type String - The type of the model group create operation.
- created
By String - The OCID of the user who created the modelGroup.
- Map<String>
- (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 modelGroup.
- display
Name String - (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String>
- (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 String - Details about the lifecycle state of the model group.
- member
Model Property MapEntries - List of member models (inferenceKey & modelId) to be associated with the model group.
- model
Group Property MapClone Source Details - Model Group clone source details.
- model
Group Property MapDetails - The model group details.
- model
Group StringVersion History Id - (Updatable) The OCID of the model group version history to which the modelGroup is associated.
- model
Group StringVersion History Name - The name of the model group version history to which the model group is associated.
- project
Id String - The OCID of the project to associate with the modelGroup.
- source
Model StringGroup Id - The OCID of the model group used for the clone operation.
- state String
- The state of the modelGroup.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- version
Id String - Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.
- version
Label String (Updatable) An additional description of the lifecycle state of the model group.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
ModelGroupMemberModelEntries, ModelGroupMemberModelEntriesArgs
- Member
Model List<ModelDetails Group Member Model Entries Member Model Detail> - Each List item contains inference key and model ocid.
- Member
Model []ModelDetails Group Member Model Entries Member Model Detail - Each List item contains inference key and model ocid.
- member
Model List<ModelDetails Group Member Model Entries Member Model Detail> - Each List item contains inference key and model ocid.
- member
Model ModelDetails Group Member Model Entries Member Model Detail[] - Each List item contains inference key and model ocid.
- member_
model_ Sequence[Modeldetails Group Member Model Entries Member Model Detail] - Each List item contains inference key and model ocid.
- member
Model List<Property Map>Details - Each List item contains inference key and model ocid.
ModelGroupMemberModelEntriesMemberModelDetail, ModelGroupMemberModelEntriesMemberModelDetailArgs
- Inference
Key string - SaaS friendly name of the model.
- Model
Id string - The OCID of the model.
- Inference
Key string - SaaS friendly name of the model.
- Model
Id string - The OCID of the model.
- inference
Key String - SaaS friendly name of the model.
- model
Id String - The OCID of the model.
- inference
Key string - SaaS friendly name of the model.
- model
Id string - The OCID of the model.
- inference_
key str - SaaS friendly name of the model.
- model_
id str - The OCID of the model.
- inference
Key String - SaaS friendly name of the model.
- model
Id String - The OCID of the model.
ModelGroupModelGroupCloneSourceDetails, ModelGroupModelGroupCloneSourceDetailsArgs
- Model
Group stringClone Source Type - Source resource for model group clone operation.
- Source
Id string - The OCID of the model group version history.
- Modify
Model ModelGroup Details Group Model Group Clone Source Details Modify Model Group Details - Overwrites the properties of the source modelGroup.
- Patch
Model ModelGroup Member Model Details Group Model Group Clone Source Details Patch Model Group Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
- Model
Group stringClone Source Type - Source resource for model group clone operation.
- Source
Id string - The OCID of the model group version history.
- Modify
Model ModelGroup Details Group Model Group Clone Source Details Modify Model Group Details - Overwrites the properties of the source modelGroup.
- Patch
Model ModelGroup Member Model Details Group Model Group Clone Source Details Patch Model Group Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
- model
Group StringClone Source Type - Source resource for model group clone operation.
- source
Id String - The OCID of the model group version history.
- modify
Model ModelGroup Details Group Model Group Clone Source Details Modify Model Group Details - Overwrites the properties of the source modelGroup.
- patch
Model ModelGroup Member Model Details Group Model Group Clone Source Details Patch Model Group Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
- model
Group stringClone Source Type - Source resource for model group clone operation.
- source
Id string - The OCID of the model group version history.
- modify
Model ModelGroup Details Group Model Group Clone Source Details Modify Model Group Details - Overwrites the properties of the source modelGroup.
- patch
Model ModelGroup Member Model Details Group Model Group Clone Source Details Patch Model Group Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
- model_
group_ strclone_ source_ type - Source resource for model group clone operation.
- source_
id str - The OCID of the model group version history.
- modify_
model_ Modelgroup_ details Group Model Group Clone Source Details Modify Model Group Details - Overwrites the properties of the source modelGroup.
- patch_
model_ Modelgroup_ member_ model_ details Group Model Group Clone Source Details Patch Model Group Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
- model
Group StringClone Source Type - Source resource for model group clone operation.
- source
Id String - The OCID of the model group version history.
- modify
Model Property MapGroup Details - Overwrites the properties of the source modelGroup.
- patch
Model Property MapGroup Member Model Details - Specifies the list of new models to be added and list of models from source model group to be removed for cloning.
ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetails, ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsArgs
- Dictionary<string, string>
- 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 modelGroup.
- Display
Name string - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Dictionary<string, string>
- 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"}
- Model
Group ModelDetails Group Model Group Clone Source Details Modify Model Group Details Model Group Details - The model group details.
- Model
Group stringVersion History Id - The OCID of the model group version history to which the modelGroup is associated.
- Version
Label string - An additional description of the lifecycle state of the model group.
- map[string]string
- 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 modelGroup.
- Display
Name string - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- map[string]string
- 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"}
- Model
Group ModelDetails Group Model Group Clone Source Details Modify Model Group Details Model Group Details - The model group details.
- Model
Group stringVersion History Id - The OCID of the model group version history to which the modelGroup is associated.
- Version
Label string - An additional description of the lifecycle state of the model group.
- Map<String,String>
- 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 modelGroup.
- display
Name String - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String,String>
- 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"}
- model
Group ModelDetails Group Model Group Clone Source Details Modify Model Group Details Model Group Details - The model group details.
- model
Group StringVersion History Id - The OCID of the model group version history to which the modelGroup is associated.
- version
Label String - An additional description of the lifecycle state of the model group.
- {[key: string]: string}
- 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 modelGroup.
- display
Name string - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- {[key: string]: string}
- 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"}
- model
Group ModelDetails Group Model Group Clone Source Details Modify Model Group Details Model Group Details - The model group details.
- model
Group stringVersion History Id - The OCID of the model group version history to which the modelGroup is associated.
- version
Label string - An additional description of the lifecycle state of the model group.
- Mapping[str, str]
- 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 modelGroup.
- display_
name str - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Mapping[str, str]
- 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"}
- model_
group_ Modeldetails Group Model Group Clone Source Details Modify Model Group Details Model Group Details - The model group details.
- model_
group_ strversion_ history_ id - The OCID of the model group version history to which the modelGroup is associated.
- version_
label str - An additional description of the lifecycle state of the model group.
- Map<String>
- 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 modelGroup.
- display
Name String - A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:
My ModelGroup
- Map<String>
- 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"}
- model
Group Property MapDetails - The model group details.
- model
Group StringVersion History Id - The OCID of the model group version history to which the modelGroup is associated.
- version
Label String - An additional description of the lifecycle state of the model group.
ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetails, ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsArgs
- Type string
- The type of the model group.
- Base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- Custom
Metadata List<ModelLists Group Model Group Clone Source Details Modify Model Group Details Model Group Details Custom Metadata List> - An array of custom metadata details for the model group.
- Type string
- The type of the model group.
- Base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- Custom
Metadata []ModelLists Group Model Group Clone Source Details Modify Model Group Details Model Group Details Custom Metadata List - An array of custom metadata details for the model group.
- type String
- The type of the model group.
- base
Model StringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata List<ModelLists Group Model Group Clone Source Details Modify Model Group Details Model Group Details Custom Metadata List> - An array of custom metadata details for the model group.
- type string
- The type of the model group.
- base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata ModelLists Group Model Group Clone Source Details Modify Model Group Details Model Group Details Custom Metadata List[] - An array of custom metadata details for the model group.
- type str
- The type of the model group.
- base_
model_ strid - The OCID of the model in the group that represents the base model for stacked deployment.
- custom_
metadata_ Sequence[Modellists Group Model Group Clone Source Details Modify Model Group Details Model Group Details Custom Metadata List] - An array of custom metadata details for the model group.
- type String
- The type of the model group.
- base
Model StringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata List<Property Map>Lists - An array of custom metadata details for the model group.
ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataList, ModelGroupModelGroupCloneSourceDetailsModifyModelGroupDetailsModelGroupDetailsCustomMetadataListArgs
- Category string
- Category of the metadata.
- Description string
- Description of model metadata.
- Key string
- Key of the metadata.
- Value string
- Value of the metadata.
- Category string
- Category of the metadata.
- Description string
- Description of model metadata.
- Key string
- Key of the metadata.
- Value string
- Value of the metadata.
- category String
- Category of the metadata.
- description String
- Description of model metadata.
- key String
- Key of the metadata.
- value String
- Value of the metadata.
- category string
- Category of the metadata.
- description string
- Description of model metadata.
- key string
- Key of the metadata.
- value string
- Value of the metadata.
- category str
- Category of the metadata.
- description str
- Description of model metadata.
- key str
- Key of the metadata.
- value str
- Value of the metadata.
- category String
- Category of the metadata.
- description String
- Description of model metadata.
- key String
- Key of the metadata.
- value String
- Value of the metadata.
ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetails, ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsArgs
- Items
List<Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item> - Array of patch instructions.
- Items
[]Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item - Array of patch instructions.
- items
List<Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item> - Array of patch instructions.
- items
Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item[] - Array of patch instructions.
- items
Sequence[Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item] - Array of patch instructions.
- items List<Property Map>
- Array of patch instructions.
ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItem, ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemArgs
- Operation string
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- Values
List<Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item Value> - Array of inference key and model OCID.
- Operation string
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- Values
[]Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item Value - Array of inference key and model OCID.
- operation String
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- values
List<Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item Value> - Array of inference key and model OCID.
- operation string
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- values
Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item Value[] - Array of inference key and model OCID.
- operation str
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- values
Sequence[Model
Group Model Group Clone Source Details Patch Model Group Member Model Details Item Value] - Array of inference key and model OCID.
- operation String
- A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).
- values List<Property Map>
- Array of inference key and model OCID.
ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValue, ModelGroupModelGroupCloneSourceDetailsPatchModelGroupMemberModelDetailsItemValueArgs
- Model
Id string - The OCID of the model.
- Inference
Key string - SaaS friendly name of the model.
- Model
Id string - The OCID of the model.
- Inference
Key string - SaaS friendly name of the model.
- model
Id String - The OCID of the model.
- inference
Key String - SaaS friendly name of the model.
- model
Id string - The OCID of the model.
- inference
Key string - SaaS friendly name of the model.
- model_
id str - The OCID of the model.
- inference_
key str - SaaS friendly name of the model.
- model
Id String - The OCID of the model.
- inference
Key String - SaaS friendly name of the model.
ModelGroupModelGroupDetails, ModelGroupModelGroupDetailsArgs
- Type string
- The type of the model group.
- Base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- Custom
Metadata List<ModelLists Group Model Group Details Custom Metadata List> - An array of custom metadata details for the model group.
- Type string
- The type of the model group.
- Base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- Custom
Metadata []ModelLists Group Model Group Details Custom Metadata List - An array of custom metadata details for the model group.
- type String
- The type of the model group.
- base
Model StringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata List<ModelLists Group Model Group Details Custom Metadata List> - An array of custom metadata details for the model group.
- type string
- The type of the model group.
- base
Model stringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata ModelLists Group Model Group Details Custom Metadata List[] - An array of custom metadata details for the model group.
- type str
- The type of the model group.
- base_
model_ strid - The OCID of the model in the group that represents the base model for stacked deployment.
- custom_
metadata_ Sequence[Modellists Group Model Group Details Custom Metadata List] - An array of custom metadata details for the model group.
- type String
- The type of the model group.
- base
Model StringId - The OCID of the model in the group that represents the base model for stacked deployment.
- custom
Metadata List<Property Map>Lists - An array of custom metadata details for the model group.
ModelGroupModelGroupDetailsCustomMetadataList, ModelGroupModelGroupDetailsCustomMetadataListArgs
- Category string
- Category of the metadata.
- Description string
- Description of model metadata.
- Key string
- Key of the metadata.
- Value string
- Value of the metadata.
- Category string
- Category of the metadata.
- Description string
- Description of model metadata.
- Key string
- Key of the metadata.
- Value string
- Value of the metadata.
- category String
- Category of the metadata.
- description String
- Description of model metadata.
- key String
- Key of the metadata.
- value String
- Value of the metadata.
- category string
- Category of the metadata.
- description string
- Description of model metadata.
- key string
- Key of the metadata.
- value string
- Value of the metadata.
- category str
- Category of the metadata.
- description str
- Description of model metadata.
- key str
- Key of the metadata.
- value str
- Value of the metadata.
- category String
- Category of the metadata.
- description String
- Description of model metadata.
- key String
- Key of the metadata.
- value String
- Value of the metadata.
Import
ModelGroups can be imported using the id
, e.g.
$ pulumi import oci:DataScience/modelGroup:ModelGroup test_model_group "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.