import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Model Group resource in Oracle Cloud Infrastructure Data Science service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ModelGroup * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience * * Create a new Model Group resource. * * ## Example Usage * * ```typescript * 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 * * ModelGroups can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/modelGroup:ModelGroup test_model_group "id" * ``` */ export declare class ModelGroup extends pulumi.CustomResource { /** * Get an existing ModelGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ModelGroupState, opts?: pulumi.CustomResourceOptions): ModelGroup; /** * Returns true if the given object is an instance of ModelGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ModelGroup; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the modelGroup in. */ readonly compartmentId: pulumi.Output; /** * The type of the model group create operation. */ readonly createType: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the modelGroup. */ readonly createdBy: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A short description of the modelGroup. */ readonly description: pulumi.Output; /** * (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` */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Details about the lifecycle state of the model group. */ readonly lifecycleDetails: pulumi.Output; /** * List of member models (inferenceKey & modelId) to be associated with the model group. */ readonly memberModelEntries: pulumi.Output; /** * Model Group clone source details. */ readonly modelGroupCloneSourceDetails: pulumi.Output; /** * The model group details. */ readonly modelGroupDetails: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group version history to which the modelGroup is associated. */ readonly modelGroupVersionHistoryId: pulumi.Output; /** * The name of the model group version history to which the model group is associated. */ readonly modelGroupVersionHistoryName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the modelGroup. */ readonly projectId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group used for the clone operation. */ readonly sourceModelGroupId: pulumi.Output; /** * The state of the modelGroup. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z */ readonly timeCreated: pulumi.Output; /** * The date and time the resource was last updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z */ readonly timeUpdated: pulumi.Output; /** * Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service. */ readonly versionId: pulumi.Output; /** * (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 */ readonly versionLabel: pulumi.Output; /** * Create a ModelGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ModelGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelGroup resources. */ export interface ModelGroupState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the modelGroup in. */ compartmentId?: pulumi.Input; /** * The type of the model group create operation. */ createType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the modelGroup. */ createdBy?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A short description of the modelGroup. */ description?: pulumi.Input; /** * (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` */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Details about the lifecycle state of the model group. */ lifecycleDetails?: pulumi.Input; /** * List of member models (inferenceKey & modelId) to be associated with the model group. */ memberModelEntries?: pulumi.Input; /** * Model Group clone source details. */ modelGroupCloneSourceDetails?: pulumi.Input; /** * The model group details. */ modelGroupDetails?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group version history to which the modelGroup is associated. */ modelGroupVersionHistoryId?: pulumi.Input; /** * The name of the model group version history to which the model group is associated. */ modelGroupVersionHistoryName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the modelGroup. */ projectId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group used for the clone operation. */ sourceModelGroupId?: pulumi.Input; /** * The state of the modelGroup. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z */ timeCreated?: pulumi.Input; /** * The date and time the resource was last updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z */ timeUpdated?: pulumi.Input; /** * Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service. */ versionId?: pulumi.Input; /** * (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 */ versionLabel?: pulumi.Input; } /** * The set of arguments for constructing a ModelGroup resource. */ export interface ModelGroupArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the modelGroup in. */ compartmentId: pulumi.Input; /** * The type of the model group create operation. */ createType: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A short description of the modelGroup. */ description?: pulumi.Input; /** * (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` */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * List of member models (inferenceKey & modelId) to be associated with the model group. */ memberModelEntries?: pulumi.Input; /** * Model Group clone source details. */ modelGroupCloneSourceDetails?: pulumi.Input; /** * The model group details. */ modelGroupDetails?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model group version history to which the modelGroup is associated. */ modelGroupVersionHistoryId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the modelGroup. */ projectId: pulumi.Input; /** * (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 */ versionLabel?: pulumi.Input; } //# sourceMappingURL=modelGroup.d.ts.map